google-cloud-metastore-v1beta 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +1 -1
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/client.rb +439 -8
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/paths.rb +38 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore.rb +3 -3
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/client.rb +901 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/credentials.rb +51 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/operations.rb +770 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation/paths.rb +69 -0
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore_federation.rb +62 -0
- data/lib/google/cloud/metastore/v1beta/metastore_federation_pb.rb +95 -0
- data/lib/google/cloud/metastore/v1beta/metastore_federation_services_pb.rb +65 -0
- data/lib/google/cloud/metastore/v1beta/metastore_pb.rb +99 -0
- data/lib/google/cloud/metastore/v1beta/metastore_services_pb.rb +14 -3
- data/lib/google/cloud/metastore/v1beta/version.rb +1 -1
- data/lib/google/cloud/metastore/v1beta.rb +3 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/metastore/v1beta/metastore.rb +337 -12
- data/proto_docs/google/cloud/metastore/v1beta/metastore_federation.rb +307 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +14 -4
@@ -28,8 +28,8 @@ module Google
|
|
28
28
|
# software as the metastore service.
|
29
29
|
# @!attribute [rw] name
|
30
30
|
# @return [::String]
|
31
|
-
# Immutable. The relative resource name of the metastore service,
|
32
|
-
#
|
31
|
+
# Immutable. The relative resource name of the metastore service, in the
|
32
|
+
# following format:
|
33
33
|
#
|
34
34
|
# `projects/{project_number}/locations/{location_id}/services/{service_id}`.
|
35
35
|
# @!attribute [r] create_time
|
@@ -75,6 +75,8 @@ module Google
|
|
75
75
|
# @return [::Google::Cloud::Metastore::V1beta::MaintenanceWindow]
|
76
76
|
# The one hour maintenance window of the metastore service. This specifies
|
77
77
|
# when the service can be restarted for maintenance purposes in UTC time.
|
78
|
+
# Maintenance window is not needed for services with the SPANNER
|
79
|
+
# database type.
|
78
80
|
# @!attribute [r] uid
|
79
81
|
# @return [::String]
|
80
82
|
# Output only. The globally unique resource identifier of the metastore
|
@@ -86,6 +88,21 @@ module Google
|
|
86
88
|
# @return [::Google::Cloud::Metastore::V1beta::Service::ReleaseChannel]
|
87
89
|
# Immutable. The release channel of the service.
|
88
90
|
# If unspecified, defaults to `STABLE`.
|
91
|
+
# @!attribute [rw] encryption_config
|
92
|
+
# @return [::Google::Cloud::Metastore::V1beta::EncryptionConfig]
|
93
|
+
# Immutable. Information used to configure the Dataproc Metastore service to
|
94
|
+
# encrypt customer data at rest. Cannot be updated.
|
95
|
+
# @!attribute [rw] network_config
|
96
|
+
# @return [::Google::Cloud::Metastore::V1beta::NetworkConfig]
|
97
|
+
# The configuration specifying the network settings for the
|
98
|
+
# Dataproc Metastore service.
|
99
|
+
# @!attribute [rw] database_type
|
100
|
+
# @return [::Google::Cloud::Metastore::V1beta::Service::DatabaseType]
|
101
|
+
# Immutable. The database type that the Metastore service stores its data.
|
102
|
+
# @!attribute [rw] telemetry_config
|
103
|
+
# @return [::Google::Cloud::Metastore::V1beta::TelemetryConfig]
|
104
|
+
# The configuration specifying telemetry settings for the Dataproc Metastore
|
105
|
+
# service. If unspecified defaults to `JSON`.
|
89
106
|
class Service
|
90
107
|
include ::Google::Protobuf::MessageExts
|
91
108
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -159,12 +176,27 @@ module Google
|
|
159
176
|
# and have been validated for production use.
|
160
177
|
STABLE = 2
|
161
178
|
end
|
179
|
+
|
180
|
+
# The backend database type for the metastore service.
|
181
|
+
module DatabaseType
|
182
|
+
# The DATABASE_TYPE is not set.
|
183
|
+
DATABASE_TYPE_UNSPECIFIED = 0
|
184
|
+
|
185
|
+
# MySQL is used to persist the metastore data.
|
186
|
+
MYSQL = 1
|
187
|
+
|
188
|
+
# Spanner is used to persist the metastore data.
|
189
|
+
SPANNER = 2
|
190
|
+
end
|
162
191
|
end
|
163
192
|
|
164
193
|
# Specifies how metastore metadata should be integrated with external services.
|
165
194
|
# @!attribute [rw] data_catalog_config
|
166
195
|
# @return [::Google::Cloud::Metastore::V1beta::DataCatalogConfig]
|
167
196
|
# The integration config for the Data Catalog service.
|
197
|
+
# @!attribute [rw] dataplex_config
|
198
|
+
# @return [::Google::Cloud::Metastore::V1beta::DataplexConfig]
|
199
|
+
# The integration config for the Dataplex service.
|
168
200
|
class MetadataIntegration
|
169
201
|
include ::Google::Protobuf::MessageExts
|
170
202
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -181,6 +213,38 @@ module Google
|
|
181
213
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
182
214
|
end
|
183
215
|
|
216
|
+
# Specifies how metastore metadata should be integrated with the Dataplex
|
217
|
+
# service.
|
218
|
+
# @!attribute [rw] lake_resources
|
219
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Metastore::V1beta::Lake}]
|
220
|
+
# A reference to the Lake resources that this metastore service is attached
|
221
|
+
# to. The key is the lake resource name. Example:
|
222
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
|
223
|
+
class DataplexConfig
|
224
|
+
include ::Google::Protobuf::MessageExts
|
225
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
226
|
+
|
227
|
+
# @!attribute [rw] key
|
228
|
+
# @return [::String]
|
229
|
+
# @!attribute [rw] value
|
230
|
+
# @return [::Google::Cloud::Metastore::V1beta::Lake]
|
231
|
+
class LakeResourcesEntry
|
232
|
+
include ::Google::Protobuf::MessageExts
|
233
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
# Represents a Lake resource
|
238
|
+
# @!attribute [rw] name
|
239
|
+
# @return [::String]
|
240
|
+
# The Lake resource name.
|
241
|
+
# Example:
|
242
|
+
# `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`
|
243
|
+
class Lake
|
244
|
+
include ::Google::Protobuf::MessageExts
|
245
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
246
|
+
end
|
247
|
+
|
184
248
|
# Maintenance window. This specifies when Dataproc Metastore
|
185
249
|
# may perform system maintenance operation to the service.
|
186
250
|
# @!attribute [rw] hour_of_day
|
@@ -203,7 +267,9 @@ module Google
|
|
203
267
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
204
268
|
# A mapping of Hive metastore configuration key-value pairs to apply to the
|
205
269
|
# Hive metastore (configured in `hive-site.xml`). The mappings
|
206
|
-
# override system defaults (some keys cannot be overridden).
|
270
|
+
# override system defaults (some keys cannot be overridden). These
|
271
|
+
# overrides are also applied to auxiliary versions and can be further
|
272
|
+
# customized in the auxiliary version's `AuxiliaryVersionConfig`.
|
207
273
|
# @!attribute [rw] kerberos_config
|
208
274
|
# @return [::Google::Cloud::Metastore::V1beta::KerberosConfig]
|
209
275
|
# Information used to configure the Hive metastore service as a service
|
@@ -211,6 +277,20 @@ module Google
|
|
211
277
|
# method and specify this field's path
|
212
278
|
# (`hive_metastore_config.kerberos_config`) in the request's `update_mask`
|
213
279
|
# while omitting this field from the request's `service`.
|
280
|
+
# @!attribute [rw] endpoint_protocol
|
281
|
+
# @return [::Google::Cloud::Metastore::V1beta::HiveMetastoreConfig::EndpointProtocol]
|
282
|
+
# The protocol to use for the metastore service endpoint. If unspecified,
|
283
|
+
# defaults to `THRIFT`.
|
284
|
+
# @!attribute [rw] auxiliary_versions
|
285
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Metastore::V1beta::AuxiliaryVersionConfig}]
|
286
|
+
# A mapping of Hive metastore version to the auxiliary version
|
287
|
+
# configuration. When specified, a secondary Hive metastore service is
|
288
|
+
# created along with the primary service. All auxiliary versions must be less
|
289
|
+
# than the service's primary version. The key is the auxiliary service name
|
290
|
+
# and it must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. This
|
291
|
+
# means that the first character must be a lowercase letter, and all the
|
292
|
+
# following characters must be hyphens, lowercase letters, or digits, except
|
293
|
+
# the last character, which cannot be a hyphen.
|
214
294
|
class HiveMetastoreConfig
|
215
295
|
include ::Google::Protobuf::MessageExts
|
216
296
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -223,6 +303,27 @@ module Google
|
|
223
303
|
include ::Google::Protobuf::MessageExts
|
224
304
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
225
305
|
end
|
306
|
+
|
307
|
+
# @!attribute [rw] key
|
308
|
+
# @return [::String]
|
309
|
+
# @!attribute [rw] value
|
310
|
+
# @return [::Google::Cloud::Metastore::V1beta::AuxiliaryVersionConfig]
|
311
|
+
class AuxiliaryVersionsEntry
|
312
|
+
include ::Google::Protobuf::MessageExts
|
313
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
314
|
+
end
|
315
|
+
|
316
|
+
# Protocols available for serving the metastore service endpoint.
|
317
|
+
module EndpointProtocol
|
318
|
+
# The protocol is not set.
|
319
|
+
ENDPOINT_PROTOCOL_UNSPECIFIED = 0
|
320
|
+
|
321
|
+
# Use the legacy Apache Thrift protocol for the metastore service endpoint.
|
322
|
+
THRIFT = 1
|
323
|
+
|
324
|
+
# Use the modernized gRPC protocol for the metastore service endpoint.
|
325
|
+
GRPC = 2
|
326
|
+
end
|
226
327
|
end
|
227
328
|
|
228
329
|
# Configuration information for a Kerberos principal.
|
@@ -238,7 +339,7 @@ module Google
|
|
238
339
|
# @!attribute [rw] krb5_config_gcs_uri
|
239
340
|
# @return [::String]
|
240
341
|
# A Cloud Storage URI that specifies the path to a
|
241
|
-
# krb5.conf file. It is of the form gs
|
342
|
+
# krb5.conf file. It is of the form `gs://{bucket_name}/path/to/krb5.conf`,
|
242
343
|
# although the file does not need to be named krb5.conf explicitly.
|
243
344
|
class KerberosConfig
|
244
345
|
include ::Google::Protobuf::MessageExts
|
@@ -257,6 +358,98 @@ module Google
|
|
257
358
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
258
359
|
end
|
259
360
|
|
361
|
+
# Encryption settings for the service.
|
362
|
+
# @!attribute [rw] kms_key
|
363
|
+
# @return [::String]
|
364
|
+
# The fully qualified customer provided Cloud KMS key name to use for
|
365
|
+
# customer data encryption, in the following form:
|
366
|
+
#
|
367
|
+
# `projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}`.
|
368
|
+
class EncryptionConfig
|
369
|
+
include ::Google::Protobuf::MessageExts
|
370
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
371
|
+
end
|
372
|
+
|
373
|
+
# Configuration information for the auxiliary service versions.
|
374
|
+
# @!attribute [rw] version
|
375
|
+
# @return [::String]
|
376
|
+
# The Hive metastore version of the auxiliary service. It must be less
|
377
|
+
# than the primary Hive metastore service's version.
|
378
|
+
# @!attribute [rw] config_overrides
|
379
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
380
|
+
# A mapping of Hive metastore configuration key-value pairs to apply to the
|
381
|
+
# auxiliary Hive metastore (configured in `hive-site.xml`) in addition to
|
382
|
+
# the primary version's overrides. If keys are present in both the auxiliary
|
383
|
+
# version's overrides and the primary version's overrides, the value from
|
384
|
+
# the auxiliary version's overrides takes precedence.
|
385
|
+
# @!attribute [r] network_config
|
386
|
+
# @return [::Google::Cloud::Metastore::V1beta::NetworkConfig]
|
387
|
+
# Output only. The network configuration contains the endpoint URI(s) of the
|
388
|
+
# auxiliary Hive metastore service.
|
389
|
+
class AuxiliaryVersionConfig
|
390
|
+
include ::Google::Protobuf::MessageExts
|
391
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
392
|
+
|
393
|
+
# @!attribute [rw] key
|
394
|
+
# @return [::String]
|
395
|
+
# @!attribute [rw] value
|
396
|
+
# @return [::String]
|
397
|
+
class ConfigOverridesEntry
|
398
|
+
include ::Google::Protobuf::MessageExts
|
399
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
403
|
+
# Network configuration for the Dataproc Metastore service.
|
404
|
+
# @!attribute [rw] consumers
|
405
|
+
# @return [::Array<::Google::Cloud::Metastore::V1beta::NetworkConfig::Consumer>]
|
406
|
+
# Immutable. The consumer-side network configuration for the Dataproc
|
407
|
+
# Metastore instance.
|
408
|
+
class NetworkConfig
|
409
|
+
include ::Google::Protobuf::MessageExts
|
410
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
411
|
+
|
412
|
+
# Contains information of the customer's network configurations.
|
413
|
+
# @!attribute [rw] subnetwork
|
414
|
+
# @return [::String]
|
415
|
+
# Immutable. The subnetwork of the customer project from which an IP
|
416
|
+
# address is reserved and used as the Dataproc Metastore service's
|
417
|
+
# endpoint. It is accessible to hosts in the subnet and to all
|
418
|
+
# hosts in a subnet in the same region and same network. There must
|
419
|
+
# be at least one IP address available in the subnet's primary range. The
|
420
|
+
# subnet is specified in the following form:
|
421
|
+
#
|
422
|
+
# `projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}`
|
423
|
+
# @!attribute [r] endpoint_uri
|
424
|
+
# @return [::String]
|
425
|
+
# Output only. The URI of the endpoint used to access the metastore
|
426
|
+
# service.
|
427
|
+
class Consumer
|
428
|
+
include ::Google::Protobuf::MessageExts
|
429
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
# Telemetry Configuration for the Dataproc Metastore service.
|
434
|
+
# @!attribute [rw] log_format
|
435
|
+
# @return [::Google::Cloud::Metastore::V1beta::TelemetryConfig::LogFormat]
|
436
|
+
# The output format of the Dataproc Metastore service's logs.
|
437
|
+
class TelemetryConfig
|
438
|
+
include ::Google::Protobuf::MessageExts
|
439
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
440
|
+
|
441
|
+
module LogFormat
|
442
|
+
# The LOG_FORMAT is not set.
|
443
|
+
LOG_FORMAT_UNSPECIFIED = 0
|
444
|
+
|
445
|
+
# Logging output uses the legacy `textPayload` format.
|
446
|
+
LEGACY = 1
|
447
|
+
|
448
|
+
# Logging output uses the `jsonPayload` format.
|
449
|
+
JSON = 2
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
260
453
|
# The metadata management activities of the metastore service.
|
261
454
|
# @!attribute [r] metadata_exports
|
262
455
|
# @return [::Array<::Google::Cloud::Metastore::V1beta::MetadataExport>]
|
@@ -283,10 +476,13 @@ module Google
|
|
283
476
|
# The description of the metadata import.
|
284
477
|
# @!attribute [r] create_time
|
285
478
|
# @return [::Google::Protobuf::Timestamp]
|
286
|
-
# Output only. The time when the metadata import was
|
479
|
+
# Output only. The time when the metadata import was started.
|
287
480
|
# @!attribute [r] update_time
|
288
481
|
# @return [::Google::Protobuf::Timestamp]
|
289
482
|
# Output only. The time when the metadata import was last updated.
|
483
|
+
# @!attribute [r] end_time
|
484
|
+
# @return [::Google::Protobuf::Timestamp]
|
485
|
+
# Output only. The time when the metadata import finished.
|
290
486
|
# @!attribute [r] state
|
291
487
|
# @return [::Google::Cloud::Metastore::V1beta::MetadataImport::State]
|
292
488
|
# Output only. The current state of the metadata import.
|
@@ -407,6 +603,9 @@ module Google
|
|
407
603
|
# @!attribute [rw] description
|
408
604
|
# @return [::String]
|
409
605
|
# The description of the backup.
|
606
|
+
# @!attribute [r] restoring_services
|
607
|
+
# @return [::Array<::String>]
|
608
|
+
# Output only. Services that are restoring from the backup.
|
410
609
|
class Backup
|
411
610
|
include ::Google::Protobuf::MessageExts
|
412
611
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -427,6 +626,9 @@ module Google
|
|
427
626
|
|
428
627
|
# The backup failed.
|
429
628
|
FAILED = 4
|
629
|
+
|
630
|
+
# The backup is being restored.
|
631
|
+
RESTORING = 5
|
430
632
|
end
|
431
633
|
end
|
432
634
|
|
@@ -445,7 +647,7 @@ module Google
|
|
445
647
|
# Output only. The relative resource name of the metastore service backup to
|
446
648
|
# restore from, in the following form:
|
447
649
|
#
|
448
|
-
# `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}
|
650
|
+
# `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
|
449
651
|
# @!attribute [r] type
|
450
652
|
# @return [::Google::Cloud::Metastore::V1beta::Restore::RestoreType]
|
451
653
|
# Output only. The type of restore.
|
@@ -475,7 +677,7 @@ module Google
|
|
475
677
|
CANCELLED = 4
|
476
678
|
end
|
477
679
|
|
478
|
-
# The type of restore.
|
680
|
+
# The type of restore. If unspecified, defaults to `METADATA_ONLY`.
|
479
681
|
module RestoreType
|
480
682
|
# The restore type is unknown.
|
481
683
|
RESTORE_TYPE_UNSPECIFIED = 0
|
@@ -731,7 +933,7 @@ module Google
|
|
731
933
|
# Required. The relative resource name of the service in which to create a
|
732
934
|
# metastore import, in the following form:
|
733
935
|
#
|
734
|
-
# `projects/{project_number}/locations/{location_id}/services/{service_id}
|
936
|
+
# `projects/{project_number}/locations/{location_id}/services/{service_id}`.
|
735
937
|
# @!attribute [rw] metadata_import_id
|
736
938
|
# @return [::String]
|
737
939
|
# Required. The ID of the metadata import, which is used as the final
|
@@ -872,7 +1074,7 @@ module Google
|
|
872
1074
|
# Required. The relative resource name of the service in which to create a
|
873
1075
|
# backup of the following form:
|
874
1076
|
#
|
875
|
-
# `projects/{project_number}/locations/{location_id}/services/{service_id}
|
1077
|
+
# `projects/{project_number}/locations/{location_id}/services/{service_id}`.
|
876
1078
|
# @!attribute [rw] backup_id
|
877
1079
|
# @return [::String]
|
878
1080
|
# Required. The ID of the backup, which is used as the final component of the
|
@@ -943,7 +1145,7 @@ module Google
|
|
943
1145
|
# Required. The relative resource name of the metastore service to run
|
944
1146
|
# export, in the following form:
|
945
1147
|
#
|
946
|
-
# `projects/{project_id}/locations/{location_id}/services/{service_id}
|
1148
|
+
# `projects/{project_id}/locations/{location_id}/services/{service_id}`.
|
947
1149
|
# @!attribute [rw] request_id
|
948
1150
|
# @return [::String]
|
949
1151
|
# Optional. A request ID. Specify a unique request ID to allow the server to
|
@@ -973,13 +1175,13 @@ module Google
|
|
973
1175
|
# Required. The relative resource name of the metastore service to run
|
974
1176
|
# restore, in the following form:
|
975
1177
|
#
|
976
|
-
# `projects/{project_id}/locations/{location_id}/services/{service_id}
|
1178
|
+
# `projects/{project_id}/locations/{location_id}/services/{service_id}`.
|
977
1179
|
# @!attribute [rw] backup
|
978
1180
|
# @return [::String]
|
979
1181
|
# Required. The relative resource name of the metastore service backup to
|
980
1182
|
# restore from, in the following form:
|
981
1183
|
#
|
982
|
-
# `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}
|
1184
|
+
# `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
|
983
1185
|
# @!attribute [rw] restore_type
|
984
1186
|
# @return [::Google::Cloud::Metastore::V1beta::Restore::RestoreType]
|
985
1187
|
# Optional. The type of restore. If unspecified, defaults to `METADATA_ONLY`.
|
@@ -1069,8 +1271,131 @@ module Google
|
|
1069
1271
|
|
1070
1272
|
# Database dump is a MySQL dump file.
|
1071
1273
|
MYSQL = 1
|
1274
|
+
|
1275
|
+
# Database dump contains Avro files.
|
1276
|
+
AVRO = 2
|
1072
1277
|
end
|
1073
1278
|
end
|
1279
|
+
|
1280
|
+
# Request message for
|
1281
|
+
# {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#remove_iam_policy DataprocMetastore.RemoveIamPolicy}.
|
1282
|
+
# @!attribute [rw] resource
|
1283
|
+
# @return [::String]
|
1284
|
+
# Required. The relative resource name of the dataplane resource to remove
|
1285
|
+
# IAM policy, in the following form:
|
1286
|
+
#
|
1287
|
+
# `projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}`
|
1288
|
+
# or
|
1289
|
+
# `projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}`.
|
1290
|
+
# @!attribute [rw] asynchronous
|
1291
|
+
# @return [::Boolean]
|
1292
|
+
# Optional. Removes IAM policy attached to database or table asynchronously
|
1293
|
+
# when it is set. The default is false.
|
1294
|
+
class RemoveIamPolicyRequest
|
1295
|
+
include ::Google::Protobuf::MessageExts
|
1296
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
# Response message for
|
1300
|
+
# {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#remove_iam_policy DataprocMetastore.RemoveIamPolicy}.
|
1301
|
+
# @!attribute [rw] success
|
1302
|
+
# @return [::Boolean]
|
1303
|
+
# True if the policy is successfully removed.
|
1304
|
+
class RemoveIamPolicyResponse
|
1305
|
+
include ::Google::Protobuf::MessageExts
|
1306
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
# Request message for
|
1310
|
+
# {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#query_metadata DataprocMetastore.QueryMetadata}.
|
1311
|
+
# @!attribute [rw] service
|
1312
|
+
# @return [::String]
|
1313
|
+
# Required. The relative resource name of the metastore service to query
|
1314
|
+
# metadata, in the following format:
|
1315
|
+
#
|
1316
|
+
# `projects/{project_id}/locations/{location_id}/services/{service_id}`.
|
1317
|
+
# @!attribute [rw] query
|
1318
|
+
# @return [::String]
|
1319
|
+
# Required. A read-only SQL query to execute against the metadata database.
|
1320
|
+
# The query cannot change or mutate the data.
|
1321
|
+
class QueryMetadataRequest
|
1322
|
+
include ::Google::Protobuf::MessageExts
|
1323
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
# Response message for
|
1327
|
+
# {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#query_metadata DataprocMetastore.QueryMetadata}.
|
1328
|
+
# @!attribute [rw] result_manifest_uri
|
1329
|
+
# @return [::String]
|
1330
|
+
# The manifest URI is link to a JSON instance in Cloud Storage.
|
1331
|
+
# This instance manifests immediately along with QueryMetadataResponse. The
|
1332
|
+
# content of the URI is not retriable until the long-running operation query
|
1333
|
+
# against the metadata finishes.
|
1334
|
+
class QueryMetadataResponse
|
1335
|
+
include ::Google::Protobuf::MessageExts
|
1336
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1337
|
+
end
|
1338
|
+
|
1339
|
+
# Request message for
|
1340
|
+
# {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#move_table_to_database DataprocMetastore.MoveTableToDatabase}.
|
1341
|
+
# @!attribute [rw] service
|
1342
|
+
# @return [::String]
|
1343
|
+
# Required. The relative resource name of the metastore service to mutate
|
1344
|
+
# metadata, in the following format:
|
1345
|
+
#
|
1346
|
+
# `projects/{project_id}/locations/{location_id}/services/{service_id}`.
|
1347
|
+
# @!attribute [rw] table_name
|
1348
|
+
# @return [::String]
|
1349
|
+
# Required. The name of the table to be moved.
|
1350
|
+
# @!attribute [rw] db_name
|
1351
|
+
# @return [::String]
|
1352
|
+
# Required. The name of the database where the table resides.
|
1353
|
+
# @!attribute [rw] destination_db_name
|
1354
|
+
# @return [::String]
|
1355
|
+
# Required. The name of the database where the table should be moved.
|
1356
|
+
class MoveTableToDatabaseRequest
|
1357
|
+
include ::Google::Protobuf::MessageExts
|
1358
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
# Response message for
|
1362
|
+
# {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#move_table_to_database DataprocMetastore.MoveTableToDatabase}.
|
1363
|
+
class MoveTableToDatabaseResponse
|
1364
|
+
include ::Google::Protobuf::MessageExts
|
1365
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
# Request message for
|
1369
|
+
# {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#alter_metadata_resource_location DataprocMetastore.AlterMetadataResourceLocation}.
|
1370
|
+
# @!attribute [rw] service
|
1371
|
+
# @return [::String]
|
1372
|
+
# Required. The relative resource name of the metastore service to mutate
|
1373
|
+
# metadata, in the following format:
|
1374
|
+
#
|
1375
|
+
# `projects/{project_id}/locations/{location_id}/services/{service_id}`.
|
1376
|
+
# @!attribute [rw] resource_name
|
1377
|
+
# @return [::String]
|
1378
|
+
# Required. The relative metadata resource name in the following format.
|
1379
|
+
#
|
1380
|
+
# `databases/{database_id}`
|
1381
|
+
# or
|
1382
|
+
# `databases/{database_id}/tables/{table_id}`
|
1383
|
+
# or
|
1384
|
+
# `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`
|
1385
|
+
# @!attribute [rw] location_uri
|
1386
|
+
# @return [::String]
|
1387
|
+
# Required. The new location URI for the metadata resource.
|
1388
|
+
class AlterMetadataResourceLocationRequest
|
1389
|
+
include ::Google::Protobuf::MessageExts
|
1390
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
# Response message for
|
1394
|
+
# {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#alter_metadata_resource_location DataprocMetastore.AlterMetadataResourceLocation}.
|
1395
|
+
class AlterMetadataResourceLocationResponse
|
1396
|
+
include ::Google::Protobuf::MessageExts
|
1397
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1398
|
+
end
|
1074
1399
|
end
|
1075
1400
|
end
|
1076
1401
|
end
|