google-apis-metastore_v1beta 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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/metastore_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/metastore_v1beta/service.rb +114 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1c7e82264977290122e6059f786767c5d7a247307bf6b38a3a017c798ed506b
|
4
|
+
data.tar.gz: ff2d0d12731ab7b4f6d401f554a932f094919f9364d343bf6513bd540d4152f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ad4b26009d2ac00e6fb65e67866515c126b1286c7f4a4c90611eab63bd045a0dcec37162352c2ff45b11ed851785f2ff98b035b82d62221cef78d0859004077
|
7
|
+
data.tar.gz: 435bfa979a7a09f2c4c82330ab06d3ef1f7cac995f02855a993d63c4219049b3152d44dee4bd61e264568707d7be0a86f53860f68247e5fb9b6f69fcf24964ea
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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::MetastoreV1beta::Policy] parsed result object
|
793
|
+
# @yieldparam err [StandardError] error object if request failed
|
794
|
+
#
|
795
|
+
# @return [Google::Apis::MetastoreV1beta::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, 'v1beta/{+resource}:getIamPolicy', options)
|
802
|
+
command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation
|
803
|
+
command.response_class = Google::Apis::MetastoreV1beta::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::MetastoreV1beta::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::MetastoreV1beta::Policy] parsed result object
|
879
|
+
# @yieldparam err [StandardError] error object if request failed
|
880
|
+
#
|
881
|
+
# @return [Google::Apis::MetastoreV1beta::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, 'v1beta/{+resource}:setIamPolicy', options)
|
888
|
+
command.request_representation = Google::Apis::MetastoreV1beta::SetIamPolicyRequest::Representation
|
889
|
+
command.request_object = set_iam_policy_request_object
|
890
|
+
command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation
|
891
|
+
command.response_class = Google::Apis::MetastoreV1beta::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::MetastoreV1beta::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::MetastoreV1beta::TestIamPermissionsResponse] parsed result object
|
917
|
+
# @yieldparam err [StandardError] error object if request failed
|
918
|
+
#
|
919
|
+
# @return [Google::Apis::MetastoreV1beta::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, 'v1beta/{+resource}:testIamPermissions', options)
|
926
|
+
command.request_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsRequest::Representation
|
927
|
+
command.request_object = test_iam_permissions_request_object
|
928
|
+
command.response_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse::Representation
|
929
|
+
command.response_class = Google::Apis::MetastoreV1beta::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_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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_v1beta/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.10.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1beta
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|