google-apis-metastore_v1beta 0.37.0 → 0.38.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e00c196f926ff79cab3eaf8f47418a8faa74be7e2a2a985bb11d5cfce6e813d
|
4
|
+
data.tar.gz: e952158dda3c574d20940277c5926906e2aa9d8b2f5349c91713b03966e351ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66f89452d4083675bf1b2b2f0670c7edf825576ac56061278607c2004730b9c02f91eb1d5571ee0adaf1a2b96ac3b820796b92bf5264763b4b6b1e877f9748f8
|
7
|
+
data.tar.gz: 984d22cca4d82ead208ade344a37d9f3e3b7a7ac5ec79d08ad62e81b69cbb395d8a0b31e249f5f87ac7a5d720a9579da29a0b2b483918205e224c635dc35b354
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1beta
|
2
2
|
|
3
|
+
### v0.38.0 (2022-12-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221207
|
6
|
+
* Regenerated using generator version 0.11.0
|
7
|
+
|
3
8
|
### v0.37.0 (2022-10-11)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220929
|
@@ -22,6 +22,33 @@ 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
|
+
|
25
52
|
# Specifies the audit configuration for a service. The configuration determines
|
26
53
|
# which permission types are logged, and what identities, if any, are exempted
|
27
54
|
# from logging. An AuditConfig must have one or more AuditLogConfigs.If there
|
@@ -106,7 +133,7 @@ module Google
|
|
106
133
|
# @return [Hash<String,String>]
|
107
134
|
attr_accessor :config_overrides
|
108
135
|
|
109
|
-
# Network configuration for the Dataproc Metastore service.
|
136
|
+
# Network configuration for the Dataproc Metastore service.
|
110
137
|
# Corresponds to the JSON property `networkConfig`
|
111
138
|
# @return [Google::Apis::MetastoreV1beta::NetworkConfig]
|
112
139
|
attr_accessor :network_config
|
@@ -140,8 +167,8 @@ module Google
|
|
140
167
|
|
141
168
|
# The relative resource name of the metastore that is being federated. The
|
142
169
|
# formats of the relative resource names for the currently supported metastores
|
143
|
-
# are listed below: Dataplex
|
144
|
-
# lake_id` BigQuery
|
170
|
+
# are listed below: Dataplex projects/`project_id`/locations/`location`/lakes/`
|
171
|
+
# lake_id` BigQuery projects/`project_id` Dataproc Metastore projects/`
|
145
172
|
# project_id`/locations/`location`/services/`service_id`
|
146
173
|
# Corresponds to the JSON property `name`
|
147
174
|
# @return [String]
|
@@ -290,8 +317,7 @@ module Google
|
|
290
317
|
end
|
291
318
|
end
|
292
319
|
|
293
|
-
# Contains information of the customer's network configurations.
|
294
|
-
# ID: 4
|
320
|
+
# Contains information of the customer's network configurations.
|
295
321
|
class Consumer
|
296
322
|
include Google::Apis::Core::Hashable
|
297
323
|
|
@@ -304,7 +330,7 @@ module Google
|
|
304
330
|
# reserved and used as the Dataproc Metastore service's endpoint. It is
|
305
331
|
# accessible to hosts in the subnet and to all hosts in a subnet in the same
|
306
332
|
# 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
|
333
|
+
# the subnet's primary range. The subnet is specified in the following form:
|
308
334
|
# projects/`project_number`/regions/`region_id`/subnetworks/`subnetwork_id`
|
309
335
|
# Corresponds to the JSON property `subnetwork`
|
310
336
|
# @return [String]
|
@@ -1179,7 +1205,38 @@ module Google
|
|
1179
1205
|
end
|
1180
1206
|
end
|
1181
1207
|
|
1182
|
-
#
|
1208
|
+
# Request message for DataprocMetastore.MoveTableToDatabase.
|
1209
|
+
class MoveTableToDatabaseRequest
|
1210
|
+
include Google::Apis::Core::Hashable
|
1211
|
+
|
1212
|
+
# Required. The name of the database where the table resides.
|
1213
|
+
# Corresponds to the JSON property `dbName`
|
1214
|
+
# @return [String]
|
1215
|
+
attr_accessor :db_name
|
1216
|
+
|
1217
|
+
# Required. The name of the database where the table should be moved.
|
1218
|
+
# Corresponds to the JSON property `destinationDbName`
|
1219
|
+
# @return [String]
|
1220
|
+
attr_accessor :destination_db_name
|
1221
|
+
|
1222
|
+
# Required. The name of the table to be moved.
|
1223
|
+
# Corresponds to the JSON property `tableName`
|
1224
|
+
# @return [String]
|
1225
|
+
attr_accessor :table_name
|
1226
|
+
|
1227
|
+
def initialize(**args)
|
1228
|
+
update!(**args)
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
# Update properties of this object
|
1232
|
+
def update!(**args)
|
1233
|
+
@db_name = args[:db_name] if args.key?(:db_name)
|
1234
|
+
@destination_db_name = args[:destination_db_name] if args.key?(:destination_db_name)
|
1235
|
+
@table_name = args[:table_name] if args.key?(:table_name)
|
1236
|
+
end
|
1237
|
+
end
|
1238
|
+
|
1239
|
+
# Network configuration for the Dataproc Metastore service.
|
1183
1240
|
class NetworkConfig
|
1184
1241
|
include Google::Apis::Core::Hashable
|
1185
1242
|
|
@@ -1413,16 +1470,66 @@ module Google
|
|
1413
1470
|
end
|
1414
1471
|
end
|
1415
1472
|
|
1473
|
+
# Request message for DataprocMetastore.QueryMetadata.
|
1474
|
+
class QueryMetadataRequest
|
1475
|
+
include Google::Apis::Core::Hashable
|
1476
|
+
|
1477
|
+
# Required. A read-only SQL query to execute against the metadata database. The
|
1478
|
+
# query cannot change or mutate the data.
|
1479
|
+
# Corresponds to the JSON property `query`
|
1480
|
+
# @return [String]
|
1481
|
+
attr_accessor :query
|
1482
|
+
|
1483
|
+
def initialize(**args)
|
1484
|
+
update!(**args)
|
1485
|
+
end
|
1486
|
+
|
1487
|
+
# Update properties of this object
|
1488
|
+
def update!(**args)
|
1489
|
+
@query = args[:query] if args.key?(:query)
|
1490
|
+
end
|
1491
|
+
end
|
1492
|
+
|
1493
|
+
# Response message for DataprocMetastore.QueryMetadata.
|
1494
|
+
class QueryMetadataResponse
|
1495
|
+
include Google::Apis::Core::Hashable
|
1496
|
+
|
1497
|
+
# The manifest URI is link to a JSON instance in Cloud Storage. This instance
|
1498
|
+
# manifests immediately along with QueryMetadataResponse. The content of the URI
|
1499
|
+
# is not retriable until the long-running operation query against the metadata
|
1500
|
+
# finishes.
|
1501
|
+
# Corresponds to the JSON property `resultManifestUri`
|
1502
|
+
# @return [String]
|
1503
|
+
attr_accessor :result_manifest_uri
|
1504
|
+
|
1505
|
+
def initialize(**args)
|
1506
|
+
update!(**args)
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
# Update properties of this object
|
1510
|
+
def update!(**args)
|
1511
|
+
@result_manifest_uri = args[:result_manifest_uri] if args.key?(:result_manifest_uri)
|
1512
|
+
end
|
1513
|
+
end
|
1514
|
+
|
1416
1515
|
# Request message for DataprocMetastore.RemoveIamPolicy.
|
1417
1516
|
class RemoveIamPolicyRequest
|
1418
1517
|
include Google::Apis::Core::Hashable
|
1419
1518
|
|
1519
|
+
# Optional. Removes IAM policy attached to database or table asynchronously when
|
1520
|
+
# it is set. The default is false.
|
1521
|
+
# Corresponds to the JSON property `asynchronous`
|
1522
|
+
# @return [Boolean]
|
1523
|
+
attr_accessor :asynchronous
|
1524
|
+
alias_method :asynchronous?, :asynchronous
|
1525
|
+
|
1420
1526
|
def initialize(**args)
|
1421
1527
|
update!(**args)
|
1422
1528
|
end
|
1423
1529
|
|
1424
1530
|
# Update properties of this object
|
1425
1531
|
def update!(**args)
|
1532
|
+
@asynchronous = args[:asynchronous] if args.key?(:asynchronous)
|
1426
1533
|
end
|
1427
1534
|
end
|
1428
1535
|
|
@@ -1430,7 +1537,7 @@ module Google
|
|
1430
1537
|
class RemoveIamPolicyResponse
|
1431
1538
|
include Google::Apis::Core::Hashable
|
1432
1539
|
|
1433
|
-
#
|
1540
|
+
# True if the policy is successfully removed.
|
1434
1541
|
# Corresponds to the JSON property `success`
|
1435
1542
|
# @return [Boolean]
|
1436
1543
|
attr_accessor :success
|
@@ -1630,7 +1737,7 @@ module Google
|
|
1630
1737
|
# @return [String]
|
1631
1738
|
attr_accessor :network
|
1632
1739
|
|
1633
|
-
# Network configuration for the Dataproc Metastore service.
|
1740
|
+
# Network configuration for the Dataproc Metastore service.
|
1634
1741
|
# Corresponds to the JSON property `networkConfig`
|
1635
1742
|
# @return [Google::Apis::MetastoreV1beta::NetworkConfig]
|
1636
1743
|
attr_accessor :network_config
|
@@ -1657,6 +1764,11 @@ module Google
|
|
1657
1764
|
# @return [String]
|
1658
1765
|
attr_accessor :state_message
|
1659
1766
|
|
1767
|
+
# Telemetry Configuration for the Dataproc Metastore service.
|
1768
|
+
# Corresponds to the JSON property `telemetryConfig`
|
1769
|
+
# @return [Google::Apis::MetastoreV1beta::TelemetryConfig]
|
1770
|
+
attr_accessor :telemetry_config
|
1771
|
+
|
1660
1772
|
# The tier of the service.
|
1661
1773
|
# Corresponds to the JSON property `tier`
|
1662
1774
|
# @return [String]
|
@@ -1695,6 +1807,7 @@ module Google
|
|
1695
1807
|
@release_channel = args[:release_channel] if args.key?(:release_channel)
|
1696
1808
|
@state = args[:state] if args.key?(:state)
|
1697
1809
|
@state_message = args[:state_message] if args.key?(:state_message)
|
1810
|
+
@telemetry_config = args[:telemetry_config] if args.key?(:telemetry_config)
|
1698
1811
|
@tier = args[:tier] if args.key?(:tier)
|
1699
1812
|
@uid = args[:uid] if args.key?(:uid)
|
1700
1813
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -1793,6 +1906,25 @@ module Google
|
|
1793
1906
|
end
|
1794
1907
|
end
|
1795
1908
|
|
1909
|
+
# Telemetry Configuration for the Dataproc Metastore service.
|
1910
|
+
class TelemetryConfig
|
1911
|
+
include Google::Apis::Core::Hashable
|
1912
|
+
|
1913
|
+
# The output format of the Dataproc Metastore service's logs.
|
1914
|
+
# Corresponds to the JSON property `logFormat`
|
1915
|
+
# @return [String]
|
1916
|
+
attr_accessor :log_format
|
1917
|
+
|
1918
|
+
def initialize(**args)
|
1919
|
+
update!(**args)
|
1920
|
+
end
|
1921
|
+
|
1922
|
+
# Update properties of this object
|
1923
|
+
def update!(**args)
|
1924
|
+
@log_format = args[:log_format] if args.key?(:log_format)
|
1925
|
+
end
|
1926
|
+
end
|
1927
|
+
|
1796
1928
|
# Request message for TestIamPermissions method.
|
1797
1929
|
class TestIamPermissionsRequest
|
1798
1930
|
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.
|
19
|
+
GEM_VERSION = "0.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221207"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ 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
|
+
|
25
31
|
class AuditConfig
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -214,6 +220,12 @@ module Google
|
|
214
220
|
include Google::Apis::Core::JsonObjectSupport
|
215
221
|
end
|
216
222
|
|
223
|
+
class MoveTableToDatabaseRequest
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
217
229
|
class NetworkConfig
|
218
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
231
|
|
@@ -238,6 +250,18 @@ module Google
|
|
238
250
|
include Google::Apis::Core::JsonObjectSupport
|
239
251
|
end
|
240
252
|
|
253
|
+
class QueryMetadataRequest
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class QueryMetadataResponse
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
241
265
|
class RemoveIamPolicyRequest
|
242
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
267
|
|
@@ -286,6 +310,12 @@ module Google
|
|
286
310
|
include Google::Apis::Core::JsonObjectSupport
|
287
311
|
end
|
288
312
|
|
313
|
+
class TelemetryConfig
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
289
319
|
class TestIamPermissionsRequest
|
290
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
321
|
|
@@ -298,6 +328,14 @@ module Google
|
|
298
328
|
include Google::Apis::Core::JsonObjectSupport
|
299
329
|
end
|
300
330
|
|
331
|
+
class AlterMetadataResourceLocationRequest
|
332
|
+
# @private
|
333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
334
|
+
property :location_uri, as: 'locationUri'
|
335
|
+
property :resource_name, as: 'resourceName'
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
301
339
|
class AuditConfig
|
302
340
|
# @private
|
303
341
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -607,6 +645,15 @@ module Google
|
|
607
645
|
end
|
608
646
|
end
|
609
647
|
|
648
|
+
class MoveTableToDatabaseRequest
|
649
|
+
# @private
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
651
|
+
property :db_name, as: 'dbName'
|
652
|
+
property :destination_db_name, as: 'destinationDbName'
|
653
|
+
property :table_name, as: 'tableName'
|
654
|
+
end
|
655
|
+
end
|
656
|
+
|
610
657
|
class NetworkConfig
|
611
658
|
# @private
|
612
659
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -652,9 +699,24 @@ module Google
|
|
652
699
|
end
|
653
700
|
end
|
654
701
|
|
702
|
+
class QueryMetadataRequest
|
703
|
+
# @private
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
705
|
+
property :query, as: 'query'
|
706
|
+
end
|
707
|
+
end
|
708
|
+
|
709
|
+
class QueryMetadataResponse
|
710
|
+
# @private
|
711
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
712
|
+
property :result_manifest_uri, as: 'resultManifestUri'
|
713
|
+
end
|
714
|
+
end
|
715
|
+
|
655
716
|
class RemoveIamPolicyRequest
|
656
717
|
# @private
|
657
718
|
class Representation < Google::Apis::Core::JsonRepresentation
|
719
|
+
property :asynchronous, as: 'asynchronous'
|
658
720
|
end
|
659
721
|
end
|
660
722
|
|
@@ -719,6 +781,8 @@ module Google
|
|
719
781
|
property :release_channel, as: 'releaseChannel'
|
720
782
|
property :state, as: 'state'
|
721
783
|
property :state_message, as: 'stateMessage'
|
784
|
+
property :telemetry_config, as: 'telemetryConfig', class: Google::Apis::MetastoreV1beta::TelemetryConfig, decorator: Google::Apis::MetastoreV1beta::TelemetryConfig::Representation
|
785
|
+
|
722
786
|
property :tier, as: 'tier'
|
723
787
|
property :uid, as: 'uid'
|
724
788
|
property :update_time, as: 'updateTime'
|
@@ -743,6 +807,13 @@ module Google
|
|
743
807
|
end
|
744
808
|
end
|
745
809
|
|
810
|
+
class TelemetryConfig
|
811
|
+
# @private
|
812
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
813
|
+
property :log_format, as: 'logFormat'
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
746
817
|
class TestIamPermissionsRequest
|
747
818
|
# @private
|
748
819
|
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.
|
4
|
+
version: 0.38.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-
|
11
|
+
date: 2022-12-12 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.
|
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.
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.38.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: []
|