google-apis-dataproc_v1 0.40.0 → 0.41.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dataproc_v1/gem_version.rb +2 -2
- data/lib/google/apis/dataproc_v1/service.rb +53 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74cbb6304c01196e55169e4cca219904f95444c7aadf55f0ac70e29e34cf9cae
|
4
|
+
data.tar.gz: 45b28c80359cb369568970ea23cf5bf55023216a535ce05ac1698db3170038b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8f08f78e451e5e06bc724ec48ad719a8130a83600606dbe9c53a8fd12cd2d1f981be1859114ee69276b7d5c44ad216db451af9625e713410ce670c7644b3f2e
|
7
|
+
data.tar.gz: 48b64bee907c90f0d235557f68754ef89d2a5f1bc1213226e7643f47329ac7bab73f7bc40a30b167aa4279a0248f71146a90b575397b03887f1100e1882f33df
|
data/CHANGELOG.md
CHANGED
@@ -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.41.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221207"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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.41.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-04 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.41.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: []
|