google-apis-metastore_v1beta 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eef9eff2d919cf1dd9cebd8b3760cee0e0e31f257896f1158c1686dbf572d514
4
- data.tar.gz: d6c1d46faf811047740e7fe970d9b00310b1887ea0bb16d44f1b0f815f6c925c
3
+ metadata.gz: 645c1f0a224f63537b01e69054e7d8f559cfad1fe9c5dcb3050ff05c1258be6a
4
+ data.tar.gz: f3e40bf1f6c5f99fc7fd3511e3bce6d11de40f035311b22fe50b09bbdb2bfb5f
5
5
  SHA512:
6
- metadata.gz: 3bf4afb2e66f705616ba4d518afb2ba3a35c0098c481478908aa88a0347a7c3088034483dbd2b50336a7e79ef24983024cc3eb16cd11bd8e62dc32c2ede61418
7
- data.tar.gz: f6480d3103882409b74ec771687220e690104a02d856c318d9425d785ff466f7da147f2f67b1a2fa003139187e64be7999a016c22090541002ab4ee3a517f0d0
6
+ metadata.gz: c8ca0e7b2d10031737914d9dec6692afc6710b0de092c19b905ecef9cb2e2bddfad4ceae527352275cc02ce22d54e57fa0952442e342494bf0b0418c6adabfb9
7
+ data.tar.gz: 94bf51ca053c94357b03590540ea8bb376e36d88608302cf43684a23f6016eeb5013a3bdb3a9d439f571f40be7f4fdcb7a345e9fbe4b6ae0d196933cdfc46b03
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.30.0 (2022-06-22)
4
+
5
+ * Regenerated from discovery document revision 20220615
6
+ * Regenerated using generator version 0.7.0
7
+
3
8
  ### v0.29.0 (2022-06-02)
4
9
 
5
10
  * Unspecified changes
@@ -129,6 +129,35 @@ 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
+
132
161
  # The details of a backup resource.
133
162
  class Backup
134
163
  include Google::Apis::Core::Hashable
@@ -499,6 +528,87 @@ module Google
499
528
  end
500
529
  end
501
530
 
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
+
502
612
  # Specifies configuration information specific to running Hive metastore
503
613
  # software as the metastore service.
504
614
  class HiveMetastoreConfig
@@ -668,6 +778,38 @@ module Google
668
778
  end
669
779
  end
670
780
 
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
+
671
813
  # The response message for Locations.ListLocations.
672
814
  class ListLocationsResponse
673
815
  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.29.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220512"
25
+ REVISION = "20220615"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ 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
+
43
49
  class Backup
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -100,6 +106,12 @@ module Google
100
106
  include Google::Apis::Core::JsonObjectSupport
101
107
  end
102
108
 
109
+ class Federation
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
103
115
  class HiveMetastoreConfig
104
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
117
 
@@ -130,6 +142,12 @@ module Google
130
142
  include Google::Apis::Core::JsonObjectSupport
131
143
  end
132
144
 
145
+ class ListFederationsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
133
151
  class ListLocationsResponse
134
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
153
 
@@ -307,6 +325,14 @@ module Google
307
325
  end
308
326
  end
309
327
 
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
+
310
336
  class Backup
311
337
  # @private
312
338
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -396,6 +422,23 @@ module Google
396
422
  end
397
423
  end
398
424
 
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
+
399
442
  class HiveMetastoreConfig
400
443
  # @private
401
444
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -444,6 +487,16 @@ module Google
444
487
  end
445
488
  end
446
489
 
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
+
447
500
  class ListLocationsResponse
448
501
  # @private
449
502
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -123,6 +123,131 @@ 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
+
126
251
  # Gets the access control policy for a resource. Returns an empty policy if the
127
252
  # resource exists and does not have a policy set.
128
253
  # @param [String] resource
@@ -168,6 +293,108 @@ module Google
168
293
  execute_or_queue_command(command, &block)
169
294
  end
170
295
 
