google-apis-metastore_v1alpha 0.22.0 → 0.25.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: afb2dac59f1c126534151c98ca6b5be8e4f7d416dc16dd6a0c09e9b9609642f8
4
- data.tar.gz: 01dba1e5dd9ce0a0a52ce9da22da7c9d177876668da741f422bf5c4839147254
3
+ metadata.gz: 0faa840d5a1285338ef8015b279aaa57948c1ca922720a8648caeb59c3bdb82f
4
+ data.tar.gz: 29b9b4e21f306b2eb457e1147abad190efeb06b4218d8535929b284a596fd077
5
5
  SHA512:
6
- metadata.gz: 74035505072542e18afa7d1aa8734629d3f2066ea280128734ca8861a30ecab7b38c2371a17eaccd3b08c6218f24916f30d372ff5592a18420881c640bfdf3d3
7
- data.tar.gz: 481f576be8b8afa3fecc8d081bdc1eab4f4322e82d17864a019aea377f3fa4a1233bc49ac3d704381203851af2c8ab58c2bc20da508656265a5399b26431adf8
6
+ metadata.gz: 4e6d1e9a59aa02767133a380ab2b5e5fcec65ec4f5d21be620bd3d438ef792ed83afd9e61a4da6d3334ad373b395ad13d752cfa0dbb61fefa6d09d9d62fa3dbf
7
+ data.tar.gz: 9ed309b1e9a46deb988f27cdb3b141dd6df6f1f268165d7aa89e256a4a010ade087b3efd599f9fc8e8b568119dce3ae7155084119c031ce4c88283966c6c163d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-metastore_v1alpha
2
2
 
3
+ ### v0.25.0 (2022-04-16)
4
+
5
+ * Regenerated from discovery document revision 20220407
6
+
7
+ ### v0.24.0 (2022-04-09)
8
+
9
+ * Regenerated from discovery document revision 20220331
10
+
11
+ ### v0.23.0 (2022-02-06)
12
+
13
+ * Regenerated from discovery document revision 20220127
14
+
3
15
  ### v0.22.0 (2022-01-24)
4
16
 
5
17
  * Regenerated from discovery document revision 20220118
@@ -209,7 +209,7 @@ module Google
209
209
  # @return [Google::Apis::MetastoreV1alpha::Expr]
210
210
  attr_accessor :condition
211
211
 
212
- # Specifies the principals requesting access for a Cloud Platform resource.
212
+ # Specifies the principals requesting access for a Google Cloud resource.
213
213
  # members can have the following values: allUsers: A special identifier that
214
214
  # represents anyone who is on the internet; with or without a Google account.
215
215
  # allAuthenticatedUsers: A special identifier that represents anyone who is
@@ -372,8 +372,7 @@ module Google
372
372
  # A generic empty message that you can re-use to avoid defining duplicated empty
373
373
  # messages in your APIs. A typical example is to use it as the request or the
374
374
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
375
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
376
- # Empty is empty JSON object ``.
375
+ # protobuf.Empty) returns (google.protobuf.Empty); `
377
376
  class Empty
378
377
  include Google::Apis::Core::Hashable
379
378
 
@@ -1265,6 +1264,39 @@ module Google
1265
1264
  end
1266
1265
  end
1267
1266
 
1267
+ # Request message for DataprocMetastore.RemoveIamPolicy.
1268
+ class RemoveIamPolicyRequest
1269
+ include Google::Apis::Core::Hashable
1270
+
1271
+ def initialize(**args)
1272
+ update!(**args)
1273
+ end
1274
+
1275
+ # Update properties of this object
1276
+ def update!(**args)
1277
+ end
1278
+ end
1279
+
1280
+ # Response message for DataprocMetastore.RemoveIamPolicy.
1281
+ class RemoveIamPolicyResponse
1282
+ include Google::Apis::Core::Hashable
1283
+
1284
+ # whether related policies are removed
1285
+ # Corresponds to the JSON property `success`
1286
+ # @return [Boolean]
1287
+ attr_accessor :success
1288
+ alias_method :success?, :success
1289
+
1290
+ def initialize(**args)
1291
+ update!(**args)
1292
+ end
1293
+
1294
+ # Update properties of this object
1295
+ def update!(**args)
1296
+ @success = args[:success] if args.key?(:success)
1297
+ end
1298
+ end
1299
+
1268
1300
  # The details of a metadata restore operation.
1269
1301
  class Restore
1270
1302
  include Google::Apis::Core::Hashable
@@ -1616,8 +1648,8 @@ module Google
1616
1648
  include Google::Apis::Core::Hashable
1617
1649
 
1618
1650
  # The set of permissions to check for the resource. Permissions with wildcards (
1619
- # such as '*' or 'storage.*') are not allowed. For more information see IAM
1620
- # Overview (https://cloud.google.com/iam/docs/overview#permissions).
1651
+ # such as * or storage.*) are not allowed. For more information see IAM Overview
1652
+ # (https://cloud.google.com/iam/docs/overview#permissions).
1621
1653
  # Corresponds to the JSON property `permissions`
1622
1654
  # @return [Array<String>]
1623
1655
  attr_accessor :permissions
@@ -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.22.0"
19
+ GEM_VERSION = "0.25.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 = "20220407"
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::MetastoreV1alpha::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::MetastoreV1alpha::RemoveIamPolicyResponse] parsed result object
559
+ # @yieldparam err [StandardError] error object if request failed
560
+ #
561
+ # @return [Google::Apis::MetastoreV1alpha::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, 'v1alpha/{+resource}:removeIamPolicy', options)
568
+ command.request_representation = Google::Apis::MetastoreV1alpha::RemoveIamPolicyRequest::Representation
569
+ command.request_object = remove_iam_policy_request_object
570
+ command.response_representation = Google::Apis::MetastoreV1alpha::RemoveIamPolicyResponse::Representation
571
+ command.response_class = Google::Apis::MetastoreV1alpha::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_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.25.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-04-18 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.25.0
62
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: []