google-apis-metastore_v1alpha 0.9.0 → 0.10.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: f32d141aed25b5c3df3fefbb4499ffab153e459592deb8e4a88a95c987b4afdd
4
- data.tar.gz: dea4ddf83409903897c652cd825a3a7aa8d60c733502d683d642216312ffb4c6
3
+ metadata.gz: 80f9f87a7e45647dcd7fd55f9c3410c727e198f21157181a7ac3926fa372b663
4
+ data.tar.gz: 62f7aee2efffc4884f300faa6097e8635823457f5239737b413ae31405d7adc3
5
5
  SHA512:
6
- metadata.gz: 6a5b8db8bf0e75089d46b84f44e4ed9fb592f0b0489c79ccc2aeed57e7c56e2c726ef97a5b45dd625c8a7fb02c1fab754be9459bf32057181fa8783cb75ce245
7
- data.tar.gz: 53ad84d6373996a875b9414ae7631de9dda72ad646885a1c3177f0dd73b20245a422c8f54e3da5100cb7addf9e8169b84156ad419cb54848dbf5ff7db38dd2e6
6
+ metadata.gz: d3da809b8a6718ed17375ba371360b4343e4911ceabc097f31ea0d04cf074204eb8511ebf50b9b16654bccea5e9ed432b5113c3d13f8240be7d0e1dd777af1d3
7
+ data.tar.gz: 06c72fb9f0da9722b35631512a760f91e9e8f69b0ebfe2dda09117c4a768780e6e634e305ac0d45c0ad831fea52ebb45e888c295d750a424d6183762107491ca
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-metastore_v1alpha
2
2
 
3
+ ### v0.10.0 (2021-06-06)
4
+
5
+ * Regenerated from discovery document revision 20210527
6
+ * Regenerated using generator version 0.3.0
7
+
3
8
  ### v0.9.0 (2021-05-19)
4
9
 
5
10
  * Unspecified changes
@@ -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.9.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210503"
25
+ REVISION = "20210527"
26
26
  end
27
27
  end
28
28
  end
@@ -768,6 +768,46 @@ module Google
768
768
  execute_or_queue_command(command, &block)
769
769
  end
770
770
 
771
+ # Gets the access control policy for a resource. Returns an empty policy if the
772
+ # resource exists and does not have a policy set.
773
+ # @param [String] resource
774
+ # REQUIRED: The resource for which the policy is being requested. See the
775
+ # operation documentation for the appropriate value for this field.
776
+ # @param [Fixnum] options_requested_policy_version
777
+ # Optional. The policy format version to be returned.Valid values are 0, 1, and
778
+ # 3. Requests specifying an invalid value will be rejected.Requests for policies
779
+ # with any conditional bindings must specify version 3. Policies without any
780
+ # conditional bindings may specify any valid value or leave the field unset.To
781
+ # learn which resources support conditions in their IAM policies, see the IAM
782
+ # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
783
+ # @param [String] fields
784
+ # Selector specifying which fields to include in a partial response.
785
+ # @param [String] quota_user
786
+ # Available to use for quota purposes for server-side applications. Can be any
787
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
788
+ # @param [Google::Apis::RequestOptions] options
789
+ # Request-specific options
790
+ #
791
+ # @yield [result, err] Result & error if block supplied
792
+ # @yieldparam result [Google::Apis::MetastoreV1alpha::Policy] parsed result object
793
+ # @yieldparam err [StandardError] error object if request failed
794
+ #
795
+ # @return [Google::Apis::MetastoreV1alpha::Policy]
796
+ #
797
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
798
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
799
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
800
+ def get_project_location_service_backup_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
801
+ command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
802
+ command.response_representation = Google::Apis::MetastoreV1alpha::Policy::Representation
803
+ command.response_class = Google::Apis::MetastoreV1alpha::Policy
804
+ command.params['resource'] = resource unless resource.nil?
805
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
806
+ command.query['fields'] = fields unless fields.nil?
807
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
808
+ execute_or_queue_command(command, &block)
809
+ end
810
+
771
811
  # Lists backups in a service.
