google-cloud-dataproc-v1 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +14 -12
  4. data/lib/google/cloud/dataproc/v1/cluster_controller/paths.rb +21 -0
  5. data/lib/google/cloud/dataproc/v1/clusters_pb.rb +18 -0
  6. data/lib/google/cloud/dataproc/v1/clusters_services_pb.rb +2 -1
  7. data/lib/google/cloud/dataproc/v1/jobs_pb.rb +6 -0
  8. data/lib/google/cloud/dataproc/v1/node_group_controller/client.rb +662 -0
  9. data/lib/google/cloud/dataproc/v1/node_group_controller/credentials.rb +51 -0
  10. data/lib/google/cloud/dataproc/v1/node_group_controller/operations.rb +770 -0
  11. data/lib/google/cloud/dataproc/v1/node_group_controller/paths.rb +73 -0
  12. data/lib/google/cloud/dataproc/v1/node_group_controller.rb +51 -0
  13. data/lib/google/cloud/dataproc/v1/node_groups_pb.rb +44 -0
  14. data/lib/google/cloud/dataproc/v1/node_groups_services_pb.rb +55 -0
  15. data/lib/google/cloud/dataproc/v1/operations_pb.rb +19 -0
  16. data/lib/google/cloud/dataproc/v1/version.rb +1 -1
  17. data/lib/google/cloud/dataproc/v1/workflow_template_service/paths.rb +21 -0
  18. data/lib/google/cloud/dataproc/v1.rb +1 -0
  19. data/proto_docs/google/api/client.rb +318 -0
  20. data/proto_docs/google/api/launch_stage.rb +71 -0
  21. data/proto_docs/google/cloud/dataproc/v1/clusters.rb +121 -46
  22. data/proto_docs/google/cloud/dataproc/v1/jobs.rb +33 -18
  23. data/proto_docs/google/cloud/dataproc/v1/node_groups.rb +115 -0
  24. data/proto_docs/google/cloud/dataproc/v1/operations.rb +57 -0
  25. data/proto_docs/google/rpc/status.rb +4 -2
  26. metadata +12 -2
@@ -140,6 +140,63 @@ module Google
140
140
  extend ::Google::Protobuf::MessageExts::ClassMethods
141
141
  end
142
142
  end
143
+
144
+ # Metadata describing the node group operation.
145
+ # @!attribute [r] node_group_id
146
+ # @return [::String]
147
+ # Output only. Node group ID for the operation.
148
+ # @!attribute [r] cluster_uuid
149
+ # @return [::String]
150
+ # Output only. Cluster UUID associated with the node group operation.
151
+ # @!attribute [r] status
152
+ # @return [::Google::Cloud::Dataproc::V1::ClusterOperationStatus]
153
+ # Output only. Current operation status.
154
+ # @!attribute [r] status_history
155
+ # @return [::Array<::Google::Cloud::Dataproc::V1::ClusterOperationStatus>]
156
+ # Output only. The previous operation status.
157
+ # @!attribute [rw] operation_type
158
+ # @return [::Google::Cloud::Dataproc::V1::NodeGroupOperationMetadata::NodeGroupOperationType]
159
+ # The operation type.
160
+ # @!attribute [r] description
161
+ # @return [::String]
162
+ # Output only. Short description of operation.
163
+ # @!attribute [r] labels
164
+ # @return [::Google::Protobuf::Map{::String => ::String}]
165
+ # Output only. Labels associated with the operation.
166
+ # @!attribute [r] warnings
167
+ # @return [::Array<::String>]
168
+ # Output only. Errors encountered during operation execution.
169
+ class NodeGroupOperationMetadata
170
+ include ::Google::Protobuf::MessageExts
171
+ extend ::Google::Protobuf::MessageExts::ClassMethods
172
+
173
+ # @!attribute [rw] key
174
+ # @return [::String]
175
+ # @!attribute [rw] value
176
+ # @return [::String]
177
+ class LabelsEntry
178
+ include ::Google::Protobuf::MessageExts
179
+ extend ::Google::Protobuf::MessageExts::ClassMethods
180
+ end
181
+
182
+ # Operation type for node group resources.
183
+ module NodeGroupOperationType
184
+ # Node group operation type is unknown.
185
+ NODE_GROUP_OPERATION_TYPE_UNSPECIFIED = 0
186
+
187
+ # Create node group operation type.
188
+ CREATE = 1
189
+
190
+ # Update node group operation type.
191
+ UPDATE = 2
192
+
193
+ # Delete node group operation type.
194
+ DELETE = 3
195
+
196
+ # Resize node group operation type.
197
+ RESIZE = 4
198
+ end
199
+ end
143
200
  end
