Skip to content

Commit 0e89db0

Browse files
committed
chore: discovery docs diff with generator perf
1 parent 3b57fa6 commit 0e89db0

952 files changed

Lines changed: 11364 additions & 7920 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/services/assistant_service/async_client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,8 @@ async def sample_stream_assist():
345345
Args:
346346
request (Optional[Union[google.cloud.discoveryengine_v1.types.StreamAssistRequest, dict]]):
347347
The request object. Request for the
348-
[AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
348+
`AssistantService.StreamAssist
349+
<google.cloud.discoveryengine.v1.AssistantService.StreamAssist>`__
349350
method.
350351
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
351352
should be retried.
@@ -358,7 +359,8 @@ async def sample_stream_assist():
358359
Returns:
359360
AsyncIterable[google.cloud.discoveryengine_v1.types.StreamAssistResponse]:
360361
Response for the
361-
[AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
362+
`AssistantService.StreamAssist
363+
<google.cloud.discoveryengine.v1.AssistantService.StreamAssist>`__
362364
method.
363365
364366
"""

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/services/assistant_service/client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,8 @@ def sample_stream_assist():
862862
Args:
863863
request (Union[google.cloud.discoveryengine_v1.types.StreamAssistRequest, dict]):
864864
The request object. Request for the
865-
[AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
865+
`AssistantService.StreamAssist
866+
<google.cloud.discoveryengine.v1.AssistantService.StreamAssist>`__
866867
method.
867868
retry (google.api_core.retry.Retry): Designation of what errors, if any,
868869
should be retried.
@@ -875,7 +876,8 @@ def sample_stream_assist():
875876
Returns:
876877
Iterable[google.cloud.discoveryengine_v1.types.StreamAssistResponse]:
877878
Response for the
878-
[AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
879+
`AssistantService.StreamAssist
880+
<google.cloud.discoveryengine.v1.AssistantService.StreamAssist>`__
879881
method.
880882
881883
"""

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/services/assistant_service/transports/rest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,8 @@ def __call__(
343343
Args:
344344
request (~.assistant_service.StreamAssistRequest):
345345
The request object. Request for the
346-
[AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
346+
`AssistantService.StreamAssist
347+
<google.cloud.discoveryengine.v1.AssistantService.StreamAssist>`__
347348
method.
348349
retry (google.api_core.retry.Retry): Designation of what errors, if any,
349350
should be retried.
@@ -356,7 +357,8 @@ def __call__(
356357
Returns:
357358
~.assistant_service.StreamAssistResponse:
358359
Response for the
359-
[AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
360+
`AssistantService.StreamAssist
361+
<google.cloud.discoveryengine.v1.AssistantService.StreamAssist>`__
360362
method.
361363
362364
"""

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/services/cmek_config_service/async_client.py

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ async def sample_update_cmek_config():
383383
operation.
384384
The result type for the operation will
385385
be
386-
:class:``google.cloud.discoveryengine_v1.types.CmekConfig``
386+
:class:`google.cloud.discoveryengine_v1.types.CmekConfig`
387387
Configurations used to enable CMEK data
388388
encryption with Cloud KMS keys.
389389
@@ -456,8 +456,8 @@ async def get_cmek_config(
456456
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
457457
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
458458
) -> cmek_config_service.CmekConfig:
459-
r"""Gets the
460-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].
459+
r"""Gets the `CmekConfig
460+
<google.cloud.discoveryengine.v1.CmekConfig>`__.
461461
462462
.. code-block:: python
463463
@@ -491,14 +491,15 @@ async def sample_get_cmek_config():
491491
GetCmekConfigRequest method.
492492
name (:class:`str`):
493493
Required. Resource name of
494-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig],
494+
`CmekConfig
495+
<google.cloud.discoveryengine.v1.CmekConfig>`__,
495496
such as
496497
``projects/*/locations/*/cmekConfig`` or
497498
``projects/*/locations/*/cmekConfigs/*``.
498499
499500
If the caller does not have permission
500-
to access the
501-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig],
501+
to access the `CmekConfig
502+
<google.cloud.discoveryengine.v1.CmekConfig>`__,
502503
regardless of whether or not it exists,
503504
a PERMISSION_DENIED error is returned.
504505
@@ -579,9 +580,9 @@ async def list_cmek_configs(
579580
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
580581
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
581582
) -> cmek_config_service.ListCmekConfigsResponse:
582-
r"""Lists all the
583-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
584-
with the project.
583+
r"""Lists all the `CmekConfig
584+
<google.cloud.discoveryengine.v1.CmekConfig>`__s with
585+
the project.
585586
586587
.. code-block:: python
587588
@@ -612,16 +613,17 @@ async def sample_list_cmek_configs():
612613
Args:
613614
request (Optional[Union[google.cloud.discoveryengine_v1.types.ListCmekConfigsRequest, dict]]):
614615
The request object. Request message for
615-
[CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
616+
`CmekConfigService.ListCmekConfigs
617+
<google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs>`__
616618
method.
617619
parent (:class:`str`):
618620
Required. The parent location resource
619621
name, such as
620622
``projects/{project}/locations/{location}``.
621623
622624
If the caller does not have permission
623-
to list
624-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
625+
to list `CmekConfig
626+
<google.cloud.discoveryengine.v1.CmekConfig>`__s
625627
under this location, regardless of
626628
whether or not a CmekConfig exists, a
627629
PERMISSION_DENIED error is returned.
@@ -640,7 +642,8 @@ async def sample_list_cmek_configs():
640642
Returns:
641643
google.cloud.discoveryengine_v1.types.ListCmekConfigsResponse:
642644
Response message for
643-
[CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
645+
`CmekConfigService.ListCmekConfigs
646+
<google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs>`__
644647
method.
645648
646649
"""
@@ -739,11 +742,13 @@ async def sample_delete_cmek_config():
739742
Args:
740743
request (Optional[Union[google.cloud.discoveryengine_v1.types.DeleteCmekConfigRequest, dict]]):
741744
The request object. Request message for
742-
[CmekConfigService.DeleteCmekConfig][google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig]
745+
`CmekConfigService.DeleteCmekConfig
746+
<google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig>`__
743747
method.
744748
name (:class:`str`):
745749
Required. The resource name of the
746-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]
750+
`CmekConfig
751+
<google.cloud.discoveryengine.v1.CmekConfig>`__
747752
to delete, such as
748753
``projects/{project}/locations/{location}/cmekConfigs/{cmek_config}``.
749754
@@ -764,7 +769,7 @@ async def sample_delete_cmek_config():
764769
operation.
765770
The result type for the operation will
766771
be
767-
:class:``google.protobuf.empty_pb2.Empty``
772+
:class:`google.protobuf.empty_pb2.Empty`
768773
A generic empty message that you can
769774
re-use to avoid defining duplicated
770775
empty messages in your APIs. A typical

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/services/cmek_config_service/client.py

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ def sample_update_cmek_config():
857857
operation.
858858
The result type for the operation will
859859
be
860-
:class:``google.cloud.discoveryengine_v1.types.CmekConfig``
860+
:class:`google.cloud.discoveryengine_v1.types.CmekConfig`
861861
Configurations used to enable CMEK data
862862
encryption with Cloud KMS keys.
863863
@@ -927,8 +927,8 @@ def get_cmek_config(
927927
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
928928
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
929929
) -> cmek_config_service.CmekConfig:
930-
r"""Gets the
931-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].
930+
r"""Gets the `CmekConfig
931+
<google.cloud.discoveryengine.v1.CmekConfig>`__.
932932
933933
.. code-block:: python
934934
@@ -962,14 +962,15 @@ def sample_get_cmek_config():
962962
GetCmekConfigRequest method.
963963
name (str):
964964
Required. Resource name of
965-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig],
965+
`CmekConfig
966+
<google.cloud.discoveryengine.v1.CmekConfig>`__,
966967
such as
967968
``projects/*/locations/*/cmekConfig`` or
968969
``projects/*/locations/*/cmekConfigs/*``.
969970
970971
If the caller does not have permission
971-
to access the
972-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig],
972+
to access the `CmekConfig
973+
<google.cloud.discoveryengine.v1.CmekConfig>`__,
973974
regardless of whether or not it exists,
974975
a PERMISSION_DENIED error is returned.
975976
@@ -1047,9 +1048,9 @@ def list_cmek_configs(
10471048
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
10481049
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
10491050
) -> cmek_config_service.ListCmekConfigsResponse:
1050-
r"""Lists all the
1051-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
1052-
with the project.
1051+
r"""Lists all the `CmekConfig
1052+
<google.cloud.discoveryengine.v1.CmekConfig>`__s with
1053+
the project.
10531054
10541055
.. code-block:: python
10551056
@@ -1080,16 +1081,17 @@ def sample_list_cmek_configs():
10801081
Args:
10811082
request (Union[google.cloud.discoveryengine_v1.types.ListCmekConfigsRequest, dict]):
10821083
The request object. Request message for
1083-
[CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
1084+
`CmekConfigService.ListCmekConfigs
1085+
<google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs>`__
10841086
method.
10851087
parent (str):
10861088
Required. The parent location resource
10871089
name, such as
10881090
``projects/{project}/locations/{location}``.
10891091
10901092
If the caller does not have permission
1091-
to list
1092-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
1093+
to list `CmekConfig
1094+
<google.cloud.discoveryengine.v1.CmekConfig>`__s
10931095
under this location, regardless of
10941096
whether or not a CmekConfig exists, a
10951097
PERMISSION_DENIED error is returned.
@@ -1108,7 +1110,8 @@ def sample_list_cmek_configs():
11081110
Returns:
11091111
google.cloud.discoveryengine_v1.types.ListCmekConfigsResponse:
11101112
Response message for
1111-
[CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
1113+
`CmekConfigService.ListCmekConfigs
1114+
<google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs>`__
11121115
method.
11131116
11141117
"""
@@ -1204,11 +1207,13 @@ def sample_delete_cmek_config():
12041207
Args:
12051208
request (Union[google.cloud.discoveryengine_v1.types.DeleteCmekConfigRequest, dict]):
12061209
The request object. Request message for
1207-
[CmekConfigService.DeleteCmekConfig][google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig]
1210+
`CmekConfigService.DeleteCmekConfig
1211+
<google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig>`__
12081212
method.
12091213
name (str):
12101214
Required. The resource name of the
1211-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]
1215+
`CmekConfig
1216+
<google.cloud.discoveryengine.v1.CmekConfig>`__
12121217
to delete, such as
12131218
``projects/{project}/locations/{location}/cmekConfigs/{cmek_config}``.
12141219
@@ -1229,7 +1234,7 @@ def sample_delete_cmek_config():
12291234
operation.
12301235
The result type for the operation will
12311236
be
1232-
:class:``google.protobuf.empty_pb2.Empty``
1237+
:class:`google.protobuf.empty_pb2.Empty`
12331238
A generic empty message that you can
12341239
re-use to avoid defining duplicated
12351240
empty messages in your APIs. A typical

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/services/cmek_config_service/transports/grpc.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,8 @@ def get_cmek_config(
380380
]:
381381
r"""Return a callable for the get cmek config method over gRPC.
382382
383-
Gets the
384-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].
383+
Gets the `CmekConfig
384+
<google.cloud.discoveryengine.v1.CmekConfig>`__.
385385
386386
Returns:
387387
Callable[[~.GetCmekConfigRequest],
@@ -410,9 +410,9 @@ def list_cmek_configs(
410410
]:
411411
r"""Return a callable for the list cmek configs method over gRPC.
412412
413-
Lists all the
414-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
415-
with the project.
413+
Lists all the `CmekConfig
414+
<google.cloud.discoveryengine.v1.CmekConfig>`__s with
415+
the project.
416416
417417
Returns:
418418
Callable[[~.ListCmekConfigsRequest],

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/services/cmek_config_service/transports/grpc_asyncio.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ def get_cmek_config(
390390
]:
391391
r"""Return a callable for the get cmek config method over gRPC.
392392
393-
Gets the
394-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].
393+
Gets the `CmekConfig
394+
<google.cloud.discoveryengine.v1.CmekConfig>`__.
395395
396396
Returns:
397397
Callable[[~.GetCmekConfigRequest],
@@ -420,9 +420,9 @@ def list_cmek_configs(
420420
]:
421421
r"""Return a callable for the list cmek configs method over gRPC.
422422
423-
Lists all the
424-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
425-
with the project.
423+
Lists all the `CmekConfig
424+
<google.cloud.discoveryengine.v1.CmekConfig>`__s with
425+
the project.
426426
427427
Returns:
428428
Callable[[~.ListCmekConfigsRequest],

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/services/cmek_config_service/transports/rest.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,8 @@ def __call__(
697697
Args:
698698
request (~.cmek_config_service.DeleteCmekConfigRequest):
699699
The request object. Request message for
700-
[CmekConfigService.DeleteCmekConfig][google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig]
700+
`CmekConfigService.DeleteCmekConfig
701+
<google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig>`__
701702
method.
702703
retry (google.api_core.retry.Retry): Designation of what errors, if any,
703704
should be retried.
@@ -995,7 +996,8 @@ def __call__(
995996
Args:
996997
request (~.cmek_config_service.ListCmekConfigsRequest):
997998
The request object. Request message for
998-
[CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
999+
`CmekConfigService.ListCmekConfigs
1000+
<google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs>`__
9991001
method.
10001002
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10011003
should be retried.
@@ -1008,7 +1010,8 @@ def __call__(
10081010
Returns:
10091011
~.cmek_config_service.ListCmekConfigsResponse:
10101012
Response message for
1011-
[CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
1013+
`CmekConfigService.ListCmekConfigs
1014+
<google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs>`__
10121015
method.
10131016
10141017
"""

0 commit comments

Comments
 (0)