Class: Google::Apis::DataprocV1::GceNodePoolOperationMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_uuidString

Output only. Cluster UUID associated with the Compute Engine node pool operation. Corresponds to the JSON property clusterUuid

Returns:

  • (String)


1451
1452
1453
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1451

def cluster_uuid
  @cluster_uuid
end

#descriptionString

Output only. Short description of operation. Corresponds to the JSON property description

Returns:

  • (String)


1456
1457
1458
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1456

def description
  @description
end

#gce_node_pool_idString

Output only. Compute Engine node pool ID for the operation. Corresponds to the JSON property gceNodePoolId

Returns:

  • (String)


1461
1462
1463
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1461

def gce_node_pool_id
  @gce_node_pool_id
end

#labelsHash<String,String>

Output only. Labels associated with the operation Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1466
1467
1468
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1466

def labels
  @labels
end

#operation_typeString

The operation type. Corresponds to the JSON property operationType

Returns:

  • (String)


1471
1472
1473
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1471

def operation_type
  @operation_type
end

#statusGoogle::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_historyArray<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

#warningsArray<String>

Output only. Errors encountered during operation execution. Corresponds to the JSON property warnings

Returns:

  • (Array<String>)


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