google-apis-metastore_v1beta 0.27.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95e19b9e6950ffca9b31fa11add197b453ed6dc3d10b28473f543366e7e159ce
4
- data.tar.gz: 2016628cae8521fae6b4ff8af1562706909de03b055ef4354ec896c0543b6a7e
3
+ metadata.gz: ecfb68638b8672b0b38e20ff57be2939c7513436d8bcd82f26f6a8a57aeb71d3
4
+ data.tar.gz: 286173ee64727a52c00ab1e5e6615e96a980b22078bc48e2c0c5d73911b205b4
5
5
  SHA512:
6
- metadata.gz: 9afb714b8442c10f764dbfa0d851c8c1bc82569b341a876e8810cc315c8272b23c7f13f351f52a594057c891a29d6911feb69253a87bd8926deb81231c1be216
7
- data.tar.gz: 4661244b6b6562b2b53578c430576c610cd2dcaa1b3479aecf397206f0a81b90e141d9c602e5e033cb709cc39ba3b9f5dcab9d920cdf70524b1766234866bb24
6
+ metadata.gz: a09a369dd10d9c5b597a43d98f13ad3947338c14d6042deaf73ee80e8f050fb4c99176b48f3d1be1198fa028990d7e53f786332d2dbbf043b5ab863dbb84c900
7
+ data.tar.gz: 96a2aa0cd334c3ff56b66241a7f9e26cec2044a062fc5603b6539cf84dd1aed8adbff5e984a7883939e73fe20ae590cd81add28bc71c48910a5cbd29447360c6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.28.0 (2022-05-25)
4
+
5
+ * Regenerated from discovery document revision 20220512
6
+
3
7
  ### v0.27.0 (2022-05-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20220426
@@ -129,35 +129,6 @@ module Google
129
129
  end
130
130
  end
131
131
 
132
- # Represents a backend metastore for the federation.
133
- class BackendMetastore
134
- include Google::Apis::Core::Hashable
135
-
136
- # The type of the backend metastore.
137
- # Corresponds to the JSON property `metastoreType`
138
- # @return [String]
139
- attr_accessor :metastore_type
140
-
141
- # The relative resource name of the metastore that is being federated. The
142
- # formats of the relative resource names for the currently supported metastores
143
- # are listed below: Dataplex: projects/`project_id`/locations/`location`/lakes/`
144
- # lake_id` BigQuery: projects/`project_id` Dataproc Metastore: projects/`
145
- # project_id`/locations/`location`/services/`service_id`
146
- # Corresponds to the JSON property `name`
147
- # @return [String]
148
- attr_accessor :name
149
-
150
- def initialize(**args)
151
- update!(**args)
152
- end
153
-
154
- # Update properties of this object
155
- def update!(**args)
156
- @metastore_type = args[:metastore_type] if args.key?(:metastore_type)
157
- @name = args[:name] if args.key?(:name)
158
- end
159
- end
160
-
161
132
  # The details of a backup resource.
162
133
  class Backup
163
134
  include Google::Apis::Core::Hashable
@@ -528,87 +499,6 @@ module Google
528
499
  end
529
500
  end
530
501
 
