google-apis-dataproc_v1 0.62.0 → 0.64.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 +9 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/dataproc_v1/classes.rb +104 -1
- data/lib/google/apis/dataproc_v1/gem_version.rb +3 -3
- data/lib/google/apis/dataproc_v1/representations.rb +35 -0
- data/lib/google/apis/dataproc_v1/service.rb +45 -11
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee15bfa975d632767da9b23f9a74a76a48d1dad068fe11cc23cfd153e309a0b4
|
4
|
+
data.tar.gz: de154225949c8796b6c8cca29ce8e65cabda682b485d3e3d5f15445f664d42ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 282652d647a7e46af3f6390b6d80197b9db95dbe11875b168a4adb5a7255f1b36184c0eca8d7cad417ebab340f505e35e1fb7070c83b36fb5c6921098044388c
|
7
|
+
data.tar.gz: 34137debd2268463a01ca5e81814153dbc9a3dc050227352c4dbaa42978bd466148e2649e28381e71bf4c8ba2d8a4189e0e1deb691571542026247160672ea39
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-dataproc_v1
|
2
2
|
|
3
|
+
### v0.64.0 (2024-02-23)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.14.0
|
6
|
+
|
7
|
+
### v0.63.0 (2024-02-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240209
|
10
|
+
* Regenerated using generator version 0.13.1
|
11
|
+
|
3
12
|
### v0.62.0 (2024-01-22)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240103
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/dataproc/) may provide guid
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -58,6 +58,68 @@ module Google
|
|
58
58
|
end
|
59
59
|
end
|
60
60
|
|
61
|
+
# Metadata describing the Analyze operation.
|
62
|
+
class AnalyzeOperationMetadata
|
63
|
+
include Google::Apis::Core::Hashable
|
64
|
+
|
65
|
+
# Output only. name of the workload being analyzed.
|
66
|
+
# Corresponds to the JSON property `analyzedWorkloadName`
|
67
|
+
# @return [String]
|
68
|
+
attr_accessor :analyzed_workload_name
|
69
|
+
|
70
|
+
# Output only. Type of the workload being analyzed.
|
71
|
+
# Corresponds to the JSON property `analyzedWorkloadType`
|
72
|
+
# @return [String]
|
73
|
+
attr_accessor :analyzed_workload_type
|
74
|
+
|
75
|
+
# Output only. unique identifier of the workload typically generated by control
|
76
|
+
# plane. E.g. batch uuid.
|
77
|
+
# Corresponds to the JSON property `analyzedWorkloadUuid`
|
78
|
+
# @return [String]
|
79
|
+
attr_accessor :analyzed_workload_uuid
|
80
|
+
|
81
|
+
# Output only. The time when the operation was created.
|
82
|
+
# Corresponds to the JSON property `createTime`
|
83
|
+
# @return [String]
|
84
|
+
attr_accessor :create_time
|
85
|
+
|
86
|
+
# Output only. Short description of the operation.
|
87
|
+
# Corresponds to the JSON property `description`
|
88
|
+
# @return [String]
|
89
|
+
attr_accessor :description
|
90
|
+
|
91
|
+
# Output only. The time when the operation finished.
|
92
|
+
# Corresponds to the JSON property `doneTime`
|
93
|
+
# @return [String]
|
94
|
+
attr_accessor :done_time
|
95
|
+
|
96
|
+
# Output only. Labels associated with the operation.
|
97
|
+
# Corresponds to the JSON property `labels`
|
98
|
+
# @return [Hash<String,String>]
|
99
|
+
attr_accessor :labels
|
100
|
+
|
101
|
+
# Output only. Warnings encountered during operation execution.
|
102
|
+
# Corresponds to the JSON property `warnings`
|
103
|
+
# @return [Array<String>]
|
104
|
+
attr_accessor :warnings
|
105
|
+
|
106
|
+
def initialize(**args)
|
107
|
+
update!(**args)
|
108
|
+
end
|
109
|
+
|
110
|
+
# Update properties of this object
|
111
|
+
def update!(**args)
|
112
|
+
@analyzed_workload_name = args[:analyzed_workload_name] if args.key?(:analyzed_workload_name)
|
113
|
+
@analyzed_workload_type = args[:analyzed_workload_type] if args.key?(:analyzed_workload_type)
|
114
|
+
@analyzed_workload_uuid = args[:analyzed_workload_uuid] if args.key?(:analyzed_workload_uuid)
|
115
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
116
|
+
@description = args[:description] if args.key?(:description)
|
117
|
+
@done_time = args[:done_time] if args.key?(:done_time)
|
118
|
+
@labels = args[:labels] if args.key?(:labels)
|
119
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
61
123
|
# Autoscaling Policy config associated with the cluster.
|
62
124
|
class AutoscalingConfig
|
63
125
|
include Google::Apis::Core::Hashable
|
@@ -565,7 +627,10 @@ module Google
|
|
565
627
|
attr_accessor :members
|
566
628
|
|
567
629
|
# Role that is assigned to the list of members, or principals. For example,
|
568
|
-
# roles/viewer, roles/editor, or roles/owner.
|
630
|
+
# roles/viewer, roles/editor, or roles/owner.For an overview of the IAM roles
|
631
|
+
# and permissions, see the IAM documentation (https://cloud.google.com/iam/docs/
|
632
|
+
# roles-overview). For a list of the available pre-defined roles, see here (
|
633
|
+
# https://cloud.google.com/iam/docs/understanding-roles).
|
569
634
|
# Corresponds to the JSON property `role`
|
570
635
|
# @return [String]
|
571
636
|
attr_accessor :role
|
@@ -4497,6 +4562,44 @@ module Google
|
|
4497
4562
|
end
|
4498
4563
|
end
|
4499
4564
|
|
4565
|
+
#
|
4566
|
+
class RepairNodeGroupRequest
|
4567
|
+
include Google::Apis::Core::Hashable
|
4568
|
+
|
4569
|
+
# Required. Name of instances to be repaired. These instances must belong to
|
4570
|
+
# specified node pool.
|
4571
|
+
# Corresponds to the JSON property `instanceNames`
|
4572
|
+
# @return [Array<String>]
|
4573
|
+
attr_accessor :instance_names
|
4574
|
+
|
4575
|
+
# Required. Repair action to take on specified resources of the node pool.
|
4576
|
+
# Corresponds to the JSON property `repairAction`
|
4577
|
+
# @return [String]
|
4578
|
+
attr_accessor :repair_action
|
4579
|
+
|
4580
|
+
# Optional. A unique ID used to identify the request. If the server receives two
|
4581
|
+
# RepairNodeGroupRequest with the same ID, the second request is ignored and the
|
4582
|
+
# first google.longrunning.Operation created and stored in the backend is
|
4583
|
+
# returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/
|
4584
|
+
# wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z)
|
4585
|
+
# , numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
4586
|
+
# characters.
|
4587
|
+
# Corresponds to the JSON property `requestId`
|
4588
|
+
# @return [String]
|
4589
|
+
attr_accessor :request_id
|
4590
|
+
|
4591
|
+
def initialize(**args)
|
4592
|
+
update!(**args)
|
4593
|
+
end
|
4594
|
+
|
4595
|
+
# Update properties of this object
|
4596
|
+
def update!(**args)
|
4597
|
+
@instance_names = args[:instance_names] if args.key?(:instance_names)
|
4598
|
+
@repair_action = args[:repair_action] if args.key?(:repair_action)
|
4599
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
4600
|
+
end
|
4601
|
+
end
|
4602
|
+
|
4500
4603
|
# Configuration for dependency repositories
|
4501
4604
|
class RepositoryConfig
|
4502
4605
|
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.64.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240209"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AnalyzeOperationMetadata
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class AutoscalingConfig
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -604,6 +610,12 @@ module Google
|
|
604
610
|
include Google::Apis::Core::JsonObjectSupport
|
605
611
|
end
|
606
612
|
|
613
|
+
class RepairNodeGroupRequest
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
607
619
|
class RepositoryConfig
|
608
620
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
621
|
|
@@ -864,6 +876,20 @@ module Google
|
|
864
876
|
end
|
865
877
|
end
|
866
878
|
|
879
|
+
class AnalyzeOperationMetadata
|
880
|
+
# @private
|
881
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
882
|
+
property :analyzed_workload_name, as: 'analyzedWorkloadName'
|
883
|
+
property :analyzed_workload_type, as: 'analyzedWorkloadType'
|
884
|
+
property :analyzed_workload_uuid, as: 'analyzedWorkloadUuid'
|
885
|
+
property :create_time, as: 'createTime'
|
886
|
+
property :description, as: 'description'
|
887
|
+
property :done_time, as: 'doneTime'
|
888
|
+
hash :labels, as: 'labels'
|
889
|
+
collection :warnings, as: 'warnings'
|
890
|
+
end
|
891
|
+
end
|
892
|
+
|
867
893
|
class AutoscalingConfig
|
868
894
|
# @private
|
869
895
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1957,6 +1983,15 @@ module Google
|
|
1957
1983
|
end
|
1958
1984
|
end
|
1959
1985
|
|
1986
|
+
class RepairNodeGroupRequest
|
1987
|
+
# @private
|
1988
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1989
|
+
collection :instance_names, as: 'instanceNames'
|
1990
|
+
property :repair_action, as: 'repairAction'
|
1991
|
+
property :request_id, as: 'requestId'
|
1992
|
+
end
|
1993
|
+
end
|
1994
|
+
|
1960
1995
|
class RepositoryConfig
|
1961
1996
|
# @private
|
1962
1997
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2047,13 +2047,13 @@ module Google
|
|
2047
2047
|
# sensitive and have the following syntax:field = value AND field = value ...
|
2048
2048
|
# where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is
|
2049
2049
|
# a label key. value can be * to match all values. status.state can be one of
|
2050
|
-
# the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING,
|
2051
|
-
#
|
2052
|
-
# contains the DELETING and
|
2053
|
-
# provided at creation time. Only the
|
2054
|
-
# separated items are treated as having
|
2055
|
-
# status.state = ACTIVE AND clusterName =
|
2056
|
-
# labels.starred = *
|
2050
|
+
# the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, UPDATING,
|
2051
|
+
# STOPPING, or STOPPED. ACTIVE contains the CREATING, UPDATING, and RUNNING
|
2052
|
+
# states. INACTIVE contains the DELETING, ERROR, STOPPING, and STOPPED states.
|
2053
|
+
# clusterName is the name of the cluster provided at creation time. Only the
|
2054
|
+
# logical AND operator is supported; space-separated items are treated as having
|
2055
|
+
# an implicit AND operator.Example filter:status.state = ACTIVE AND clusterName =
|
2056
|
+
# mycluster AND labels.env = staging AND labels.starred = *
|
2057
2057
|
# @param [Fixnum] page_size
|
2058
2058
|
# Optional. The standard List page size.
|
2059
2059
|
# @param [String] page_token
|
@@ -2377,10 +2377,10 @@ module Google
|
|
2377
2377
|
# @param [String] request_id
|
2378
2378
|
# Optional. A unique ID used to identify the request. If the server receives two
|
2379
2379
|
# CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
|
2380
|
-
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.
|
2381
|
-
#
|
2382
|
-
#
|
2383
|
-
#
|
2380
|
+
# google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequest) with
|
2381
|
+
# the same ID, the second request is ignored and the first google.longrunning.
|
2382
|
+
# Operation created and stored in the backend is returned.Recommendation: Set
|
2383
|
+
# this value to a UUID (https://en.wikipedia.org/wiki/
|
2384
2384
|
# Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
|
2385
2385
|
# numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
|
2386
2386
|
# characters.
|
@@ -2447,6 +2447,40 @@ module Google
|
|
2447
2447
|
execute_or_queue_command(command, &block)
|
2448
2448
|
end
|
2449
2449
|
|
2450
|
+
# Repair nodes in a node group.
|
2451
|
+
# @param [String] name
|
2452
|
+
# Required. The name of the node group to resize. Format: projects/`project`/
|
2453
|
+
# regions/`region`/clusters/`cluster`/nodeGroups/`nodeGroup`
|
2454
|
+
# @param [Google::Apis::DataprocV1::RepairNodeGroupRequest] repair_node_group_request_object
|
2455
|
+
# @param [String] fields
|
2456
|
+
# Selector specifying which fields to include in a partial response.
|
2457
|
+
# @param [String] quota_user
|
2458
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2459
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2460
|
+
# @param [Google::Apis::RequestOptions] options
|
2461
|
+
# Request-specific options
|
2462
|
+
#
|
2463
|
+
# @yield [result, err] Result & error if block supplied
|
2464
|
+
# @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object
|
2465
|
+
# @yieldparam err [StandardError] error object if request failed
|
2466
|
+
#
|
2467
|
+
# @return [Google::Apis::DataprocV1::Operation]
|
2468
|
+
#
|
2469
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2470
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2471
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2472
|
+
def repair_node_group(name, repair_node_group_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2473
|
+
command = make_simple_command(:post, 'v1/{+name}:repair', options)
|
2474
|
+
command.request_representation = Google::Apis::DataprocV1::RepairNodeGroupRequest::Representation
|
2475
|
+
command.request_object = repair_node_group_request_object
|
2476
|
+
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
2477
|
+
command.response_class = Google::Apis::DataprocV1::Operation
|
2478
|
+
command.params['name'] = name unless name.nil?
|
2479
|
+
command.query['fields'] = fields unless fields.nil?
|
2480
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2481
|
+
execute_or_queue_command(command, &block)
|
2482
|
+
end
|
2483
|
+
|
2450
2484
|
# Resizes a node group in a cluster. The returned Operation.metadata is
|
2451
2485
|
# NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/
|
2452
2486
|
# rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).
|
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.64.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: 2024-
|
11
|
+
date: 2024-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.14.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.14.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.64.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: []
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Dataproc API V1
|