google-apis-metastore_v1 0.7.0 → 0.9.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: ce4a7bc13ad2cfe07dd943281f055564588669bb152b330f8ef44a3aa8731335
|
4
|
+
data.tar.gz: c893f3b8b62a7cc2e88aefc444590d2d56aa91d07b2141f20db1904b7ebf2808
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5596b6d1840171abead83816cdc36895d87e04258dbe3a713e693f3f5c6f8c2e174bac24b3af5ebc8c6794e21978bced6d3e4afb7712dbf33463bc959d945819
|
7
|
+
data.tar.gz: 1cc1f85c145d121beb55576b13972af38846469249f48ba45252c1933bd96e27165238679883f785b858622e67d6e42a442baa6623eb403fc6af8214f82a781a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1
|
2
2
|
|
3
|
+
### v0.9.0 (2023-06-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230530
|
6
|
+
|
7
|
+
### v0.8.0 (2023-05-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230502
|
10
|
+
|
3
11
|
### v0.7.0 (2023-04-30)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230420
|
@@ -22,6 +22,46 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module MetastoreV1
|
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
|
@@ -408,6 +448,26 @@ module Google
|
|
408
448
|
end
|
409
449
|
end
|
410
450
|
|
451
|
+
# Error details in public error message for DataprocMetastore.QueryMetadata.
|
452
|
+
class ErrorDetails
|
453
|
+
include Google::Apis::Core::Hashable
|
454
|
+
|
455
|
+
# Additional structured details about this error.Keys define the failure items.
|
456
|
+
# Value describes the exception or details of the item.
|
457
|
+
# Corresponds to the JSON property `details`
|
458
|
+
# @return [Hash<String,String>]
|
459
|
+
attr_accessor :details
|
460
|
+
|
461
|
+
def initialize(**args)
|
462
|
+
update!(**args)
|
463
|
+
end
|
464
|
+
|
465
|
+
# Update properties of this object
|
466
|
+
def update!(**args)
|
467
|
+
@details = args[:details] if args.key?(:details)
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
411
471
|
# Request message for DataprocMetastore.ExportMetadata.
|
412
472
|
class ExportMetadataRequest
|
413
473
|
include Google::Apis::Core::Hashable
|
@@ -608,6 +668,12 @@ module Google
|
|
608
668
|
# @return [Hash<String,String>]
|
609
669
|
attr_accessor :config_overrides
|
610
670
|
|
671
|
+
# The protocol to use for the metastore service endpoint. If unspecified,
|
672
|
+
# defaults to THRIFT.
|
673
|
+
# Corresponds to the JSON property `endpointProtocol`
|
674
|
+
# @return [String]
|
675
|
+
attr_accessor :endpoint_protocol
|
676
|
+
|
611
677
|
# Configuration information for a Kerberos principal.
|
612
678
|
# Corresponds to the JSON property `kerberosConfig`
|
613
679
|
# @return [Google::Apis::MetastoreV1::KerberosConfig]
|
@@ -626,6 +692,7 @@ module Google
|
|
626
692
|
def update!(**args)
|
627
693
|
@auxiliary_versions = args[:auxiliary_versions] if args.key?(:auxiliary_versions)
|
628
694
|
@config_overrides = args[:config_overrides] if args.key?(:config_overrides)
|
695
|
+
@endpoint_protocol = args[:endpoint_protocol] if args.key?(:endpoint_protocol)
|
629
696
|
@kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
|
630
697
|
@version = args[:version] if args.key?(:version)
|
631
698
|
end
|
@@ -1092,6 +1159,50 @@ module Google
|
|
1092
1159
|
end
|
1093
1160
|
end
|
1094
1161
|
|
1162
|
+
# Request message for DataprocMetastore.MoveTableToDatabase.
|
1163
|
+
class MoveTableToDatabaseRequest
|
1164
|
+
include Google::Apis::Core::Hashable
|
1165
|
+
|
1166
|
+
# Required. The name of the database where the table resides.
|
1167
|
+
# Corresponds to the JSON property `dbName`
|
1168
|
+
# @return [String]
|
1169
|
+
attr_accessor :db_name
|
1170
|
+
|
1171
|
+
# Required. The name of the database where the table should be moved.
|
1172
|
+
# Corresponds to the JSON property `destinationDbName`
|
1173
|
+
# @return [String]
|
1174
|
+
attr_accessor :destination_db_name
|
1175
|
+
|
1176
|
+
# Required. The name of the table to be moved.
|
1177
|
+
# Corresponds to the JSON property `tableName`
|
1178
|
+
# @return [String]
|
1179
|
+
attr_accessor :table_name
|
1180
|
+
|
1181
|
+
def initialize(**args)
|
1182
|
+
update!(**args)
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
# Update properties of this object
|
1186
|
+
def update!(**args)
|
1187
|
+
@db_name = args[:db_name] if args.key?(:db_name)
|
1188
|
+
@destination_db_name = args[:destination_db_name] if args.key?(:destination_db_name)
|
1189
|
+
@table_name = args[:table_name] if args.key?(:table_name)
|
1190
|
+
end
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
# Response message for DataprocMetastore.MoveTableToDatabase.
|
1194
|
+
class MoveTableToDatabaseResponse
|
1195
|
+
include Google::Apis::Core::Hashable
|
1196
|
+
|
1197
|
+
def initialize(**args)
|
1198
|
+
update!(**args)
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
# Update properties of this object
|
1202
|
+
def update!(**args)
|
1203
|
+
end
|
1204
|
+
end
|
1205
|
+
|
1095
1206
|
# Network configuration for the Dataproc Metastore service.
|
1096
1207
|
class NetworkConfig
|
1097
1208
|
include Google::Apis::Core::Hashable
|
@@ -1326,6 +1437,48 @@ module Google
|
|
1326
1437
|
end
|
1327
1438
|
end
|
1328
1439
|
|
1440
|
+
# Request message for DataprocMetastore.QueryMetadata.
|
1441
|
+
class QueryMetadataRequest
|
1442
|
+
include Google::Apis::Core::Hashable
|
1443
|
+
|
1444
|
+
# Required. A read-only SQL query to execute against the metadata database. The
|
1445
|
+
# query cannot change or mutate the data.
|
1446
|
+
# Corresponds to the JSON property `query`
|
1447
|
+
# @return [String]
|
1448
|
+
attr_accessor :query
|
1449
|
+
|
1450
|
+
def initialize(**args)
|
1451
|
+
update!(**args)
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
# Update properties of this object
|
1455
|
+
def update!(**args)
|
1456
|
+
@query = args[:query] if args.key?(:query)
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
# Response message for DataprocMetastore.QueryMetadata.
|
1461
|
+
class QueryMetadataResponse
|
1462
|
+
include Google::Apis::Core::Hashable
|
1463
|
+
|
1464
|
+
# The manifest URI is link to a JSON instance in Cloud Storage. This instance
|
1465
|
+
# manifests immediately along with QueryMetadataResponse. The content of the URI
|
1466
|
+
# is not retriable until the long-running operation query against the metadata
|
1467
|
+
# finishes.
|
1468
|
+
# Corresponds to the JSON property `resultManifestUri`
|
1469
|
+
# @return [String]
|
1470
|
+
attr_accessor :result_manifest_uri
|
1471
|
+
|
1472
|
+
def initialize(**args)
|
1473
|
+
update!(**args)
|
1474
|
+
end
|
1475
|
+
|
1476
|
+
# Update properties of this object
|
1477
|
+
def update!(**args)
|
1478
|
+
@result_manifest_uri = args[:result_manifest_uri] if args.key?(:result_manifest_uri)
|
1479
|
+
end
|
1480
|
+
end
|
1481
|
+
|
1329
1482
|
# The details of a metadata restore operation.
|
1330
1483
|
class Restore
|
1331
1484
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MetastoreV1
|
18
18
|
# Version of the google-apis-metastore_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230530"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,18 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module MetastoreV1
|
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
|
|
@@ -88,6 +100,12 @@ module Google
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
89
101
|
end
|
90
102
|
|
103
|
+
class ErrorDetails
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
91
109
|
class ExportMetadataRequest
|
92
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
111
|
|
@@ -196,6 +214,18 @@ module Google
|
|
196
214
|
include Google::Apis::Core::JsonObjectSupport
|
197
215
|
end
|
198
216
|
|
217
|
+
class MoveTableToDatabaseRequest
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class MoveTableToDatabaseResponse
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
199
229
|
class NetworkConfig
|
200
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
231
|
|
@@ -220,6 +250,18 @@ module Google
|
|
220
250
|
include Google::Apis::Core::JsonObjectSupport
|
221
251
|
end
|
222
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
|
+
|
223
265
|
class Restore
|
224
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
267
|
|
@@ -280,6 +322,20 @@ module Google
|
|
280
322
|
include Google::Apis::Core::JsonObjectSupport
|
281
323
|
end
|
282
324
|
|
325
|
+
class AlterMetadataResourceLocationRequest
|
326
|
+
# @private
|
327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
328
|
+
property :location_uri, as: 'locationUri'
|
329
|
+
property :resource_name, as: 'resourceName'
|
330
|
+
end
|
331
|
+
end
|
332
|
+
|
333
|
+
class AlterMetadataResourceLocationResponse
|
334
|
+
# @private
|
335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
283
339
|
class AuditConfig
|
284
340
|
# @private
|
285
341
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -376,6 +432,13 @@ module Google
|
|
376
432
|
end
|
377
433
|
end
|
378
434
|
|
435
|
+
class ErrorDetails
|
436
|
+
# @private
|
437
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
438
|
+
hash :details, as: 'details'
|
439
|
+
end
|
440
|
+
end
|
441
|
+
|
379
442
|
class ExportMetadataRequest
|
380
443
|
# @private
|
381
444
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -418,6 +481,7 @@ module Google
|
|
418
481
|
hash :auxiliary_versions, as: 'auxiliaryVersions', class: Google::Apis::MetastoreV1::AuxiliaryVersionConfig, decorator: Google::Apis::MetastoreV1::AuxiliaryVersionConfig::Representation
|
419
482
|
|
420
483
|
hash :config_overrides, as: 'configOverrides'
|
484
|
+
property :endpoint_protocol, as: 'endpointProtocol'
|
421
485
|
property :kerberos_config, as: 'kerberosConfig', class: Google::Apis::MetastoreV1::KerberosConfig, decorator: Google::Apis::MetastoreV1::KerberosConfig::Representation
|
422
486
|
|
423
487
|
property :version, as: 'version'
|
@@ -562,6 +626,21 @@ module Google
|
|
562
626
|
end
|
563
627
|
end
|
564
628
|
|
629
|
+
class MoveTableToDatabaseRequest
|
630
|
+
# @private
|
631
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
632
|
+
property :db_name, as: 'dbName'
|
633
|
+
property :destination_db_name, as: 'destinationDbName'
|
634
|
+
property :table_name, as: 'tableName'
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
638
|
+
class MoveTableToDatabaseResponse
|
639
|
+
# @private
|
640
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
565
644
|
class NetworkConfig
|
566
645
|
# @private
|
567
646
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -607,6 +686,20 @@ module Google
|
|
607
686
|
end
|
608
687
|
end
|
609
688
|
|
689
|
+
class QueryMetadataRequest
|
690
|
+
# @private
|
691
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
692
|
+
property :query, as: 'query'
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
class QueryMetadataResponse
|
697
|
+
# @private
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
699
|
+
property :result_manifest_uri, as: 'resultManifestUri'
|
700
|
+
end
|
701
|
+
end
|
702
|
+
|
610
703
|
class Restore
|
611
704
|
# @private
|
612
705
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -615,6 +615,44 @@ module Google
|
|
615
615
|
execute_or_queue_command(command, &block)
|
616
616
|
end
|
617
617
|
|
618
|
+
# Alter metadata resource location. The metadata resource can be a database,
|
619
|
+
# table, or partition. This functionality only updates the parent directory for
|
620
|
+
# the respective metadata resource and does not transfer any existing data to
|
621
|
+
# the new location.
|
622
|
+
# @param [String] service
|
623
|
+
# Required. The relative resource name of the metastore service to mutate
|
624
|
+
# metadata, in the following format:projects/`project_id`/locations/`location_id`
|
625
|
+
# /services/`service_id`.
|
626
|
+
# @param [Google::Apis::MetastoreV1::AlterMetadataResourceLocationRequest] alter_metadata_resource_location_request_object
|
627
|
+
# @param [String] fields
|
628
|
+
# Selector specifying which fields to include in a partial response.
|
629
|
+
# @param [String] quota_user
|
630
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
631
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
632
|
+
# @param [Google::Apis::RequestOptions] options
|
633
|
+
# Request-specific options
|
634
|
+
#
|
635
|
+
# @yield [result, err] Result & error if block supplied
|
636
|
+
# @yieldparam result [Google::Apis::MetastoreV1::Operation] parsed result object
|
637
|
+
# @yieldparam err [StandardError] error object if request failed
|
638
|
+
#
|
639
|
+
# @return [Google::Apis::MetastoreV1::Operation]
|
640
|
+
#
|
641
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
642
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
643
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
644
|
+
def alter_project_location_service_location(service, alter_metadata_resource_location_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
645
|
+
command = make_simple_command(:post, 'v1/{+service}:alterLocation', options)
|
646
|
+
command.request_representation = Google::Apis::MetastoreV1::AlterMetadataResourceLocationRequest::Representation
|
647
|
+
command.request_object = alter_metadata_resource_location_request_object
|
648
|
+
command.response_representation = Google::Apis::MetastoreV1::Operation::Representation
|
649
|
+
command.response_class = Google::Apis::MetastoreV1::Operation
|
650
|
+
command.params['service'] = service unless service.nil?
|
651
|
+
command.query['fields'] = fields unless fields.nil?
|
652
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
653
|
+
execute_or_queue_command(command, &block)
|
654
|
+
end
|
655
|
+
|
618
656
|
# Creates a metastore service in a project and location.
|
619
657
|
# @param [String] parent
|
620
658
|
# Required. The relative resource name of the location in which to create a
|
@@ -871,6 +909,41 @@ module Google
|
|
871
909
|
execute_or_queue_command(command, &block)
|
872
910
|
end
|
873
911
|
|
912
|
+
# Move a table to another database.
|
913
|
+
# @param [String] service
|
914
|
+
# Required. The relative resource name of the metastore service to mutate
|
915
|
+
# metadata, in the following format:projects/`project_id`/locations/`location_id`
|
916
|
+
# /services/`service_id`.
|
917
|
+
# @param [Google::Apis::MetastoreV1::MoveTableToDatabaseRequest] move_table_to_database_request_object
|
918
|
+
# @param [String] fields
|
919
|
+
# Selector specifying which fields to include in a partial response.
|
920
|
+
# @param [String] quota_user
|
921
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
922
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
923
|
+
# @param [Google::Apis::RequestOptions] options
|
924
|
+
# Request-specific options
|
925
|
+
#
|
926
|
+
# @yield [result, err] Result & error if block supplied
|
927
|
+
# @yieldparam result [Google::Apis::MetastoreV1::Operation] parsed result object
|
928
|
+
# @yieldparam err [StandardError] error object if request failed
|
929
|
+
#
|
930
|
+
# @return [Google::Apis::MetastoreV1::Operation]
|
931
|
+
#
|
932
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
933
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
934
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
935
|
+
def move_service_table_to_database(service, move_table_to_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
936
|
+
command = make_simple_command(:post, 'v1/{+service}:moveTableToDatabase', options)
|
937
|
+
command.request_representation = Google::Apis::MetastoreV1::MoveTableToDatabaseRequest::Representation
|
938
|
+
command.request_object = move_table_to_database_request_object
|
939
|
+
command.response_representation = Google::Apis::MetastoreV1::Operation::Representation
|
940
|
+
command.response_class = Google::Apis::MetastoreV1::Operation
|
941
|
+
command.params['service'] = service unless service.nil?
|
942
|
+
command.query['fields'] = fields unless fields.nil?
|
943
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
944
|
+
execute_or_queue_command(command, &block)
|
945
|
+
end
|
946
|
+
|
874
947
|
# Updates the parameters of a single service.
|
875
948
|
# @param [String] name
|
876
949
|
# Immutable. The relative resource name of the metastore service, in the
|
@@ -922,6 +995,41 @@ module Google
|
|
922
995
|
execute_or_queue_command(command, &block)
|
923
996
|
end
|
924
997
|
|
998
|
+
# Query DPMS metadata.
|
999
|
+
# @param [String] service
|
1000
|
+
# Required. The relative resource name of the metastore service to query
|
1001
|
+
# metadata, in the following format:projects/`project_id`/locations/`location_id`
|
1002
|
+
# /services/`service_id`.
|
1003
|
+
# @param [Google::Apis::MetastoreV1::QueryMetadataRequest] query_metadata_request_object
|
1004
|
+
# @param [String] fields
|
1005
|
+
# Selector specifying which fields to include in a partial response.
|
1006
|
+
# @param [String] quota_user
|
1007
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1008
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1009
|
+
# @param [Google::Apis::RequestOptions] options
|
1010
|
+
# Request-specific options
|
1011
|
+
#
|
1012
|
+
# @yield [result, err] Result & error if block supplied
|
1013
|
+
# @yieldparam result [Google::Apis::MetastoreV1::Operation] parsed result object
|
1014
|
+
# @yieldparam err [StandardError] error object if request failed
|
1015
|
+
#
|
1016
|
+
# @return [Google::Apis::MetastoreV1::Operation]
|
1017
|
+
#
|
1018
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1019
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1020
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1021
|
+
def query_service_metadata(service, query_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1022
|
+
command = make_simple_command(:post, 'v1/{+service}:queryMetadata', options)
|
1023
|
+
command.request_representation = Google::Apis::MetastoreV1::QueryMetadataRequest::Representation
|
1024
|
+
command.request_object = query_metadata_request_object
|
1025
|
+
command.response_representation = Google::Apis::MetastoreV1::Operation::Representation
|
1026
|
+
command.response_class = Google::Apis::MetastoreV1::Operation
|
1027
|
+
command.params['service'] = service unless service.nil?
|
1028
|
+
command.query['fields'] = fields unless fields.nil?
|
1029
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1030
|
+
execute_or_queue_command(command, &block)
|
1031
|
+
end
|
1032
|
+
|
925
1033
|
# Restores a service from a backup.
|
926
1034
|
# @param [String] service
|
927
1035
|
# Required. The relative resource name of the metastore service to run restore,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-metastore_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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: 2023-04
|
11
|
+
date: 2023-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.9.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|