google-apis-metastore_v1 0.3.0 → 0.5.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: 1f7c35a0d7c01662f7f05262795b6261a49f3df5f6f6aad4192013f586671a1e
|
4
|
+
data.tar.gz: 98235a6c18b09e12b2f0566f2c0eb120ba07850a020b255cfc43ffd623ee6fe3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a611a759298e2230a4016f286ad788c04d76d62582f7b53fedd3717804c310d2a5dd51439ed81a4e15338a7e535c175a38905af5b88611fa7d91cb4d305c9c88
|
7
|
+
data.tar.gz: 79bdec25ef8e48b45d3740e74bdc2a9f0f18fdfac6ae5bfeef0e12e57804cc1da5d76626c63064c4b7fce35976e08cdbb843e8510f7ec60627ee1be28bdc16c6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1
|
2
2
|
|
3
|
+
### v0.5.0 (2023-03-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230228
|
6
|
+
|
7
|
+
### v0.4.0 (2023-02-15)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.12.0
|
10
|
+
|
3
11
|
### v0.3.0 (2023-02-05)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230131
|
@@ -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::MetastoreV1::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
|
# Represents a backend metastore for the federation.
|
97
133
|
class BackendMetastore
|
98
134
|
include Google::Apis::Core::Hashable
|
@@ -552,6 +588,17 @@ module Google
|
|
552
588
|
class HiveMetastoreConfig
|
553
589
|
include Google::Apis::Core::Hashable
|
554
590
|
|
591
|
+
# A mapping of Hive metastore version to the auxiliary version configuration.
|
592
|
+
# When specified, a secondary Hive metastore service is created along with the
|
593
|
+
# primary service. All auxiliary versions must be less than the service's
|
594
|
+
# primary version. The key is the auxiliary service name and it must match the
|
595
|
+
# regular expression a-z?. This means that the first character must be a
|
596
|
+
# lowercase letter, and all the following characters must be hyphens, lowercase
|
597
|
+
# letters, or digits, except the last character, which cannot be a hyphen.
|
598
|
+
# Corresponds to the JSON property `auxiliaryVersions`
|
599
|
+
# @return [Hash<String,Google::Apis::MetastoreV1::AuxiliaryVersionConfig>]
|
600
|
+
attr_accessor :auxiliary_versions
|
601
|
+
|
555
602
|
# A mapping of Hive metastore configuration key-value pairs to apply to the Hive
|
556
603
|
# metastore (configured in hive-site.xml). The mappings override system defaults
|
557
604
|
# (some keys cannot be overridden). These overrides are also applied to
|
@@ -577,6 +624,7 @@ module Google
|
|
577
624
|
|
578
625
|
# Update properties of this object
|
579
626
|
def update!(**args)
|
627
|
+
@auxiliary_versions = args[:auxiliary_versions] if args.key?(:auxiliary_versions)
|
580
628
|
@config_overrides = args[:config_overrides] if args.key?(:config_overrides)
|
581
629
|
@kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
|
582
630
|
@version = args[:version] if args.key?(:version)
|
@@ -1370,6 +1418,33 @@ module Google
|
|
1370
1418
|
end
|
1371
1419
|
end
|
1372
1420
|
|
1421
|
+
# Represents the scaling configuration of a metastore service.
|
1422
|
+
class ScalingConfig
|
1423
|
+
include Google::Apis::Core::Hashable
|
1424
|
+
|
1425
|
+
# An enum of readable instance sizes, with each instance size mapping to a float
|
1426
|
+
# value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
|
1427
|
+
# Corresponds to the JSON property `instanceSize`
|
1428
|
+
# @return [String]
|
1429
|
+
attr_accessor :instance_size
|
1430
|
+
|
1431
|
+
# Scaling factor, increments of 0.1 for values less than 1.0, and increments of
|
1432
|
+
# 1.0 for values greater than 1.0.
|
1433
|
+
# Corresponds to the JSON property `scalingFactor`
|
1434
|
+
# @return [Float]
|
1435
|
+
attr_accessor :scaling_factor
|
1436
|
+
|
1437
|
+
def initialize(**args)
|
1438
|
+
update!(**args)
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
# Update properties of this object
|
1442
|
+
def update!(**args)
|
1443
|
+
@instance_size = args[:instance_size] if args.key?(:instance_size)
|
1444
|
+
@scaling_factor = args[:scaling_factor] if args.key?(:scaling_factor)
|
1445
|
+
end
|
1446
|
+
end
|
1447
|
+
|
1373
1448
|
# A securely stored value.
|
1374
1449
|
class Secret
|
1375
1450
|
include Google::Apis::Core::Hashable
|
@@ -1473,6 +1548,11 @@ module Google
|
|
1473
1548
|
# @return [String]
|
1474
1549
|
attr_accessor :release_channel
|
1475
1550
|
|
1551
|
+
# Represents the scaling configuration of a metastore service.
|
1552
|
+
# Corresponds to the JSON property `scalingConfig`
|
1553
|
+
# @return [Google::Apis::MetastoreV1::ScalingConfig]
|
1554
|
+
attr_accessor :scaling_config
|
1555
|
+
|
1476
1556
|
# Output only. The current state of the metastore service.
|
1477
1557
|
# Corresponds to the JSON property `state`
|
1478
1558
|
# @return [String]
|
@@ -1524,6 +1604,7 @@ module Google
|
|
1524
1604
|
@network_config = args[:network_config] if args.key?(:network_config)
|
1525
1605
|
@port = args[:port] if args.key?(:port)
|
1526
1606
|
@release_channel = args[:release_channel] if args.key?(:release_channel)
|
1607
|
+
@scaling_config = args[:scaling_config] if args.key?(:scaling_config)
|
1527
1608
|
@state = args[:state] if args.key?(:state)
|
1528
1609
|
@state_message = args[:state_message] if args.key?(:state_message)
|
1529
1610
|
@telemetry_config = args[:telemetry_config] if args.key?(:telemetry_config)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MetastoreV1
|
18
18
|
# Version of the google-apis-metastore_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230228"
|
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 BackendMetastore
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -226,6 +232,12 @@ module Google
|
|
226
232
|
include Google::Apis::Core::JsonObjectSupport
|
227
233
|
end
|
228
234
|
|
235
|
+
class ScalingConfig
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
229
241
|
class Secret
|
230
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
243
|
|
@@ -285,6 +297,16 @@ module Google
|
|
285
297
|
end
|
286
298
|
end
|
287
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::MetastoreV1::NetworkConfig, decorator: Google::Apis::MetastoreV1::NetworkConfig::Representation
|
305
|
+
|
306
|
+
property :version, as: 'version'
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
288
310
|
class BackendMetastore
|
289
311
|
# @private
|
290
312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -393,6 +415,8 @@ module Google
|
|
393
415
|
class HiveMetastoreConfig
|
394
416
|
# @private
|
395
417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
418
|
+
hash :auxiliary_versions, as: 'auxiliaryVersions', class: Google::Apis::MetastoreV1::AuxiliaryVersionConfig, decorator: Google::Apis::MetastoreV1::AuxiliaryVersionConfig::Representation
|
419
|
+
|
396
420
|
hash :config_overrides, as: 'configOverrides'
|
397
421
|
property :kerberos_config, as: 'kerberosConfig', class: Google::Apis::MetastoreV1::KerberosConfig, decorator: Google::Apis::MetastoreV1::KerberosConfig::Representation
|
398
422
|
|
@@ -604,6 +628,14 @@ module Google
|
|
604
628
|
end
|
605
629
|
end
|
606
630
|
|
631
|
+
class ScalingConfig
|
632
|
+
# @private
|
633
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
634
|
+
property :instance_size, as: 'instanceSize'
|
635
|
+
property :scaling_factor, as: 'scalingFactor'
|
636
|
+
end
|
637
|
+
end
|
638
|
+
|
607
639
|
class Secret
|
608
640
|
# @private
|
609
641
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -633,6 +665,8 @@ module Google
|
|
633
665
|
|
634
666
|
property :port, as: 'port'
|
635
667
|
property :release_channel, as: 'releaseChannel'
|
668
|
+
property :scaling_config, as: 'scalingConfig', class: Google::Apis::MetastoreV1::ScalingConfig, decorator: Google::Apis::MetastoreV1::ScalingConfig::Representation
|
669
|
+
|
636
670
|
property :state, as: 'state'
|
637
671
|
property :state_message, as: 'stateMessage'
|
638
672
|
property :telemetry_config, as: 'telemetryConfig', class: Google::Apis::MetastoreV1::TelemetryConfig, decorator: Google::Apis::MetastoreV1::TelemetryConfig::Representation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-metastore_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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: 2023-
|
11
|
+
date: 2023-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.11.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.11.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.5.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|