google-apis-metastore_v1beta 0.37.0 → 0.39.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: b490934eba7f1336ea4fc5d4a6359c83b3b11178b5311b50a72df1e432bd87b8
4
- data.tar.gz: 7e70d7071776134d4a4d5321efe530dd94e0fc2a06526e2c9c4ea328cd2ccd1a
3
+ metadata.gz: 88170b6aa870350ec5c93e9e3ab7962b95e3f13650ea8c49fc35b3578b5416df
4
+ data.tar.gz: 32cd022c8adf20791e9135d928297bd2364600216e931b7aeed3efd96f0e1ee6
5
5
  SHA512:
6
- metadata.gz: 210dbe7373ce95eadeb9907d9984acba678a5ce5ef68575f3235b728174998f5b321cd584c6e4ca267027ed4c8c0839d32a9085a215c78af899e3f0c7baad755
7
- data.tar.gz: 785f717937571597dadf54bb592b2362216dffc7b1accbe856b0dcb59861c3a99c3ef062fa525db738bd18dbb5d275946be51375087ee7dc26068ec3e1986482
6
+ metadata.gz: f6341329a1a5f93336fd93d4e257370d09d3e85d9d4c1e3f3ff1a74ebb65a21434538c19259893514e9e2dc6a1ac78bd149d16d61ad2c809c0d76ace21c577cd
7
+ data.tar.gz: 9a16bfae5710cda92e83746271a27504d0c41ac4486a21a85a84769e4a4041782580f19b6a29b137c2f803e34d66a34316471687a104290a5a3813e7a018a2b4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.39.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20230106
6
+ * Regenerated using generator version 0.11.1
7
+
8
+ ### v0.38.0 (2022-12-11)
9
+
10
+ * Regenerated from discovery document revision 20221207
11
+ * Regenerated using generator version 0.11.0
12
+
3
13
  ### v0.37.0 (2022-10-11)
4
14
 
5
15
  * Regenerated from discovery document revision 20220929
@@ -22,6 +22,46 @@ module Google
22
22
  module Apis
23
23
  module MetastoreV1beta
24
24
 
25
+ # Request message for DataprocMetastore.AlterMetadataResourceLocation.
26
+ class AlterMetadataResourceLocationRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Required. The new location URI for the metadata resource.
30
+ # Corresponds to the JSON property `locationUri`
31
+ # @return [String]
32
+ attr_accessor :location_uri
33
+
34
+ # Required. The relative metadata resource name in the following format.
35
+ # databases/`database_id` or databases/`database_id`/tables/`table_id` or
36
+ # databases/`database_id`/tables/`table_id`/partitions/`partition_id`
37
+ # Corresponds to the JSON property `resourceName`
38
+ # @return [String]
39
+ attr_accessor :resource_name
40
+
41
+ def initialize(**args)
42
+ update!(**args)
43
+ end
44
+
45
+ # Update properties of this object
46
+ def update!(**args)
47
+ @location_uri = args[:location_uri] if args.key?(:location_uri)
48
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
49
+ end
50
+ end
51
+
52
+ # Response message for DataprocMetastore.AlterMetadataResourceLocation.
53
+ class AlterMetadataResourceLocationResponse
54
+ include Google::Apis::Core::Hashable
55
+
56
+ def initialize(**args)
57
+ update!(**args)
58
+ end
59
+
60
+ # Update properties of this object
61
+ def update!(**args)
62
+ end
63
+ end
64
+
25
65
  # Specifies the audit configuration for a service. The configuration determines
26
66
  # which permission types are logged, and what identities, if any, are exempted
27
67
  # from logging. An AuditConfig must have one or more AuditLogConfigs.If there
@@ -106,7 +146,7 @@ module Google
106
146
  # @return [Hash<String,String>]
107
147
  attr_accessor :config_overrides
108
148
 
109
- # Network configuration for the Dataproc Metastore service.Next available ID: 3
149
+ # Network configuration for the Dataproc Metastore service.
110
150
  # Corresponds to the JSON property `networkConfig`
