google-apis-dataproc_v1 0.51.0 → 0.52.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a0bcdbed4ddcbfa4dfb12eb161f395b7f2dd81b9c9b068a754b7f4a855dbb3e
|
4
|
+
data.tar.gz: 6b62493112d66029a6f7353ad27d33e3d9b288c0a6922e798670919441c59b58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11bde9df5ad754b98def5281d3166fc7e12b8a30010aeb09721ec5197df676500ea51f76026c406a648c12e0ab59d7f9bd0db4ca5d7aa41dff1de30f1baa0d14
|
7
|
+
data.tar.gz: f6e8ec18269ac2ff8b43c483cbca9bd76eb55b950d00b5696a7cb2ebbee6b304bebd59ae949f47bc4b04dca80bb2cfb7f89ffb36016acf761db9271f4f205c0c
|
data/CHANGELOG.md
CHANGED
@@ -2244,6 +2244,23 @@ module Google
|
|
2244
2244
|
# @return [String]
|
2245
2245
|
attr_accessor :min_cpu_platform
|
2246
2246
|
|
2247
|
+
# Optional. The minimum number of instances to create. If min_num_instances is
|
2248
|
+
# set, min_num_instances is used for a criteria to decide the cluster. Cluster
|
2249
|
+
# creation will be failed by being an error state if the total number of
|
2250
|
+
# instances created is less than the min_num_instances. For example, given that
|
2251
|
+
# num_instances = 5 and min_num_instances = 3, * if 4 instances are created and
|
2252
|
+
# then registered successfully but one instance is failed, the failed VM will be
|
2253
|
+
# deleted and the cluster will be resized to 4 instances in running state. * if
|
2254
|
+
# 2 instances are created successfully and 3 instances are failed, the cluster
|
2255
|
+
# will be in an error state and does not delete failed VMs for debugging. * if 2
|
2256
|
+
# instance are created and then registered successfully but 3 instances are
|
2257
|
+
# failed to initialize, the cluster will be in an error state and does not
|
2258
|
+
# delete failed VMs for debugging. NB: This can only be set for primary workers
|
2259
|
+
# now.
|
2260
|
+
# Corresponds to the JSON property `minNumInstances`
|
2261
|
+
# @return [Fixnum]
|
2262
|
+
attr_accessor :min_num_instances
|
2263
|
+
|
2247
2264
|
# Optional. The number of VM instances in the instance group. For HA cluster
|
2248
2265
|
# master_config groups, must be set to 3. For standard cluster master_config
|
2249
2266
|
# groups, must be set to 1.
|
@@ -2273,6 +2290,7 @@ module Google
|
|
2273
2290
|
@machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri)
|
2274
2291
|
@managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config)
|
2275
2292
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
2293
|
+
@min_num_instances = args[:min_num_instances] if args.key?(:min_num_instances)
|
2276
2294
|
@num_instances = args[:num_instances] if args.key?(:num_instances)
|
2277
2295
|
@preemptibility = args[:preemptibility] if args.key?(:preemptibility)
|
2278
2296
|
end
|
@@ -3529,12 +3547,12 @@ module Google
|
|
3529
3547
|
# @return [String]
|
3530
3548
|
attr_accessor :name
|
3531
3549
|
|
3532
|
-
# The normal response of the operation
|
3533
|
-
#
|
3534
|
-
#
|
3535
|
-
#
|
3536
|
-
#
|
3537
|
-
#
|
3550
|
+
# The normal, successful response of the operation. If the original method
|
3551
|
+
# returns no data on success, such as Delete, the response is google.protobuf.
|
3552
|
+
# Empty. If the original method is standard Get/Create/Update, the response
|
3553
|
+
# should be the resource. For other methods, the response should have the type
|
3554
|
+
# XxxResponse, where Xxx is the original method name. For example, if the
|
3555
|
+
# original method name is TakeSnapshot(), the inferred response type is
|
3538
3556
|
# TakeSnapshotResponse.
|
3539
3557
|
# Corresponds to the JSON property `response`
|
3540
3558
|
# @return [Hash<String,Object>]
|
@@ -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.52.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 = "20230804"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1315,6 +1315,7 @@ module Google
|
|
1315
1315
|
property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
|
1316
1316
|
|
1317
1317
|
property :min_cpu_platform, as: 'minCpuPlatform'
|
1318
|
+
property :min_num_instances, as: 'minNumInstances'
|
1318
1319
|
property :num_instances, as: 'numInstances'
|
1319
1320
|
property :preemptibility, as: 'preemptibility'
|
1320
1321
|
end
|
@@ -1455,6 +1455,14 @@ module Google
|
|
1455
1455
|
# @param [String] cluster_uuid
|
1456
1456
|
# Optional. Specifying the cluster_uuid means the RPC should fail (with error
|
1457
1457
|
# NOT_FOUND) if cluster with specified UUID does not exist.
|
1458
|
+
# @param [String] graceful_termination_timeout
|
1459
|
+
# Optional. The graceful termination timeout for the deletion of the cluster.
|
1460
|
+
# Indicate the time the request will wait to complete the running jobs on the
|
1461
|
+
# cluster before its forceful deletion. Default value is 0 indicating that the
|
1462
|
+
# user has not enabled the graceful termination. Value can be between 60 second
|
1463
|
+
# and 6 Hours, in case the graceful termination is enabled. (There is no
|
1464
|
+
# separate flag to check the enabling or disabling of graceful termination, it
|
1465
|
+
# can be checked by the values in the field).
|
1458
1466
|
# @param [String] request_id
|
1459
1467
|
# Optional. A unique ID used to identify the request. If the server receives two
|
1460
1468
|
# DeleteClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
@@ -1482,7 +1490,7 @@ module Google
|
|
1482
1490
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1483
1491
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1484
1492
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1485
|
-
def delete_cluster(project_id, region, cluster_name, cluster_uuid: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1493
|
+
def delete_cluster(project_id, region, cluster_name, cluster_uuid: nil, graceful_termination_timeout: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1486
1494
|
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
1487
1495
|
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
1488
1496
|
command.response_class = Google::Apis::DataprocV1::Operation
|
@@ -1490,6 +1498,7 @@ module Google
|
|
1490
1498
|
command.params['region'] = region unless region.nil?
|
1491
1499
|
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
1492
1500
|
command.query['clusterUuid'] = cluster_uuid unless cluster_uuid.nil?
|
1501
|
+
command.query['gracefulTerminationTimeout'] = graceful_termination_timeout unless graceful_termination_timeout.nil?
|
1493
1502
|
command.query['requestId'] = request_id unless request_id.nil?
|
1494
1503
|
command.query['fields'] = fields unless fields.nil?
|
1495
1504
|
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.52.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-08-20 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.52.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: []
|