google-apis-metastore_v1beta 0.61.0 → 0.62.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: 8cb3a390cca2d08dc1bf54d5e69408b20b9f6d462fc1a07607e854b7b9ac5f42
4
- data.tar.gz: dc4359135ec52dda23053572135438410d69d6c614cbd4cf440cc5190e8c130b
3
+ metadata.gz: a1bdf521e5019ddf097098d07e8dfe5efffc8c71305ac5a96f321007f58735bd
4
+ data.tar.gz: 8a73ef14b219b4fa8973ffb95cf706282369710b7bf4c6bac6e97e58cae76146
5
5
  SHA512:
6
- metadata.gz: db6e296476f92b4a5984d191960c1d570d73669bcd47798cee4d99cf2cdafa2659745650d8fbb0db52469578c5b40bcb2d8f1c41f3557466a99f52b71a893d74
7
- data.tar.gz: eb3f3f0f385912702adfe995b3e38ad13b1ce5f57f2c8c2a0bad6f443a309d0e5e5ac2c76cad186e796db898cb1627c00404d8645d612ff0e0cd019959d7d12f
6
+ metadata.gz: dfce8e736288a955c8b60d5694e7ec8dc2c3b395b5ed3f7f26342dd822d09b7ffc3c1941e1190e38dc82d4094254dc47f848e427b120d956de27be4d55a62ebf
7
+ data.tar.gz: a6eac5cfe14f2cfd4dfd5230ed281b6c1ef81dc5d75351e8a33445c7b012fb15d99098c24202533d6b16542e9de6cd7dafce89ef29e2b16e16317c9ecc5a9be8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.62.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240411
6
+
3
7
  ### v0.61.0 (2024-03-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20240325
@@ -173,6 +173,38 @@ module Google
173
173
  end
174
174
  end
175
175
 
176
+ # Represents the autoscaling configuration of a metastore service.
177
+ class AutoscalingConfig
178
+ include Google::Apis::Core::Hashable
179
+
180
+ # Optional. Whether or not autoscaling is enabled for this service.
181
+ # Corresponds to the JSON property `autoscalingEnabled`
182
+ # @return [Boolean]
183
+ attr_accessor :autoscaling_enabled
184
+ alias_method :autoscaling_enabled?, :autoscaling_enabled
185
+
186
+ # Output only. The scaling factor of a service with autoscaling enabled.
187
+ # Corresponds to the JSON property `autoscalingFactor`
188
+ # @return [Float]
189
+ attr_accessor :autoscaling_factor
190
+
191
+ # Represents the autoscaling limit configuration of a metastore service.
192
+ # Corresponds to the JSON property `limitConfig`
193
+ # @return [Google::Apis::MetastoreV1beta::LimitConfig]
194
+ attr_accessor :limit_config
195
+
196
+ def initialize(**args)
197
+ update!(**args)
198
+ end
199
+
200
+ # Update properties of this object
201
+ def update!(**args)
202
+ @autoscaling_enabled = args[:autoscaling_enabled] if args.key?(:autoscaling_enabled)
203
+ @autoscaling_factor = args[:autoscaling_factor] if args.key?(:autoscaling_factor)
204
+ @limit_config = args[:limit_config] if args.key?(:limit_config)
205
+ end
206
+ end
207
+
176
208
  # Configuration information for the auxiliary service versions.
177
209
  class AuxiliaryVersionConfig
178
210
  include Google::Apis::Core::Hashable
@@ -587,7 +619,7 @@ module Google
587
619
  end
588
620
 
589
621
  # Configuration information for migrating from self-managed hive metastore on
590
- # GCP using Cloud SQL as the backend database to DPMS.
622
+ # Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.
591
623
  class CloudSqlMigrationConfig
592
624
  include Google::Apis::Core::Hashable
593
625
 
@@ -1176,6 +1208,31 @@ module Google
1176
1208
  end
1177
1209
  end
1178
1210
 
1211
+ # Represents the autoscaling limit configuration of a metastore service.
1212
+ class LimitConfig
1213
+ include Google::Apis::Core::Hashable
1214
+
1215
+ # Optional. The highest scaling factor that the service should be autoscaled to.
1216
+ # Corresponds to the JSON property `maxScalingFactor`
1217
+ # @return [Float]
1218
+ attr_accessor :max_scaling_factor
1219
+
1220
+ # Optional. The lowest scaling factor that the service should be autoscaled to.
1221
+ # Corresponds to the JSON property `minScalingFactor`
1222
+ # @return [Float]
1223
+ attr_accessor :min_scaling_factor
1224
+
1225
+ def initialize(**args)
1226
+ update!(**args)
1227
+ end
1228
+
1229
+ # Update properties of this object
1230
+ def update!(**args)
1231
+ @max_scaling_factor = args[:max_scaling_factor] if args.key?(:max_scaling_factor)
1232
+ @min_scaling_factor = args[:min_scaling_factor] if args.key?(:min_scaling_factor)
1233
+ end
1234
+ end
1235
+
1179
1236
  # Response message for DataprocMetastore.ListBackups.