111
151
  # @return [Google::Apis::MetastoreV1beta::NetworkConfig]
112
152
  attr_accessor :network_config
@@ -140,8 +180,8 @@ module Google
140
180
 
141
181
  # The relative resource name of the metastore that is being federated. The
142
182
  # 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/`
183
+ # are listed below: Dataplex projects/`project_id`/locations/`location`/lakes/`
184
+ # lake_id` BigQuery projects/`project_id` Dataproc Metastore projects/`
145
185
  # project_id`/locations/`location`/services/`service_id`
146
186
  # Corresponds to the JSON property `name`
147
187
  # @return [String]
@@ -290,8 +330,7 @@ module Google
290
330
  end
291
331
  end
292
332
 
293
- # Contains information of the customer's network configurations.Next available
294
- # ID: 4
333
+ # Contains information of the customer's network configurations.
295
334
  class Consumer
296
335
  include Google::Apis::Core::Hashable
297
336
 
@@ -304,7 +343,7 @@ module Google
304
343
  # reserved and used as the Dataproc Metastore service's endpoint. It is
305
344
  # accessible to hosts in the subnet and to all hosts in a subnet in the same
306
345
  # region and same network. There must be at least one IP address available in
307
- # the subnet's primary range. The subnet is specified in the following form:`
346
+ # the subnet's primary range. The subnet is specified in the following form:
308
347
  # projects/`project_number`/regions/`region_id`/subnetworks/`subnetwork_id`
309
348
  # Corresponds to the JSON property `subnetwork`
310
349
  # @return [String]
@@ -1179,7 +1218,51 @@ module Google
1179
1218
  end
1180
1219
  end
1181
1220
 
1182
- # Network configuration for the Dataproc Metastore service.Next available ID: 3
1221
+ # Request message for DataprocMetastore.MoveTableToDatabase.
1222
+ class MoveTableToDatabaseRequest
1223
+ include Google::Apis::Core::Hashable
1224
+
1225
+ # Required. The name of the database where the table resides.
1226
+ # Corresponds to the JSON property `dbName`
1227
+ # @return [String]
1228
+ attr_accessor :db_name
1229
+
1230
+ # Required. The name of the database where the table should be moved.
1231
+ # Corresponds to the JSON property `destinationDbName`
1232
+ # @return [String]
1233
+ attr_accessor :destination_db_name
1234
+
1235
+ # Required. The name of the table to be moved.
1236
+ # Corresponds to the JSON property `tableName`
1237
+ # @return [String]
1238
+ attr_accessor :table_name
1239
+
1240
+ def initialize(**args)
1241
+ update!(**args)
1242
+ end
1243
+
1244
+ # Update properties of this object
1245
+ def update!(**args)
1246
+ @db_name = args[:db_name] if args.key?(:db_name)
1247
+ @destination_db_name = args[:destination_db_name] if args.key?(:destination_db_name)
1248
+ @table_name = args[:table_name] if args.key?(:table_name)
1249
+ end
1250
+ end
1251
+
1252
+ # Response message for DataprocMetastore.MoveTableToDatabase.
1253
+ class MoveTableToDatabaseResponse
1254
+ include Google::Apis::Core::Hashable
1255
+
1256
+ def initialize(**args)
1257
+ update!(**args)
1258
+ end
1259
+
1260
+ # Update properties of this object
1261
+ def update!(**args)
1262
+ end
1263
+ end
1264
+
1265
+ # Network configuration for the Dataproc Metastore service.
1183
1266
  class NetworkConfig
1184
1267
  include Google::Apis::Core::Hashable
1185
1268
 
@@ -1413,16 +1496,66 @@ module Google
1413
1496
  end
1414
1497
  end
1415
1498
 
