Class: Google::Apis::DataprocV1::GceNodePoolOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::GceNodePoolOperationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
Metadata describing the Compute Engine node pool operation.
Instance Attribute Summary collapse
-
#cluster_uuid ⇒ String
Output only.
-
#description ⇒ String
Output only.
-
#gce_node_pool_id ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Output only.
-
#operation_type ⇒ String
The operation type.
-
#status ⇒ Google::Apis::DataprocV1::ClusterOperationStatus
The status of the operation.
-
#status_history ⇒ Array<Google::Apis::DataprocV1::ClusterOperationStatus>
Output only.
-
#warnings ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GceNodePoolOperationMetadata
constructor
A new instance of GceNodePoolOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GceNodePoolOperationMetadata
Returns a new instance of GceNodePoolOperationMetadata.
1488 1489 1490 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1488 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_uuid ⇒ String
Output only. Cluster UUID associated with the Compute Engine node pool
operation.
Corresponds to the JSON property clusterUuid
1451 1452 1453 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1451 def cluster_uuid @cluster_uuid end |
#description ⇒ String
Output only. Short description of operation.
Corresponds to the JSON property description
1456 1457 1458 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1456 def description @description end |
#gce_node_pool_id ⇒ String
Output only. Compute Engine node pool ID for the operation.
Corresponds to the JSON property gceNodePoolId
1461 1462 1463 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1461 def gce_node_pool_id @gce_node_pool_id end |
#labels ⇒ Hash<String,String>
Output only. Labels associated with the operation
Corresponds to the JSON property labels
1466 1467 1468 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1466 def labels @labels end |
#operation_type ⇒ String
The operation type.
Corresponds to the JSON property operationType
1471 1472 1473 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1471 def operation_type @operation_type end |
#status ⇒ Google::Apis::DataprocV1::ClusterOperationStatus
The status of the operation.
Corresponds to the JSON property status
1476 1477 1478 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1476 def status @status end |
#status_history ⇒ Array<Google::Apis::DataprocV1::ClusterOperationStatus>
Output only. The previous operation status.
Corresponds to the JSON property statusHistory
1481 1482 1483 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1481 def status_history @status_history end |
#warnings ⇒ Array<String>
Output only. Errors encountered during operation execution.
Corresponds to the JSON property warnings
1486 1487 1488 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1486 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1493 def update!(**args) @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) @description = args[:description] if args.key?(:description) @gce_node_pool_id = args[:gce_node_pool_id] if args.key?(:gce_node_pool_id) @labels = args[:labels] if args.key?(:labels) @operation_type = args[:operation_type] if args.key?(:operation_type) @status = args[:status] if args.key?(:status) @status_history = args[:status_history] if args.key?(:status_history) @warnings = args[:warnings] if args.key?(:warnings) end |