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
Output-only.
-
#cluster_uuid ⇒ String
Output-only.
-
#description ⇒ String
Output-only.
-
#labels ⇒ Hash<String,String>
Output-only.
-
#operation_type ⇒ String
Output-only.
-
#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) ⇒ 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
1239 1240 1241 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_name ⇒ String
Output-only. Name of the cluster for the operation.
Corresponds to the JSON property clusterName
1217 1218 1219 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1217 def cluster_name @cluster_name end |
#cluster_uuid ⇒ String
Output-only. Cluster UUID for the operation.
Corresponds to the JSON property clusterUuid
1212 1213 1214 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1212 def cluster_uuid @cluster_uuid end |
#description ⇒ String
Output-only. Short description of operation.
Corresponds to the JSON property description
1227 1228 1229 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1227 def description @description end |
#labels ⇒ Hash<String,String>
Output-only. Labels associated with the operation
Corresponds to the JSON property labels
1237 1238 1239 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1237 def labels @labels end |
#operation_type ⇒ String
Output-only. The operation type.
Corresponds to the JSON property operationType
1222 1223 1224 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1222 def operation_type @operation_type end |
#status ⇒ Google::Apis::DataprocV1::ClusterOperationStatus
The status of the operation.
Corresponds to the JSON property status
1202 1203 1204 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1202 def status @status end |
#status_history ⇒ Array<Google::Apis::DataprocV1::ClusterOperationStatus>
Output-only. The previous operation status.
Corresponds to the JSON property statusHistory
1207 1208 1209 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1207 def status_history @status_history end |
#warnings ⇒ Array<String>
Output-only. Errors encountered during operation execution.
Corresponds to the JSON property warnings
1232 1233 1234 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1232 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1244 def update!(**args) @status = args[:status] if args.key?(:status) @status_history = args[:status_history] if args.key?(:status_history) @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) @cluster_name = args[:cluster_name] if args.key?(:cluster_name) @operation_type = args[:operation_type] if args.key?(:operation_type) @description = args[:description] if args.key?(:description) @warnings = args[:warnings] if args.key?(:warnings) @labels = args[:labels] if args.key?(:labels) end |