531
- # Represents a federation of multiple backend metastores.
532
- class Federation
533
- include Google::Apis::Core::Hashable
534
-
535
- # A map from BackendMetastore rank to BackendMetastores from which the
536
- # federation service serves metadata at query time. The map key is an integer
537
- # that represents the order in which BackendMetastores should be evaluated to
538
- # resolve database names at query time. A BackendMetastore with a lower number
539
- # will be evaluated before a BackendMetastore with a higher number.
540
- # Corresponds to the JSON property `backendMetastores`
541
- # @return [Hash<String,Google::Apis::MetastoreV1beta::BackendMetastore>]
542
- attr_accessor :backend_metastores
543
-
544
- # Output only. The time when the metastore federation was created.
545
- # Corresponds to the JSON property `createTime`
546
- # @return [String]
547
- attr_accessor :create_time
548
-
549
- # Output only. The federation endpoint.
550
- # Corresponds to the JSON property `endpointUri`
551
- # @return [String]
552
- attr_accessor :endpoint_uri
553
-
554
- # User-defined labels for the metastore federation.
555
- # Corresponds to the JSON property `labels`
556
- # @return [Hash<String,String>]
557
- attr_accessor :labels
558
-
559
- # Immutable. The relative resource name of the federation, of the form: projects/
560
- # `project_number`/locations/`location_id`/federations/`federation_id``.
561
- # Corresponds to the JSON property `name`
562
- # @return [String]
563
- attr_accessor :name
564
-
565
- # Output only. The current state of the federation.
566
- # Corresponds to the JSON property `state`
567
- # @return [String]
568
- attr_accessor :state
569
-
570
- # Output only. Additional information about the current state of the metastore
571
- # federation, if available.
572
- # Corresponds to the JSON property `stateMessage`
573
- # @return [String]
574
- attr_accessor :state_message
575
-
576
- # Output only. The globally unique resource identifier of the metastore
577
- # federation.
578
- # Corresponds to the JSON property `uid`
579
- # @return [String]
580
- attr_accessor :uid
581
-
582
- # Output only. The time when the metastore federation was last updated.
583
- # Corresponds to the JSON property `updateTime`
584
- # @return [String]
585
- attr_accessor :update_time
586
-
587
- # Immutable. The Apache Hive metastore version of the federation. All backend
588
- # metastore versions must be compatible with the federation version.
589
- # Corresponds to the JSON property `version`
590
- # @return [String]
591
- attr_accessor :version
592
-
593
- def initialize(**args)
594
- update!(**args)
595
- end
596
-
597
- # Update properties of this object
598
- def update!(**args)
599
- @backend_metastores = args[:backend_metastores] if args.key?(:backend_metastores)
600
- @create_time = args[:create_time] if args.key?(:create_time)
601
- @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
602
- @labels = args[:labels] if args.key?(:labels)
603
- @name = args[:name] if args.key?(:name)
604
- @state = args[:state] if args.key?(:state)
605
- @state_message = args[:state_message] if args.key?(:state_message)
606
- @uid = args[:uid] if args.key?(:uid)
607
- @update_time = args[:update_time] if args.key?(:update_time)
608
- @version = args[:version] if args.key?(:version)
609
- end
610
- end
611
-
612
502
  # Specifies configuration information specific to running Hive metastore
613
503
  # software as the metastore service.
614
504
  class HiveMetastoreConfig
@@ -778,38 +668,6 @@ module Google
778
668
  end
779
669
  end
780
670
 
781
- # Response message for ListFederations
782
- class ListFederationsResponse
783
- include Google::Apis::Core::Hashable
784
-
785
- # The services in the specified location.
786
- # Corresponds to the JSON property `federations`
787
- # @return [Array<Google::Apis::MetastoreV1beta::Federation>]
788
- attr_accessor :federations
789
-
790
- # A token that can be sent as page_token to retrieve the next page. If this
791
- # field is omitted, there are no subsequent pages.
792
- # Corresponds to the JSON property `nextPageToken`
793
- # @return [String]
794
- attr_accessor :next_page_token
795
-
796
- # Locations that could not be reached.
797
- # Corresponds to the JSON property `unreachable`
798
- # @return [Array<String>]
799
- attr_accessor :unreachable
800
-
801
- def initialize(**args)
802
- update!(**args)
803
- end
804
-
805
- # Update properties of this object
806
- def update!(**args)
807
- @federations = args[:federations] if args.key?(:federations)
808
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
809
- @unreachable = args[:unreachable] if args.key?(:unreachable)
810
- end
811
- end
812
-
813
671
  # The response message for Locations.ListLocations.
814
672
  class ListLocationsResponse
