google-apis-dataproc_v1 0.40.0 → 0.42.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: f04d626177a0a61dbbb3a05575b8f0e416f03b8c8a04ba25c219073ca1a5a2ce
|
4
|
+
data.tar.gz: 500e684935425d091dc694942c65a99bb1ff83c08d759204485fd2219960f8be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f40e01371d67ab3530b959039742dc9b1991dcf2ce9a02cadb3ed03ea322b8ff4570476b9aa31a4261b28ee7f6b7abf1d6190dbaa69354821cd296e7675452e6
|
7
|
+
data.tar.gz: 0bf947e6a1e4fb43ce122baf43d193f736058eabcea44e5ece925a150ffa57874eb4450dae85e49f089b03b1f9418de565b346e363bfd8f23e4f3ffa02dacdda
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-dataproc_v1
|
2
2
|
|
3
|
+
### v0.42.0 (2023-01-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230103
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.41.0 (2022-12-14)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20221207
|
11
|
+
|
3
12
|
### v0.40.0 (2022-12-05)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221130
|
@@ -1268,7 +1268,9 @@ module Google
|
|
1268
1268
|
# this threshold will cause the session to be terminated. Minimum value is 10
|
1269
1269
|
# minutes; maximum value is 14 days (see JSON representation of Duration (https:/
|
1270
1270
|
# /developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4
|
1271
|
-
# hours if not set.
|
1271
|
+
# hours if not set. If both ttl and idle_ttl are specified, the conditions are
|
1272
|
+
# treated as and OR: the workload will be terminated when it has been idle for
|
1273
|
+
# idle_ttl or when the ttl has passed, whichever comes first.
|
1272
1274
|
# Corresponds to the JSON property `idleTtl`
|
1273
1275
|
# @return [String]
|
1274
1276
|
attr_accessor :idle_ttl
|
@@ -3943,7 +3945,7 @@ module Google
|
|
3943
3945
|
# @return [String]
|
3944
3946
|
attr_accessor :cluster_uuid
|
3945
3947
|
|
3946
|
-
# Optional. Timeout for graceful YARN
|
3948
|
+
# Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning
|
3947
3949
|
# facilitates the removal of cluster nodes without interrupting jobs in progress.
|
3948
3950
|
# The timeout specifies the amount of time to wait for jobs finish before
|
3949
3951
|
# forcefully removing nodes. The default timeout is 0 for forceful
|
@@ -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.42.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230103"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1709,7 +1709,7 @@ module Google
|
|
1709
1709
|
# Required. The cluster name.
|
1710
1710
|
# @param [Google::Apis::DataprocV1::Cluster] cluster_object
|
1711
1711
|
# @param [String] graceful_decommission_timeout
|
1712
|
-
# Optional. Timeout for graceful YARN
|
1712
|
+
# Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning
|
1713
1713
|
# allows removing nodes from the cluster without interrupting jobs in progress.
|
1714
1714
|
# Timeout specifies how long to wait for jobs in progress to finish before
|
1715
1715
|
# forcefully removing nodes (and potentially interrupting jobs). Default timeout
|
@@ -1968,6 +1968,59 @@ module Google
|
|
1968
1968
|
execute_or_queue_command(command, &block)
|
1969
1969
|
end
|
1970
1970
|
|
1971
|
+
# Creates a node group in a cluster. The returned Operation.metadata is
|
1972
|
+
# NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/
|
1973
|
+
# rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).
|
1974
|
+
# @param [String] parent
|
1975
|
+
# Required. The parent resource where this node group will be created. Format:
|
1976
|
+
# projects/`project`/regions/`region`/clusters/`cluster`
|
1977
|
+
# @param [Google::Apis::DataprocV1::NodeGroup] node_group_object
|
1978
|
+
# @param [String] node_group_id
|
1979
|
+
# Optional. An optional node group ID. Generated if not specified.The ID must
|
1980
|
+
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
|
1981
|
+
# ). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33
|
1982
|
+
# characters.
|
1983
|
+
# @param [String] request_id
|
1984
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
1985
|
+
# CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
1986
|
+
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequests)
|
1987
|
+
# with the same ID, the second request is ignored and the first google.
|
1988
|
+
# longrunning.Operation created and stored in the backend is returned.
|
1989
|
+
# Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/
|
1990
|
+
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
1991
|
+
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
1992
|
+
# characters.
|
1993
|
+
# @param [String] fields
|
1994
|
+
# Selector specifying which fields to include in a partial response.
|
1995
|
+
# @param [String] quota_user
|
1996
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1997
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1998
|
+
# @param [Google::Apis::RequestOptions] options
|
1999
|
+
# Request-specific options
|
2000
|
+
#
|
2001
|
+
# @yield [result, err] Result & error if block supplied
|
2002
|
+
# @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object
|
2003
|
+
# @yieldparam err [StandardError] error object if request failed
|
2004
|
+
#
|
2005
|
+
# @return [Google::Apis::DataprocV1::Operation]
|
2006
|
+
#
|
2007
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2008
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2009
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2010
|
+
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)
|
2011
|
+
command = make_simple_command(:post, 'v1/{+parent}/nodeGroups', options)
|
2012
|
+
command.request_representation = Google::Apis::DataprocV1::NodeGroup::Representation
|
2013
|
+
command.request_object = node_group_object
|
2014
|
+
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
2015
|
+
command.response_class = Google::Apis::DataprocV1::Operation
|
2016
|
+
command.params['parent'] = parent unless parent.nil?
|
2017
|
+
command.query['nodeGroupId'] = node_group_id unless node_group_id.nil?
|
2018
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2019
|
+
command.query['fields'] = fields unless fields.nil?
|
2020
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2021
|
+
execute_or_queue_command(command, &block)
|
2022
|
+
end
|
2023
|
+
|
1971
2024
|
# Gets the resource representation for a node group in a cluster.
|
1972
2025
|
# @param [String] name
|
1973
2026
|
# Required. The name of the node group to retrieve. Format: projects/`project`/
|
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.42.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:
|
11
|
+
date: 2023-01-15 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.42.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Dataproc API V1
|