1499
+ # Request message for DataprocMetastore.QueryMetadata.
1500
+ class QueryMetadataRequest
1501
+ include Google::Apis::Core::Hashable
1502
+
1503
+ # Required. A read-only SQL query to execute against the metadata database. The
1504
+ # query cannot change or mutate the data.
1505
+ # Corresponds to the JSON property `query`
1506
+ # @return [String]
1507
+ attr_accessor :query
1508
+
1509
+ def initialize(**args)
1510
+ update!(**args)
1511
+ end
1512
+
1513
+ # Update properties of this object
1514
+ def update!(**args)
1515
+ @query = args[:query] if args.key?(:query)
1516
+ end
1517
+ end
1518
+
1519
+ # Response message for DataprocMetastore.QueryMetadata.
1520
+ class QueryMetadataResponse
1521
+ include Google::Apis::Core::Hashable
1522
+
1523
+ # The manifest URI is link to a JSON instance in Cloud Storage. This instance
1524
+ # manifests immediately along with QueryMetadataResponse. The content of the URI
1525
+ # is not retriable until the long-running operation query against the metadata
1526
+ # finishes.
1527
+ # Corresponds to the JSON property `resultManifestUri`
1528
+ # @return [String]
1529
+ attr_accessor :result_manifest_uri
1530
+
1531
+ def initialize(**args)
1532
+ update!(**args)
1533
+ end
1534
+
1535
+ # Update properties of this object
1536
+ def update!(**args)
1537
+ @result_manifest_uri = args[:result_manifest_uri] if args.key?(:result_manifest_uri)
1538
+ end
1539
+ end
1540
+
1416
1541
  # Request message for DataprocMetastore.RemoveIamPolicy.
1417
1542
  class RemoveIamPolicyRequest
1418
1543
  include Google::Apis::Core::Hashable
1419
1544
 
1545
+ # Optional. Removes IAM policy attached to database or table asynchronously when
1546
+ # it is set. The default is false.
1547
+ # Corresponds to the JSON property `asynchronous`
1548
+ # @return [Boolean]
1549
+ attr_accessor :asynchronous
1550
+ alias_method :asynchronous?, :asynchronous
1551
+
1420
1552
  def initialize(**args)
1421
1553
  update!(**args)
1422
1554
  end
1423
1555
 
1424
1556
  # Update properties of this object
1425
1557
  def update!(**args)
1558
+ @asynchronous = args[:asynchronous] if args.key?(:asynchronous)
1426
1559
  end
1427
1560
  end
1428
1561
 
@@ -1430,7 +1563,7 @@ module Google
1430
1563
  class RemoveIamPolicyResponse
1431
1564
  include Google::Apis::Core::Hashable
1432
1565
 
1433
- # whether related policies are removed
1566
+ # True if the policy is successfully removed.
1434
1567
  # Corresponds to the JSON property `success`
1435
1568
  # @return [Boolean]
1436
1569
  attr_accessor :success
@@ -1630,7 +1763,7 @@ module Google
1630
1763
  # @return [String]
1631
1764
  attr_accessor :network
1632
1765
 
1633
- # Network configuration for the Dataproc Metastore service.Next available ID: 3
1766
+ # Network configuration for the Dataproc Metastore service.
1634
1767
  # Corresponds to the JSON property `networkConfig`
1635
1768
  # @return [Google::Apis::MetastoreV1beta::NetworkConfig]
1636
1769
  attr_accessor :network_config
@@ -1657,6 +1790,11 @@ module Google
1657
1790
  # @return [String]
1658
1791
  attr_accessor :state_message
1659
1792
 
1793
+ # Telemetry Configuration for the Dataproc Metastore service.
1794
+ # Corresponds to the JSON property `telemetryConfig`
1795
+ # @return [Google::Apis::MetastoreV1beta::TelemetryConfig]
1796
+ attr_accessor :telemetry_config
1797
+
1660
1798
  # The tier of the service.
1661
1799
  # Corresponds to the JSON property `tier`
1662
1800
  # @return [String]
@@ -1695,6 +1833,7 @@ module Google
1695
1833
  @release_channel = args[:release_channel] if args.key?(:release_channel)
