Class: Google::Apis::DataprocV1::NodeGroupOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::NodeGroupOperationMetadata
- 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 node group operation.
Instance Attribute Summary collapse
-
#cluster_uuid ⇒ String
Output only.
-
#description ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Output only.
-
#node_group_id ⇒ 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) ⇒ NodeGroupOperationMetadata
constructor
A new instance of NodeGroupOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NodeGroupOperationMetadata
Returns a new instance of NodeGroupOperationMetadata.
3695 3696 3697 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3695 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_uuid ⇒ String
Output only. Cluster UUID associated with the node group operation.
Corresponds to the JSON property clusterUuid
3658 3659 3660 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3658 def cluster_uuid @cluster_uuid end |
#description ⇒ String
Output only. Short description of operation.
Corresponds to the JSON property description
3663 3664 3665 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3663 def description @description end |
#labels ⇒ Hash<String,String>
Output only. Labels associated with the operation.
Corresponds to the JSON property labels
3668 3669 3670 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3668 def labels @labels end |
#node_group_id ⇒ String
Output only. Node group ID for the operation.
Corresponds to the JSON property nodeGroupId
3673 3674 3675 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3673 def node_group_id @node_group_id end |
#operation_type ⇒ String
The operation type.
Corresponds to the JSON property operationType
3678 3679 3680 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3678 def operation_type @operation_type end |
#status ⇒ Google::Apis::DataprocV1::ClusterOperationStatus
The status of the operation.
Corresponds to the JSON property status
3683 3684 3685 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3683 def status @status end |
#status_history ⇒ Array<Google::Apis::DataprocV1::ClusterOperationStatus>
Output only. The previous operation status.
Corresponds to the JSON property statusHistory
3688 3689 3690 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3688 def status_history @status_history end |
#warnings ⇒ Array<String>
Output only. Errors encountered during operation execution.
Corresponds to the JSON property warnings
3693 3694 3695 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3693 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3700 def update!(**args) @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) @description = args[:description] if args.key?(:description) @labels = args[:labels] if args.key?(:labels) @node_group_id = args[:node_group_id] if args.key?(:node_group_id) @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 |