google-apis-metastore_v1beta 0.29.0 → 0.32.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: eef9eff2d919cf1dd9cebd8b3760cee0e0e31f257896f1158c1686dbf572d514
4
- data.tar.gz: d6c1d46faf811047740e7fe970d9b00310b1887ea0bb16d44f1b0f815f6c925c
3
+ metadata.gz: a4782070e0f78334658b21845cb6bc4679555f12e88ca7a8b80d631ca27b7643
4
+ data.tar.gz: 42e6b707f61bc6a7d7d75ffc5a63f7d28d9dd161d571d04ff1c9dd411a71978c
5
5
  SHA512:
6
- metadata.gz: 3bf4afb2e66f705616ba4d518afb2ba3a35c0098c481478908aa88a0347a7c3088034483dbd2b50336a7e79ef24983024cc3eb16cd11bd8e62dc32c2ede61418
7
- data.tar.gz: f6480d3103882409b74ec771687220e690104a02d856c318d9425d785ff466f7da147f2f67b1a2fa003139187e64be7999a016c22090541002ab4ee3a517f0d0
6
+ metadata.gz: 35be8f2d471d31e260379933aa47d007119832116770ec35f520373d827322bfe513ec6be4a9e36cbf6a85d4ccdd05866325caa69573a4f998737a42d10bfc0e
7
+ data.tar.gz: 9aab8b97a70b34731203d0bbaf0b4633b2fb5167fc6e87dd5f50ba3a97962cb9d9a650ba05a3a17c325d775a73903744ad0824185f5e4dd0b07c9e7a98a1217c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.32.0 (2022-07-05)
4
+
5
+ * Regenerated from discovery document revision 20220627
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.31.0 (2022-06-30)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+
12
+ ### v0.30.0 (2022-06-22)
13
+
14
+ * Regenerated from discovery document revision 20220615
15
+ * Regenerated using generator version 0.7.0
16
+
3
17
  ### v0.29.0 (2022-06-02)
4
18
 
5
19
  * 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,88 @@ 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 represents the
537
+ # order in which BackendMetastores should be evaluated to resolve database names
538
+ # at query time and should be greater than or equal to zero. A BackendMetastore
539
+ # with a lower number will be evaluated before a BackendMetastore with a higher
540
+ # number.
541
+ # Corresponds to the JSON property `backendMetastores`
542
+ # @return [Hash<String,Google::Apis::MetastoreV1beta::BackendMetastore>]
543
+ attr_accessor :backend_metastores
544
+
545
+ # Output only. The time when the metastore federation was created.
546
+ # Corresponds to the JSON property `createTime`
547
+ # @return [String]
548
+ attr_accessor :create_time
549
+
550
+ # Output only. The federation endpoint.
551
+ # Corresponds to the JSON property `endpointUri`
552
+ # @return [String]
553
+ attr_accessor :endpoint_uri
554
+
555
+ # User-defined labels for the metastore federation.
556
+ # Corresponds to the JSON property `labels`
557
+ # @return [Hash<String,String>]
558
+ attr_accessor :labels
559
+
560
+ # Immutable. The relative resource name of the federation, of the form: projects/
561
+ # `project_number`/locations/`location_id`/federations/`federation_id``.
562
+ # Corresponds to the JSON property `name`
563
+ # @return [String]
564
+ attr_accessor :name
565
+
566
+ # Output only. The current state of the federation.
567
+ # Corresponds to the JSON property `state`
568
+ # @return [String]
569
+ attr_accessor :state
570
+
571
+ # Output only. Additional information about the current state of the metastore
572
+ # federation, if available.
573
+ # Corresponds to the JSON property `stateMessage`
574
+ # @return [String]
575
+ attr_accessor :state_message
576
+
577
+ # Output only. The globally unique resource identifier of the metastore
578
+ # federation.
579
+ # Corresponds to the JSON property `uid`
580
+ # @return [String]
581
+ attr_accessor :uid
582
+
583
+ # Output only. The time when the metastore federation was last updated.
584
+ # Corresponds to the JSON property `updateTime`
585
+ # @return [String]
586
+ attr_accessor :update_time
587
+
588
+ # Immutable. The Apache Hive metastore version of the federation. All backend
589
+ # metastore versions must be compatible with the federation version.
590
+ # Corresponds to the JSON property `version`
591
+ # @return [String]
592
+ attr_accessor :version
593
+
594
+ def initialize(**args)
595
+ update!(**args)
596
+ end
597
+
598
+ # Update properties of this object
599
+ def update!(**args)
600
+ @backend_metastores = args[:backend_metastores] if args.key?(:backend_metastores)
601
+ @create_time = args[:create_time] if args.key?(:create_time)
602
+ @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
603
+ @labels = args[:labels] if args.key?(:labels)
604
+ @name = args[:name] if args.key?(:name)
605
+ @state = args[:state] if args.key?(:state)
606
+ @state_message = args[:state_message] if args.key?(:state_message)
607
+ @uid = args[:uid] if args.key?(:uid)
608
+ @update_time = args[:update_time] if args.key?(:update_time)
609
+ @version = args[:version] if args.key?(:version)
610
+ end
611
+ end
612
+
502
613
  # Specifies configuration information specific to running Hive metastore
503
614
  # software as the metastore service.
504
615
  class HiveMetastoreConfig
@@ -668,6 +779,38 @@ module Google
668
779
  end
669
780
  end
670
781
 
782
+ # Response message for ListFederations
783
+ class ListFederationsResponse
784
+ include Google::Apis::Core::Hashable
785
+
786
+ # The services in the specified location.
787
+ # Corresponds to the JSON property `federations`
788
+ # @return [Array<Google::Apis::MetastoreV1beta::Federation>]
789
+ attr_accessor :federations
790
+
791
+ # A token that can be sent as page_token to retrieve the next page. If this
792
+ # field is omitted, there are no subsequent pages.
793
+ # Corresponds to the JSON property `nextPageToken`
794
+ # @return [String]
795
+ attr_accessor :next_page_token
796
+
797
+ # Locations that could not be reached.
798
+ # Corresponds to the JSON property `unreachable`
799
+ # @return [Array<String>]
800
+ attr_accessor :unreachable
801
+
802
+ def initialize(**args)
803
+ update!(**args)
804
+ end
805
+
806
+ # Update properties of this object
807
+ def update!(**args)
808
+ @federations = args[:federations] if args.key?(:federations)
809
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
810
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
811
+ end
812
+ end
813
+
671
814
  # The response message for Locations.ListLocations.
672
815
  class ListLocationsResponse
673
816
  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.32.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.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220512"
25
+ REVISION = "20220627"
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.32.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-07-11 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.7'
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.7'
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.32.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: []