google-cloud-metastore-v1 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/cloud/metastore/v1/bindings_override.rb +175 -0
  4. data/lib/google/cloud/metastore/v1/dataproc_metastore/client.rb +88 -83
  5. data/lib/google/cloud/metastore/v1/dataproc_metastore/operations.rb +2 -2
  6. data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/client.rb +1690 -0
  7. data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/operations.rb +793 -0
  8. data/lib/google/cloud/metastore/v1/dataproc_metastore/rest/service_stub.rb +940 -0
  9. data/lib/google/cloud/metastore/v1/dataproc_metastore/rest.rb +70 -0
  10. data/lib/google/cloud/metastore/v1/dataproc_metastore.rb +6 -0
  11. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/client.rb +24 -23
  12. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/operations.rb +2 -2
  13. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/client.rb +775 -0
  14. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/operations.rb +793 -0
  15. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest/service_stub.rb +345 -0
  16. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation/rest.rb +66 -0
  17. data/lib/google/cloud/metastore/v1/dataproc_metastore_federation.rb +6 -0
  18. data/lib/google/cloud/metastore/v1/metastore_federation_pb.rb +2 -0
  19. data/lib/google/cloud/metastore/v1/metastore_pb.rb +25 -0
  20. data/lib/google/cloud/metastore/v1/rest.rb +39 -0
  21. data/lib/google/cloud/metastore/v1/version.rb +1 -1
  22. data/lib/google/cloud/metastore/v1.rb +5 -0
  23. data/proto_docs/google/api/client.rb +57 -3
  24. data/proto_docs/google/cloud/metastore/v1/metastore.rb +237 -123
  25. data/proto_docs/google/cloud/metastore/v1/metastore_federation.rb +30 -30
  26. data/proto_docs/google/type/expr.rb +75 -0
  27. metadata +17 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85836b778dea961c5cb2b20a13a370554372f38feba88d4e6b08bde71adf79d5
4
- data.tar.gz: 7f465484eb4ea2e236aab84facd351524f5328dfd9a7bf287b6f371e192fd614
3
+ metadata.gz: 679a4aae330cc27677c39c3d417ebe5432a092741b38850dcfd6890f8912c50b
4
+ data.tar.gz: db70ab1ec6fc16c605370ed789952948fdc2e9e1ca084f642924f80c008fcccd
5
5
  SHA512:
6
- metadata.gz: ddc6476dd33a665cdc561547684ebcc725140293237ae0c340c30eeaf2ace9e5b872d0ef35ef70b96209e6eb91b7f3c4171885329dc1eada59917260408af995
7
- data.tar.gz: 719e9068b6fb668790a5a2302d2b742946af18bed9ea9a6d75ea25d2ad5672c223bf6211702b9b905454a1ad9d882497eaec58dd7df927c7265e168f1a6893e1
6
+ metadata.gz: b79fa41f6586a823fa1f848e57e0c06a46abd2c0a53536edd32f38d6dee44c13e6ff6552b358f4fd5a8aac68dbf06b5e904c25890b9ddbfe419323309602fef6
7
+ data.tar.gz: d172d0c0d98fb4352f3ce5c2be5d6ec23860e9194fc9f0ea70197f8891131d24ddea27350b00502c3a6e4aef0952d35f28b58b99e86eba15240d667f9e371cee
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Dataproc Metastore V1 API
2
2
 
3
- API Client library for the Dataproc Metastore V1 API
3
+ The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.
4
4
 
5
5
  Dataproc Metastore is a fully managed, highly available within a region, autohealing serverless Apache Hive metastore (HMS) on Google Cloud for data analytics products. It supports HMS and serves as a critical component for managing the metadata of relational entities and provides interoperability between data processing applications in the open source data ecosystem.
