Class: Google::Apis::DataprocV1::ClusterOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ClusterOperationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataproc_v1/classes.rb,
generated/google/apis/dataproc_v1/representations.rb,
generated/google/apis/dataproc_v1/representations.rb
Overview
Metadata describing the operation.
Instance Attribute Summary collapse
-
#cluster_name ⇒ String
Name of the cluster for the operation.
-
#cluster_uuid ⇒ String
Cluster UUId for the operation.
-
#description ⇒ String
[Output-only] Short description of operation.
-
#operation_type ⇒ String
[Output-only] The operation type.
-
#status ⇒ Google::Apis::DataprocV1::ClusterOperationStatus
The status of the operation.
-
#status_history ⇒ Array<Google::Apis::DataprocV1::ClusterOperationStatus>
[Output-only] The previous operation status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterOperationMetadata
constructor
A new instance of ClusterOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClusterOperationMetadata
Returns a new instance of ClusterOperationMetadata.
1376 1377 1378 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1376 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_name ⇒ String
Name of the cluster for the operation.
Corresponds to the JSON property clusterName
1349 1350 1351 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1349 def cluster_name @cluster_name end |
#cluster_uuid ⇒ String
Cluster UUId for the operation.
Corresponds to the JSON property clusterUuid
1354 1355 1356 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1354 def cluster_uuid @cluster_uuid end |
#description ⇒ String
[Output-only] Short description of operation.
Corresponds to the JSON property description
1374 1375 1376 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1374 def description @description end |
#operation_type ⇒ String
[Output-only] The operation type.
Corresponds to the JSON property operationType
1369 1370 1371 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1369 def operation_type @operation_type end |
#status ⇒ Google::Apis::DataprocV1::ClusterOperationStatus
The status of the operation.
Corresponds to the JSON property status
1359 1360 1361 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1359 def status @status end |
#status_history ⇒ Array<Google::Apis::DataprocV1::ClusterOperationStatus>
[Output-only] The previous operation status.
Corresponds to the JSON property statusHistory
1364 1365 1366 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1364 def status_history @status_history end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1381 1382 1383 1384 1385 1386 1387 1388 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1381 def update!(**args) @cluster_name = args[:cluster_name] if args.key?(:cluster_name) @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) @status = args[:status] if args.key?(:status) @status_history = args[:status_history] if args.key?(:status_history) @operation_type = args[:operation_type] if args.key?(:operation_type) @description = args[:description] if args.key?(:description) end |