1180
1237
  class ListBackupsResponse
1181
1238
  include Google::Apis::Core::Hashable
@@ -1647,7 +1704,7 @@ module Google
1647
1704
  include Google::Apis::Core::Hashable
1648
1705
 
1649
1706
  # Configuration information for migrating from self-managed hive metastore on
1650
- # GCP using Cloud SQL as the backend database to DPMS.
1707
+ # Google Cloud using Cloud SQL as the backend database to Dataproc Metastore.
1651
1708
  # Corresponds to the JSON property `cloudSqlMigrationConfig`
1652
1709
  # @return [Google::Apis::MetastoreV1beta::CloudSqlMigrationConfig]
1653
1710
  attr_accessor :cloud_sql_migration_config
@@ -2204,6 +2261,11 @@ module Google
2204
2261
  class ScalingConfig
2205
2262
  include Google::Apis::Core::Hashable
2206
2263
 
2264
+ # Represents the autoscaling configuration of a metastore service.
2265
+ # Corresponds to the JSON property `autoscalingConfig`
2266
+ # @return [Google::Apis::MetastoreV1beta::AutoscalingConfig]
2267
+ attr_accessor :autoscaling_config
2268
+
2207
2269
  # An enum of readable instance sizes, with each instance size mapping to a float
2208
2270
  # value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
2209
2271
  # Corresponds to the JSON property `instanceSize`
@@ -2222,6 +2284,7 @@ module Google
2222
2284
 
2223
2285
  # Update properties of this object
2224
2286
  def update!(**args)
2287
+ @autoscaling_config = args[:autoscaling_config] if args.key?(:autoscaling_config)
2225
2288
  @instance_size = args[:instance_size] if args.key?(:instance_size)
2226
2289
  @scaling_factor = args[:scaling_factor] if args.key?(:scaling_factor)
2227
2290
  end
@@ -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.61.0"
19
+ GEM_VERSION = "0.62.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240325"
25
+ REVISION = "20240411"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class AutoscalingConfig
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class AuxiliaryVersionConfig
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -214,6 +220,12 @@ module Google
214
220
  include Google::Apis::Core::JsonObjectSupport
215
221
  end
216
222
 
223
+ class LimitConfig
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
217
229
  class ListBackupsResponse
218
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
231
 
@@ -482,6 +494,16 @@ module Google
482
494
  end
483
495
  end
484
496
 
497
+ class AutoscalingConfig
498
+ # @private
499
+ class Representation < Google::Apis::Core::JsonRepresentation
500
+ property :autoscaling_enabled, as: 'autoscalingEnabled'
501
+ property :autoscaling_factor, as: 'autoscalingFactor'
502
+ property :limit_config, as: 'limitConfig', class: Google::Apis::MetastoreV1beta::LimitConfig, decorator: Google::Apis::MetastoreV1beta::LimitConfig::Representation
503
+
504
+ end
505
+ end
506
+
485
507
  class AuxiliaryVersionConfig
486
508
  # @private
487
509
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -731,6 +753,14 @@ module Google
731
753
  end
732
754
  end
733
755
 
756
+ class LimitConfig
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :max_scaling_factor, as: 'maxScalingFactor'
760
+ property :min_scaling_factor, as: 'minScalingFactor'
761
+ end
762
+ end
763
+
734
764
  class ListBackupsResponse
735
765
  # @private
736
766
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1009,6 +1039,8 @@ module Google
1009
1039
  class ScalingConfig
1010
1040
  # @private
1011
1041
  class Representation < Google::Apis::Core::JsonRepresentation
1042
+ property :autoscaling_config, as: 'autoscalingConfig', class: Google::Apis::MetastoreV1beta::AutoscalingConfig, decorator: Google::Apis::MetastoreV1beta::AutoscalingConfig::Representation
1043
+
1012
1044
  property :instance_size, as: 'instanceSize'
1013
1045
  property :scaling_factor, as: 'scalingFactor'
1014
1046
  end
@@ -1103,7 +1103,7 @@ module Google
1103
1103
  execute_or_queue_command(command, &block)
1104
1104
  end
1105
1105
 
1106
- # Query DPMS metadata.
1106
+ # Query Dataproc Metastore metadata.
1107
1107
  # @param [String] service
1108
1108
  # Required. The relative resource name of the metastore service to query
1109
1109
  # metadata, in the following format:projects/`project_id`/locations/`location_id`
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.61.0
4
+ version: 0.62.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: 2024-03-31 00:00:00.000000000 Z
11
+ date: 2024-04-21 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.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.62.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: []