6
6
 
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -0,0 +1,175 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/config"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Metastore
24
+ ##
25
+ # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
26
+ #
27
+ # require "google/cloud/metastore/v1/rest"
28
+ # client = ::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::Client.new
29
+ #
30
+ module V1
31
+ ##
32
+ # @private
33
+ # Initialize the mixin bindings configuration
34
+ #
35
+ def self.configure
36
+ @configure ||= begin
37
+ namespace = ["Google", "Cloud", "Metastore"]
38
+ parent_config = while namespace.any?
39
+ parent_name = namespace.join "::"
40
+ parent_const = const_get parent_name
41
+ break parent_const.configure if parent_const.respond_to? :configure
42
+ namespace.pop
43
+ end
44
+
45
+ default_config = Configuration.new parent_config
46
+ default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
+ uri_method: :get,
49
+ uri_template: "/v1/{name}",
50
+ matches: [
51
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
52
+ ],
53
+ body: nil
54
+ )
55
+ ]
56
+ default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
57
+
58
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
59
+ uri_method: :get,
60
+ uri_template: "/v1/{name}/locations",
61
+ matches: [
62
+ ["name", %r{^projects/[^/]+/?$}, false]
63
+ ],
64
+ body: nil
65
+ )
66
+ ]
67
+ default_config.bindings_override["google.iam.v1.IAMPolicy.GetIamPolicy"] = [
68
+
69
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
70
+ uri_method: :get,
71
+ uri_template: "/v1/{resource}:getIamPolicy",
72
+ matches: [
73
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/?$}, false]
74
+ ],
75
+ body: nil
76
+ ),
77
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
78
+ uri_method: :get,
79
+ uri_template: "/v1/{resource}:getIamPolicy",
80
+ matches: [
81
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+/?$}, false]
82
+ ],
83
+ body: nil
84
+ ),
85
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
86
+ uri_method: :get,
87
+ uri_template: "/v1/{resource}:getIamPolicy",
88
+ matches: [
89
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/federations/[^/]+/?$}, false]
90
+ ],
91
+ body: nil
92
+ )
93
+ ]
94
+ default_config.bindings_override["google.iam.v1.IAMPolicy.SetIamPolicy"] = [
95
+
96
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
97
+ uri_method: :post,
98
+ uri_template: "/v1/{resource}:setIamPolicy",
99
+ matches: [
100
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/?$}, false]
101
+ ],
102
+ body: "*"
103
+ ),
104
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
105
+ uri_method: :post,
106
+ uri_template: "/v1/{resource}:setIamPolicy",
107
+ matches: [
108
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/backups/[^/]+/?$}, false]
109
+ ],
110
+ body: "*"
111
+ ),
112
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
113
+ uri_method: :post,
114
+ uri_template: "/v1/{resource}:setIamPolicy",
115
+ matches: [
116
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/federations/[^/]+/?$}, false]
117
+ ],
118
+ body: "*"
119
+ )
120
+ ]
121
+ default_config.bindings_override["google.iam.v1.IAMPolicy.TestIamPermissions"] = [
122
+
123
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
124
+ uri_method: :post,
125
+ uri_template: "/v1/{resource}:testIamPermissions",
126
+ matches: [
127
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/services/[^/]+/?$}, false]
128
+ ],
129
+ body: "*"
130
+ ),
131
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
132
+ uri_method: :post,
133
+ uri_template: "/v1/{resource}:testIamPermissions",
134
+ matches: [
135
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/federations/[^/]+/?$}, false]
136
+ ],
137
+ body: "*"
138
+ )
139
+ ]
140
+ default_config
141
+ end
142
+ yield @configure if block_given?
143
+ @configure
144
+ end
145
+
146
+ ##
147
+ # @private
148
+ # Configuration class for the google.cloud.metastore.v1 package.
149
+ #
150
+ # This class contains common configuration for all services
151
+ # of the google.cloud.metastore.v1 package.
152
+ #
153
+ # This configuration is for internal use of the client library classes,
154
+ # and it is not intended that the end-users will read or change it.
155
+ #
156
+ class Configuration
157
+ extend ::Gapic::Config
158
+
159
+ # @private
160
+ # Overrides for http bindings for the RPC of the mixins for this package.
161
+ # Services in this package should use these when creating clients for the mixin services.
162
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
163
+ config_attr :bindings_override, {}, ::Hash, nil
164
+
165
+ # @private
166
+ def initialize parent_config = nil
167
+ @parent_config = parent_config unless parent_config.nil?
168
+
169
+ yield self if block_given?
170
+ end
171
+ end
172
+ end
173
+ end
174
+ end
175
+ end
@@ -243,23 +243,25 @@ module Google
243
243
  # the default parameter values, pass an empty Hash as a request object (see above).
244
244
  #
