google-apis-metastore_v1alpha 0.13.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/metastore_v1alpha/classes.rb +123 -29
- data/lib/google/apis/metastore_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/metastore_v1alpha/representations.rb +46 -0
- data/lib/google/apis/metastore_v1alpha/service.rb +228 -0
- data/lib/google/apis/metastore_v1alpha.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d0295fc1341421eb51142fff394831ddcc6df885c22cb389e6916174aa5ded0
|
4
|
+
data.tar.gz: c021a8776e9099b6d004f6f4ba8e122c3308a6cd142830c3f27177c1268bd6d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b2d7159d584b7c83720052cc410bb8a2040a85f26e6dba7658cd6a2f4190e4dbc9fca9b3d8b10b5042ffb291770eae12e270c710dda3d5a418ac8d358f985a5
|
7
|
+
data.tar.gz: a431acb9b1ce3e986e403e87e3e1836a3aae1c2ce4c8d71f2d2c67802c7d520e4be4307b972449264dff2797ebe9d7f7854ab2448fe40a6bcd1d18cd3c868b89
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1alpha
|
2
2
|
|
3
|
+
### v0.17.0 (2021-10-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211018
|
6
|
+
|
7
|
+
### v0.16.0 (2021-09-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210824
|
10
|
+
|
11
|
+
### v0.15.0 (2021-07-29)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210721
|
14
|
+
|
15
|
+
### v0.14.0 (2021-07-08)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210702
|
18
|
+
|
3
19
|
### v0.13.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.4.0
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Metastore service in particular.)
|
67
67
|
|
@@ -119,6 +119,11 @@ module Google
|
|
119
119
|
# @return [String]
|
120
120
|
attr_accessor :name
|
121
121
|
|
122
|
+
# Output only. Services that are restoring from the backup.
|
123
|
+
# Corresponds to the JSON property `restoringServices`
|
124
|
+
# @return [Array<String>]
|
125
|
+
attr_accessor :restoring_services
|
126
|
+
|
122
127
|
# A managed metastore service that serves metadata queries.
|
123
128
|
# Corresponds to the JSON property `serviceRevision`
|
124
129
|
# @return [Google::Apis::MetastoreV1alpha::Service]
|
@@ -139,12 +144,13 @@ module Google
|
|
139
144
|
@description = args[:description] if args.key?(:description)
|
140
145
|
@end_time = args[:end_time] if args.key?(:end_time)
|
141
146
|
@name = args[:name] if args.key?(:name)
|
147
|
+
@restoring_services = args[:restoring_services] if args.key?(:restoring_services)
|
142
148
|
@service_revision = args[:service_revision] if args.key?(:service_revision)
|
143
149
|
@state = args[:state] if args.key?(:state)
|
144
150
|
end
|
145
151
|
end
|
146
152
|
|
147
|
-
# Associates members with a role.
|
153
|
+
# Associates members, or principals, with a role.
|
148
154
|
class Binding
|
149
155
|
include Google::Apis::Core::Hashable
|
150
156
|
|
@@ -167,7 +173,7 @@ module Google
|
|
167
173
|
# @return [Google::Apis::MetastoreV1alpha::Expr]
|
168
174
|
attr_accessor :condition
|
169
175
|
|
170
|
-
# Specifies the
|
176
|
+
# Specifies the principals requesting access for a Cloud Platform resource.
|
171
177
|
# members can have the following values: allUsers: A special identifier that
|
172
178
|
# represents anyone who is on the internet; with or without a Google account.
|
173
179
|
# allAuthenticatedUsers: A special identifier that represents anyone who is
|
@@ -196,8 +202,8 @@ module Google
|
|
196
202
|
# @return [Array<String>]
|
197
203
|
attr_accessor :members
|
198
204
|
|
199
|
-
# Role that is assigned to members. For example,
|
200
|
-
# roles/owner.
|
205
|
+
# Role that is assigned to the list of members, or principals. For example,
|
206
|
+
# roles/viewer, roles/editor, or roles/owner.
|
201
207
|
# Corresponds to the JSON property `role`
|
202
208
|
# @return [String]
|
203
209
|
attr_accessor :role
|
@@ -275,6 +281,28 @@ module Google
|
|
275
281
|
end
|
276
282
|
end
|
277
283
|
|
284
|
+
# Specifies how metastore metadata should be integrated with the Dataplex
|
285
|
+
# service.
|
286
|
+
class DataplexConfig
|
287
|
+
include Google::Apis::Core::Hashable
|
288
|
+
|
289
|
+
# A reference to the Lake resources that this metastore service is attached to.
|
290
|
+
# The key is the lake resource name. Example: projects/`project_number`/
|
291
|
+
# locations/`location_id`/lakes/`lake_id`.
|
292
|
+
# Corresponds to the JSON property `lakeResources`
|
293
|
+
# @return [Hash<String,Google::Apis::MetastoreV1alpha::Lake>]
|
294
|
+
attr_accessor :lake_resources
|
295
|
+
|
296
|
+
def initialize(**args)
|
297
|
+
update!(**args)
|
298
|
+
end
|
299
|
+
|
300
|
+
# Update properties of this object
|
301
|
+
def update!(**args)
|
302
|
+
@lake_resources = args[:lake_resources] if args.key?(:lake_resources)
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
278
306
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
279
307
|
# messages in your APIs. A typical example is to use it as the request or the
|
280
308
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -292,6 +320,27 @@ module Google
|
|
292
320
|
end
|
293
321
|
end
|
294
322
|
|
323
|
+
# Encryption settings for the service.
|
324
|
+
class EncryptionConfig
|
325
|
+
include Google::Apis::Core::Hashable
|
326
|
+
|
327
|
+
# The fully qualified customer provided Cloud KMS key name to use for customer
|
328
|
+
# data encryption, in the following form:projects/`project_number`/locations/`
|
329
|
+
# location_id`/keyRings/`key_ring_id`/cryptoKeys/`crypto_key_id`.
|
330
|
+
# Corresponds to the JSON property `kmsKey`
|
331
|
+
# @return [String]
|
332
|
+
attr_accessor :kms_key
|
333
|
+
|
334
|
+
def initialize(**args)
|
335
|
+
update!(**args)
|
336
|
+
end
|
337
|
+
|
338
|
+
# Update properties of this object
|
339
|
+
def update!(**args)
|
340
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
295
344
|
# Request message for DataprocMetastore.ExportMetadata.
|
296
345
|
class ExportMetadataRequest
|
297
346
|
include Google::Apis::Core::Hashable
|
@@ -397,6 +446,12 @@ module Google
|
|
397
446
|
# @return [Hash<String,String>]
|
398
447
|
attr_accessor :config_overrides
|
399
448
|
|
449
|
+
# The protocol to use for the metastore service endpoint. If unspecified,
|
450
|
+
# defaults to THRIFT.
|
451
|
+
# Corresponds to the JSON property `endpointProtocol`
|
452
|
+
# @return [String]
|
453
|
+
attr_accessor :endpoint_protocol
|
454
|
+
|
400
455
|
# Configuration information for a Kerberos principal.
|
401
456
|
# Corresponds to the JSON property `kerberosConfig`
|
402
457
|
# @return [Google::Apis::MetastoreV1alpha::KerberosConfig]
|
@@ -414,6 +469,7 @@ module Google
|
|
414
469
|
# Update properties of this object
|
415
470
|
def update!(**args)
|
416
471
|
@config_overrides = args[:config_overrides] if args.key?(:config_overrides)
|
472
|
+
@endpoint_protocol = args[:endpoint_protocol] if args.key?(:endpoint_protocol)
|
417
473
|
@kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
|
418
474
|
@version = args[:version] if args.key?(:version)
|
419
475
|
end
|
@@ -481,6 +537,26 @@ module Google
|
|
481
537
|
end
|
482
538
|
end
|
483
539
|
|
540
|
+
# Represents a Lake resource
|
541
|
+
class Lake
|
542
|
+
include Google::Apis::Core::Hashable
|
543
|
+
|
544
|
+
# The Lake resource name. Example: projects/`project_number`/locations/`
|
545
|
+
# location_id`/lakes/`lake_id`
|
546
|
+
# Corresponds to the JSON property `name`
|
547
|
+
# @return [String]
|
548
|
+
attr_accessor :name
|
549
|
+
|
550
|
+
def initialize(**args)
|
551
|
+
update!(**args)
|
552
|
+
end
|
553
|
+
|
554
|
+
# Update properties of this object
|
555
|
+
def update!(**args)
|
556
|
+
@name = args[:name] if args.key?(:name)
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
484
560
|
# Response message for DataprocMetastore.ListBackups.
|
485
561
|
class ListBackupsResponse
|
486
562
|
include Google::Apis::Core::Hashable
|
@@ -833,6 +909,12 @@ module Google
|
|
833
909
|
# @return [Google::Apis::MetastoreV1alpha::DataCatalogConfig]
|
834
910
|
attr_accessor :data_catalog_config
|
835
911
|
|
912
|
+
# Specifies how metastore metadata should be integrated with the Dataplex
|
913
|
+
# service.
|
914
|
+
# Corresponds to the JSON property `dataplexConfig`
|
915
|
+
# @return [Google::Apis::MetastoreV1alpha::DataplexConfig]
|
916
|
+
attr_accessor :dataplex_config
|
917
|
+
|
836
918
|
def initialize(**args)
|
837
919
|
update!(**args)
|
838
920
|
end
|
@@ -840,6 +922,7 @@ module Google
|
|
840
922
|
# Update properties of this object
|
841
923
|
def update!(**args)
|
842
924
|
@data_catalog_config = args[:data_catalog_config] if args.key?(:data_catalog_config)
|
925
|
+
@dataplex_config = args[:dataplex_config] if args.key?(:dataplex_config)
|
843
926
|
end
|
844
927
|
end
|
845
928
|
|
@@ -991,16 +1074,16 @@ module Google
|
|
991
1074
|
|
992
1075
|
# An Identity and Access Management (IAM) policy, which specifies access
|
993
1076
|
# controls for Google Cloud resources.A Policy is a collection of bindings. A
|
994
|
-
# binding binds one or more members to a single role.
|
995
|
-
# accounts, service accounts, Google groups, and domains (such as G
|
996
|
-
# role is a named list of permissions; each role can be an IAM
|
997
|
-
# or a user-created custom role.For some types of Google Cloud
|
998
|
-
# binding can also specify a condition, which is a logical
|
999
|
-
# allows access to a resource only if the expression evaluates
|
1000
|
-
# condition can add constraints based on attributes of the request,
|
1001
|
-
# or both. To learn which resources support conditions in their
|
1002
|
-
# see the IAM documentation (https://cloud.google.com/iam/help/
|
1003
|
-
# resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
1077
|
+
# binding binds one or more members, or principals, to a single role. Principals
|
1078
|
+
# can be user accounts, service accounts, Google groups, and domains (such as G
|
1079
|
+
# Suite). A role is a named list of permissions; each role can be an IAM
|
1080
|
+
# predefined role or a user-created custom role.For some types of Google Cloud
|
1081
|
+
# resources, a binding can also specify a condition, which is a logical
|
1082
|
+
# expression that allows access to a resource only if the expression evaluates
|
1083
|
+
# to true. A condition can add constraints based on attributes of the request,
|
1084
|
+
# the resource, or both. To learn which resources support conditions in their
|
1085
|
+
# IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/
|
1086
|
+
# conditions/resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
1004
1087
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1005
1088
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1006
1089
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
@@ -1013,7 +1096,7 @@ module Google
|
|
1013
1096
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1014
1097
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1015
1098
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1016
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1099
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1017
1100
|
# description of IAM and its features, see the IAM documentation (https://cloud.
|
1018
1101
|
# google.com/iam/docs/).
|
1019
1102
|
class Policy
|
@@ -1024,9 +1107,14 @@ module Google
|
|
1024
1107
|
# @return [Array<Google::Apis::MetastoreV1alpha::AuditConfig>]
|
1025
1108
|
attr_accessor :audit_configs
|
1026
1109
|
|
1027
|
-
# Associates a list of members
|
1028
|
-
# that determines how and when the bindings are applied.
|
1029
|
-
# must contain at least one
|
1110
|
+
# Associates a list of members, or principals, with a role. Optionally, may
|
1111
|
+
# specify a condition that determines how and when the bindings are applied.
|
1112
|
+
# Each of the bindings must contain at least one principal.The bindings in a
|
1113
|
+
# Policy can refer to up to 1,500 principals; up to 250 of these principals can
|
1114
|
+
# be Google groups. Each occurrence of a principal counts towards these limits.
|
1115
|
+
# For example, if the bindings grant 50 different roles to user:alice@example.
|
1116
|
+
# com, and not to any other principal, then you can add another 1,450 principals
|
1117
|
+
# to the bindings in the Policy.
|
1030
1118
|
# Corresponds to the JSON property `bindings`
|
1031
1119
|
# @return [Array<Google::Apis::MetastoreV1alpha::Binding>]
|
1032
1120
|
attr_accessor :bindings
|
@@ -1205,6 +1293,11 @@ module Google
|
|
1205
1293
|
# @return [String]
|
1206
1294
|
attr_accessor :create_time
|
1207
1295
|
|
1296
|
+
# Encryption settings for the service.
|
1297
|
+
# Corresponds to the JSON property `encryptionConfig`
|
1298
|
+
# @return [Google::Apis::MetastoreV1alpha::EncryptionConfig]
|
1299
|
+
attr_accessor :encryption_config
|
1300
|
+
|
1208
1301
|
# Output only. The URI of the endpoint used to access the metastore service.
|
1209
1302
|
# Corresponds to the JSON property `endpointUri`
|
1210
1303
|
# @return [String]
|
@@ -1295,6 +1388,7 @@ module Google
|
|
1295
1388
|
def update!(**args)
|
1296
1389
|
@artifact_gcs_uri = args[:artifact_gcs_uri] if args.key?(:artifact_gcs_uri)
|
1297
1390
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1391
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
1298
1392
|
@endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
|
1299
1393
|
@hive_metastore_config = args[:hive_metastore_config] if args.key?(:hive_metastore_config)
|
1300
1394
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -1319,16 +1413,16 @@ module Google
|
|
1319
1413
|
|
1320
1414
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1321
1415
|
# controls for Google Cloud resources.A Policy is a collection of bindings. A
|
1322
|
-
# binding binds one or more members to a single role.
|
1323
|
-
# accounts, service accounts, Google groups, and domains (such as G
|
1324
|
-
# role is a named list of permissions; each role can be an IAM
|
1325
|
-
# or a user-created custom role.For some types of Google Cloud
|
1326
|
-
# binding can also specify a condition, which is a logical
|
1327
|
-
# allows access to a resource only if the expression evaluates
|
1328
|
-
# condition can add constraints based on attributes of the request,
|
1329
|
-
# or both. To learn which resources support conditions in their
|
1330
|
-
# see the IAM documentation (https://cloud.google.com/iam/help/
|
1331
|
-
# resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
1416
|
+
# binding binds one or more members, or principals, to a single role. Principals
|
1417
|
+
# can be user accounts, service accounts, Google groups, and domains (such as G
|
1418
|
+
# Suite). A role is a named list of permissions; each role can be an IAM
|
1419
|
+
# predefined role or a user-created custom role.For some types of Google Cloud
|
1420
|
+
# resources, a binding can also specify a condition, which is a logical
|
1421
|
+
# expression that allows access to a resource only if the expression evaluates
|
1422
|
+
# to true. A condition can add constraints based on attributes of the request,
|
1423
|
+
# the resource, or both. To learn which resources support conditions in their
|
1424
|
+
# IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/
|
1425
|
+
# conditions/resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
1332
1426
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1333
1427
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1334
1428
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
@@ -1341,7 +1435,7 @@ module Google
|
|
1341
1435
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1342
1436
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1343
1437
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1344
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1438
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1345
1439
|
# description of IAM and its features, see the IAM documentation (https://cloud.
|
1346
1440
|
# google.com/iam/docs/).
|
1347
1441
|
# Corresponds to the JSON property `policy`
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MetastoreV1alpha
|
18
18
|
# Version of the google-apis-metastore_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211018"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,12 +58,24 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class DataplexConfig
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
61
67
|
class Empty
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
69
|
|
64
70
|
include Google::Apis::Core::JsonObjectSupport
|
65
71
|
end
|
66
72
|
|
73
|
+
class EncryptionConfig
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
67
79
|
class ExportMetadataRequest
|
68
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
81
|
|
@@ -94,6 +106,12 @@ module Google
|
|
94
106
|
include Google::Apis::Core::JsonObjectSupport
|
95
107
|
end
|
96
108
|
|
109
|
+
class Lake
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
97
115
|
class ListBackupsResponse
|
98
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
117
|
|
@@ -256,6 +274,7 @@ module Google
|
|
256
274
|
property :description, as: 'description'
|
257
275
|
property :end_time, as: 'endTime'
|
258
276
|
property :name, as: 'name'
|
277
|
+
collection :restoring_services, as: 'restoringServices'
|
259
278
|
property :service_revision, as: 'serviceRevision', class: Google::Apis::MetastoreV1alpha::Service, decorator: Google::Apis::MetastoreV1alpha::Service::Representation
|
260
279
|
|
261
280
|
property :state, as: 'state'
|
@@ -289,12 +308,27 @@ module Google
|
|
289
308
|
end
|
290
309
|
end
|
291
310
|
|
311
|
+
class DataplexConfig
|
312
|
+
# @private
|
313
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
314
|
+
hash :lake_resources, as: 'lakeResources', class: Google::Apis::MetastoreV1alpha::Lake, decorator: Google::Apis::MetastoreV1alpha::Lake::Representation
|
315
|
+
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
292
319
|
class Empty
|
293
320
|
# @private
|
294
321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
295
322
|
end
|
296
323
|
end
|
297
324
|
|
325
|
+
class EncryptionConfig
|
326
|
+
# @private
|
327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
328
|
+
property :kms_key, as: 'kmsKey'
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
298
332
|
class ExportMetadataRequest
|
299
333
|
# @private
|
300
334
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -318,6 +352,7 @@ module Google
|
|
318
352
|
# @private
|
319
353
|
class Representation < Google::Apis::Core::JsonRepresentation
|
320
354
|
hash :config_overrides, as: 'configOverrides'
|
355
|
+
property :endpoint_protocol, as: 'endpointProtocol'
|
321
356
|
property :kerberos_config, as: 'kerberosConfig', class: Google::Apis::MetastoreV1alpha::KerberosConfig, decorator: Google::Apis::MetastoreV1alpha::KerberosConfig::Representation
|
322
357
|
|
323
358
|
property :version, as: 'version'
|
@@ -342,6 +377,13 @@ module Google
|
|
342
377
|
end
|
343
378
|
end
|
344
379
|
|
380
|
+
class Lake
|
381
|
+
# @private
|
382
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
383
|
+
property :name, as: 'name'
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
345
387
|
class ListBackupsResponse
|
346
388
|
# @private
|
347
389
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -447,6 +489,8 @@ module Google
|
|
447
489
|
class Representation < Google::Apis::Core::JsonRepresentation
|
448
490
|
property :data_catalog_config, as: 'dataCatalogConfig', class: Google::Apis::MetastoreV1alpha::DataCatalogConfig, decorator: Google::Apis::MetastoreV1alpha::DataCatalogConfig::Representation
|
449
491
|
|
492
|
+
property :dataplex_config, as: 'dataplexConfig', class: Google::Apis::MetastoreV1alpha::DataplexConfig, decorator: Google::Apis::MetastoreV1alpha::DataplexConfig::Representation
|
493
|
+
|
450
494
|
end
|
451
495
|
end
|
452
496
|
|
@@ -530,6 +574,8 @@ module Google
|
|
530
574
|
class Representation < Google::Apis::Core::JsonRepresentation
|
531
575
|
property :artifact_gcs_uri, as: 'artifactGcsUri'
|
532
576
|
property :create_time, as: 'createTime'
|
577
|
+
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::MetastoreV1alpha::EncryptionConfig, decorator: Google::Apis::MetastoreV1alpha::EncryptionConfig::Representation
|
578
|
+
|
533
579
|
property :endpoint_uri, as: 'endpointUri'
|
534
580
|
property :hive_metastore_config, as: 'hiveMetastoreConfig', class: Google::Apis::MetastoreV1alpha::HiveMetastoreConfig, decorator: Google::Apis::MetastoreV1alpha::HiveMetastoreConfig::Representation
|
535
581
|
|
@@ -933,6 +933,234 @@ module Google
|
|
933
933
|
execute_or_queue_command(command, &block)
|
934
934
|
end
|
935
935
|
|
936
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
937
|
+
# resource exists and does not have a policy set.
|
938
|
+
# @param [String] resource
|
939
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
940
|
+
# operation documentation for the appropriate value for this field.
|
941
|
+
# @param [Fixnum] options_requested_policy_version
|
942
|
+
# Optional. The policy format version to be returned.Valid values are 0, 1, and
|
943
|
+
# 3. Requests specifying an invalid value will be rejected.Requests for policies
|
944
|
+
# with any conditional bindings must specify version 3. Policies without any
|
945
|
+
# conditional bindings may specify any valid value or leave the field unset.To
|
946
|
+
# learn which resources support conditions in their IAM policies, see the IAM
|
947
|
+
# documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
|
948
|
+
# @param [String] fields
|
949
|
+
# Selector specifying which fields to include in a partial response.
|
950
|
+
# @param [String] quota_user
|
951
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
952
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
953
|
+
# @param [Google::Apis::RequestOptions] options
|
954
|
+
# Request-specific options
|
955
|
+
#
|
956
|
+
# @yield [result, err] Result & error if block supplied
|
957
|
+
# @yieldparam result [Google::Apis::MetastoreV1alpha::Policy] parsed result object
|
958
|
+
# @yieldparam err [StandardError] error object if request failed
|
959
|
+
#
|
960
|
+
# @return [Google::Apis::MetastoreV1alpha::Policy]
|
961
|
+
#
|
962
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
963
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
964
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
965
|
+
def get_project_location_service_database_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
966
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
967
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::Policy::Representation
|
968
|
+
command.response_class = Google::Apis::MetastoreV1alpha::Policy
|
969
|
+
command.params['resource'] = resource unless resource.nil?
|
970
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
971
|
+
command.query['fields'] = fields unless fields.nil?
|
972
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
973
|
+
execute_or_queue_command(command, &block)
|
974
|
+
end
|
975
|
+
|
976
|
+
# Sets the access control policy on the specified resource. Replaces any
|
977
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
978
|
+
# errors.
|
979
|
+
# @param [String] resource
|
980
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
981
|
+
# operation documentation for the appropriate value for this field.
|
982
|
+
# @param [Google::Apis::MetastoreV1alpha::SetIamPolicyRequest] set_iam_policy_request_object
|
983
|
+
# @param [String] fields
|
984
|
+
# Selector specifying which fields to include in a partial response.
|
985
|
+
# @param [String] quota_user
|
986
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
987
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
988
|
+
# @param [Google::Apis::RequestOptions] options
|
989
|
+
# Request-specific options
|
990
|
+
#
|
991
|
+
# @yield [result, err] Result & error if block supplied
|
992
|
+
# @yieldparam result [Google::Apis::MetastoreV1alpha::Policy] parsed result object
|
993
|
+
# @yieldparam err [StandardError] error object if request failed
|
994
|
+
#
|
995
|
+
# @return [Google::Apis::MetastoreV1alpha::Policy]
|
996
|
+
#
|
997
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
998
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
999
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1000
|
+
def set_database_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1001
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
1002
|
+
command.request_representation = Google::Apis::MetastoreV1alpha::SetIamPolicyRequest::Representation
|
1003
|
+
command.request_object = set_iam_policy_request_object
|
1004
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::Policy::Representation
|
1005
|
+
command.response_class = Google::Apis::MetastoreV1alpha::Policy
|
1006
|
+
command.params['resource'] = resource unless resource.nil?
|
1007
|
+
command.query['fields'] = fields unless fields.nil?
|
1008
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1009
|
+
execute_or_queue_command(command, &block)
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1013
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
1014
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
1015
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1016
|
+
# This operation may "fail open" without warning.
|
1017
|
+
# @param [String] resource
|
1018
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1019
|
+
# operation documentation for the appropriate value for this field.
|
1020
|
+
# @param [Google::Apis::MetastoreV1alpha::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1021
|
+
# @param [String] fields
|
1022
|
+
# Selector specifying which fields to include in a partial response.
|
1023
|
+
# @param [String] quota_user
|
1024
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1025
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1026
|
+
# @param [Google::Apis::RequestOptions] options
|
1027
|
+
# Request-specific options
|
1028
|
+
#
|
1029
|
+
# @yield [result, err] Result & error if block supplied
|
1030
|
+
# @yieldparam result [Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse] parsed result object
|
1031
|
+
# @yieldparam err [StandardError] error object if request failed
|
1032
|
+
#
|
1033
|
+
# @return [Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse]
|
1034
|
+
#
|
1035
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1036
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1037
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1038
|
+
def test_database_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1039
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
1040
|
+
command.request_representation = Google::Apis::MetastoreV1alpha::TestIamPermissionsRequest::Representation
|
1041
|
+
command.request_object = test_iam_permissions_request_object
|
1042
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse::Representation
|
1043
|
+
command.response_class = Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse
|
1044
|
+
command.params['resource'] = resource unless resource.nil?
|
1045
|
+
command.query['fields'] = fields unless fields.nil?
|
1046
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1047
|
+
execute_or_queue_command(command, &block)
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1051
|
+
# resource exists and does not have a policy set.
|
1052
|
+
# @param [String] resource
|
1053
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
1054
|
+
# operation documentation for the appropriate value for this field.
|
1055
|
+
# @param [Fixnum] options_requested_policy_version
|
1056
|
+
# Optional. The policy format version to be returned.Valid values are 0, 1, and
|
1057
|
+
# 3. Requests specifying an invalid value will be rejected.Requests for policies
|
1058
|
+
# with any conditional bindings must specify version 3. Policies without any
|
1059
|
+
# conditional bindings may specify any valid value or leave the field unset.To
|
1060
|
+
# learn which resources support conditions in their IAM policies, see the IAM
|
1061
|
+
# documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
|
1062
|
+
# @param [String] fields
|
1063
|
+
# Selector specifying which fields to include in a partial response.
|
1064
|
+
# @param [String] quota_user
|
1065
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1066
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1067
|
+
# @param [Google::Apis::RequestOptions] options
|
1068
|
+
# Request-specific options
|
1069
|
+
#
|
1070
|
+
# @yield [result, err] Result & error if block supplied
|
1071
|
+
# @yieldparam result [Google::Apis::MetastoreV1alpha::Policy] parsed result object
|
1072
|
+
# @yieldparam err [StandardError] error object if request failed
|
1073
|
+
#
|
1074
|
+
# @return [Google::Apis::MetastoreV1alpha::Policy]
|
1075
|
+
#
|
1076
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1077
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1078
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1079
|
+
def get_project_location_service_database_table_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1080
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
1081
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::Policy::Representation
|
1082
|
+
command.response_class = Google::Apis::MetastoreV1alpha::Policy
|
1083
|
+
command.params['resource'] = resource unless resource.nil?
|
1084
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1085
|
+
command.query['fields'] = fields unless fields.nil?
|
1086
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1087
|
+
execute_or_queue_command(command, &block)
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1091
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1092
|
+
# errors.
|
1093
|
+
# @param [String] resource
|
1094
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
1095
|
+
# operation documentation for the appropriate value for this field.
|
1096
|
+
# @param [Google::Apis::MetastoreV1alpha::SetIamPolicyRequest] set_iam_policy_request_object
|
1097
|
+
# @param [String] fields
|
1098
|
+
# Selector specifying which fields to include in a partial response.
|
1099
|
+
# @param [String] quota_user
|
1100
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1101
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1102
|
+
# @param [Google::Apis::RequestOptions] options
|
1103
|
+
# Request-specific options
|
1104
|
+
#
|
1105
|
+
# @yield [result, err] Result & error if block supplied
|
1106
|
+
# @yieldparam result [Google::Apis::MetastoreV1alpha::Policy] parsed result object
|
1107
|
+
# @yieldparam err [StandardError] error object if request failed
|
1108
|
+
#
|
1109
|
+
# @return [Google::Apis::MetastoreV1alpha::Policy]
|
1110
|
+
#
|
1111
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1112
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1113
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1114
|
+
def set_table_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1115
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
1116
|
+
command.request_representation = Google::Apis::MetastoreV1alpha::SetIamPolicyRequest::Representation
|
1117
|
+
command.request_object = set_iam_policy_request_object
|
1118
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::Policy::Representation
|
1119
|
+
command.response_class = Google::Apis::MetastoreV1alpha::Policy
|
1120
|
+
command.params['resource'] = resource unless resource.nil?
|
1121
|
+
command.query['fields'] = fields unless fields.nil?
|
1122
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1123
|
+
execute_or_queue_command(command, &block)
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1127
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
1128
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
1129
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1130
|
+
# This operation may "fail open" without warning.
|
1131
|
+
# @param [String] resource
|
1132
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1133
|
+
# operation documentation for the appropriate value for this field.
|
1134
|
+
# @param [Google::Apis::MetastoreV1alpha::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1135
|
+
# @param [String] fields
|
1136
|
+
# Selector specifying which fields to include in a partial response.
|
1137
|
+
# @param [String] quota_user
|
1138
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1139
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1140
|
+
# @param [Google::Apis::RequestOptions] options
|
1141
|
+
# Request-specific options
|
1142
|
+
#
|
1143
|
+
# @yield [result, err] Result & error if block supplied
|
1144
|
+
# @yieldparam result [Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse] parsed result object
|
1145
|
+
# @yieldparam err [StandardError] error object if request failed
|
1146
|
+
#
|
1147
|
+
# @return [Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse]
|
1148
|
+
#
|
1149
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1150
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1151
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1152
|
+
def test_table_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1153
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
1154
|
+
command.request_representation = Google::Apis::MetastoreV1alpha::TestIamPermissionsRequest::Representation
|
1155
|
+
command.request_object = test_iam_permissions_request_object
|
1156
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse::Representation
|
1157
|
+
command.response_class = Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse
|
1158
|
+
command.params['resource'] = resource unless resource.nil?
|
1159
|
+
command.query['fields'] = fields unless fields.nil?
|
1160
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1161
|
+
execute_or_queue_command(command, &block)
|
1162
|
+
end
|
1163
|
+
|
936
1164
|
# Creates a new MetadataImport in a given project and location.
|
937
1165
|
# @param [String] parent
|
938
1166
|
# Required. The relative resource name of the service in which to create a
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1alpha'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-metastore_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.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: 2021-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1alpha/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.17.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|