google-apis-metastore_v1alpha 0.12.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee46fcb0c0fd7dad29a5d45121a584a2d98297c03e224d578f033c9e69e91ca1
4
- data.tar.gz: 55d629643d18ac0640d76e84f9312cae843d61bd21f105b31e237919bd615d58
3
+ metadata.gz: ccb40f29cba624a8f7e14504ded2268c0fcb5b4567be1a9b42ba167a4455f6bc
4
+ data.tar.gz: 8f850f0619568c9ef97171e92a1c41d70eb71b19f98b01ae90b6d681b50baa7e
5
5
  SHA512:
6
- metadata.gz: 122b47c0f3016ff46ecc743842b0d3a20596cbfb191a90fd5ad85cc49106a7da77f2c49024884c3c61acfb01ec1a4a19ba061cc7e22d6f5f00616695bbcb4652
7
- data.tar.gz: '00828d7d6cfa4a56f2993d4634c80c4a1ab241747ff0881734ff4a9771d06a1da0a8e60c345c6549a87901c3c75bc9af95c54dad1e79056b8c8853e20958051a'
6
+ metadata.gz: 15db4de9f54bd8762ed78454cbf5bf0c521d5ee7db3a7477f1e1234d349403ce89285bab4047cc029375d5915dd8e21151d9c77ff2d873e4f2f37c393ea2a8b8
7
+ data.tar.gz: 3fc1ca53b42c299a9ae857ea47fe6eb3acb166558efdffb4bedcb5953cc65cab1e4ea742a25178c05947731abe35a091b7d51310b16559ff590b085e8f0e2e18
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-metastore_v1alpha
2
2
 
3
+ ### v0.16.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210824
6
+
7
+ ### v0.15.0 (2021-07-29)
8
+
9
+ * Regenerated from discovery document revision 20210721
10
+
11
+ ### v0.14.0 (2021-07-08)
12
+
13
+ * Regenerated from discovery document revision 20210702
14
+
15
+ ### v0.13.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.12.0 (2021-06-24)
4
20
 
5
21
  * Unspecified changes
@@ -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,6 +144,7 @@ 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
@@ -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
 
@@ -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') - etag: BwWWja0YfJA= - version: 3 For a
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
@@ -1205,6 +1288,11 @@ module Google
1205
1288
  # @return [String]
1206
1289
  attr_accessor :create_time
1207
1290
 
1291
+ # Encryption settings for the service.
1292
+ # Corresponds to the JSON property `encryptionConfig`
1293
+ # @return [Google::Apis::MetastoreV1alpha::EncryptionConfig]
1294
+ attr_accessor :encryption_config
1295
+
1208
1296
  # Output only. The URI of the endpoint used to access the metastore service.
1209
1297
  # Corresponds to the JSON property `endpointUri`
1210
1298
  # @return [String]
@@ -1295,6 +1383,7 @@ module Google
1295
1383
  def update!(**args)
1296
1384
  @artifact_gcs_uri = args[:artifact_gcs_uri] if args.key?(:artifact_gcs_uri)
1297
1385
  @create_time = args[:create_time] if args.key?(:create_time)
1386
+ @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
1298
1387
  @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
1299
1388
  @hive_metastore_config = args[:hive_metastore_config] if args.key?(:hive_metastore_config)
1300
1389
  @labels = args[:labels] if args.key?(:labels)
@@ -1341,7 +1430,7 @@ module Google
1341
1430
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1342
1431
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1343
1432
  # description: Does not grant access after Sep 2020 expression: request.time <
1344
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1433
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1345
1434
  # description of IAM and its features, see the IAM documentation (https://cloud.
1346
1435
  # google.com/iam/docs/).
1347
1436
  # 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.12.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210615"
25
+ REVISION = "20210824"
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 Platform data
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.12.0
4
+ version: 0.16.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-06-28 00:00:00.000000000 Z
11
+ date: 2021-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []