google-apis-metastore_v1beta 0.19.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6809f98611132652b68ff22ec3048cbe4b9d954c6a8c3a5aeba43ec6e297b15
|
4
|
+
data.tar.gz: a468f934757fb705671a3bc12ebd82a5109caeb1262759bb09553f882d9e608e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e9832c4d2b997d559dd0d0f0ea7ed226536257973953e1836b338fd5a4c05ec760dfa0678d25777f3cfe5a85a39799a72fd99a22d544810e3827b26417abeea
|
7
|
+
data.tar.gz: d847e6924de34f148f79418870eaabf4ced3004de0a3458fe361aec59e9d041ed65c62fb4d3106c2ffe57c4cea5c42d24271cf6e315528e72220e522f2b87f06
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1beta
|
2
2
|
|
3
|
+
### v0.23.0 (2022-02-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220127
|
6
|
+
|
7
|
+
### v0.22.0 (2022-01-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220118
|
10
|
+
|
11
|
+
### v0.21.0 (2022-01-19)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220112
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
16
|
+
### v0.20.0 (2022-01-10)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211230
|
19
|
+
|
3
20
|
### v0.19.0 (2021-12-14)
|
4
21
|
|
5
22
|
* Unspecified changes
|
@@ -93,6 +93,42 @@ module Google
|
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
96
|
+
# Configuration information for the auxiliary service versions.
|
97
|
+
class AuxiliaryVersionConfig
|
98
|
+
include Google::Apis::Core::Hashable
|
99
|
+
|
100
|
+
# A mapping of Hive metastore configuration key-value pairs to apply to the
|
101
|
+
# auxiliary Hive metastore (configured in hive-site.xml) in addition to the
|
102
|
+
# primary version's overrides. If keys are present in both the auxiliary version'
|
103
|
+
# s overrides and the primary version's overrides, the value from the auxiliary
|
104
|
+
# version's overrides takes precedence.
|
105
|
+
# Corresponds to the JSON property `configOverrides`
|
106
|
+
# @return [Hash<String,String>]
|
107
|
+
attr_accessor :config_overrides
|
108
|
+
|
109
|
+
# Network configuration for the Dataproc Metastore service.
|
110
|
+
# Corresponds to the JSON property `networkConfig`
|
111
|
+
# @return [Google::Apis::MetastoreV1beta::NetworkConfig]
|
112
|
+
attr_accessor :network_config
|
113
|
+
|
114
|
+
# The Hive metastore version of the auxiliary service. It must be less than the
|
115
|
+
# primary Hive metastore service's version.
|
116
|
+
# Corresponds to the JSON property `version`
|
117
|
+
# @return [String]
|
118
|
+
attr_accessor :version
|
119
|
+
|
120
|
+
def initialize(**args)
|
121
|
+
update!(**args)
|
122
|
+
end
|
123
|
+
|
124
|
+
# Update properties of this object
|
125
|
+
def update!(**args)
|
126
|
+
@config_overrides = args[:config_overrides] if args.key?(:config_overrides)
|
127
|
+
@network_config = args[:network_config] if args.key?(:network_config)
|
128
|
+
@version = args[:version] if args.key?(:version)
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
96
132
|
# The details of a backup resource.
|
97
133
|
class Backup
|
98
134
|
include Google::Apis::Core::Hashable
|
@@ -469,9 +505,22 @@ module Google
|
|
469
505
|
class HiveMetastoreConfig
|
470
506
|
include Google::Apis::Core::Hashable
|
471
507
|
|
508
|
+
# A mapping of Hive metastore version to the auxiliary version configuration.
|
509
|
+
# When specified, a secondary Hive metastore service is created along with the
|
510
|
+
# primary service. All auxiliary versions must be less than the service's
|
511
|
+
# primary version. The key is the auxiliary service name and it must match the
|
512
|
+
# regular expression a-z?. This means that the first character must be a
|
513
|
+
# lowercase letter, and all the following characters must be hyphens, lowercase
|
514
|
+
# letters, or digits, except the last character, which cannot be a hyphen.
|
515
|
+
# Corresponds to the JSON property `auxiliaryVersions`
|
516
|
+
# @return [Hash<String,Google::Apis::MetastoreV1beta::AuxiliaryVersionConfig>]
|
517
|
+
attr_accessor :auxiliary_versions
|
518
|
+
|
472
519
|
# A mapping of Hive metastore configuration key-value pairs to apply to the Hive
|
473
520
|
# metastore (configured in hive-site.xml). The mappings override system defaults
|
474
|
-
# (some keys cannot be overridden).
|
521
|
+
# (some keys cannot be overridden). These overrides are also applied to
|
522
|
+
# auxiliary versions and can be further customized in the auxiliary version's
|
523
|
+
# AuxiliaryVersionConfig.
|
475
524
|
# Corresponds to the JSON property `configOverrides`
|
476
525
|
# @return [Hash<String,String>]
|
477
526
|
attr_accessor :config_overrides
|
@@ -498,6 +547,7 @@ module Google
|
|
498
547
|
|
499
548
|
# Update properties of this object
|
500
549
|
def update!(**args)
|
550
|
+
@auxiliary_versions = args[:auxiliary_versions] if args.key?(:auxiliary_versions)
|
501
551
|
@config_overrides = args[:config_overrides] if args.key?(:config_overrides)
|
502
552
|
@endpoint_protocol = args[:endpoint_protocol] if args.key?(:endpoint_protocol)
|
503
553
|
@kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
|
@@ -1215,6 +1265,39 @@ module Google
|
|
1215
1265
|
end
|
1216
1266
|
end
|
1217
1267
|
|
1268
|
+
# Request message for DataprocMetastore.RemoveIamPolicy.
|
1269
|
+
class RemoveIamPolicyRequest
|
1270
|
+
include Google::Apis::Core::Hashable
|
1271
|
+
|
1272
|
+
def initialize(**args)
|
1273
|
+
update!(**args)
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
# Update properties of this object
|
1277
|
+
def update!(**args)
|
1278
|
+
end
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
# Response message for DataprocMetastore.RemoveIamPolicy.
|
1282
|
+
class RemoveIamPolicyResponse
|
1283
|
+
include Google::Apis::Core::Hashable
|
1284
|
+
|
1285
|
+
# whether related policies are removed
|
1286
|
+
# Corresponds to the JSON property `success`
|
1287
|
+
# @return [Boolean]
|
1288
|
+
attr_accessor :success
|
1289
|
+
alias_method :success?, :success
|
1290
|
+
|
1291
|
+
def initialize(**args)
|
1292
|
+
update!(**args)
|
1293
|
+
end
|
1294
|
+
|
1295
|
+
# Update properties of this object
|
1296
|
+
def update!(**args)
|
1297
|
+
@success = args[:success] if args.key?(:success)
|
1298
|
+
end
|
1299
|
+
end
|
1300
|
+
|
1218
1301
|
# The details of a metadata restore operation.
|
1219
1302
|
class Restore
|
1220
1303
|
include Google::Apis::Core::Hashable
|
@@ -1343,6 +1426,11 @@ module Google
|
|
1343
1426
|
# @return [String]
|
1344
1427
|
attr_accessor :create_time
|
1345
1428
|
|
1429
|
+
# Immutable. The database type that the Metastore service stores its data.
|
1430
|
+
# Corresponds to the JSON property `databaseType`
|
1431
|
+
# @return [String]
|
1432
|
+
attr_accessor :database_type
|
1433
|
+
|
1346
1434
|
# Encryption settings for the service.
|
1347
1435
|
# Corresponds to the JSON property `encryptionConfig`
|
1348
1436
|
# @return [Google::Apis::MetastoreV1beta::EncryptionConfig]
|
@@ -1443,6 +1531,7 @@ module Google
|
|
1443
1531
|
def update!(**args)
|
1444
1532
|
@artifact_gcs_uri = args[:artifact_gcs_uri] if args.key?(:artifact_gcs_uri)
|
1445
1533
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1534
|
+
@database_type = args[:database_type] if args.key?(:database_type)
|
1446
1535
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
1447
1536
|
@endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
|
1448
1537
|
@hive_metastore_config = args[:hive_metastore_config] if args.key?(:hive_metastore_config)
|
@@ -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.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220127"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AuxiliaryVersionConfig
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class Backup
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -214,6 +220,18 @@ module Google
|
|
214
220
|
include Google::Apis::Core::JsonObjectSupport
|
215
221
|
end
|
216
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
|
+
|
217
235
|
class Restore
|
218
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
237
|
|
@@ -279,6 +297,16 @@ module Google
|
|
279
297
|
end
|
280
298
|
end
|
281
299
|
|
300
|
+
class AuxiliaryVersionConfig
|
301
|
+
# @private
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
303
|
+
hash :config_overrides, as: 'configOverrides'
|
304
|
+
property :network_config, as: 'networkConfig', class: Google::Apis::MetastoreV1beta::NetworkConfig, decorator: Google::Apis::MetastoreV1beta::NetworkConfig::Representation
|
305
|
+
|
306
|
+
property :version, as: 'version'
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
282
310
|
class Backup
|
283
311
|
# @private
|
284
312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -371,6 +399,8 @@ module Google
|
|
371
399
|
class HiveMetastoreConfig
|
372
400
|
# @private
|
373
401
|
class Representation < Google::Apis::Core::JsonRepresentation
|
402
|
+
hash :auxiliary_versions, as: 'auxiliaryVersions', class: Google::Apis::MetastoreV1beta::AuxiliaryVersionConfig, decorator: Google::Apis::MetastoreV1beta::AuxiliaryVersionConfig::Representation
|
403
|
+
|
374
404
|
hash :config_overrides, as: 'configOverrides'
|
375
405
|
property :endpoint_protocol, as: 'endpointProtocol'
|
376
406
|
property :kerberos_config, as: 'kerberosConfig', class: Google::Apis::MetastoreV1beta::KerberosConfig, decorator: Google::Apis::MetastoreV1beta::KerberosConfig::Representation
|
@@ -569,6 +599,19 @@ module Google
|
|
569
599
|
end
|
570
600
|
end
|
571
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
|
+
|
572
615
|
class Restore
|
573
616
|
# @private
|
574
617
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -602,6 +645,7 @@ module Google
|
|
602
645
|
class Representation < Google::Apis::Core::JsonRepresentation
|
603
646
|
property :artifact_gcs_uri, as: 'artifactGcsUri'
|
604
647
|
property :create_time, as: 'createTime'
|
648
|
+
property :database_type, as: 'databaseType'
|
605
649
|
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::MetastoreV1beta::EncryptionConfig, decorator: Google::Apis::MetastoreV1beta::EncryptionConfig::Representation
|
606
650
|
|
607
651
|
property :endpoint_uri, as: 'endpointUri'
|
@@ -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::MetastoreV1beta::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::MetastoreV1beta::RemoveIamPolicyResponse] parsed result object
|
559
|
+
# @yieldparam err [StandardError] error object if request failed
|
560
|
+
#
|
561
|
+
# @return [Google::Apis::MetastoreV1beta::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, 'v1beta/{+resource}:removeIamPolicy', options)
|
568
|
+
command.request_representation = Google::Apis::MetastoreV1beta::RemoveIamPolicyRequest::Representation
|
569
|
+
command.request_object = remove_iam_policy_request_object
|
570
|
+
command.response_representation = Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse::Representation
|
571
|
+
command.response_class = Google::Apis::MetastoreV1beta::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_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.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-
|
11
|
+
date: 2022-02-07 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_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Dataproc Metastore API V1beta
|