296
+ # Lists federations in a project and location.
297
+ # @param [String] parent
298
+ # Required. The relative resource name of the location of metastore federations
299
+ # to list, in the following form: projects/`project_number`/locations/`
300
+ # location_id`.
301
+ # @param [String] filter
302
+ # Optional. The filter to apply to list results.
303
+ # @param [String] order_by
304
+ # Optional. Specify the ordering of results as described in Sorting Order (https:
305
+ # //cloud.google.com/apis/design/design_patterns#sorting_order). If not
306
+ # specified, the results will be sorted in the default order.
307
+ # @param [Fixnum] page_size
308
+ # Optional. The maximum number of federations to return. The response may
309
+ # contain less than the maximum number. If unspecified, no more than 500
310
+ # services are returned. The maximum value is 1000; values above 1000 are
311
+ # changed to 1000.
312
+ # @param [String] page_token
313
+ # Optional. A page token, received from a previous ListFederationServices call.
314
+ # Provide this token to retrieve the subsequent page.To retrieve the first page,
315
+ # supply an empty page token.When paginating, other parameters provided to
316
+ # ListFederationServices must match the call that provided the page token.
317
+ # @param [String] fields
318
+ # Selector specifying which fields to include in a partial response.
319
+ # @param [String] quota_user
320
+ # Available to use for quota purposes for server-side applications. Can be any
321
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
322
+ # @param [Google::Apis::RequestOptions] options
323
+ # Request-specific options
324
+ #
325
+ # @yield [result, err] Result & error if block supplied
326
+ # @yieldparam result [Google::Apis::MetastoreV1beta::ListFederationsResponse] parsed result object
327
+ # @yieldparam err [StandardError] error object if request failed
328
+ #
329
+ # @return [Google::Apis::MetastoreV1beta::ListFederationsResponse]
330
+ #
331
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
332
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
333
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
334
+ 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)
335
+ command = make_simple_command(:get, 'v1beta/{+parent}/federations', options)
336
+ command.response_representation = Google::Apis::MetastoreV1beta::ListFederationsResponse::Representation
337
+ command.response_class = Google::Apis::MetastoreV1beta::ListFederationsResponse
338
+ command.params['parent'] = parent unless parent.nil?
339
+ command.query['filter'] = filter unless filter.nil?
340
+ command.query['orderBy'] = order_by unless order_by.nil?
341
+ command.query['pageSize'] = page_size unless page_size.nil?
342
+ command.query['pageToken'] = page_token unless page_token.nil?
343
+ command.query['fields'] = fields unless fields.nil?
344
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
345
+ execute_or_queue_command(command, &block)
346
+ end
347
+
348
+ # Updates the fields of a federation.
349
+ # @param [String] name
350
+ # Immutable. The relative resource name of the federation, of the form: projects/
351
+ # `project_number`/locations/`location_id`/federations/`federation_id``.
352
+ # @param [Google::Apis::MetastoreV1beta::Federation] federation_object
353
+ # @param [String] request_id
354
+ # Optional. A request ID. Specify a unique request ID to allow the server to
355
+ # ignore the request if it has completed. The server will ignore subsequent
356
+ # requests that provide a duplicate request ID for at least 60 minutes after the
357
+ # first request.For example, if an initial request times out, followed by
358
+ # another request with the same request ID, the server ignores the second
359
+ # request to prevent the creation of duplicate commitments.The request ID must
360
+ # be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#
361
+ # Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
362
+ # @param [String] update_mask
363
+ # Required. A field mask used to specify the fields to be overwritten in the
364
+ # metastore federation resource by the update. Fields specified in the
365
+ # update_mask are relative to the resource (not to the full request). A field is
366
+ # overwritten if it is in the mask.
367
+ # @param [String] fields
368
+ # Selector specifying which fields to include in a partial response.
369
+ # @param [String] quota_user
370
+ # Available to use for quota purposes for server-side applications. Can be any
371
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
372
+ # @param [Google::Apis::RequestOptions] options
373
+ # Request-specific options
374
+ #
375
+ # @yield [result, err] Result & error if block supplied
376
+ # @yieldparam result [Google::Apis::MetastoreV1beta::Operation] parsed result object
377
+ # @yieldparam err [StandardError] error object if request failed
378
+ #
379
+ # @return [Google::Apis::MetastoreV1beta::Operation]
380
+ #
381
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
382
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
383
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
384
+ def patch_project_location_federation(name, federation_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
385
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
386
+ command.request_representation = Google::Apis::MetastoreV1beta::Federation::Representation
387
+ command.request_object = federation_object
388
+ command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation
389
+ command.response_class = Google::Apis::MetastoreV1beta::Operation
390
+ command.params['name'] = name unless name.nil?
391
+ command.query['requestId'] = request_id unless request_id.nil?
392
+ command.query['updateMask'] = update_mask unless update_mask.nil?
393
+ command.query['fields'] = fields unless fields.nil?
394
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
395
+ execute_or_queue_command(command, &block)
396
+ end
397
+
171
398
  # Sets the access control policy on the specified resource. Replaces any
172
399
  # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
173
400
  # errors.
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.29.0
4
+ version: 0.30.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-06-13 00:00:00.000000000 Z
11
+ date: 2022-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.30.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: []