245
245
  # @param parent [::String]
246
- # Required. The relative resource name of the location of metastore services to
247
- # list, in the following form:
246
+ # Required. The relative resource name of the location of metastore services
247
+ # to list, in the following form:
248
248
  #
249
249
  # `projects/{project_number}/locations/{location_id}`.
250
250
  # @param page_size [::Integer]
251
- # Optional. The maximum number of services to return. The response may contain less
252
- # than the maximum number. If unspecified, no more than 500 services are
253
- # returned. The maximum value is 1000; values above 1000 are changed to 1000.
251
+ # Optional. The maximum number of services to return. The response may
252
+ # contain less than the maximum number. If unspecified, no more than 500
253
+ # services are returned. The maximum value is 1000; values above 1000 are
254
+ # changed to 1000.
254
255
  # @param page_token [::String]
255
- # Optional. A page token, received from a previous {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
256
+ # Optional. A page token, received from a previous
257
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
256
258
  # call. Provide this token to retrieve the subsequent page.
257
259
  #
258
260
  # To retrieve the first page, supply an empty page token.
259
261
  #
260
262
  # When paginating, other parameters provided to
261
- # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices} must match the call that provided the
262
- # page token.
263
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
264
+ # must match the call that provided the page token.
263
265
  # @param filter [::String]
264
266
  # Optional. The filter to apply to list results.
265
267
  # @param order_by [::String]
@@ -355,8 +357,8 @@ module Google
355
357
  # the default parameter values, pass an empty Hash as a request object (see above).
356
358
  #
357
359
  # @param name [::String]
358
- # Required. The relative resource name of the metastore service to retrieve, in the
359
- # following form:
360
+ # Required. The relative resource name of the metastore service to retrieve,
361
+ # in the following form:
360
362
  #
361
363
  # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
362
364
  #
@@ -443,8 +445,8 @@ module Google
443
445
  # the default parameter values, pass an empty Hash as a request object (see above).
444
446
  #
445
447
  # @param parent [::String]
446
- # Required. The relative resource name of the location in which to create a metastore
447
- # service, in the following form:
448
+ # Required. The relative resource name of the location in which to create a
449
+ # metastore service, in the following form:
448
450
  #
449
451
  # `projects/{project_number}/locations/{location_id}`.
450
452
  # @param service_id [::String]
@@ -459,10 +461,10 @@ module Google
459
461
  # ignored. The ID of the created metastore service must be provided in
460
462
  # the request's `service_id` field.
461
463
  # @param request_id [::String]
462
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
463
- # request if it has completed. The server will ignore subsequent requests
464
- # that provide a duplicate request ID for at least 60 minutes after the first
465
- # request.
464
+ # Optional. A request ID. Specify a unique request ID to allow the server to
465
+ # ignore the request if it has completed. The server will ignore subsequent
466
+ # requests that provide a duplicate request ID for at least 60 minutes after
467
+ # the first request.
466
468
  #
467
469
  # For example, if an initial request times out, followed by another request
468
470
  # with the same request ID, the server ignores the second request to prevent
@@ -574,10 +576,10 @@ module Google
574
576
  # The metastore service's `name` field is used to identify the metastore
575
577
  # service to be updated.
576
578
  # @param request_id [::String]
577
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
578
- # request if it has completed. The server will ignore subsequent requests
579
- # that provide a duplicate request ID for at least 60 minutes after the first
580
- # request.
579
+ # Optional. A request ID. Specify a unique request ID to allow the server to
580
+ # ignore the request if it has completed. The server will ignore subsequent
581
+ # requests that provide a duplicate request ID for at least 60 minutes after
582
+ # the first request.
581
583
  #
582
584
  # For example, if an initial request times out, followed by another request
583
585
  # with the same request ID, the server ignores the second request to prevent
@@ -678,15 +680,15 @@ module Google
678
680
  # the default parameter values, pass an empty Hash as a request object (see above).
679
681
  #
680
682
  # @param name [::String]
681
- # Required. The relative resource name of the metastore service to delete, in the
682
- # following form:
683
+ # Required. The relative resource name of the metastore service to delete, in
684
+ # the following form:
683
685
  #
684
686
  # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
685
687
  # @param request_id [::String]