1696
1834
  @state = args[:state] if args.key?(:state)
1697
1835
  @state_message = args[:state_message] if args.key?(:state_message)
1836
+ @telemetry_config = args[:telemetry_config] if args.key?(:telemetry_config)
1698
1837
  @tier = args[:tier] if args.key?(:tier)
1699
1838
  @uid = args[:uid] if args.key?(:uid)
1700
1839
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1793,6 +1932,25 @@ module Google
1793
1932
  end
1794
1933
  end
1795
1934
 
1935
+ # Telemetry Configuration for the Dataproc Metastore service.
1936
+ class TelemetryConfig
1937
+ include Google::Apis::Core::Hashable
1938
+
1939
+ # The output format of the Dataproc Metastore service's logs.
1940
+ # Corresponds to the JSON property `logFormat`
1941
+ # @return [String]
1942
+ attr_accessor :log_format
1943
+
1944
+ def initialize(**args)
1945
+ update!(**args)
1946
+ end
1947
+
1948
+ # Update properties of this object
1949
+ def update!(**args)
1950
+ @log_format = args[:log_format] if args.key?(:log_format)
1951
+ end
1952
+ end
1953
+
1796
1954
  # Request message for TestIamPermissions method.
1797
1955
  class TestIamPermissionsRequest
1798
1956
  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.37.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220929"
25
+ REVISION = "20230106"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module MetastoreV1beta
24
24
 
25
+ class AlterMetadataResourceLocationRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AlterMetadataResourceLocationResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class AuditConfig
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -214,6 +226,18 @@ module Google
214
226
  include Google::Apis::Core::JsonObjectSupport
215
227
  end
216
228
 
229
+ class MoveTableToDatabaseRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class MoveTableToDatabaseResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
217
241
  class NetworkConfig
218
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
243
 
@@ -238,6 +262,18 @@ module Google
238
262
  include Google::Apis::Core::JsonObjectSupport
239
263
  end
240
264
 
265
+ class QueryMetadataRequest
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class QueryMetadataResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
241
277
  class RemoveIamPolicyRequest
242
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
279
 
@@ -286,6 +322,12 @@ module Google
286
322
  include Google::Apis::Core::JsonObjectSupport
287
323
  end
288
324
 
325
+ class TelemetryConfig
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
289
331
  class TestIamPermissionsRequest
290
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
333
 
@@ -298,6 +340,20 @@ module Google
298
340
  include Google::Apis::Core::JsonObjectSupport
299
341
  end
300
342
 
343
+ class AlterMetadataResourceLocationRequest
344
+ # @private
345
+ class Representation < Google::Apis::Core::JsonRepresentation
346
+ property :location_uri, as: 'locationUri'
347
+ property :resource_name, as: 'resourceName'
348
+ end
349
+ end
350
+
351
+ class AlterMetadataResourceLocationResponse
352
+ # @private
353
+ class Representation < Google::Apis::Core::JsonRepresentation
354
+ end
355
+ end
356
+
301
357
  class AuditConfig
302
358
  # @private
303
359
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -607,6 +663,21 @@ module Google
607
663
  end
608
664
  end
609
665
 
666
+ class MoveTableToDatabaseRequest
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :db_name, as: 'dbName'
670
+ property :destination_db_name, as: 'destinationDbName'
671
+ property :table_name, as: 'tableName'
672
+ end
673
+ end
674
+
675
+ class MoveTableToDatabaseResponse
676
+ # @private
677
+ class Representation < Google::Apis::Core::JsonRepresentation
678
+ end
679
+ end
680
+
610
681
  class NetworkConfig
611
682
  # @private
612
683
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -652,9 +723,24 @@ module Google
652
723
  end
653
724
  end
654
725
 
