google-apis-dataproc_v1 0.55.0 → 0.56.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: 1708ac356af646ab7efa35259ca866a67d6cd5425c08a1a188d0aed1317f44c0
4
- data.tar.gz: ec4ef39038c1606bf137e832917694490a0c7cb7e9890a8b3d0dcafee26e8e73
3
+ metadata.gz: 17217fe058992b7183b0eead8a5341908d35b6cc198bfb492b0542c6adf49e64
4
+ data.tar.gz: f36ec5e9afe9132c7bebaa9dd7572506fc9802ecdc1833fdd17f7fa4158aca11
5
5
  SHA512:
6
- metadata.gz: 5d0a7e80f943c7ddb92f4bfb185687035ae207fb9d97ca7ede9315826b96845fb7d357db25a1e4d11f91e50bd78cf35c21957e6b51be0194debe1503ed6bb5de
7
- data.tar.gz: cdf59d1de14910842f54a875c7227bb262c17303545c43884b2e1a8b432e68963be5dd42f1013d00d29079080b77cc2c7167dfadd6e2e2ef08401dae033d52c5
6
+ metadata.gz: 14a2aadb833400938203f681982a1b002a6b793a409557afc8e20dd67e9d98b1cd5f59b3a44b24ab771f50ab8be34d5defe672ed481a9ed3db80fb9a9b37a7c7
7
+ data.tar.gz: 19ee3c63657a969c5a6955e21a01eccb3fe6566701671718cde1e771626f8bba7f3b3fa9697a789ae477cb426984be0bcc547ab129206421e796e7e7bf288928
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.56.0 (2023-10-01)
4
+
5
+ * Regenerated from discovery document revision 20230926
6
+
3
7
  ### v0.55.0 (2023-09-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20230919
@@ -2303,6 +2303,12 @@ module Google
2303
2303
  # @return [String]
2304
2304
  attr_accessor :preemptibility
2305
2305
 
2306
+ # Configuration to handle the startup of instances during cluster create and
2307
+ # update process.
2308
+ # Corresponds to the JSON property `startupConfig`
2309
+ # @return [Google::Apis::DataprocV1::StartupConfig]
2310
+ attr_accessor :startup_config
2311
+
2306
2312
  def initialize(**args)
2307
2313
  update!(**args)
2308
2314
  end
@@ -2322,6 +2328,7 @@ module Google
2322
2328
  @min_num_instances = args[:min_num_instances] if args.key?(:min_num_instances)
2323
2329
  @num_instances = args[:num_instances] if args.key?(:num_instances)
2324
2330
  @preemptibility = args[:preemptibility] if args.key?(:preemptibility)
2331
+ @startup_config = args[:startup_config] if args.key?(:startup_config)
2325
2332
  end
2326
2333
  end
2327
2334
 
@@ -5341,6 +5348,12 @@ module Google
5341
5348
  # @return [String]
5342
5349
  attr_accessor :graceful_decommission_timeout
5343
5350
 
5351
+ # Optional. Remove only idle workers when scaling down cluster
5352
+ # Corresponds to the JSON property `removeOnlyIdleWorkers`
5353
+ # @return [Boolean]
5354
+ attr_accessor :remove_only_idle_workers
5355
+ alias_method :remove_only_idle_workers?, :remove_only_idle_workers
5356
+
5344
5357
  # Required. Fraction of required executors to remove from Spark Serverless
5345
5358
  # clusters. A scale-down factor of 1.0 will result in scaling down so that there
5346
5359
  # are no more executors for the Spark Job.(more aggressive scaling). A scale-
@@ -5384,6 +5397,7 @@ module Google
5384
5397
  # Update properties of this object
5385
5398
  def update!(**args)
5386
5399
  @graceful_decommission_timeout = args[:graceful_decommission_timeout] if args.key?(:graceful_decommission_timeout)
5400
+ @remove_only_idle_workers = args[:remove_only_idle_workers] if args.key?(:remove_only_idle_workers)
5387
5401
  @scale_down_factor = args[:scale_down_factor] if args.key?(:scale_down_factor)
5388
5402
  @scale_down_min_worker_fraction = args[:scale_down_min_worker_fraction] if args.key?(:scale_down_min_worker_fraction)
5389
5403
  @scale_up_factor = args[:scale_up_factor] if args.key?(:scale_up_factor)
@@ -5425,6 +5439,31 @@ module Google
5425
5439
  end
5426
5440
  end
5427
5441
 
5442
+ # Configuration to handle the startup of instances during cluster create and
5443
+ # update process.
5444
+ class StartupConfig
5445
+ include Google::Apis::Core::Hashable
5446
+
5447
+ # Optional. The config setting to enable cluster creation/ updation to be
5448
+ # successful only after required_registration_fraction of instances are up and
5449
+ # running. This configuration is applicable to only secondary workers for now.
5450
+ # The cluster will fail if required_registration_fraction of instances are not
5451
+ # available. This will include instance creation, agent registration, and
5452
+ # service registration (if enabled).
5453
+ # Corresponds to the JSON property `requiredRegistrationFraction`
5454
+ # @return [Float]
5455
+ attr_accessor :required_registration_fraction
5456
+
5457
+ def initialize(**args)
5458
+ update!(**args)
5459
+ end
5460
+
5461
+ # Update properties of this object
5462
+ def update!(**args)
5463
+ @required_registration_fraction = args[:required_registration_fraction] if args.key?(:required_registration_fraction)
5464
+ end
5465
+ end
5466
+
5428
5467
  # Historical state information.
5429
5468
  class StateHistory
5430
5469
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataprocV1
18
18
  # Version of the google-apis-dataproc_v1 gem
19
- GEM_VERSION = "0.55.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230919"
25
+ REVISION = "20230926"
26
26
  end
27
27
  end
28
28
  end
@@ -730,6 +730,12 @@ module Google
730
730
  include Google::Apis::Core::JsonObjectSupport
731
731
  end
732
732
 
733
+ class StartupConfig
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
733
739
  class StateHistory
734
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
735
741
 
@@ -1402,6 +1408,8 @@ module Google
1402
1408
  property :min_num_instances, as: 'minNumInstances'
1403
1409
  property :num_instances, as: 'numInstances'
1404
1410
  property :preemptibility, as: 'preemptibility'
1411
+ property :startup_config, as: 'startupConfig', class: Google::Apis::DataprocV1::StartupConfig, decorator: Google::Apis::DataprocV1::StartupConfig::Representation
1412
+
1405
1413
  end
1406
1414
  end
1407
1415
 
@@ -2169,6 +2177,7 @@ module Google
2169
2177
  # @private
2170
2178
  class Representation < Google::Apis::Core::JsonRepresentation
2171
2179
  property :graceful_decommission_timeout, as: 'gracefulDecommissionTimeout'
2180
+ property :remove_only_idle_workers, as: 'removeOnlyIdleWorkers'
2172
2181
  property :scale_down_factor, as: 'scaleDownFactor'
2173
2182
  property :scale_down_min_worker_fraction, as: 'scaleDownMinWorkerFraction'
2174
2183
  property :scale_up_factor, as: 'scaleUpFactor'
@@ -2184,6 +2193,13 @@ module Google
2184
2193
  end
2185
2194
  end
2186
2195
 
2196
+ class StartupConfig
2197
+ # @private
2198
+ class Representation < Google::Apis::Core::JsonRepresentation
2199
+ property :required_registration_fraction, as: 'requiredRegistrationFraction'
2200
+ end
2201
+ end
2202
+
2187
2203
  class StateHistory
2188
2204
  # @private
2189
2205
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataproc_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.56.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-09-24 00:00:00.000000000 Z
11
+ date: 2023-10-01 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-dataproc_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.56.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1
63
63
  post_install_message:
64
64
  rdoc_options: []