google-apis-metastore_v1alpha 0.14.0 → 0.18.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 +152 -29
- data/lib/google/apis/metastore_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/metastore_v1alpha/representations.rb +61 -0
- data/lib/google/apis/metastore_v1alpha/service.rb +256 -12
- 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: a188bdf41c0d6ceb02b2e32b5aeadd5149bda6966edbe9e98895622643ee10e4
|
4
|
+
data.tar.gz: 8eebffa5a19d5d329777008f0e966d5df41ade66dcc71f1cd775d0fdbad6f767
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82dd68fefd8ff805b13be1ee32052906f177e813e57eb2a98fdd4916ec013e0ef7996393cbefaa3eded9d196f5cc53cc67d23210c5955ddeeba590040734dd64
|
7
|
+
data.tar.gz: 45994c775e5d822f8c02bf52db834121d033f2c5f2ca151caa2c4eed6c475c1a6b8df4425e4ce458aaacf2984f6349b6e261d084fc8c343f59fcf61542d7b5fd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1alpha
|
2
2
|
|
3
|
+
### v0.18.0 (2021-11-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211106
|
6
|
+
|
7
|
+
### v0.17.0 (2021-10-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211018
|
10
|
+
|
11
|
+
### v0.16.0 (2021-09-01)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210824
|
14
|
+
|
15
|
+
### v0.15.0 (2021-07-29)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210721
|
18
|
+
|
3
19
|
### v0.14.0 (2021-07-08)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210702
|
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
|
@@ -214,6 +220,36 @@ module Google
|
|
214
220
|
end
|
215
221
|
end
|
216
222
|
|
223
|
+
# Contains information of the customer's network configurations.
|
224
|
+
class Consumer
|
225
|
+
include Google::Apis::Core::Hashable
|
226
|
+
|
227
|
+
# Output only. The URI of the endpoint used to access the metastore service.
|
228
|
+
# Corresponds to the JSON property `endpointUri`
|
229
|
+
# @return [String]
|
230
|
+
attr_accessor :endpoint_uri
|
231
|
+
|
232
|
+
# The subnetwork of the customer project from which an IP address is reserved
|
233
|
+
# and used as the Dataproc Metastore service's endpoint. It is accessible to
|
234
|
+
# hosts in the subnet and to all hosts in a subnet in the same region and same
|
235
|
+
# network. There must be at least one IP address available in the subnet's
|
236
|
+
# primary range. The subnet is specified in the following form:`projects/`
|
237
|
+
# project_number`/regions/`region_id`/subnetworks/`subnetwork_id`
|
238
|
+
# Corresponds to the JSON property `subnetwork`
|
239
|
+
# @return [String]
|
240
|
+
attr_accessor :subnetwork
|
241
|
+
|
242
|
+
def initialize(**args)
|
243
|
+
update!(**args)
|
244
|
+
end
|
245
|
+
|
246
|
+
# Update properties of this object
|
247
|
+
def update!(**args)
|
248
|
+
@endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
|
249
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
217
253
|
# Specifies how metastore metadata should be integrated with the Data Catalog
|
218
254
|
# service.
|
219
255
|
class DataCatalogConfig
|
@@ -275,6 +311,28 @@ module Google
|
|
275
311
|
end
|
276
312
|
end
|
277
313
|
|
314
|
+
# Specifies how metastore metadata should be integrated with the Dataplex
|
315
|
+
# service.
|
316
|
+
class DataplexConfig
|
317
|
+
include Google::Apis::Core::Hashable
|
318
|
+
|
319
|
+
# A reference to the Lake resources that this metastore service is attached to.
|
320
|
+
# The key is the lake resource name. Example: projects/`project_number`/
|
321
|
+
# locations/`location_id`/lakes/`lake_id`.
|
322
|
+
# Corresponds to the JSON property `lakeResources`
|
323
|
+
# @return [Hash<String,Google::Apis::MetastoreV1alpha::Lake>]
|
324
|
+
attr_accessor :lake_resources
|
325
|
+
|
326
|
+
def initialize(**args)
|
327
|
+
update!(**args)
|
328
|
+
end
|
329
|
+
|
330
|
+
# Update properties of this object
|
331
|
+
def update!(**args)
|
332
|
+
@lake_resources = args[:lake_resources] if args.key?(:lake_resources)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
278
336
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
279
337
|
# messages in your APIs. A typical example is to use it as the request or the
|
280
338
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -418,6 +476,12 @@ module Google
|
|
418
476
|
# @return [Hash<String,String>]
|
419
477
|
attr_accessor :config_overrides
|
420
478
|
|
479
|
+
# The protocol to use for the metastore service endpoint. If unspecified,
|
480
|
+
# defaults to THRIFT.
|
481
|
+
# Corresponds to the JSON property `endpointProtocol`
|
482
|
+
# @return [String]
|
483
|
+
attr_accessor :endpoint_protocol
|
484
|
+
|
421
485
|
# Configuration information for a Kerberos principal.
|
422
486
|
# Corresponds to the JSON property `kerberosConfig`
|
423
487
|
# @return [Google::Apis::MetastoreV1alpha::KerberosConfig]
|
@@ -435,6 +499,7 @@ module Google
|
|
435
499
|
# Update properties of this object
|
436
500
|
def update!(**args)
|
437
501
|
@config_overrides = args[:config_overrides] if args.key?(:config_overrides)
|
502
|
+
@endpoint_protocol = args[:endpoint_protocol] if args.key?(:endpoint_protocol)
|
438
503
|
@kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
|
439
504
|
@version = args[:version] if args.key?(:version)
|
440
505
|
end
|
@@ -502,6 +567,26 @@ module Google
|
|
502
567
|
end
|
503
568
|
end
|
504
569
|
|
570
|
+
# Represents a Lake resource
|
571
|
+
class Lake
|
572
|
+
include Google::Apis::Core::Hashable
|
573
|
+
|
574
|
+
# The Lake resource name. Example: projects/`project_number`/locations/`
|
575
|
+
# location_id`/lakes/`lake_id`
|
576
|
+
# Corresponds to the JSON property `name`
|
577
|
+
# @return [String]
|
578
|
+
attr_accessor :name
|
579
|
+
|
580
|
+
def initialize(**args)
|
581
|
+
update!(**args)
|
582
|
+
end
|
583
|
+
|
584
|
+
# Update properties of this object
|
585
|
+
def update!(**args)
|
586
|
+
@name = args[:name] if args.key?(:name)
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
505
590
|
# Response message for DataprocMetastore.ListBackups.
|
506
591
|
class ListBackupsResponse
|
507
592
|
include Google::Apis::Core::Hashable
|
@@ -854,6 +939,12 @@ module Google
|
|
854
939
|
# @return [Google::Apis::MetastoreV1alpha::DataCatalogConfig]
|
855
940
|
attr_accessor :data_catalog_config
|
856
941
|
|
942
|
+
# Specifies how metastore metadata should be integrated with the Dataplex
|
943
|
+
# service.
|
944
|
+
# Corresponds to the JSON property `dataplexConfig`
|
945
|
+
# @return [Google::Apis::MetastoreV1alpha::DataplexConfig]
|
946
|
+
attr_accessor :dataplex_config
|
947
|
+
|
857
948
|
def initialize(**args)
|
858
949
|
update!(**args)
|
859
950
|
end
|
@@ -861,6 +952,7 @@ module Google
|
|
861
952
|
# Update properties of this object
|
862
953
|
def update!(**args)
|
863
954
|
@data_catalog_config = args[:data_catalog_config] if args.key?(:data_catalog_config)
|
955
|
+
@dataplex_config = args[:dataplex_config] if args.key?(:dataplex_config)
|
864
956
|
end
|
865
957
|
end
|
866
958
|
|
@@ -889,6 +981,26 @@ module Google
|
|
889
981
|
end
|
890
982
|
end
|
891
983
|
|
984
|
+
# Network configuration for the Dataproc Metastore service.
|
985
|
+
class NetworkConfig
|
986
|
+
include Google::Apis::Core::Hashable
|
987
|
+
|
988
|
+
# Immutable. The consumer-side network configuration for the Dataproc Metastore
|
989
|
+
# instance.
|
990
|
+
# Corresponds to the JSON property `consumers`
|
991
|
+
# @return [Array<Google::Apis::MetastoreV1alpha::Consumer>]
|
992
|
+
attr_accessor :consumers
|
993
|
+
|
994
|
+
def initialize(**args)
|
995
|
+
update!(**args)
|
996
|
+
end
|
997
|
+
|
998
|
+
# Update properties of this object
|
999
|
+
def update!(**args)
|
1000
|
+
@consumers = args[:consumers] if args.key?(:consumers)
|
1001
|
+
end
|
1002
|
+
end
|
1003
|
+
|
892
1004
|
# This resource represents a long-running operation that is the result of a
|
893
1005
|
# network API call.
|
894
1006
|
class Operation
|
@@ -1012,16 +1124,16 @@ module Google
|
|
1012
1124
|
|
1013
1125
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1014
1126
|
# controls for Google Cloud resources.A Policy is a collection of bindings. A
|
1015
|
-
# binding binds one or more members to a single role.
|
1016
|
-
# accounts, service accounts, Google groups, and domains (such as G
|
1017
|
-
# role is a named list of permissions; each role can be an IAM
|
1018
|
-
# or a user-created custom role.For some types of Google Cloud
|
1019
|
-
# binding can also specify a condition, which is a logical
|
1020
|
-
# allows access to a resource only if the expression evaluates
|
1021
|
-
# condition can add constraints based on attributes of the request,
|
1022
|
-
# or both. To learn which resources support conditions in their
|
1023
|
-
# see the IAM documentation (https://cloud.google.com/iam/help/
|
1024
|
-
# resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
1127
|
+
# binding binds one or more members, or principals, to a single role. Principals
|
1128
|
+
# can be user accounts, service accounts, Google groups, and domains (such as G
|
1129
|
+
# Suite). A role is a named list of permissions; each role can be an IAM
|
1130
|
+
# predefined role or a user-created custom role.For some types of Google Cloud
|
1131
|
+
# resources, a binding can also specify a condition, which is a logical
|
1132
|
+
# expression that allows access to a resource only if the expression evaluates
|
1133
|
+
# to true. A condition can add constraints based on attributes of the request,
|
1134
|
+
# the resource, or both. To learn which resources support conditions in their
|
1135
|
+
# IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/
|
1136
|
+
# conditions/resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
1025
1137
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1026
1138
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1027
1139
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
@@ -1034,7 +1146,7 @@ module Google
|
|
1034
1146
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1035
1147
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1036
1148
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1037
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1149
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1038
1150
|
# description of IAM and its features, see the IAM documentation (https://cloud.
|
1039
1151
|
# google.com/iam/docs/).
|
1040
1152
|
class Policy
|
@@ -1045,9 +1157,14 @@ module Google
|
|
1045
1157
|
# @return [Array<Google::Apis::MetastoreV1alpha::AuditConfig>]
|
1046
1158
|
attr_accessor :audit_configs
|
1047
1159
|
|
1048
|
-
# Associates a list of members
|
1049
|
-
# that determines how and when the bindings are applied.
|
1050
|
-
# must contain at least one
|
1160
|
+
# Associates a list of members, or principals, with a role. Optionally, may
|
1161
|
+
# specify a condition that determines how and when the bindings are applied.
|
1162
|
+
# Each of the bindings must contain at least one principal.The bindings in a
|
1163
|
+
# Policy can refer to up to 1,500 principals; up to 250 of these principals can
|
1164
|
+
# be Google groups. Each occurrence of a principal counts towards these limits.
|
1165
|
+
# For example, if the bindings grant 50 different roles to user:alice@example.
|
1166
|
+
# com, and not to any other principal, then you can add another 1,450 principals
|
1167
|
+
# to the bindings in the Policy.
|
1051
1168
|
# Corresponds to the JSON property `bindings`
|
1052
1169
|
# @return [Array<Google::Apis::MetastoreV1alpha::Binding>]
|
1053
1170
|
attr_accessor :bindings
|
@@ -1276,6 +1393,11 @@ module Google
|
|
1276
1393
|
# @return [String]
|
1277
1394
|
attr_accessor :network
|
1278
1395
|
|
1396
|
+
# Network configuration for the Dataproc Metastore service.
|
1397
|
+
# Corresponds to the JSON property `networkConfig`
|
1398
|
+
# @return [Google::Apis::MetastoreV1alpha::NetworkConfig]
|
1399
|
+
attr_accessor :network_config
|
1400
|
+
|
1279
1401
|
# The TCP port at which the metastore service is reached. Default: 9083.
|
1280
1402
|
# Corresponds to the JSON property `port`
|
1281
1403
|
# @return [Fixnum]
|
@@ -1330,6 +1452,7 @@ module Google
|
|
1330
1452
|
@metadata_management_activity = args[:metadata_management_activity] if args.key?(:metadata_management_activity)
|
1331
1453
|
@name = args[:name] if args.key?(:name)
|
1332
1454
|
@network = args[:network] if args.key?(:network)
|
1455
|
+
@network_config = args[:network_config] if args.key?(:network_config)
|
1333
1456
|
@port = args[:port] if args.key?(:port)
|
1334
1457
|
@release_channel = args[:release_channel] if args.key?(:release_channel)
|
1335
1458
|
@state = args[:state] if args.key?(:state)
|
@@ -1346,16 +1469,16 @@ module Google
|
|
1346
1469
|
|
1347
1470
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1348
1471
|
# controls for Google Cloud resources.A Policy is a collection of bindings. A
|
1349
|
-
# binding binds one or more members to a single role.
|
1350
|
-
# accounts, service accounts, Google groups, and domains (such as G
|
1351
|
-
# role is a named list of permissions; each role can be an IAM
|
1352
|
-
# or a user-created custom role.For some types of Google Cloud
|
1353
|
-
# binding can also specify a condition, which is a logical
|
1354
|
-
# allows access to a resource only if the expression evaluates
|
1355
|
-
# condition can add constraints based on attributes of the request,
|
1356
|
-
# or both. To learn which resources support conditions in their
|
1357
|
-
# see the IAM documentation (https://cloud.google.com/iam/help/
|
1358
|
-
# resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
1472
|
+
# binding binds one or more members, or principals, to a single role. Principals
|
1473
|
+
# can be user accounts, service accounts, Google groups, and domains (such as G
|
1474
|
+
# Suite). A role is a named list of permissions; each role can be an IAM
|
1475
|
+
# predefined role or a user-created custom role.For some types of Google Cloud
|
1476
|
+
# resources, a binding can also specify a condition, which is a logical
|
1477
|
+
# expression that allows access to a resource only if the expression evaluates
|
1478
|
+
# to true. A condition can add constraints based on attributes of the request,
|
1479
|
+
# the resource, or both. To learn which resources support conditions in their
|
1480
|
+
# IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/
|
1481
|
+
# conditions/resource-policies).JSON example: ` "bindings": [ ` "role": "roles/
|
1359
1482
|
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1360
1483
|
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1361
1484
|
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
@@ -1368,7 +1491,7 @@ module Google
|
|
1368
1491
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1369
1492
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1370
1493
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1371
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1494
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1372
1495
|
# description of IAM and its features, see the IAM documentation (https://cloud.
|
1373
1496
|
# google.com/iam/docs/).
|
1374
1497
|
# 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.18.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 = "20211106"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class Consumer
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class DataCatalogConfig
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -58,6 +64,12 @@ module Google
|
|
58
64
|
include Google::Apis::Core::JsonObjectSupport
|
59
65
|
end
|
60
66
|
|
67
|
+
class DataplexConfig
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
61
73
|
class Empty
|
62
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
75
|
|
@@ -100,6 +112,12 @@ module Google
|
|
100
112
|
include Google::Apis::Core::JsonObjectSupport
|
101
113
|
end
|
102
114
|
|
115
|
+
class Lake
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
103
121
|
class ListBackupsResponse
|
104
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
123
|
|
@@ -172,6 +190,12 @@ module Google
|
|
172
190
|
include Google::Apis::Core::JsonObjectSupport
|
173
191
|
end
|
174
192
|
|
193
|
+
class NetworkConfig
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
175
199
|
class Operation
|
176
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
201
|
|
@@ -262,6 +286,7 @@ module Google
|
|
262
286
|
property :description, as: 'description'
|
263
287
|
property :end_time, as: 'endTime'
|
264
288
|
property :name, as: 'name'
|
289
|
+
collection :restoring_services, as: 'restoringServices'
|
265
290
|
property :service_revision, as: 'serviceRevision', class: Google::Apis::MetastoreV1alpha::Service, decorator: Google::Apis::MetastoreV1alpha::Service::Representation
|
266
291
|
|
267
292
|
property :state, as: 'state'
|
@@ -278,6 +303,14 @@ module Google
|
|
278
303
|
end
|
279
304
|
end
|
280
305
|
|
306
|
+
class Consumer
|
307
|
+
# @private
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
309
|
+
property :endpoint_uri, as: 'endpointUri'
|
310
|
+
property :subnetwork, as: 'subnetwork'
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
281
314
|
class DataCatalogConfig
|
282
315
|
# @private
|
283
316
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -295,6 +328,14 @@ module Google
|
|
295
328
|
end
|
296
329
|
end
|
297
330
|
|
331
|
+
class DataplexConfig
|
332
|
+
# @private
|
333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
334
|
+
hash :lake_resources, as: 'lakeResources', class: Google::Apis::MetastoreV1alpha::Lake, decorator: Google::Apis::MetastoreV1alpha::Lake::Representation
|
335
|
+
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
298
339
|
class Empty
|
299
340
|
# @private
|
300
341
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -331,6 +372,7 @@ module Google
|
|
331
372
|
# @private
|
332
373
|
class Representation < Google::Apis::Core::JsonRepresentation
|
333
374
|
hash :config_overrides, as: 'configOverrides'
|
375
|
+
property :endpoint_protocol, as: 'endpointProtocol'
|
334
376
|
property :kerberos_config, as: 'kerberosConfig', class: Google::Apis::MetastoreV1alpha::KerberosConfig, decorator: Google::Apis::MetastoreV1alpha::KerberosConfig::Representation
|
335
377
|
|
336
378
|
property :version, as: 'version'
|
@@ -355,6 +397,13 @@ module Google
|
|
355
397
|
end
|
356
398
|
end
|
357
399
|
|
400
|
+
class Lake
|
401
|
+
# @private
|
402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
403
|
+
property :name, as: 'name'
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
358
407
|
class ListBackupsResponse
|
359
408
|
# @private
|
360
409
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -460,6 +509,8 @@ module Google
|
|
460
509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
461
510
|
property :data_catalog_config, as: 'dataCatalogConfig', class: Google::Apis::MetastoreV1alpha::DataCatalogConfig, decorator: Google::Apis::MetastoreV1alpha::DataCatalogConfig::Representation
|
462
511
|
|
512
|
+
property :dataplex_config, as: 'dataplexConfig', class: Google::Apis::MetastoreV1alpha::DataplexConfig, decorator: Google::Apis::MetastoreV1alpha::DataplexConfig::Representation
|
513
|
+
|
463
514
|
end
|
464
515
|
end
|
465
516
|
|
@@ -473,6 +524,14 @@ module Google
|
|
473
524
|
end
|
474
525
|
end
|
475
526
|
|
527
|
+
class NetworkConfig
|
528
|
+
# @private
|
529
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
530
|
+
collection :consumers, as: 'consumers', class: Google::Apis::MetastoreV1alpha::Consumer, decorator: Google::Apis::MetastoreV1alpha::Consumer::Representation
|
531
|
+
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
476
535
|
class Operation
|
477
536
|
# @private
|
478
537
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -557,6 +616,8 @@ module Google
|
|
557
616
|
|
558
617
|
property :name, as: 'name'
|
559
618
|
property :network, as: 'network'
|
619
|
+
property :network_config, as: 'networkConfig', class: Google::Apis::MetastoreV1alpha::NetworkConfig, decorator: Google::Apis::MetastoreV1alpha::NetworkConfig::Representation
|
620
|
+
|
560
621
|
property :port, as: 'port'
|
561
622
|
property :release_channel, as: 'releaseChannel'
|
562
623
|
property :state, as: 'state'
|
@@ -399,12 +399,16 @@ module Google
|
|
399
399
|
# REQUIRED: The resource for which the policy is being requested. See the
|
400
400
|
# operation documentation for the appropriate value for this field.
|
401
401
|
# @param [Fixnum] options_requested_policy_version
|
402
|
-
# Optional. The policy
|
403
|
-
# 3. Requests specifying an invalid value will be
|
404
|
-
# with any conditional bindings must specify
|
405
|
-
# conditional bindings may specify any valid
|
406
|
-
#
|
407
|
-
#
|
402
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
403
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
404
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
405
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
406
|
+
# value or leave the field unset.The policy in the response might use the policy
|
407
|
+
# version that you specified, or it might use a lower policy version. For
|
408
|
+
# example, if you specify version 3, but the policy has no conditional role
|
409
|
+
# bindings, the response uses version 1.To learn which resources support
|
410
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
411
|
+
# google.com/iam/help/conditions/resource-policies).
|
408
412
|
# @param [String] fields
|
409
413
|
# Selector specifying which fields to include in a partial response.
|
410
414
|
# @param [String] quota_user
|
@@ -774,12 +778,16 @@ module Google
|
|
774
778
|
# REQUIRED: The resource for which the policy is being requested. See the
|
775
779
|
# operation documentation for the appropriate value for this field.
|
776
780
|
# @param [Fixnum] options_requested_policy_version
|
777
|
-
# Optional. The policy
|
778
|
-
# 3. Requests specifying an invalid value will be
|
779
|
-
# with any conditional bindings must specify
|
780
|
-
# conditional bindings may specify any valid
|
781
|
-
#
|
782
|
-
#
|
781
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
782
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
783
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
784
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
785
|
+
# value or leave the field unset.The policy in the response might use the policy
|
786
|
+
# version that you specified, or it might use a lower policy version. For
|
787
|
+
# example, if you specify version 3, but the policy has no conditional role
|
788
|
+
# bindings, the response uses version 1.To learn which resources support
|
789
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
790
|
+
# google.com/iam/help/conditions/resource-policies).
|
783
791
|
# @param [String] fields
|
784
792
|
# Selector specifying which fields to include in a partial response.
|
785
793
|
# @param [String] quota_user
|
@@ -933,6 +941,242 @@ module Google
|
|
933
941
|
execute_or_queue_command(command, &block)
|
934
942
|
end
|
935
943
|
|
944
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
945
|
+
# resource exists and does not have a policy set.
|
946
|
+
# @param [String] resource
|
947
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
948
|
+
# operation documentation for the appropriate value for this field.
|
949
|
+
# @param [Fixnum] options_requested_policy_version
|
950
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
951
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
952
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
953
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
954
|
+
# value or leave the field unset.The policy in the response might use the policy
|
955
|
+
# version that you specified, or it might use a lower policy version. For
|
956
|
+
# example, if you specify version 3, but the policy has no conditional role
|
957
|
+
# bindings, the response uses version 1.To learn which resources support
|
958
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
959
|
+
# google.com/iam/help/conditions/resource-policies).
|
960
|
+
# @param [String] fields
|
961
|
+
# Selector specifying which fields to include in a partial response.
|
962
|
+
# @param [String] quota_user
|
963
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
964
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
965
|
+
# @param [Google::Apis::RequestOptions] options
|
966
|
+
# Request-specific options
|
967
|
+
#
|
968
|
+
# @yield [result, err] Result & error if block supplied
|
969
|
+
# @yieldparam result [Google::Apis::MetastoreV1alpha::Policy] parsed result object
|
970
|
+
# @yieldparam err [StandardError] error object if request failed
|
971
|
+
#
|
972
|
+
# @return [Google::Apis::MetastoreV1alpha::Policy]
|
973
|
+
#
|
974
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
975
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
976
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
977
|
+
def get_project_location_service_database_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
978
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
979
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::Policy::Representation
|
980
|
+
command.response_class = Google::Apis::MetastoreV1alpha::Policy
|
981
|
+
command.params['resource'] = resource unless resource.nil?
|
982
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
983
|
+
command.query['fields'] = fields unless fields.nil?
|
984
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
985
|
+
execute_or_queue_command(command, &block)
|
986
|
+
end
|
987
|
+
|
988
|
+
# Sets the access control policy on the specified resource. Replaces any
|
989
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
990
|
+
# errors.
|
991
|
+
# @param [String] resource
|
992
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
993
|
+
# operation documentation for the appropriate value for this field.
|
994
|
+
# @param [Google::Apis::MetastoreV1alpha::SetIamPolicyRequest] set_iam_policy_request_object
|
995
|
+
# @param [String] fields
|
996
|
+
# Selector specifying which fields to include in a partial response.
|
997
|
+
# @param [String] quota_user
|
998
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
999
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1000
|
+
# @param [Google::Apis::RequestOptions] options
|
1001
|
+
# Request-specific options
|
1002
|
+
#
|
1003
|
+
# @yield [result, err] Result & error if block supplied
|
1004
|
+
# @yieldparam result [Google::Apis::MetastoreV1alpha::Policy] parsed result object
|
1005
|
+
# @yieldparam err [StandardError] error object if request failed
|
1006
|
+
#
|
1007
|
+
# @return [Google::Apis::MetastoreV1alpha::Policy]
|
1008
|
+
#
|
1009
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1010
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1011
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1012
|
+
def set_database_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1013
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
1014
|
+
command.request_representation = Google::Apis::MetastoreV1alpha::SetIamPolicyRequest::Representation
|
1015
|
+
command.request_object = set_iam_policy_request_object
|
1016
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::Policy::Representation
|
1017
|
+
command.response_class = Google::Apis::MetastoreV1alpha::Policy
|
1018
|
+
command.params['resource'] = resource unless resource.nil?
|
1019
|
+
command.query['fields'] = fields unless fields.nil?
|
1020
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1021
|
+
execute_or_queue_command(command, &block)
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1025
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
1026
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
1027
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1028
|
+
# This operation may "fail open" without warning.
|
1029
|
+
# @param [String] resource
|
1030
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1031
|
+
# operation documentation for the appropriate value for this field.
|
1032
|
+
# @param [Google::Apis::MetastoreV1alpha::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1033
|
+
# @param [String] fields
|
1034
|
+
# Selector specifying which fields to include in a partial response.
|
1035
|
+
# @param [String] quota_user
|
1036
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1037
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1038
|
+
# @param [Google::Apis::RequestOptions] options
|
1039
|
+
# Request-specific options
|
1040
|
+
#
|
1041
|
+
# @yield [result, err] Result & error if block supplied
|
1042
|
+
# @yieldparam result [Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse] parsed result object
|
1043
|
+
# @yieldparam err [StandardError] error object if request failed
|
1044
|
+
#
|
1045
|
+
# @return [Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse]
|
1046
|
+
#
|
1047
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1048
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1049
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1050
|
+
def test_database_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1051
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
1052
|
+
command.request_representation = Google::Apis::MetastoreV1alpha::TestIamPermissionsRequest::Representation
|
1053
|
+
command.request_object = test_iam_permissions_request_object
|
1054
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse::Representation
|
1055
|
+
command.response_class = Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse
|
1056
|
+
command.params['resource'] = resource unless resource.nil?
|
1057
|
+
command.query['fields'] = fields unless fields.nil?
|
1058
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1059
|
+
execute_or_queue_command(command, &block)
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1063
|
+
# resource exists and does not have a policy set.
|
1064
|
+
# @param [String] resource
|
1065
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
1066
|
+
# operation documentation for the appropriate value for this field.
|
1067
|
+
# @param [Fixnum] options_requested_policy_version
|
1068
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1069
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1070
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
1071
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
1072
|
+
# value or leave the field unset.The policy in the response might use the policy
|
1073
|
+
# version that you specified, or it might use a lower policy version. For
|
1074
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1075
|
+
# bindings, the response uses version 1.To learn which resources support
|
1076
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
1077
|
+
# google.com/iam/help/conditions/resource-policies).
|
1078
|
+
# @param [String] fields
|
1079
|
+
# Selector specifying which fields to include in a partial response.
|
1080
|
+
# @param [String] quota_user
|
1081
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1082
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1083
|
+
# @param [Google::Apis::RequestOptions] options
|
1084
|
+
# Request-specific options
|
1085
|
+
#
|
1086
|
+
# @yield [result, err] Result & error if block supplied
|
1087
|
+
# @yieldparam result [Google::Apis::MetastoreV1alpha::Policy] parsed result object
|
1088
|
+
# @yieldparam err [StandardError] error object if request failed
|
1089
|
+
#
|
1090
|
+
# @return [Google::Apis::MetastoreV1alpha::Policy]
|
1091
|
+
#
|
1092
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1093
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1094
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1095
|
+
def get_project_location_service_database_table_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1096
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
1097
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::Policy::Representation
|
1098
|
+
command.response_class = Google::Apis::MetastoreV1alpha::Policy
|
1099
|
+
command.params['resource'] = resource unless resource.nil?
|
1100
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1101
|
+
command.query['fields'] = fields unless fields.nil?
|
1102
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1103
|
+
execute_or_queue_command(command, &block)
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1107
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1108
|
+
# errors.
|
1109
|
+
# @param [String] resource
|
1110
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
1111
|
+
# operation documentation for the appropriate value for this field.
|
1112
|
+
# @param [Google::Apis::MetastoreV1alpha::SetIamPolicyRequest] set_iam_policy_request_object
|
1113
|
+
# @param [String] fields
|
1114
|
+
# Selector specifying which fields to include in a partial response.
|
1115
|
+
# @param [String] quota_user
|
1116
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1117
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1118
|
+
# @param [Google::Apis::RequestOptions] options
|
1119
|
+
# Request-specific options
|
1120
|
+
#
|
1121
|
+
# @yield [result, err] Result & error if block supplied
|
1122
|
+
# @yieldparam result [Google::Apis::MetastoreV1alpha::Policy] parsed result object
|
1123
|
+
# @yieldparam err [StandardError] error object if request failed
|
1124
|
+
#
|
1125
|
+
# @return [Google::Apis::MetastoreV1alpha::Policy]
|
1126
|
+
#
|
1127
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1128
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1129
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1130
|
+
def set_table_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1131
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
1132
|
+
command.request_representation = Google::Apis::MetastoreV1alpha::SetIamPolicyRequest::Representation
|
1133
|
+
command.request_object = set_iam_policy_request_object
|
1134
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::Policy::Representation
|
1135
|
+
command.response_class = Google::Apis::MetastoreV1alpha::Policy
|
1136
|
+
command.params['resource'] = resource unless resource.nil?
|
1137
|
+
command.query['fields'] = fields unless fields.nil?
|
1138
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1139
|
+
execute_or_queue_command(command, &block)
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1143
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
1144
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
1145
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1146
|
+
# This operation may "fail open" without warning.
|
1147
|
+
# @param [String] resource
|
1148
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1149
|
+
# operation documentation for the appropriate value for this field.
|
1150
|
+
# @param [Google::Apis::MetastoreV1alpha::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1151
|
+
# @param [String] fields
|
1152
|
+
# Selector specifying which fields to include in a partial response.
|
1153
|
+
# @param [String] quota_user
|
1154
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1155
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1156
|
+
# @param [Google::Apis::RequestOptions] options
|
1157
|
+
# Request-specific options
|
1158
|
+
#
|
1159
|
+
# @yield [result, err] Result & error if block supplied
|
1160
|
+
# @yieldparam result [Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse] parsed result object
|
1161
|
+
# @yieldparam err [StandardError] error object if request failed
|
1162
|
+
#
|
1163
|
+
# @return [Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse]
|
1164
|
+
#
|
1165
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1166
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1167
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1168
|
+
def test_table_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1169
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
1170
|
+
command.request_representation = Google::Apis::MetastoreV1alpha::TestIamPermissionsRequest::Representation
|
1171
|
+
command.request_object = test_iam_permissions_request_object
|
1172
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse::Representation
|
1173
|
+
command.response_class = Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse
|
1174
|
+
command.params['resource'] = resource unless resource.nil?
|
1175
|
+
command.query['fields'] = fields unless fields.nil?
|
1176
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1177
|
+
execute_or_queue_command(command, &block)
|
1178
|
+
end
|
1179
|
+
|
936
1180
|
# Creates a new MetadataImport in a given project and location.
|
937
1181
|
# @param [String] parent
|
938
1182
|
# 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.18.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-11-15 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.18.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:
|