google-apis-metastore_v1alpha 0.60.0 → 0.61.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: 53cc4bd74da1341bcb8295b873919b69fbb638c24b4c348ae33fb6c3c8db7854
4
- data.tar.gz: c6bbf12b787817cfe289c37b2a7a0320dab70cbaeaf727cd266f075a9da1d24b
3
+ metadata.gz: 4d9a45809f463203bea93536dc1b1f6f78c55dc339e015af7d0a96dda1475e4f
4
+ data.tar.gz: 735fb726f24979b0a734f90fbb301dbcd8489fdce3d61dd601033df04fabd12d
5
5
  SHA512:
6
- metadata.gz: 93b76e0feecba2a83e7948871c7e312d38bdbb30d41ed099ebb86d521138b7e61b9899d7288834e914b7d2e250fe8e9dc8c9f2de739f91042c52307ba3f3230b
7
- data.tar.gz: c40d821c93b416470ac93b7287525570e5894d38aeab19a6b79e99d9822548d08a6bc1094016fed30d8a8b9e98cb09bc54d3d3265a8861b10724016b61c03bca
6
+ metadata.gz: 1bbd5a90616e86f203cfe7181e49b4ed4707c6273033bca595451ce84ea8ea80c478284d262156bb008466eebe36291a92b663c565da0698e557d23251f4f132
7
+ data.tar.gz: e704ca468764627af82c0b93b588d5d15ab27111d7b7784b577f8acedd4b1d9e0ea4a5a21e57e87ad62fa841c5dc39326a75c349a7d19e2825f974a2ca8e8af7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-metastore_v1alpha
2
2
 
3
+ ### v0.61.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240411
6
+
3
7
  ### v0.60.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::MetastoreV1alpha::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::MetastoreV1alpha::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::MetastoreV1alpha::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 MetastoreV1alpha
18
18
  # Version of the google-apis-metastore_v1alpha gem
19
- GEM_VERSION = "0.60.0"
19
+ GEM_VERSION = "0.61.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::MetastoreV1alpha::LimitConfig, decorator: Google::Apis::MetastoreV1alpha::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::MetastoreV1alpha::AutoscalingConfig, decorator: Google::Apis::MetastoreV1alpha::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_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.0
4
+ version: 0.61.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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.60.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1alpha/v0.61.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: []