772
812
  # @param [String] parent
773
813
  # Required. The relative resource name of the service whose backups to list, in
@@ -819,6 +859,80 @@ module Google
819
859
  execute_or_queue_command(command, &block)
820
860
  end
821
861
 
862
+ # Sets the access control policy on the specified resource. Replaces any
863
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
864
+ # errors.
865
+ # @param [String] resource
866
+ # REQUIRED: The resource for which the policy is being specified. See the
867
+ # operation documentation for the appropriate value for this field.
868
+ # @param [Google::Apis::MetastoreV1alpha::SetIamPolicyRequest] set_iam_policy_request_object
869
+ # @param [String] fields
870
+ # Selector specifying which fields to include in a partial response.
871
+ # @param [String] quota_user
872
+ # Available to use for quota purposes for server-side applications. Can be any
873
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
874
+ # @param [Google::Apis::RequestOptions] options
875
+ # Request-specific options
876
+ #
877
+ # @yield [result, err] Result & error if block supplied
878
+ # @yieldparam result [Google::Apis::MetastoreV1alpha::Policy] parsed result object
879
+ # @yieldparam err [StandardError] error object if request failed
880
+ #
881
+ # @return [Google::Apis::MetastoreV1alpha::Policy]
882
+ #
883
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
884
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
885
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
886
+ def set_backup_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
887
+ command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
888
+ command.request_representation = Google::Apis::MetastoreV1alpha::SetIamPolicyRequest::Representation
889
+ command.request_object = set_iam_policy_request_object
890
+ command.response_representation = Google::Apis::MetastoreV1alpha::Policy::Representation
891
+ command.response_class = Google::Apis::MetastoreV1alpha::Policy
892
+ command.params['resource'] = resource unless resource.nil?
893
+ command.query['fields'] = fields unless fields.nil?
894
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
895
+ execute_or_queue_command(command, &block)
896
+ end
897
+
898
+ # Returns permissions that a caller has on the specified resource. If the
899
+ # resource does not exist, this will return an empty set of permissions, not a
900
+ # NOT_FOUND error.Note: This operation is designed to be used for building
901
+ # permission-aware UIs and command-line tools, not for authorization checking.
902
+ # This operation may "fail open" without warning.
903
+ # @param [String] resource
904
+ # REQUIRED: The resource for which the policy detail is being requested. See the
905
+ # operation documentation for the appropriate value for this field.
906
+ # @param [Google::Apis::MetastoreV1alpha::TestIamPermissionsRequest] test_iam_permissions_request_object
907
+ # @param [String] fields
908
+ # Selector specifying which fields to include in a partial response.
909
+ # @param [String] quota_user
910
+ # Available to use for quota purposes for server-side applications. Can be any
911
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
912
+ # @param [Google::Apis::RequestOptions] options
913
+ # Request-specific options
914
+ #
915
+ # @yield [result, err] Result & error if block supplied
916
+ # @yieldparam result [Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse] parsed result object
917
+ # @yieldparam err [StandardError] error object if request failed
918
+ #
919
+ # @return [Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse]
920
+ #
921
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
922
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
923
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
924
+ def test_backup_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
925
+ command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
926
+ command.request_representation = Google::Apis::MetastoreV1alpha::TestIamPermissionsRequest::Representation
927
+ command.request_object = test_iam_permissions_request_object
928
+ command.response_representation = Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse::Representation
929
+ command.response_class = Google::Apis::MetastoreV1alpha::TestIamPermissionsResponse
930
+ command.params['resource'] = resource unless resource.nil?
931
+ command.query['fields'] = fields unless fields.nil?
932
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
933
+ execute_or_queue_command(command, &block)
934
+ end
935
+
822
936
  # Creates a new MetadataImport in a given project and location.
823
937
  # @param [String] parent
824
938
  # Required. The relative resource name of the service in which to create a
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.9.0
4
+ version: 0.10.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-05-24 00:00:00.000000000 Z
11
+ date: 2021-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1alpha/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.9.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.10.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1alpha
57
57
  post_install_message:
58
58
  rdoc_options: []