144
201
  end
145
202
  end
@@ -28,12 +28,14 @@ module Google
28
28
  # [API Design Guide](https://cloud.google.com/apis/design/errors).
29
29
  # @!attribute [rw] code
30
30
  # @return [::Integer]
31
- # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
31
+ # The status code, which should be an enum value of
32
+ # [google.rpc.Code][google.rpc.Code].
32
33
  # @!attribute [rw] message
33
34
  # @return [::String]
34
35
  # A developer-facing error message, which should be in English. Any
35
36
  # user-facing error message should be localized and sent in the
36
- # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized by the client.
37
+ # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
38
+ # by the client.
37
39
  # @!attribute [rw] details
38
40
  # @return [::Array<::Google::Protobuf::Any>]
39
41
  # A list of messages that carry the error details. There is a common set of
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataproc-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.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: 2022-09-28 00:00:00.000000000 Z
11
+ date: 2022-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -197,6 +197,13 @@ files:
197
197
  - lib/google/cloud/dataproc/v1/job_controller/operations.rb
198
198
  - lib/google/cloud/dataproc/v1/jobs_pb.rb
199
199
  - lib/google/cloud/dataproc/v1/jobs_services_pb.rb
200
+ - lib/google/cloud/dataproc/v1/node_group_controller.rb
201
+ - lib/google/cloud/dataproc/v1/node_group_controller/client.rb
202
+ - lib/google/cloud/dataproc/v1/node_group_controller/credentials.rb
203
+ - lib/google/cloud/dataproc/v1/node_group_controller/operations.rb
204
+ - lib/google/cloud/dataproc/v1/node_group_controller/paths.rb
205
+ - lib/google/cloud/dataproc/v1/node_groups_pb.rb
206
+ - lib/google/cloud/dataproc/v1/node_groups_services_pb.rb
200
207
  - lib/google/cloud/dataproc/v1/operations_pb.rb
201
208
  - lib/google/cloud/dataproc/v1/shared_pb.rb
202
209
  - lib/google/cloud/dataproc/v1/version.rb
@@ -208,12 +215,15 @@ files:
208
215
  - lib/google/cloud/dataproc/v1/workflow_templates_pb.rb
209
216
  - lib/google/cloud/dataproc/v1/workflow_templates_services_pb.rb
210
217
  - proto_docs/README.md
218
+ - proto_docs/google/api/client.rb
211
219
  - proto_docs/google/api/field_behavior.rb
220
+ - proto_docs/google/api/launch_stage.rb
212
221
  - proto_docs/google/api/resource.rb
213
222
  - proto_docs/google/cloud/dataproc/v1/autoscaling_policies.rb
214
223
  - proto_docs/google/cloud/dataproc/v1/batches.rb
215
224
  - proto_docs/google/cloud/dataproc/v1/clusters.rb
216
225
  - proto_docs/google/cloud/dataproc/v1/jobs.rb
226
+ - proto_docs/google/cloud/dataproc/v1/node_groups.rb
217
227
  - proto_docs/google/cloud/dataproc/v1/operations.rb
218
228
  - proto_docs/google/cloud/dataproc/v1/shared.rb
219
229
  - proto_docs/google/cloud/dataproc/v1/workflow_templates.rb