google-apis-metastore_v1alpha 0.21.0 → 0.24.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: 952abdb08d88f31cfe54071920cee620d3b48e66f522c3aaca1c19a67f3a62da
|
4
|
+
data.tar.gz: 076a9339e84ce960f386dca5446a0b1547155f595682a050022040574468b684
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dba461514a5c004d7698e18c64c1dbd5fd0c7ec0fa96aac2d0ce1619e65084219d5c98cd8a61bbc443627e2f8ccb90e01cdd1dfb7061f49d8eb8af13a0bf65a
|
7
|
+
data.tar.gz: e3002c7a9785f3b291a672e12ef55f755bee5d55cfaac87c1cf5599c3fbd3dee085cf2984236ddc9ba342d493088ef964cdc8eb6e696d678b94c46784b3f287b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1alpha
|
2
2
|
|
3
|
+
### v0.24.0 (2022-04-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220331
|
6
|
+
|
7
|
+
### v0.23.0 (2022-02-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220127
|
10
|
+
|
11
|
+
### v0.22.0 (2022-01-24)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220118
|
14
|
+
|
3
15
|
### v0.21.0 (2022-01-19)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220112
|
@@ -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::MetastoreV1alpha::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
|
@@ -336,8 +372,7 @@ module Google
|
|
336
372
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
337
373
|
# messages in your APIs. A typical example is to use it as the request or the
|
338
374
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
339
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
340
|
-
# Empty is empty JSON object ``.
|
375
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
341
376
|
class Empty
|
342
377
|
include Google::Apis::Core::Hashable
|
343
378
|
|
@@ -469,6 +504,17 @@ module Google
|
|
469
504
|
class HiveMetastoreConfig
|
470
505
|
include Google::Apis::Core::Hashable
|
471
506
|
|
507
|
+
# A mapping of Hive metastore version to the auxiliary version configuration.
|
508
|
+
# When specified, a secondary Hive metastore service is created along with the
|
509
|
+
# primary service. All auxiliary versions must be less than the service's
|
510
|
+
# primary version. The key is the auxiliary service name and it must match the
|
511
|
+
# regular expression a-z?. This means that the first character must be a
|
512
|
+
# lowercase letter, and all the following characters must be hyphens, lowercase
|
513
|
+
# letters, or digits, except the last character, which cannot be a hyphen.
|
514
|
+
# Corresponds to the JSON property `auxiliaryVersions`
|
515
|
+
# @return [Hash<String,Google::Apis::MetastoreV1alpha::AuxiliaryVersionConfig>]
|
516
|
+
attr_accessor :auxiliary_versions
|
517
|
+
|
472
518
|
# A mapping of Hive metastore configuration key-value pairs to apply to the Hive
|
473
519
|
# metastore (configured in hive-site.xml). The mappings override system defaults
|
474
520
|
# (some keys cannot be overridden). These overrides are also applied to
|
@@ -500,6 +546,7 @@ module Google
|
|
500
546
|
|
501
547
|
# Update properties of this object
|
502
548
|
def update!(**args)
|
549
|
+
@auxiliary_versions = args[:auxiliary_versions] if args.key?(:auxiliary_versions)
|
503
550
|
@config_overrides = args[:config_overrides] if args.key?(:config_overrides)
|
504
551
|
@endpoint_protocol = args[:endpoint_protocol] if args.key?(:endpoint_protocol)
|
505
552
|
@kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
|
@@ -1217,6 +1264,39 @@ module Google
|
|
1217
1264
|
end
|
1218
1265
|
end
|
1219
1266
|
|
1267
|
+
# Request message for DataprocMetastore.RemoveIamPolicy.
|
1268
|
+
class RemoveIamPolicyRequest
|
1269
|
+
include Google::Apis::Core::Hashable
|
1270
|
+
|
1271
|
+
def initialize(**args)
|
1272
|
+
update!(**args)
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
# Update properties of this object
|
1276
|
+
def update!(**args)
|
1277
|
+
end
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
# Response message for DataprocMetastore.RemoveIamPolicy.
|
1281
|
+
class RemoveIamPolicyResponse
|
1282
|
+
include Google::Apis::Core::Hashable
|
1283
|
+
|
1284
|
+
# whether related policies are removed
|
1285
|
+
# Corresponds to the JSON property `success`
|
1286
|
+
# @return [Boolean]
|
1287
|
+
attr_accessor :success
|
1288
|
+
alias_method :success?, :success
|
1289
|
+
|
1290
|
+
def initialize(**args)
|
1291
|
+
update!(**args)
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
# Update properties of this object
|
1295
|
+
def update!(**args)
|
1296
|
+
@success = args[:success] if args.key?(:success)
|
1297
|
+
end
|
1298
|
+
end
|
1299
|
+
|
1220
1300
|
# The details of a metadata restore operation.
|
1221
1301
|
class Restore
|
1222
1302
|
include Google::Apis::Core::Hashable
|
@@ -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.24.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220331"
|
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::MetastoreV1alpha::NetworkConfig, decorator: Google::Apis::MetastoreV1alpha::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::MetastoreV1alpha::AuxiliaryVersionConfig, decorator: Google::Apis::MetastoreV1alpha::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::MetastoreV1alpha::KerberosConfig, decorator: Google::Apis::MetastoreV1alpha::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
|
@@ -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::MetastoreV1alpha::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::MetastoreV1alpha::RemoveIamPolicyResponse] parsed result object
|
559
|
+
# @yieldparam err [StandardError] error object if request failed
|
560
|
+
#
|
561
|
+
# @return [Google::Apis::MetastoreV1alpha::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, 'v1alpha/{+resource}:removeIamPolicy', options)
|
568
|
+
command.request_representation = Google::Apis::MetastoreV1alpha::RemoveIamPolicyRequest::Representation
|
569
|
+
command.request_object = remove_iam_policy_request_object
|
570
|
+
command.response_representation = Google::Apis::MetastoreV1alpha::RemoveIamPolicyResponse::Representation
|
571
|
+
command.response_class = Google::Apis::MetastoreV1alpha::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_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.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-04-11 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_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.24.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|