726
+ class QueryMetadataRequest
727
+ # @private
728
+ class Representation < Google::Apis::Core::JsonRepresentation
729
+ property :query, as: 'query'
730
+ end
731
+ end
732
+
733
+ class QueryMetadataResponse
734
+ # @private
735
+ class Representation < Google::Apis::Core::JsonRepresentation
736
+ property :result_manifest_uri, as: 'resultManifestUri'
737
+ end
738
+ end
739
+
655
740
  class RemoveIamPolicyRequest
656
741
  # @private
657
742
  class Representation < Google::Apis::Core::JsonRepresentation
743
+ property :asynchronous, as: 'asynchronous'
658
744
  end
659
745
  end
660
746
 
@@ -719,6 +805,8 @@ module Google
719
805
  property :release_channel, as: 'releaseChannel'
720
806
  property :state, as: 'state'
721
807
  property :state_message, as: 'stateMessage'
808
+ property :telemetry_config, as: 'telemetryConfig', class: Google::Apis::MetastoreV1beta::TelemetryConfig, decorator: Google::Apis::MetastoreV1beta::TelemetryConfig::Representation
809
+
722
810
  property :tier, as: 'tier'
723
811
  property :uid, as: 'uid'
724
812
  property :update_time, as: 'updateTime'
@@ -743,6 +831,13 @@ module Google
743
831
  end
744
832
  end
745
833
 
834
+ class TelemetryConfig
835
+ # @private
836
+ class Representation < Google::Apis::Core::JsonRepresentation
837
+ property :log_format, as: 'logFormat'
838
+ end
839
+ end
840
+
746
841
  class TestIamPermissionsRequest
747
842
  # @private
748
843
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -581,6 +581,44 @@ module Google
581
581
  execute_or_queue_command(command, &block)
582
582
  end
583
583
 