686
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
687
- # request if it has completed. The server will ignore subsequent requests
688
- # that provide a duplicate request ID for at least 60 minutes after the first
689
- # request.
688
+ # Optional. A request ID. Specify a unique request ID to allow the server to
689
+ # ignore the request if it has completed. The server will ignore subsequent
690
+ # requests that provide a duplicate request ID for at least 60 minutes after
691
+ # the first request.
690
692
  #
691
693
  # For example, if an initial request times out, followed by another request
692
694
  # with the same request ID, the server ignores the second request to prevent
@@ -787,23 +789,24 @@ module Google
787
789
  # the default parameter values, pass an empty Hash as a request object (see above).
788
790
  #
789
791
  # @param parent [::String]
790
- # Required. The relative resource name of the service whose metadata imports to
791
- # list, in the following form:
792
+ # Required. The relative resource name of the service whose metadata imports
793
+ # to list, in the following form:
792
794
  #
793
795
  # `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports`.
794
796
  # @param page_size [::Integer]
795
- # Optional. The maximum number of imports to return. The response may contain less
796
- # than the maximum number. If unspecified, no more than 500 imports are
797
+ # Optional. The maximum number of imports to return. The response may contain
798
+ # less than the maximum number. If unspecified, no more than 500 imports are
797
799
  # returned. The maximum value is 1000; values above 1000 are changed to 1000.
798
800
  # @param page_token [::String]
799
- # Optional. A page token, received from a previous {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
801
+ # Optional. A page token, received from a previous
802
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
800
803
  # call. Provide this token to retrieve the subsequent page.
801
804
  #
802
805
  # To retrieve the first page, supply an empty page token.
803
806
  #
804
807
  # When paginating, other parameters provided to
805
- # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices} must match the call that provided the
806
- # page token.
808
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
809
+ # must match the call that provided the page token.
807
810
  # @param filter [::String]
808
811
  # Optional. The filter to apply to list results.
809
812
  # @param order_by [::String]
@@ -899,8 +902,8 @@ module Google
899
902
  # the default parameter values, pass an empty Hash as a request object (see above).
900
903
  #
901
904
  # @param name [::String]
902
- # Required. The relative resource name of the metadata import to retrieve, in the
903
- # following form:
905
+ # Required. The relative resource name of the metadata import to retrieve, in
906
+ # the following form:
904
907
  #
905
908
  # `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{import_id}`.
906
909
  #
@@ -987,26 +990,26 @@ module Google
987
990
  # the default parameter values, pass an empty Hash as a request object (see above).
988
991
  #
989
992
  # @param parent [::String]
990
- # Required. The relative resource name of the service in which to create a metastore
991
- # import, in the following form:
993
+ # Required. The relative resource name of the service in which to create a
994
+ # metastore import, in the following form:
992
995
  #
993
996
  # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
994
997
  # @param metadata_import_id [::String]
995
- # Required. The ID of the metadata import, which is used as the final component of the
996
- # metadata import's name.
998
+ # Required. The ID of the metadata import, which is used as the final
999
+ # component of the metadata import's name.
997
1000
  #
998
1001
  # This value must be between 1 and 64 characters long, begin with a letter,
999
1002
  # end with a letter or number, and consist of alpha-numeric ASCII characters
1000
1003
  # or hyphens.
1001
1004
  # @param metadata_import [::Google::Cloud::Metastore::V1::MetadataImport, ::Hash]
1002
- # Required. The metadata import to create. The `name` field is ignored. The ID of the
1003
- # created metadata import must be provided in the request's
1005
+ # Required. The metadata import to create. The `name` field is ignored. The
1006
+ # ID of the created metadata import must be provided in the request's
1004
1007
  # `metadata_import_id` field.
1005
1008
  # @param request_id [::String]
1006
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1007
- # request if it has completed. The server will ignore subsequent requests
1008
- # that provide a duplicate request ID for at least 60 minutes after the first
1009
- # request.
1009
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1010
+ # ignore the request if it has completed. The server will ignore subsequent
1011
+ # requests that provide a duplicate request ID for at least 60 minutes after
1012
+ # the first request.
1010
1013
  #
1011
1014
  # For example, if an initial request times out, followed by another request
1012
1015
  # with the same request ID, the server ignores the second request to prevent