815
673
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1beta
18
18
  # Version of the google-apis-metastore_v1beta gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220426"
25
+ REVISION = "20220512"
26
26
  end
27
27
  end
28
28
  end
@@ -40,12 +40,6 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class BackendMetastore
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
43
  class Backup
50
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
45
 
@@ -106,12 +100,6 @@ module Google
106
100
  include Google::Apis::Core::JsonObjectSupport
107
101
  end
108
102
 
109
- class Federation
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
103
  class HiveMetastoreConfig
116
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
105
 
@@ -142,12 +130,6 @@ module Google
142
130
  include Google::Apis::Core::JsonObjectSupport
143
131
  end
144
132
 
145
- class ListFederationsResponse
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
133
  class ListLocationsResponse
152
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
135
 
@@ -325,14 +307,6 @@ module Google
325
307
  end
326
308
  end
327
309
 
328
- class BackendMetastore
329
- # @private
330
- class Representation < Google::Apis::Core::JsonRepresentation
331
- property :metastore_type, as: 'metastoreType'
332
- property :name, as: 'name'
333
- end
334
- end
335
-
336
310
  class Backup
337
311
  # @private
338
312
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -422,23 +396,6 @@ module Google
422
396
  end
423
397
  end
424
398
 
425
- class Federation
426
- # @private
427
- class Representation < Google::Apis::Core::JsonRepresentation
428
- hash :backend_metastores, as: 'backendMetastores', class: Google::Apis::MetastoreV1beta::BackendMetastore, decorator: Google::Apis::MetastoreV1beta::BackendMetastore::Representation
429
-
430
- property :create_time, as: 'createTime'
431
- property :endpoint_uri, as: 'endpointUri'
432
- hash :labels, as: 'labels'
433
- property :name, as: 'name'
434
- property :state, as: 'state'
435
- property :state_message, as: 'stateMessage'
436
- property :uid, as: 'uid'
437
- property :update_time, as: 'updateTime'
438
- property :version, as: 'version'
439
- end
440
- end
441
-
442
399
  class HiveMetastoreConfig
443
400
  # @private
444
401
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -487,16 +444,6 @@ module Google
487
444
  end
488
445
  end
489
446
 
490
- class ListFederationsResponse
491
- # @private
492
- class Representation < Google::Apis::Core::JsonRepresentation
493
- collection :federations, as: 'federations', class: Google::Apis::MetastoreV1beta::Federation, decorator: Google::Apis::MetastoreV1beta::Federation::Representation
494
-
495
- property :next_page_token, as: 'nextPageToken'
496
- collection :unreachable, as: 'unreachable'
497
- end
498
- end
499
-
500
447
  class ListLocationsResponse
501
448
  # @private
502
449
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -123,136 +123,12 @@ module Google
123
123
  execute_or_queue_command(command, &block)
124
124
  end
125
125
 
