google-apis-metastore_v1alpha 0.9.0 → 0.14.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 +21 -0
- data/lib/google/apis/metastore_v1alpha/classes.rb +33 -0
- data/lib/google/apis/metastore_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/metastore_v1alpha/representations.rb +16 -0
- data/lib/google/apis/metastore_v1alpha/service.rb +114 -0
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c63fbb181ce17b9f837db6ccc4d5c6a05f4708de335da0d81a5fa97990e01b15
|
4
|
+
data.tar.gz: 9c79c81a21a0478d80f2cdce52885761754615ac87788180a18d4f311b6390ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7be72fe7f9fba6963baab6e58231787e0d4102ec37f26a4265856266054b286a832542055f175e74aaa7b755497fb48d0f814f48f29c06ce2f9801d26284aa8a
|
7
|
+
data.tar.gz: 9929baa72ef6bf22a0b2d03520cfc25bcb4f8f325a9094422e3e634e3f6af9b8ea3b21aea5616779f79930354ac471d97c00a760b9c85c5d95eaa53581f09a92
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1alpha
|
2
2
|
|
3
|
+
### v0.14.0 (2021-07-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210702
|
6
|
+
|
7
|
+
### v0.13.0 (2021-06-29)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.4.0
|
10
|
+
|
11
|
+
### v0.12.0 (2021-06-24)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
15
|
+
### v0.11.0 (2021-06-18)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210615
|
18
|
+
|
19
|
+
### v0.10.0 (2021-06-06)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210527
|
22
|
+
* Regenerated using generator version 0.3.0
|
23
|
+
|
3
24
|
### v0.9.0 (2021-05-19)
|
4
25
|
|
5
26
|
* Unspecified changes
|
@@ -292,6 +292,27 @@ module Google
|
|
292
292
|
end
|
293
293
|
end
|
294
294
|
|
295
|
+
# Encryption settings for the service.
|
296
|
+
class EncryptionConfig
|
297
|
+
include Google::Apis::Core::Hashable
|
298
|
+
|
299
|
+
# The fully qualified customer provided Cloud KMS key name to use for customer
|
300
|
+
# data encryption, in the following form:projects/`project_number`/locations/`
|
301
|
+
# location_id`/keyRings/`key_ring_id`/cryptoKeys/`crypto_key_id`.
|
302
|
+
# Corresponds to the JSON property `kmsKey`
|
303
|
+
# @return [String]
|
304
|
+
attr_accessor :kms_key
|
305
|
+
|
306
|
+
def initialize(**args)
|
307
|
+
update!(**args)
|
308
|
+
end
|
309
|
+
|
310
|
+
# Update properties of this object
|
311
|
+
def update!(**args)
|
312
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
295
316
|
# Request message for DataprocMetastore.ExportMetadata.
|
296
317
|
class ExportMetadataRequest
|
297
318
|
include Google::Apis::Core::Hashable
|
@@ -785,6 +806,11 @@ module Google
|
|
785
806
|
# @return [String]
|
786
807
|
attr_accessor :description
|
787
808
|
|
809
|
+
# Output only. The time when the metadata import finished.
|
810
|
+
# Corresponds to the JSON property `endTime`
|
811
|
+
# @return [String]
|
812
|
+
attr_accessor :end_time
|
813
|
+
|
788
814
|
# Immutable. The relative resource name of the metadata import, of the form:
|
789
815
|
# projects/`project_number`/locations/`location_id`/services/`service_id`/
|
790
816
|
# metadataImports/`metadata_import_id`.
|
@@ -811,6 +837,7 @@ module Google
|
|
811
837
|
@create_time = args[:create_time] if args.key?(:create_time)
|
812
838
|
@database_dump = args[:database_dump] if args.key?(:database_dump)
|
813
839
|
@description = args[:description] if args.key?(:description)
|
840
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
814
841
|
@name = args[:name] if args.key?(:name)
|
815
842
|
@state = args[:state] if args.key?(:state)
|
816
843
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -1199,6 +1226,11 @@ module Google
|
|
1199
1226
|
# @return [String]
|
1200
1227
|
attr_accessor :create_time
|
1201
1228
|
|
1229
|
+
# Encryption settings for the service.
|
1230
|
+
# Corresponds to the JSON property `encryptionConfig`
|
1231
|
+
# @return [Google::Apis::MetastoreV1alpha::EncryptionConfig]
|
1232
|
+
attr_accessor :encryption_config
|
1233
|
+
|
1202
1234
|
# Output only. The URI of the endpoint used to access the metastore service.
|
1203
1235
|
# Corresponds to the JSON property `endpointUri`
|
1204
1236
|
# @return [String]
|
@@ -1289,6 +1321,7 @@ module Google
|
|
1289
1321
|
def update!(**args)
|
1290
1322
|
@artifact_gcs_uri = args[:artifact_gcs_uri] if args.key?(:artifact_gcs_uri)
|
1291
1323
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1324
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
1292
1325
|
@endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
|
1293
1326
|
@hive_metastore_config = args[:hive_metastore_config] if args.key?(:hive_metastore_config)
|
1294
1327
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -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.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210702"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class EncryptionConfig
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class ExportMetadataRequest
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -295,6 +301,13 @@ module Google
|
|
295
301
|
end
|
296
302
|
end
|
297
303
|
|
304
|
+
class EncryptionConfig
|
305
|
+
# @private
|
306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
307
|
+
property :kms_key, as: 'kmsKey'
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
298
311
|
class ExportMetadataRequest
|
299
312
|
# @private
|
300
313
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -435,6 +448,7 @@ module Google
|
|
435
448
|
property :database_dump, as: 'databaseDump', class: Google::Apis::MetastoreV1alpha::DatabaseDump, decorator: Google::Apis::MetastoreV1alpha::DatabaseDump::Representation
|
436
449
|
|
437
450
|
property :description, as: 'description'
|
451
|
+
property :end_time, as: 'endTime'
|
438
452
|
property :name, as: 'name'
|
439
453
|
property :state, as: 'state'
|
440
454
|
property :update_time, as: 'updateTime'
|
@@ -529,6 +543,8 @@ module Google
|
|
529
543
|
class Representation < Google::Apis::Core::JsonRepresentation
|
530
544
|
property :artifact_gcs_uri, as: 'artifactGcsUri'
|
531
545
|
property :create_time, as: 'createTime'
|
546
|
+
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::MetastoreV1alpha::EncryptionConfig, decorator: Google::Apis::MetastoreV1alpha::EncryptionConfig::Representation
|
547
|
+
|
532
548
|
property :endpoint_uri, as: 'endpointUri'
|
533
549
|
property :hive_metastore_config, as: 'hiveMetastoreConfig', class: Google::Apis::MetastoreV1alpha::HiveMetastoreConfig, decorator: Google::Apis::MetastoreV1alpha::HiveMetastoreConfig::Representation
|
534
550
|
|
@@ -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.14.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-07-12 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.4'
|
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.4'
|
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.14.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: []
|