@@ -1119,10 +1122,10 @@ module Google
1119
1122
  # The metadata import's `name` field is used to identify the metastore
1120
1123
  # import to be updated.
1121
1124
  # @param request_id [::String]
1122
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1123
- # request if it has completed. The server will ignore subsequent requests
1124
- # that provide a duplicate request ID for at least 60 minutes after the first
1125
- # request.
1125
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1126
+ # ignore the request if it has completed. The server will ignore subsequent
1127
+ # requests that provide a duplicate request ID for at least 60 minutes after
1128
+ # the first request.
1126
1129
  #
1127
1130
  # For example, if an initial request times out, followed by another request
1128
1131
  # with the same request ID, the server ignores the second request to prevent
@@ -1227,15 +1230,15 @@ module Google
1227
1230
  # `gs://<bucket_name>/<path_inside_bucket>`. A sub-folder
1228
1231
  # `<export_folder>` containing exported files will be created below it.
1229
1232
  # @param service [::String]
1230
- # Required. The relative resource name of the metastore service to run export, in the
1231
- # following form:
1233
+ # Required. The relative resource name of the metastore service to run
1234
+ # export, in the following form:
1232
1235
  #
1233
1236
  # `projects/{project_id}/locations/{location_id}/services/{service_id}`.
1234
1237
  # @param request_id [::String]
1235
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1236
- # request if it has completed. The server will ignore subsequent requests
1237
- # that provide a duplicate request ID for at least 60 minutes after the first
1238
- # request.
1238
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1239
+ # ignore the request if it has completed. The server will ignore subsequent
1240
+ # requests that provide a duplicate request ID for at least 60 minutes after
1241
+ # the first request.
1239
1242
  #
1240
1243
  # For example, if an initial request times out, followed by another request
1241
1244
  # with the same request ID, the server ignores the second request to prevent
@@ -1245,7 +1248,8 @@ module Google
1245
1248
  # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).
1246
1249
  # A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
1247
1250
  # @param database_dump_type [::Google::Cloud::Metastore::V1::DatabaseDumpSpec::Type]
1248
- # Optional. The type of the database dump. If unspecified, defaults to `MYSQL`.
1251
+ # Optional. The type of the database dump. If unspecified, defaults to
1252
+ # `MYSQL`.
1249
1253
  #
1250
1254
  # @yield [response, operation] Access the result along with the RPC operation
1251
1255
  # @yieldparam response [::Gapic::Operation]
@@ -1338,22 +1342,22 @@ module Google
1338
1342
  # the default parameter values, pass an empty Hash as a request object (see above).
1339
1343
  #
1340
1344
  # @param service [::String]
1341
- # Required. The relative resource name of the metastore service to run restore, in the
1342
- # following form:
1345
+ # Required. The relative resource name of the metastore service to run
1346
+ # restore, in the following form:
1343
1347
  #
1344
1348
  # `projects/{project_id}/locations/{location_id}/services/{service_id}`.
1345
1349
  # @param backup [::String]
1346
- # Required. The relative resource name of the metastore service backup to restore
1347
- # from, in the following form:
1350
+ # Required. The relative resource name of the metastore service backup to
1351
+ # restore from, in the following form:
1348
1352
  #
1349
1353
  # `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
1350
1354
  # @param restore_type [::Google::Cloud::Metastore::V1::Restore::RestoreType]
1351
1355
  # Optional. The type of restore. If unspecified, defaults to `METADATA_ONLY`.
1352
1356
  # @param request_id [::String]
1353
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1354
- # request if it has completed. The server will ignore subsequent requests
1355
- # that provide a duplicate request ID for at least 60 minutes after the first
1356
- # request.
1357
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1358
+ # ignore the request if it has completed. The server will ignore subsequent
1359
+ # requests that provide a duplicate request ID for at least 60 minutes after
1360
+ # the first request.
1357
1361
  #
1358
1362
  # For example, if an initial request times out, followed by another request
1359
1363
  # with the same request ID, the server ignores the second request to prevent
@@ -1459,18 +1463,19 @@ module Google
1459
1463
  #
1460
1464
  # `projects/{project_number}/locations/{location_id}/services/{service_id}/backups`.
1461
1465
  # @param page_size [::Integer]