126
- # Creates a metastore federation in a project and location.
127
- # @param [String] parent
128
- # Required. The relative resource name of the location in which to create a
129
- # federation service, in the following form:projects/`project_number`/locations/`
130
- # location_id`.
131
- # @param [Google::Apis::MetastoreV1beta::Federation] federation_object
132
- # @param [String] federation_id
133
- # Required. The ID of the metastore federation, which is used as the final
134
- # component of the metastore federation's name.This value must be between 2 and
135
- # 63 characters long inclusive, begin with a letter, end with a letter or number,
136
- # and consist of alpha-numeric ASCII characters or hyphens.
137
- # @param [String] request_id
138
- # Optional. A request ID. Specify a unique request ID to allow the server to
139
- # ignore the request if it has completed. The server will ignore subsequent
140
- # requests that provide a duplicate request ID for at least 60 minutes after the
141
- # first request.For example, if an initial request times out, followed by
142
- # another request with the same request ID, the server ignores the second
143
- # request to prevent the creation of duplicate commitments.The request ID must
144
- # be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#
145
- # Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
146
- # @param [String] fields
147
- # Selector specifying which fields to include in a partial response.
148
- # @param [String] quota_user
149
- # Available to use for quota purposes for server-side applications. Can be any
150
- # arbitrary string assigned to a user, but should not exceed 40 characters.
151
- # @param [Google::Apis::RequestOptions] options
152
- # Request-specific options
153
- #
154
- # @yield [result, err] Result & error if block supplied
155
- # @yieldparam result [Google::Apis::MetastoreV1beta::Operation] parsed result object
156
- # @yieldparam err [StandardError] error object if request failed
157
- #
158
- # @return [Google::Apis::MetastoreV1beta::Operation]
159
- #
160
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
161
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
162
- # @raise [Google::Apis::AuthorizationError] Authorization is required
163
- def create_project_location_federation(parent, federation_object = nil, federation_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
164
- command = make_simple_command(:post, 'v1beta/{+parent}/federations', options)
165
- command.request_representation = Google::Apis::MetastoreV1beta::Federation::Representation
166
- command.request_object = federation_object
167
- command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation
168
- command.response_class = Google::Apis::MetastoreV1beta::Operation
169
- command.params['parent'] = parent unless parent.nil?
170
- command.query['federationId'] = federation_id unless federation_id.nil?
171
- command.query['requestId'] = request_id unless request_id.nil?
172
- command.query['fields'] = fields unless fields.nil?
173
- command.query['quotaUser'] = quota_user unless quota_user.nil?
174
- execute_or_queue_command(command, &block)
175
- end
176
-
177
- # Deletes a single federation.
178
- # @param [String] name
179
- # Required. The relative resource name of the metastore federation to delete, in
180
- # the following form:projects/`project_number`/locations/`location_id`/
181
- # federations/`federation_id`.
182
- # @param [String] request_id
183
- # Optional. A request ID. Specify a unique request ID to allow the server to
184
- # ignore the request if it has completed. The server will ignore subsequent
185
- # requests that provide a duplicate request ID for at least 60 minutes after the
186
- # first request.For example, if an initial request times out, followed by
187
- # another request with the same request ID, the server ignores the second
188
- # request to prevent the creation of duplicate commitments.The request ID must
189
- # be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#
190
- # Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
191
- # @param [String] fields
192
- # Selector specifying which fields to include in a partial response.
193
- # @param [String] quota_user
194
- # Available to use for quota purposes for server-side applications. Can be any
195
- # arbitrary string assigned to a user, but should not exceed 40 characters.
196
- # @param [Google::Apis::RequestOptions] options
197
- # Request-specific options
198
- #
199
- # @yield [result, err] Result & error if block supplied
200
- # @yieldparam result [Google::Apis::MetastoreV1beta::Operation] parsed result object
201
- # @yieldparam err [StandardError] error object if request failed
202
- #
203
- # @return [Google::Apis::MetastoreV1beta::Operation]
204
- #
205
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
206
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
207
- # @raise [Google::Apis::AuthorizationError] Authorization is required
208
- def delete_project_location_federation(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
209
- command = make_simple_command(:delete, 'v1beta/{+name}', options)
210
- command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation
211
- command.response_class = Google::Apis::MetastoreV1beta::Operation
212
- command.params['name'] = name unless name.nil?
213
- command.query['requestId'] = request_id unless request_id.nil?
214
- command.query['fields'] = fields unless fields.nil?
215
- command.query['quotaUser'] = quota_user unless quota_user.nil?
216
- execute_or_queue_command(command, &block)
217
- end
218
-
219
- # Gets the details of a single federation.
220
- # @param [String] name
221
- # Required. The relative resource name of the metastore federation to retrieve,
222
- # in the following form:projects/`project_number`/locations/`location_id`/
223
- # federations/`federation_id`.
224
- # @param [String] fields
225
- # Selector specifying which fields to include in a partial response.
226
- # @param [String] quota_user
227
- # Available to use for quota purposes for server-side applications. Can be any
228
- # arbitrary string assigned to a user, but should not exceed 40 characters.
229
- # @param [Google::Apis::RequestOptions] options
230
- # Request-specific options
231
- #
232
- # @yield [result, err] Result & error if block supplied
233
- # @yieldparam result [Google::Apis::MetastoreV1beta::Federation] parsed result object
234
- # @yieldparam err [StandardError] error object if request failed
235
- #
236
- # @return [Google::Apis::MetastoreV1beta::Federation]
237
- #
238
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
239
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
240
- # @raise [Google::Apis::AuthorizationError] Authorization is required
241
- def get_project_location_federation(name, fields: nil, quota_user: nil, options: nil, &block)
242
- command = make_simple_command(:get, 'v1beta/{+name}', options)
243
- command.response_representation = Google::Apis::MetastoreV1beta::Federation::Representation
244
- command.response_class = Google::Apis::MetastoreV1beta::Federation
245
- command.params['name'] = name unless name.nil?
246
- command.query['fields'] = fields unless fields.nil?
247
- command.query['quotaUser'] = quota_user unless quota_user.nil?
248
- execute_or_queue_command(command, &block)
249
- end
250
-
251
126
  # Gets the access control policy for a resource. Returns an empty policy if the
252
127
  # resource exists and does not have a policy set.
253
128
  # @param [String] resource
254
- # REQUIRED: The resource for which the policy is being requested. See the
255
- # operation documentation for the appropriate value for this field.
129
+ # REQUIRED: The resource for which the policy is being requested. See Resource
130
+ # names (https://cloud.google.com/apis/design/resource_names) for the
131
+ # appropriate value for this field.
256
132
  # @param [Fixnum] options_requested_policy_version
257
133
  # Optional. The maximum policy version that will be used to format the policy.
258
134
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -292,114 +168,13 @@ module Google
292
168
  execute_or_queue_command(command, &block)
293
169
  end
294
170
 
295
- # Lists federations in a project and location.
296
- # @param [String] parent
297
- # Required. The relative resource name of the location of metastore federations
298
- # to list, in the following form: projects/`project_number`/locations/`
299
- # location_id`.
300
- # @param [String] filter
301
- # Optional. The filter to apply to list results.
302
- # @param [String] order_by
303
- # Optional. Specify the ordering of results as described in Sorting Order (https:
304
- # //cloud.google.com/apis/design/design_patterns#sorting_order). If not
305
- # specified, the results will be sorted in the default order.
306
- # @param [Fixnum] page_size
307
- # Optional. The maximum number of federations to return. The response may
308
- # contain less than the maximum number. If unspecified, no more than 500
309
- # services are returned. The maximum value is 1000; values above 1000 are
310
- # changed to 1000.
311
- # @param [String] page_token
312
- # Optional. A page token, received from a previous ListFederationServices call.
313
- # Provide this token to retrieve the subsequent page.To retrieve the first page,
314
- # supply an empty page token.When paginating, other parameters provided to
315
- # ListFederationServices must match the call that provided the page token.
316
- # @param [String] fields
317
- # Selector specifying which fields to include in a partial response.
318
- # @param [String] quota_user
319
- # Available to use for quota purposes for server-side applications. Can be any
320
- # arbitrary string assigned to a user, but should not exceed 40 characters.
321
- # @param [Google::Apis::RequestOptions] options
322
- # Request-specific options
323
- #
324
- # @yield [result, err] Result & error if block supplied
325
- # @yieldparam result [Google::Apis::MetastoreV1beta::ListFederationsResponse] parsed result object
326
- # @yieldparam err [StandardError] error object if request failed
327
- #
328
- # @return [Google::Apis::MetastoreV1beta::ListFederationsResponse]
329
- #
330
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
331
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
332
- # @raise [Google::Apis::AuthorizationError] Authorization is required
333
- def list_project_location_federations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
334
- command = make_simple_command(:get, 'v1beta/{+parent}/federations', options)
335
- command.response_representation = Google::Apis::MetastoreV1beta::ListFederationsResponse::Representation
336
- command.response_class = Google::Apis::MetastoreV1beta::ListFederationsResponse
337
- command.params['parent'] = parent unless parent.nil?
338
- command.query['filter'] = filter unless filter.nil?
339
- command.query['orderBy'] = order_by unless order_by.nil?
340
- command.query['pageSize'] = page_size unless page_size.nil?
341
- command.query['pageToken'] = page_token unless page_token.nil?
342
- command.query['fields'] = fields unless fields.nil?
343
- command.query['quotaUser'] = quota_user unless quota_user.nil?
344
- execute_or_queue_command(command, &block)
345
- end
346
-
347
- # Updates the fields of a federation.
348
- # @param [String] name
349
- # Immutable. The relative resource name of the federation, of the form: projects/
350
- # `project_number`/locations/`location_id`/federations/`federation_id``.
351
- # @param [Google::Apis::MetastoreV1beta::Federation] federation_object
352
- # @param [String] request_id
353
- # Optional. A request ID. Specify a unique request ID to allow the server to
354
- # ignore the request if it has completed. The server will ignore subsequent
355
- # requests that provide a duplicate request ID for at least 60 minutes after the
356
- # first request.For example, if an initial request times out, followed by
357
- # another request with the same request ID, the server ignores the second
358
- # request to prevent the creation of duplicate commitments.The request ID must
359
- # be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#
360
- # Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
361
- # @param [String] update_mask
362
- # Required. A field mask used to specify the fields to be overwritten in the
363
- # metastore federation resource by the update. Fields specified in the
364
- # update_mask are relative to the resource (not to the full request). A field is
365
- # overwritten if it is in the mask.
366
- # @param [String] fields
367
- # Selector specifying which fields to include in a partial response.
368
- # @param [String] quota_user
369
- # Available to use for quota purposes for server-side applications. Can be any
370
- # arbitrary string assigned to a user, but should not exceed 40 characters.
371
- # @param [Google::Apis::RequestOptions] options
372
- # Request-specific options
373
- #
374
- # @yield [result, err] Result & error if block supplied
375
- # @yieldparam result [Google::Apis::MetastoreV1beta::Operation] parsed result object
376
- # @yieldparam err [StandardError] error object if request failed
377
- #
378
- # @return [Google::Apis::MetastoreV1beta::Operation]
379
- #
380
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
381
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
382
- # @raise [Google::Apis::AuthorizationError] Authorization is required
383
- def patch_project_location_federation(name, federation_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
384
- command = make_simple_command(:patch, 'v1beta/{+name}', options)
385
- command.request_representation = Google::Apis::MetastoreV1beta::Federation::Representation
386
- command.request_object = federation_object
387
- command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation
388
- command.response_class = Google::Apis::MetastoreV1beta::Operation
389
- command.params['name'] = name unless name.nil?
390
- command.query['requestId'] = request_id unless request_id.nil?
391
- command.query['updateMask'] = update_mask unless update_mask.nil?
392
- command.query['fields'] = fields unless fields.nil?
393
- command.query['quotaUser'] = quota_user unless quota_user.nil?
394
- execute_or_queue_command(command, &block)
395
- end
396
-
397
171
  # Sets the access control policy on the specified resource. Replaces any
398
172
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
399
173
  # errors.
400
174
  # @param [String] resource
401
- # REQUIRED: The resource for which the policy is being specified. See the
402
- # operation documentation for the appropriate value for this field.
175
+ # REQUIRED: The resource for which the policy is being specified. See Resource
176
+ # names (https://cloud.google.com/apis/design/resource_names) for the
177
+ # appropriate value for this field.
403
178
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
404
179
  # @param [String] fields
405
180
  # Selector specifying which fields to include in a partial response.
@@ -436,8 +211,9 @@ module Google
436
211
  # permission-aware UIs and command-line tools, not for authorization checking.
437
212
  # This operation may "fail open" without warning.
438
213
  # @param [String] resource
439
- # REQUIRED: The resource for which the policy detail is being requested. See the
440
- # operation documentation for the appropriate value for this field.
214
+ # REQUIRED: The resource for which the policy detail is being requested. See
215
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
216
+ # appropriate value for this field.
441
217
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
442
218
  # @param [String] fields
443
219
  # Selector specifying which fields to include in a partial response.
@@ -741,8 +517,9 @@ module Google
741
517
  # Gets the access control policy for a resource. Returns an empty policy if the
742
518
  # resource exists and does not have a policy set.
743
519
  # @param [String] resource
744
- # REQUIRED: The resource for which the policy is being requested. See the
745
- # operation documentation for the appropriate value for this field.
520
+ # REQUIRED: The resource for which the policy is being requested. See Resource
521
+ # names (https://cloud.google.com/apis/design/resource_names) for the
522
+ # appropriate value for this field.
746
523
  # @param [Fixnum] options_requested_policy_version
747
524
  # Optional. The maximum policy version that will be used to format the policy.
748
525
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -959,8 +736,9 @@ module Google
959
736
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
960
737
  # errors.
961
738
  # @param [String] resource
962
- # REQUIRED: The resource for which the policy is being specified. See the
963
- # operation documentation for the appropriate value for this field.
739
+ # REQUIRED: The resource for which the policy is being specified. See Resource
740
+ # names (https://cloud.google.com/apis/design/resource_names) for the
741
+ # appropriate value for this field.
964
742
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
965
743
  # @param [String] fields
966
744
  # Selector specifying which fields to include in a partial response.
@@ -997,8 +775,9 @@ module Google
997
775
  # permission-aware UIs and command-line tools, not for authorization checking.
998
776
  # This operation may "fail open" without warning.
999
777
  # @param [String] resource
1000
- # REQUIRED: The resource for which the policy detail is being requested. See the
1001
- # operation documentation for the appropriate value for this field.
778
+ # REQUIRED: The resource for which the policy detail is being requested. See
779
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
780
+ # appropriate value for this field.
1002
781
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
1003
782
  # @param [String] fields
1004
783
  # Selector specifying which fields to include in a partial response.
@@ -1157,8 +936,9 @@ module Google
1157
936
  # Gets the access control policy for a resource. Returns an empty policy if the
1158
937
  # resource exists and does not have a policy set.
1159
938
  # @param [String] resource
1160
- # REQUIRED: The resource for which the policy is being requested. See the
1161
- # operation documentation for the appropriate value for this field.
939
+ # REQUIRED: The resource for which the policy is being requested. See Resource
940
+ # names (https://cloud.google.com/apis/design/resource_names) for the
941
+ # appropriate value for this field.
1162
942
  # @param [Fixnum] options_requested_policy_version
1163
943
  # Optional. The maximum policy version that will be used to format the policy.
1164
944
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -1253,8 +1033,9 @@ module Google
1253
1033
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
1254
1034
  # errors.
1255
1035
  # @param [String] resource
1256
- # REQUIRED: The resource for which the policy is being specified. See the
1257
- # operation documentation for the appropriate value for this field.
1036
+ # REQUIRED: The resource for which the policy is being specified. See Resource
1037
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1038
+ # appropriate value for this field.
1258
1039
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
1259
1040
  # @param [String] fields
1260
1041
  # Selector specifying which fields to include in a partial response.
@@ -1291,8 +1072,9 @@ module Google
1291
1072
  # permission-aware UIs and command-line tools, not for authorization checking.
1292
1073
  # This operation may "fail open" without warning.
1293
1074
  # @param [String] resource
1294
- # REQUIRED: The resource for which the policy detail is being requested. See the
1295
- # operation documentation for the appropriate value for this field.
1075
+ # REQUIRED: The resource for which the policy detail is being requested. See
1076
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
1077
+ # appropriate value for this field.
1296
1078
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
1297
1079
  # @param [String] fields
1298
1080
  # Selector specifying which fields to include in a partial response.
@@ -1326,8 +1108,9 @@ module Google
1326
1108
  # Gets the access control policy for a resource. Returns an empty policy if the
1327
1109
  # resource exists and does not have a policy set.
1328
1110
  # @param [String] resource
1329
- # REQUIRED: The resource for which the policy is being requested. See the
1330
- # operation documentation for the appropriate value for this field.
1111
+ # REQUIRED: The resource for which the policy is being requested. See Resource
1112
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1113
+ # appropriate value for this field.
1331
1114
  # @param [Fixnum] options_requested_policy_version
1332
1115
  # Optional. The maximum policy version that will be used to format the policy.
1333
1116
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -1371,8 +1154,9 @@ module Google
1371
1154
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
1372
1155
  # errors.
1373
1156
  # @param [String] resource
1374
- # REQUIRED: The resource for which the policy is being specified. See the
1375
- # operation documentation for the appropriate value for this field.
1157
+ # REQUIRED: The resource for which the policy is being specified. See Resource
1158
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1159
+ # appropriate value for this field.
1376
1160
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
1377
1161
  # @param [String] fields
1378
1162
  # Selector specifying which fields to include in a partial response.
@@ -1409,8 +1193,9 @@ module Google
1409
1193
  # permission-aware UIs and command-line tools, not for authorization checking.
1410
1194
  # This operation may "fail open" without warning.
1411
1195
  # @param [String] resource
1412
- # REQUIRED: The resource for which the policy detail is being requested. See the
1413
- # operation documentation for the appropriate value for this field.
1196
+ # REQUIRED: The resource for which the policy detail is being requested. See
1197
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
1198
+ # appropriate value for this field.
1414
1199
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
1415
1200
  # @param [String] fields
1416
1201
  # Selector specifying which fields to include in a partial response.
@@ -1444,8 +1229,9 @@ module Google
1444
1229
  # Gets the access control policy for a resource. Returns an empty policy if the
1445
1230
  # resource exists and does not have a policy set.
1446
1231
  # @param [String] resource
1447
- # REQUIRED: The resource for which the policy is being requested. See the
1448
- # operation documentation for the appropriate value for this field.
1232
+ # REQUIRED: The resource for which the policy is being requested. See Resource
1233
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1234
+ # appropriate value for this field.
1449
1235
  # @param [Fixnum] options_requested_policy_version
1450
1236
  # Optional. The maximum policy version that will be used to format the policy.
1451
1237
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -1489,8 +1275,9 @@ module Google
1489
1275
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
1490
1276
  # errors.
1491
1277
  # @param [String] resource
1492
- # REQUIRED: The resource for which the policy is being specified. See the
1493
- # operation documentation for the appropriate value for this field.
1278
+ # REQUIRED: The resource for which the policy is being specified. See Resource
1279
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1280
+ # appropriate value for this field.
1494
1281
  # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
1495
1282
  # @param [String] fields
1496
1283
  # Selector specifying which fields to include in a partial response.
@@ -1527,8 +1314,9 @@ module Google
1527
1314
  # permission-aware UIs and command-line tools, not for authorization checking.
1528
1315
  # This operation may "fail open" without warning.
1529
1316
  # @param [String] resource
1530
- # REQUIRED: The resource for which the policy detail is being requested. See the
1531
- # operation documentation for the appropriate value for this field.
1317
+ # REQUIRED: The resource for which the policy detail is being requested. See
1318
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
1319
+ # appropriate value for this field.
1532
1320
  # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
1533
1321
  # @param [String] fields
1534
1322
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-09 00:00:00.000000000 Z
11
+ date: 2022-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dataproc Metastore API V1beta