google-apis-metastore_v1beta 0.22.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e784dc327bdffa180797fae30ff96b9bbbbe7236a6f394f0ae4dee153d8b5965
4
- data.tar.gz: 358e001f75979b214a243aab716e0efbcc3503b53c1187bcbd01c78585c498e9
3
+ metadata.gz: f6809f98611132652b68ff22ec3048cbe4b9d954c6a8c3a5aeba43ec6e297b15
4
+ data.tar.gz: a468f934757fb705671a3bc12ebd82a5109caeb1262759bb09553f882d9e608e
5
5
  SHA512:
6
- metadata.gz: 5fdfdd38f885ba973931c01fefb5ce5152a622a7909c3ab358154ad4c2aa922cb4d650930ed3f835d3c8537b2f65d97f7468ea3eab62a5e42dc0fb7fc569b1ed
7
- data.tar.gz: b4408a683d8ea7565a9b19c49aa9c061ce6fe79a5fd067399be4c6b2f4207f1031e785ee010f1e0bfc7da4a45101b358025e769cadb4e77cb49fdb5623e2fbe9
6
+ metadata.gz: 9e9832c4d2b997d559dd0d0f0ea7ed226536257973953e1836b338fd5a4c05ec760dfa0678d25777f3cfe5a85a39799a72fd99a22d544810e3827b26417abeea
7
+ data.tar.gz: d847e6924de34f148f79418870eaabf4ced3004de0a3458fe361aec59e9d041ed65c62fb4d3106c2ffe57c4cea5c42d24271cf6e315528e72220e522f2b87f06
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.23.0 (2022-02-06)
4
+
5
+ * Regenerated from discovery document revision 20220127
6
+
3
7
  ### v0.22.0 (2022-01-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20220118
@@ -1265,6 +1265,39 @@ module Google
1265
1265
  end
1266
1266
  end
1267
1267
 
1268
+ # Request message for DataprocMetastore.RemoveIamPolicy.
1269
+ class RemoveIamPolicyRequest
1270
+ include Google::Apis::Core::Hashable
1271
+
1272
+ def initialize(**args)
1273
+ update!(**args)
1274
+ end
1275
+
1276
+ # Update properties of this object
1277
+ def update!(**args)
1278
+ end
1279
+ end
1280
+
1281
+ # Response message for DataprocMetastore.RemoveIamPolicy.
1282
+ class RemoveIamPolicyResponse
1283
+ include Google::Apis::Core::Hashable
1284
+
1285
+ # whether related policies are removed
1286
+ # Corresponds to the JSON property `success`
1287
+ # @return [Boolean]
1288
+ attr_accessor :success
1289
+ alias_method :success?, :success
1290
+
1291
+ def initialize(**args)
1292
+ update!(**args)
1293
+ end
1294
+
1295
+ # Update properties of this object
1296
+ def update!(**args)
1297
+ @success = args[:success] if args.key?(:success)
1298
+ end
1299
+ end
1300
+
1268
1301
  # The details of a metadata restore operation.
1269
1302
  class Restore
1270
1303
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1beta
18
18
  # Version of the google-apis-metastore_v1beta gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220118"
25
+ REVISION = "20220127"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,18 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class RemoveIamPolicyRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class RemoveIamPolicyResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class Restore
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -587,6 +599,19 @@ module Google
587
599
  end
588
600
  end
589
601
 
602
+ class RemoveIamPolicyRequest
603
+ # @private
604
+ class Representation < Google::Apis::Core::JsonRepresentation
605
+ end
606
+ end
607
+
608
+ class RemoveIamPolicyResponse
609
+ # @private
610
+ class Representation < Google::Apis::Core::JsonRepresentation
611
+ property :success, as: 'success'
612
+ end
613
+ end
614
+
590
615
  class Restore
591
616
  # @private
592
617
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -538,6 +538,43 @@ module Google
538
538
  execute_or_queue_command(command, &block)
539
539
  end
540
540
 
541
+ # Removes the attached IAM policies for a resource
542
+ # @param [String] resource
543
+ # Required. The relative resource name of the dataplane resource to remove IAM
544
+ # policy, in the following form:projects/`project_id`/locations/`location_id`/
545
+ # services/`service_id`/databases/`database_id` or projects/`project_id`/
546
+ # locations/`location_id`/services/`service_id`/databases/`database_id`/tables/`
547
+ # table_id`.
548
+ # @param [Google::Apis::MetastoreV1beta::RemoveIamPolicyRequest] remove_iam_policy_request_object
549
+ # @param [String] fields
550
+ # Selector specifying which fields to include in a partial response.
551
+ # @param [String] quota_user
552
+ # Available to use for quota purposes for server-side applications. Can be any
553
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
554
+ # @param [Google::Apis::RequestOptions] options
555
+ # Request-specific options
556
+ #
557
+ # @yield [result, err] Result & error if block supplied
558
+ # @yieldparam result [Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse] parsed result object
559
+ # @yieldparam err [StandardError] error object if request failed
560
+ #
561
+ # @return [Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse]
562
+ #
563
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
564
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
565
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
566
+ def remove_service_iam_policy(resource, remove_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
567
+ command = make_simple_command(:post, 'v1beta/{+resource}:removeIamPolicy', options)
568
+ command.request_representation = Google::Apis::MetastoreV1beta::RemoveIamPolicyRequest::Representation
569
+ command.request_object = remove_iam_policy_request_object
570
+ command.response_representation = Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse::Representation
571
+ command.response_class = Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse
572
+ command.params['resource'] = resource unless resource.nil?
573
+ command.query['fields'] = fields unless fields.nil?
574
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
575
+ execute_or_queue_command(command, &block)
576
+ end
577
+
541
578
  # Restores a service from a backup.
542
579
  # @param [String] service
543
580
  # Required. The relative resource name of the metastore service to run restore,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.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: 2022-01-31 00:00:00.000000000 Z
11
+ date: 2022-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.23.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []