google-apis-dataproc_v1 0.55.0 → 0.57.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: f4e7f5662c86c21dd3b652cf4e7199695b927ee5b60767c7835978be30670a6d
|
4
|
+
data.tar.gz: c7639ac588c06916f7c93be2ea8983a03dc90711e60980f42dad25d417e07e63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eeeb2ccc1209818304f2061c813df96838178a7791fef7450a7e5a28c5e70c38d24104ff3a84a8d510c0c341a4bc0f1d99231c53e70c34cd42a171c600df6fa
|
7
|
+
data.tar.gz: 5aa22d47b29d03ae97ecf97fb4059a04af128bd82d3926f3d690276700ec780210e7cbe957ef67cb1f279b2795388ba034fa69c702495bf1ca0ffd55606f7f52
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dataproc_v1
|
2
2
|
|
3
|
+
### v0.57.0 (2023-10-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231002
|
6
|
+
|
7
|
+
### v0.56.0 (2023-10-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230926
|
10
|
+
|
3
11
|
### v0.55.0 (2023-09-24)
|
4
12
|
|
5
13
|
* 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
|
|
@@ -4443,6 +4450,11 @@ module Google
|
|
4443
4450
|
# @return [String]
|
4444
4451
|
attr_accessor :graceful_decommission_timeout
|
4445
4452
|
|
4453
|
+
# Optional. operation id of the parent operation sending the resize request
|
4454
|
+
# Corresponds to the JSON property `parentOperationId`
|
4455
|
+
# @return [String]
|
4456
|
+
attr_accessor :parent_operation_id
|
4457
|
+
|
4446
4458
|
# Optional. A unique ID used to identify the request. If the server receives two
|
4447
4459
|
# ResizeNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
4448
4460
|
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.ResizeNodeGroupRequests)
|
@@ -4470,6 +4482,7 @@ module Google
|
|
4470
4482
|
# Update properties of this object
|
4471
4483
|
def update!(**args)
|
4472
4484
|
@graceful_decommission_timeout = args[:graceful_decommission_timeout] if args.key?(:graceful_decommission_timeout)
|
4485
|
+
@parent_operation_id = args[:parent_operation_id] if args.key?(:parent_operation_id)
|
4473
4486
|
@request_id = args[:request_id] if args.key?(:request_id)
|
4474
4487
|
@size = args[:size] if args.key?(:size)
|
4475
4488
|
end
|
@@ -5341,6 +5354,12 @@ module Google
|
|
5341
5354
|
# @return [String]
|
5342
5355
|
attr_accessor :graceful_decommission_timeout
|
5343
5356
|
|
5357
|
+
# Optional. Remove only idle workers when scaling down cluster
|
5358
|
+
# Corresponds to the JSON property `removeOnlyIdleWorkers`
|
5359
|
+
# @return [Boolean]
|
5360
|
+
attr_accessor :remove_only_idle_workers
|
5361
|
+
alias_method :remove_only_idle_workers?, :remove_only_idle_workers
|
5362
|
+
|
5344
5363
|
# Required. Fraction of required executors to remove from Spark Serverless
|
5345
5364
|
# clusters. A scale-down factor of 1.0 will result in scaling down so that there
|
5346
5365
|
# are no more executors for the Spark Job.(more aggressive scaling). A scale-
|
@@ -5384,6 +5403,7 @@ module Google
|
|
5384
5403
|
# Update properties of this object
|
5385
5404
|
def update!(**args)
|
5386
5405
|
@graceful_decommission_timeout = args[:graceful_decommission_timeout] if args.key?(:graceful_decommission_timeout)
|
5406
|
+
@remove_only_idle_workers = args[:remove_only_idle_workers] if args.key?(:remove_only_idle_workers)
|
5387
5407
|
@scale_down_factor = args[:scale_down_factor] if args.key?(:scale_down_factor)
|
5388
5408
|
@scale_down_min_worker_fraction = args[:scale_down_min_worker_fraction] if args.key?(:scale_down_min_worker_fraction)
|
5389
5409
|
@scale_up_factor = args[:scale_up_factor] if args.key?(:scale_up_factor)
|
@@ -5425,6 +5445,31 @@ module Google
|
|
5425
5445
|
end
|
5426
5446
|
end
|
5427
5447
|
|
5448
|
+
# Configuration to handle the startup of instances during cluster create and
|
5449
|
+
# update process.
|
5450
|
+
class StartupConfig
|
5451
|
+
include Google::Apis::Core::Hashable
|
5452
|
+
|
5453
|
+
# Optional. The config setting to enable cluster creation/ updation to be
|
5454
|
+
# successful only after required_registration_fraction of instances are up and
|
5455
|
+
# running. This configuration is applicable to only secondary workers for now.
|
5456
|
+
# The cluster will fail if required_registration_fraction of instances are not
|
5457
|
+
# available. This will include instance creation, agent registration, and
|
5458
|
+
# service registration (if enabled).
|
5459
|
+
# Corresponds to the JSON property `requiredRegistrationFraction`
|
5460
|
+
# @return [Float]
|
5461
|
+
attr_accessor :required_registration_fraction
|
5462
|
+
|
5463
|
+
def initialize(**args)
|
5464
|
+
update!(**args)
|
5465
|
+
end
|
5466
|
+
|
5467
|
+
# Update properties of this object
|
5468
|
+
def update!(**args)
|
5469
|
+
@required_registration_fraction = args[:required_registration_fraction] if args.key?(:required_registration_fraction)
|
5470
|
+
end
|
5471
|
+
end
|
5472
|
+
|
5428
5473
|
# Historical state information.
|
5429
5474
|
class StateHistory
|
5430
5475
|
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.
|
19
|
+
GEM_VERSION = "0.57.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 = "
|
25
|
+
REVISION = "20231002"
|
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
|
|
@@ -1952,6 +1960,7 @@ module Google
|
|
1952
1960
|
# @private
|
1953
1961
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1954
1962
|
property :graceful_decommission_timeout, as: 'gracefulDecommissionTimeout'
|
1963
|
+
property :parent_operation_id, as: 'parentOperationId'
|
1955
1964
|
property :request_id, as: 'requestId'
|
1956
1965
|
property :size, as: 'size'
|
1957
1966
|
end
|
@@ -2169,6 +2178,7 @@ module Google
|
|
2169
2178
|
# @private
|
2170
2179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2171
2180
|
property :graceful_decommission_timeout, as: 'gracefulDecommissionTimeout'
|
2181
|
+
property :remove_only_idle_workers, as: 'removeOnlyIdleWorkers'
|
2172
2182
|
property :scale_down_factor, as: 'scaleDownFactor'
|
2173
2183
|
property :scale_down_min_worker_fraction, as: 'scaleDownMinWorkerFraction'
|
2174
2184
|
property :scale_up_factor, as: 'scaleUpFactor'
|
@@ -2184,6 +2194,13 @@ module Google
|
|
2184
2194
|
end
|
2185
2195
|
end
|
2186
2196
|
|
2197
|
+
class StartupConfig
|
2198
|
+
# @private
|
2199
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2200
|
+
property :required_registration_fraction, as: 'requiredRegistrationFraction'
|
2201
|
+
end
|
2202
|
+
end
|
2203
|
+
|
2187
2204
|
class StateHistory
|
2188
2205
|
# @private
|
2189
2206
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2370,6 +2370,8 @@ module Google
|
|
2370
2370
|
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
2371
2371
|
# ). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33
|
2372
2372
|
# characters.
|
2373
|
+
# @param [String] parent_operation_id
|
2374
|
+
# Optional. operation id of the parent operation sending the create request
|
2373
2375
|
# @param [String] request_id
|
2374
2376
|
# Optional. A unique ID used to identify the request. If the server receives two
|
2375
2377
|
# CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
@@ -2397,7 +2399,7 @@ module Google
|
|
2397
2399
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2398
2400
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2399
2401
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2400
|
-
def create_project_region_cluster_node_group(parent, node_group_object = nil, node_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2402
|
+
def create_project_region_cluster_node_group(parent, node_group_object = nil, node_group_id: nil, parent_operation_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2401
2403
|
command = make_simple_command(:post, 'v1/{+parent}/nodeGroups', options)
|
2402
2404
|
command.request_representation = Google::Apis::DataprocV1::NodeGroup::Representation
|
2403
2405
|
command.request_object = node_group_object
|
@@ -2405,6 +2407,7 @@ module Google
|
|
2405
2407
|
command.response_class = Google::Apis::DataprocV1::Operation
|
2406
2408
|
command.params['parent'] = parent unless parent.nil?
|
2407
2409
|
command.query['nodeGroupId'] = node_group_id unless node_group_id.nil?
|
2410
|
+
command.query['parentOperationId'] = parent_operation_id unless parent_operation_id.nil?
|
2408
2411
|
command.query['requestId'] = request_id unless request_id.nil?
|
2409
2412
|
command.query['fields'] = fields unless fields.nil?
|
2410
2413
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
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.
|
4
|
+
version: 0.57.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-10-08 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.57.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: []
|