584
+ # Alter metadata resource location. The metadata resource can be a database,
585
+ # table, or partition. This functionality only updates the parent directory for
586
+ # the respective metadata resource and does not transfer any existing data to
587
+ # the new location.
588
+ # @param [String] service
589
+ # Required. The relative resource name of the metastore service to mutate
590
+ # metadata, in the following format:projects/`project_id`/locations/`location_id`
591
+ # /services/`service_id`.
592
+ # @param [Google::Apis::MetastoreV1beta::AlterMetadataResourceLocationRequest] alter_metadata_resource_location_request_object
593
+ # @param [String] fields
594
+ # Selector specifying which fields to include in a partial response.
595
+ # @param [String] quota_user
596
+ # Available to use for quota purposes for server-side applications. Can be any
597
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
598
+ # @param [Google::Apis::RequestOptions] options
599
+ # Request-specific options
600
+ #
601
+ # @yield [result, err] Result & error if block supplied
602
+ # @yieldparam result [Google::Apis::MetastoreV1beta::Operation] parsed result object
603
+ # @yieldparam err [StandardError] error object if request failed
604
+ #
605
+ # @return [Google::Apis::MetastoreV1beta::Operation]
606
+ #
607
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
608
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
609
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
610
+ def alter_project_location_service_location(service, alter_metadata_resource_location_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
611
+ command = make_simple_command(:post, 'v1beta/{+service}:alterLocation', options)
612
+ command.request_representation = Google::Apis::MetastoreV1beta::AlterMetadataResourceLocationRequest::Representation
613
+ command.request_object = alter_metadata_resource_location_request_object
614
+ command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation
615
+ command.response_class = Google::Apis::MetastoreV1beta::Operation
616
+ command.params['service'] = service unless service.nil?
617
+ command.query['fields'] = fields unless fields.nil?
618
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
619
+ execute_or_queue_command(command, &block)
620
+ end
621
+
584
622
  # Creates a metastore service in a project and location.
585
623
  # @param [String] parent
586
624
  # Required. The relative resource name of the location in which to create a
@@ -837,6 +875,41 @@ module Google
837
875
  execute_or_queue_command(command, &block)
838
876
  end
839
877
 
878
+ # Move a table to another database.
879
+ # @param [String] service
880
+ # Required. The relative resource name of the metastore service to mutate
881
+ # metadata, in the following format:projects/`project_id`/locations/`location_id`
882
+ # /services/`service_id`.
883
+ # @param [Google::Apis::MetastoreV1beta::MoveTableToDatabaseRequest] move_table_to_database_request_object
884
+ # @param [String] fields
885
+ # Selector specifying which fields to include in a partial response.
886
+ # @param [String] quota_user
887
+ # Available to use for quota purposes for server-side applications. Can be any
888
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
889
+ # @param [Google::Apis::RequestOptions] options
890
+ # Request-specific options
891
+ #
892
+ # @yield [result, err] Result & error if block supplied
893
+ # @yieldparam result [Google::Apis::MetastoreV1beta::Operation] parsed result object
894
+ # @yieldparam err [StandardError] error object if request failed
895
+ #
896
+ # @return [Google::Apis::MetastoreV1beta::Operation]
897
+ #
898
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
899
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
900
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
901
+ def move_service_table_to_database(service, move_table_to_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
902
+ command = make_simple_command(:post, 'v1beta/{+service}:moveTableToDatabase', options)
903
+ command.request_representation = Google::Apis::MetastoreV1beta::MoveTableToDatabaseRequest::Representation
904
+ command.request_object = move_table_to_database_request_object
905
+ command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation
906
+ command.response_class = Google::Apis::MetastoreV1beta::Operation
907
+ command.params['service'] = service unless service.nil?
908
+ command.query['fields'] = fields unless fields.nil?
909
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
910
+ execute_or_queue_command(command, &block)
911
+ end
912
+
840
913
  # Updates the parameters of a single service.
841
914
  # @param [String] name
842
915
  # Immutable. The relative resource name of the metastore service, in the
@@ -888,6 +961,41 @@ module Google
888
961
  execute_or_queue_command(command, &block)
889
962
  end
890
963
 
964
+ # Query DPMS metadata.
965
+ # @param [String] service
966
+ # Required. The relative resource name of the metastore service to query
967
+ # metadata, in the following format:projects/`project_id`/locations/`location_id`
968
+ # /services/`service_id`.
969
+ # @param [Google::Apis::MetastoreV1beta::QueryMetadataRequest] query_metadata_request_object
970
+ # @param [String] fields
971
+ # Selector specifying which fields to include in a partial response.
972
+ # @param [String] quota_user
973
+ # Available to use for quota purposes for server-side applications. Can be any
974
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
975
+ # @param [Google::Apis::RequestOptions] options
976
+ # Request-specific options
977
+ #
978
+ # @yield [result, err] Result & error if block supplied
979
+ # @yieldparam result [Google::Apis::MetastoreV1beta::Operation] parsed result object
980
+ # @yieldparam err [StandardError] error object if request failed
981
+ #
982
+ # @return [Google::Apis::MetastoreV1beta::Operation]
983
+ #
984
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
985
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
986
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
987
+ def query_service_metadata(service, query_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
988
+ command = make_simple_command(:post, 'v1beta/{+service}:queryMetadata', options)
989
+ command.request_representation = Google::Apis::MetastoreV1beta::QueryMetadataRequest::Representation
990
+ command.request_object = query_metadata_request_object
991
+ command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation
992
+ command.response_class = Google::Apis::MetastoreV1beta::Operation
993
+ command.params['service'] = service unless service.nil?
994
+ command.query['fields'] = fields unless fields.nil?
995
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
996
+ execute_or_queue_command(command, &block)
997
+ end
998
+
891
999
  # Removes the attached IAM policies for a resource
892
1000
  # @param [String] resource
893
1001
  # Required. The relative resource name of the dataplane resource to remove IAM
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.37.0
4
+ version: 0.39.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-10-17 00:00:00.000000000 Z
11
+ date: 2023-01-15 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.9.0
19
+ version: 0.9.1
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.9.0
29
+ version: 0.9.1
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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.39.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.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dataproc Metastore API V1beta