google-apis-metastore_v1alpha 0.7.0 → 0.12.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee46fcb0c0fd7dad29a5d45121a584a2d98297c03e224d578f033c9e69e91ca1
|
4
|
+
data.tar.gz: 55d629643d18ac0640d76e84f9312cae843d61bd21f105b31e237919bd615d58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 122b47c0f3016ff46ecc743842b0d3a20596cbfb191a90fd5ad85cc49106a7da77f2c49024884c3c61acfb01ec1a4a19ba061cc7e22d6f5f00616695bbcb4652
|
7
|
+
data.tar.gz: '00828d7d6cfa4a56f2993d4634c80c4a1ab241747ff0881734ff4a9771d06a1da0a8e60c345c6549a87901c3c75bc9af95c54dad1e79056b8c8853e20958051a'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1alpha
|
2
2
|
|
3
|
+
### v0.12.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.11.0 (2021-06-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210615
|
10
|
+
|
11
|
+
### v0.10.0 (2021-06-06)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210527
|
14
|
+
* Regenerated using generator version 0.3.0
|
15
|
+
|
16
|
+
### v0.9.0 (2021-05-19)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.8.0 (2021-05-08)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210503
|
23
|
+
|
3
24
|
### v0.7.0 (2021-03-28)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210325
|
@@ -769,7 +769,7 @@ module Google
|
|
769
769
|
class MetadataImport
|
770
770
|
include Google::Apis::Core::Hashable
|
771
771
|
|
772
|
-
# Output only. The time when the metadata import was
|
772
|
+
# Output only. The time when the metadata import was started.
|
773
773
|
# Corresponds to the JSON property `createTime`
|
774
774
|
# @return [String]
|
775
775
|
attr_accessor :create_time
|
@@ -785,6 +785,11 @@ module Google
|
|
785
785
|
# @return [String]
|
786
786
|
attr_accessor :description
|
787
787
|
|
788
|
+
# Output only. The time when the metadata import finished.
|
789
|
+
# Corresponds to the JSON property `endTime`
|
790
|
+
# @return [String]
|
791
|
+
attr_accessor :end_time
|
792
|
+
|
788
793
|
# Immutable. The relative resource name of the metadata import, of the form:
|
789
794
|
# projects/`project_number`/locations/`location_id`/services/`service_id`/
|
790
795
|
# metadataImports/`metadata_import_id`.
|
@@ -811,6 +816,7 @@ module Google
|
|
811
816
|
@create_time = args[:create_time] if args.key?(:create_time)
|
812
817
|
@database_dump = args[:database_dump] if args.key?(:database_dump)
|
813
818
|
@description = args[:description] if args.key?(:description)
|
819
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
814
820
|
@name = args[:name] if args.key?(:name)
|
815
821
|
@state = args[:state] if args.key?(:state)
|
816
822
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.12.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 = "20210615"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -435,6 +435,7 @@ module Google
|
|
435
435
|
property :database_dump, as: 'databaseDump', class: Google::Apis::MetastoreV1alpha::DatabaseDump, decorator: Google::Apis::MetastoreV1alpha::DatabaseDump::Representation
|
436
436
|
|
437
437
|
property :description, as: 'description'
|
438
|
+
property :end_time, as: 'endTime'
|
438
439
|
property :name, as: 'name'
|
439
440
|
property :state, as: 'state'
|
440
441
|
property :update_time, as: 'updateTime'
|
@@ -88,7 +88,7 @@ module Google
|
|
88
88
|
# accepts strings like "displayName=tokyo", and is documented in more detail in
|
89
89
|
# AIP-160 (https://google.aip.dev/160).
|
90
90
|
# @param [Fixnum] page_size
|
91
|
-
# The maximum number of results to return. If not set, the service
|
91
|
+
# The maximum number of results to return. If not set, the service selects a
|
92
92
|
# default.
|
93
93
|
# @param [String] page_token
|
94
94
|
# A page token received from the next_page_token field in the response. Send
|
@@ -643,7 +643,7 @@ module Google
|
|
643
643
|
execute_or_queue_command(command, &block)
|
644
644
|
end
|
645
645
|
|
646
|
-
# Creates a new
|
646
|
+
# Creates a new backup in a given project and location.
|
647
647
|
# @param [String] parent
|
648
648
|
# Required. The relative resource name of the service in which to create a
|
649
649
|
# backup of the following form:projects/`project_number`/locations/`location_id`/
|
@@ -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,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-metastore_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Dataproc Metastore API V1alpha. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.12.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1alpha
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Dataproc Metastore API V1alpha
|