1462
- # Optional. The maximum number of backups to return. The response may contain less
1463
- # than the maximum number. If unspecified, no more than 500 backups are
1466
+ # Optional. The maximum number of backups to return. The response may contain
1467
+ # less than the maximum number. If unspecified, no more than 500 backups are
1464
1468
  # returned. The maximum value is 1000; values above 1000 are changed to 1000.
1465
1469
  # @param page_token [::String]
1466
- # Optional. A page token, received from a previous {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_backups DataprocMetastore.ListBackups}
1470
+ # Optional. A page token, received from a previous
1471
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_backups DataprocMetastore.ListBackups}
1467
1472
  # call. Provide this token to retrieve the subsequent page.
1468
1473
  #
1469
1474
  # To retrieve the first page, supply an empty page token.
1470
1475
  #
1471
1476
  # When paginating, other parameters provided to
1472
- # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_backups DataprocMetastore.ListBackups} must match the call that provided the
1473
- # page token.
1477
+ # {::Google::Cloud::Metastore::V1::DataprocMetastore::Client#list_backups DataprocMetastore.ListBackups}
1478
+ # must match the call that provided the page token.
1474
1479
  # @param filter [::String]
1475
1480
  # Optional. The filter to apply to list results.
1476
1481
  # @param order_by [::String]
@@ -1654,8 +1659,8 @@ module Google
1654
1659
  # the default parameter values, pass an empty Hash as a request object (see above).
1655
1660
  #
1656
1661
  # @param parent [::String]
1657
- # Required. The relative resource name of the service in which to create a backup
1658
- # of the following form:
1662
+ # Required. The relative resource name of the service in which to create a
1663
+ # backup of the following form:
1659
1664
  #
1660
1665
  # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
1661
1666
  # @param backup_id [::String]
@@ -1666,13 +1671,13 @@ module Google
1666
1671
  # end with a letter or number, and consist of alpha-numeric ASCII characters
1667
1672
  # or hyphens.
1668
1673
  # @param backup [::Google::Cloud::Metastore::V1::Backup, ::Hash]
1669
- # Required. The backup to create. The `name` field is ignored. The ID of the created
1670
- # backup must be provided in the request's `backup_id` field.
1674
+ # Required. The backup to create. The `name` field is ignored. The ID of the
1675
+ # created backup must be provided in the request's `backup_id` field.
1671
1676
  # @param request_id [::String]
1672
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1673
- # request if it has completed. The server will ignore subsequent requests
1674
- # that provide a duplicate request ID for at least 60 minutes after the first
1675
- # request.
1677
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1678
+ # ignore the request if it has completed. The server will ignore subsequent
1679
+ # requests that provide a duplicate request ID for at least 60 minutes after
1680
+ # the first request.
1676
1681
  #
1677
1682
  # For example, if an initial request times out, followed by another request
1678
1683
  # with the same request ID, the server ignores the second request to prevent
@@ -1778,10 +1783,10 @@ module Google
1778
1783
  #
1779
1784
  # `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
1780
1785
  # @param request_id [::String]
1781
- # Optional. A request ID. Specify a unique request ID to allow the server to ignore the
1782
- # request if it has completed. The server will ignore subsequent requests
1783
- # that provide a duplicate request ID for at least 60 minutes after the first
1784
- # request.
1786
+ # Optional. A request ID. Specify a unique request ID to allow the server to
1787
+ # ignore the request if it has completed. The server will ignore subsequent
1788
+ # requests that provide a duplicate request ID for at least 60 minutes after
1789
+ # the first request.
1785
1790
  #
1786
1791
  # For example, if an initial request times out, followed by another request
1787
1792
  # with the same request ID, the server ignores the second request to prevent
@@ -1901,9 +1906,9 @@ module Google
1901
1906
  # * (`String`) The path to a service account key file in JSON format
1902
1907
  # * (`Hash`) A service account key as a Hash
1903
1908
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1904
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1909
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1905
1910
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1906
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1911
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1907
1912
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1908
1913
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1909
1914
  # * (`nil`) indicating no credentials
@@ -620,9 +620,9 @@ module Google
620
620
  # * (`String`) The path to a service account key file in JSON format
621
621
  # * (`Hash`) A service account key as a Hash
622
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
625
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
626
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
627
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
628
  # * (`nil`) indicating no credentials