Class: Google::Apis::DataprocV1::ClusterOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ClusterOperationMetadata
- 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 operation.
Instance Attribute Summary collapse
-
#child_operation_ids ⇒ Array<String>
Output only.
-
#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.
Constructor Details
#initialize(**args) ⇒ ClusterOperationMetadata
Returns a new instance of ClusterOperationMetadata.
1039 1040 1041 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1039 def initialize(**args) update!(**args) end |
Instance Attribute Details
#child_operation_ids ⇒ Array<String>
Output only. Child operation ids
Corresponds to the JSON property childOperationIds
997 998 999 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 997 def child_operation_ids @child_operation_ids end |
#cluster_name ⇒ String
Output only. Name of the cluster for the operation.
Corresponds to the JSON property clusterName
1002 1003 1004 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1002 def cluster_name @cluster_name end |
#cluster_uuid ⇒ String
Output only. Cluster UUID for the operation.
Corresponds to the JSON property clusterUuid
1007 1008 1009 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1007 def cluster_uuid @cluster_uuid end |
#description ⇒ String
Output only. Short description of operation.
Corresponds to the JSON property description
1012 1013 1014 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1012 def description @description end |
#labels ⇒ Hash<String,String>
Output only. Labels associated with the operation
Corresponds to the JSON property labels
1017 1018 1019 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1017 def labels @labels end |
#operation_type ⇒ String
Output only. The operation type.
Corresponds to the JSON property operationType
1022 1023 1024 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1022 def operation_type @operation_type end |
#status ⇒ Google::Apis::DataprocV1::ClusterOperationStatus
The status of the operation.
Corresponds to the JSON property status
1027 1028 1029 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1027 def status @status end |
#status_history ⇒ Array<Google::Apis::DataprocV1::ClusterOperationStatus>
Output only. The previous operation status.
Corresponds to the JSON property statusHistory
1032 1033 1034 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1032 def status_history @status_history end |
#warnings ⇒ Array<String>
Output only. Errors encountered during operation execution.
Corresponds to the JSON property warnings
1037 1038 1039 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1037 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1044 def update!(**args) @child_operation_ids = args[:child_operation_ids] if args.key?(:child_operation_ids) @cluster_name = args[:cluster_name] if args.key?(:cluster_name) @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) @description = args[:description] if args.key?(:description) @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 |