Skip to content

Commit b30d3be

Browse files
committed
diff with generator changes
1 parent d4e6a4a commit b30d3be

File tree

924 files changed

+15856
-12679
lines changed

Some content is hidden

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

924 files changed

+15856
-12679
lines changed

packages/google-cloud-discoveryengine/google/cloud/discoveryengine/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.15.0" # {x-release-please-version}
16+
__version__ = "0.4.0" # {x-release-please-version}

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.15.0" # {x-release-please-version}
16+
__version__ = "0.4.0" # {x-release-please-version}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ async def sample_stream_assist():
358358
Returns:
359359
AsyncIterable[google.cloud.discoveryengine_v1.types.StreamAssistResponse]:
360360
Response for the
361-
[AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
362-
method.
361+
[AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
362+
method.
363363
364364
"""
365365
# Create or coerce a protobuf request object.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,8 +875,8 @@ def sample_stream_assist():
875875
Returns:
876876
Iterable[google.cloud.discoveryengine_v1.types.StreamAssistResponse]:
877877
Response for the
878-
[AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
879-
method.
878+
[AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
879+
method.
880880
881881
"""
882882
# Create or coerce a protobuf request object.

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

Lines changed: 39 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -379,12 +379,13 @@ async def sample_update_cmek_config():
379379
380380
Returns:
381381
google.api_core.operation_async.AsyncOperation:
382-
An object representing a long-running operation.
383-
384-
The result type for the operation will be
385-
:class:`google.cloud.discoveryengine_v1.types.CmekConfig`
386-
Configurations used to enable CMEK data encryption with
387-
Cloud KMS keys.
382+
An object representing a long-running
383+
operation.
384+
The result type for the operation will
385+
be
386+
:class:``google.cloud.discoveryengine_v1.types.CmekConfig``
387+
Configurations used to enable CMEK data
388+
encryption with Cloud KMS keys.
388389
389390
"""
390391
# Create or coerce a protobuf request object.
@@ -491,13 +492,15 @@ async def sample_get_cmek_config():
491492
name (:class:`str`):
492493
Required. Resource name of
493494
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig],
494-
such as ``projects/*/locations/*/cmekConfig`` or
495+
such as
496+
``projects/*/locations/*/cmekConfig`` or
495497
``projects/*/locations/*/cmekConfigs/*``.
496498
497-
If the caller does not have permission to access the
499+
If the caller does not have permission
500+
to access the
498501
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig],
499-
regardless of whether or not it exists, a
500-
PERMISSION_DENIED error is returned.
502+
regardless of whether or not it exists,
503+
a PERMISSION_DENIED error is returned.
501504
502505
This corresponds to the ``name`` field
503506
on the ``request`` instance; if ``request`` is provided, this
@@ -577,8 +580,8 @@ async def list_cmek_configs(
577580
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
578581
) -> cmek_config_service.ListCmekConfigsResponse:
579582
r"""Lists all the
580-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with
581-
the project.
583+
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
584+
with the project.
582585
583586
.. code-block:: python
584587
@@ -612,14 +615,16 @@ async def sample_list_cmek_configs():
612615
[CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
613616
method.
614617
parent (:class:`str`):
615-
Required. The parent location resource name, such as
618+
Required. The parent location resource
619+
name, such as
616620
``projects/{project}/locations/{location}``.
617621
618-
If the caller does not have permission to list
622+
If the caller does not have permission
623+
to list
619624
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
620-
under this location, regardless of whether or not a
621-
CmekConfig exists, a PERMISSION_DENIED error is
622-
returned.
625+
under this location, regardless of
626+
whether or not a CmekConfig exists, a
627+
PERMISSION_DENIED error is returned.
623628
624629
This corresponds to the ``parent`` field
625630
on the ``request`` instance; if ``request`` is provided, this
@@ -635,8 +640,8 @@ async def sample_list_cmek_configs():
635640
Returns:
636641
google.cloud.discoveryengine_v1.types.ListCmekConfigsResponse:
637642
Response message for
638-
[CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
639-
method.
643+
[CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
644+
method.
640645
641646
"""
642647
# Create or coerce a protobuf request object.
@@ -755,18 +760,21 @@ async def sample_delete_cmek_config():
755760
756761
Returns:
757762
google.api_core.operation_async.AsyncOperation:
758-
An object representing a long-running operation.
759-
760-
The result type for the operation will be :class:`google.protobuf.empty_pb2.Empty` A generic empty message that you can re-use to avoid defining duplicated
761-
empty messages in your APIs. A typical example is to
762-
use it as the request or the response type of an API
763-
method. For instance:
764-
765-
service Foo {
766-
rpc Bar(google.protobuf.Empty) returns
767-
(google.protobuf.Empty);
768-
769-
}
763+
An object representing a long-running
764+
operation.
765+
The result type for the operation will
766+
be
767+
:class:``google.protobuf.empty_pb2.Empty``
768+
A generic empty message that you can
769+
re-use to avoid defining duplicated
770+
empty messages in your APIs. A typical
771+
example is to use it as the request or
772+
the response type of an API method. For
773+
instance:
774+
775+
service Foo {
776+
rpc Bar(google.protobuf.Empty)
777+
returns (google.protobuf.Empty); }
770778
771779
"""
772780
# Create or coerce a protobuf request object.

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

Lines changed: 39 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -853,12 +853,13 @@ def sample_update_cmek_config():
853853
854854
Returns:
855855
google.api_core.operation.Operation:
856-
An object representing a long-running operation.
857-
858-
The result type for the operation will be
859-
:class:`google.cloud.discoveryengine_v1.types.CmekConfig`
860-
Configurations used to enable CMEK data encryption with
861-
Cloud KMS keys.
856+
An object representing a long-running
857+
operation.
858+
The result type for the operation will
859+
be
860+
:class:``google.cloud.discoveryengine_v1.types.CmekConfig``
861+
Configurations used to enable CMEK data
862+
encryption with Cloud KMS keys.
862863
863864
"""
864865
# Create or coerce a protobuf request object.
@@ -962,13 +963,15 @@ def sample_get_cmek_config():
962963
name (str):
963964
Required. Resource name of
964965
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig],
965-
such as ``projects/*/locations/*/cmekConfig`` or
966+
such as
967+
``projects/*/locations/*/cmekConfig`` or
966968
``projects/*/locations/*/cmekConfigs/*``.
967969
968-
If the caller does not have permission to access the
970+
If the caller does not have permission
971+
to access the
969972
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig],
970-
regardless of whether or not it exists, a
971-
PERMISSION_DENIED error is returned.
973+
regardless of whether or not it exists,
974+
a PERMISSION_DENIED error is returned.
972975
973976
This corresponds to the ``name`` field
974977
on the ``request`` instance; if ``request`` is provided, this
@@ -1045,8 +1048,8 @@ def list_cmek_configs(
10451048
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
10461049
) -> cmek_config_service.ListCmekConfigsResponse:
10471050
r"""Lists all the
1048-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with
1049-
the project.
1051+
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
1052+
with the project.
10501053
10511054
.. code-block:: python
10521055
@@ -1080,14 +1083,16 @@ def sample_list_cmek_configs():
10801083
[CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
10811084
method.
10821085
parent (str):
1083-
Required. The parent location resource name, such as
1086+
Required. The parent location resource
1087+
name, such as
10841088
``projects/{project}/locations/{location}``.
10851089
1086-
If the caller does not have permission to list
1090+
If the caller does not have permission
1091+
to list
10871092
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
1088-
under this location, regardless of whether or not a
1089-
CmekConfig exists, a PERMISSION_DENIED error is
1090-
returned.
1093+
under this location, regardless of
1094+
whether or not a CmekConfig exists, a
1095+
PERMISSION_DENIED error is returned.
10911096
10921097
This corresponds to the ``parent`` field
10931098
on the ``request`` instance; if ``request`` is provided, this
@@ -1103,8 +1108,8 @@ def sample_list_cmek_configs():
11031108
Returns:
11041109
google.cloud.discoveryengine_v1.types.ListCmekConfigsResponse:
11051110
Response message for
1106-
[CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
1107-
method.
1111+
[CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
1112+
method.
11081113
11091114
"""
11101115
# Create or coerce a protobuf request object.
@@ -1220,18 +1225,21 @@ def sample_delete_cmek_config():
12201225
12211226
Returns:
12221227
google.api_core.operation.Operation:
1223-
An object representing a long-running operation.
1224-
1225-
The result type for the operation will be :class:`google.protobuf.empty_pb2.Empty` A generic empty message that you can re-use to avoid defining duplicated
1226-
empty messages in your APIs. A typical example is to
1227-
use it as the request or the response type of an API
1228-
method. For instance:
1229-
1230-
service Foo {
1231-
rpc Bar(google.protobuf.Empty) returns
1232-
(google.protobuf.Empty);
1233-
1234-
}
1228+
An object representing a long-running
1229+
operation.
1230+
The result type for the operation will
1231+
be
1232+
:class:``google.protobuf.empty_pb2.Empty``
1233+
A generic empty message that you can
1234+
re-use to avoid defining duplicated
1235+
empty messages in your APIs. A typical
1236+
example is to use it as the request or
1237+
the response type of an API method. For
1238+
instance:
1239+
1240+
service Foo {
1241+
rpc Bar(google.protobuf.Empty)
1242+
returns (google.protobuf.Empty); }
12351243
12361244
"""
12371245
# Create or coerce a protobuf request object.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,8 @@ def list_cmek_configs(
411411
r"""Return a callable for the list cmek configs method over gRPC.
412412
413413
Lists all the
414-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with
415-
the project.
414+
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
415+
with 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,8 @@ def list_cmek_configs(
421421
r"""Return a callable for the list cmek configs method over gRPC.
422422
423423
Lists all the
424-
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with
425-
the project.
424+
[CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
425+
with the project.
426426
427427
Returns:
428428
Callable[[~.ListCmekConfigsRequest],

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

Lines changed: 37 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ async def sample_complete_query():
353353
Returns:
354354
google.cloud.discoveryengine_v1.types.CompleteQueryResponse:
355355
Response message for
356-
[CompletionService.CompleteQuery][google.cloud.discoveryengine.v1.CompletionService.CompleteQuery]
357-
method.
356+
[CompletionService.CompleteQuery][google.cloud.discoveryengine.v1.CompletionService.CompleteQuery]
357+
method.
358358
359359
"""
360360
# Create or coerce a protobuf request object.
@@ -455,11 +455,14 @@ async def sample_import_suggestion_deny_list_entries():
455455
456456
Returns:
457457
google.api_core.operation_async.AsyncOperation:
458-
An object representing a long-running operation.
459-
460-
The result type for the operation will be :class:`google.cloud.discoveryengine_v1.types.ImportSuggestionDenyListEntriesResponse` Response message for
461-
[CompletionService.ImportSuggestionDenyListEntries][google.cloud.discoveryengine.v1.CompletionService.ImportSuggestionDenyListEntries]
462-
method.
458+
An object representing a long-running
459+
operation.
460+
The result type for the operation will
461+
be
462+
:class:``google.cloud.discoveryengine_v1.types.ImportSuggestionDenyListEntriesResponse``
463+
Response message for
464+
[CompletionService.ImportSuggestionDenyListEntries][google.cloud.discoveryengine.v1.CompletionService.ImportSuggestionDenyListEntries]
465+
method.
463466
464467
"""
465468
# Create or coerce a protobuf request object.
@@ -563,11 +566,14 @@ async def sample_purge_suggestion_deny_list_entries():
563566
564567
Returns:
565568
google.api_core.operation_async.AsyncOperation:
566-
An object representing a long-running operation.
567-
568-
The result type for the operation will be :class:`google.cloud.discoveryengine_v1.types.PurgeSuggestionDenyListEntriesResponse` Response message for
569-
[CompletionService.PurgeSuggestionDenyListEntries][google.cloud.discoveryengine.v1.CompletionService.PurgeSuggestionDenyListEntries]
570-
method.
569+
An object representing a long-running
570+
operation.
571+
The result type for the operation will
572+
be
573+
:class:``google.cloud.discoveryengine_v1.types.PurgeSuggestionDenyListEntriesResponse``
574+
Response message for
575+
[CompletionService.PurgeSuggestionDenyListEntries][google.cloud.discoveryengine.v1.CompletionService.PurgeSuggestionDenyListEntries]
576+
method.
571577
572578
"""
573579
# Create or coerce a protobuf request object.
@@ -674,14 +680,17 @@ async def sample_import_completion_suggestions():
674680
675681
Returns:
676682
google.api_core.operation_async.AsyncOperation:
677-
An object representing a long-running operation.
678-
679-
The result type for the operation will be :class:`google.cloud.discoveryengine_v1.types.ImportCompletionSuggestionsResponse` Response of the
680-
[CompletionService.ImportCompletionSuggestions][google.cloud.discoveryengine.v1.CompletionService.ImportCompletionSuggestions]
681-
method. If the long running operation is done, this
682-
message is returned by the
683-
google.longrunning.Operations.response field if the
684-
operation is successful.
683+
An object representing a long-running
684+
operation.
685+
The result type for the operation will
686+
be
687+
:class:``google.cloud.discoveryengine_v1.types.ImportCompletionSuggestionsResponse``
688+
Response of the
689+
[CompletionService.ImportCompletionSuggestions][google.cloud.discoveryengine.v1.CompletionService.ImportCompletionSuggestions]
690+
method. If the long running operation is
691+
done, this message is returned by the
692+
google.longrunning.Operations.response
693+
field if the operation is successful.
685694
686695
"""
687696
# Create or coerce a protobuf request object.
@@ -783,11 +792,14 @@ async def sample_purge_completion_suggestions():
783792
784793
Returns:
785794
google.api_core.operation_async.AsyncOperation:
786-
An object representing a long-running operation.
787-
788-
The result type for the operation will be :class:`google.cloud.discoveryengine_v1.types.PurgeCompletionSuggestionsResponse` Response message for
789-
[CompletionService.PurgeCompletionSuggestions][google.cloud.discoveryengine.v1.CompletionService.PurgeCompletionSuggestions]
790-
method.
795+
An object representing a long-running
796+
operation.
797+
The result type for the operation will
798+
be
799+
:class:``google.cloud.discoveryengine_v1.types.PurgeCompletionSuggestionsResponse``
800+
Response message for
801+
[CompletionService.PurgeCompletionSuggestions][google.cloud.discoveryengine.v1.CompletionService.PurgeCompletionSuggestions]
802+
method.
791803
792804
"""
793805
# Create or coerce a protobuf request object.

0 commit comments

Comments
 (0)