Google Cloud Dataproc V1 Client - Class NodeGroupOperationMetadata (3.4.0)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class NodeGroupOperationMetadata.

Metadata describing the node group operation.

Generated from protobuf message google.cloud.dataproc.v1.NodeGroupOperationMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ node_group_id string

Output only. Node group ID for the operation.

↳ cluster_uuid string

Output only. Cluster UUID associated with the node group operation.

↳ status Google\Cloud\Dataproc\V1\ClusterOperationStatus

Output only. Current operation status.

↳ status_history array<Google\Cloud\Dataproc\V1\ClusterOperationStatus>

Output only. The previous operation status.

↳ operation_type int

The operation type.

↳ description string

Output only. Short description of operation.

↳ labels array|Google\Protobuf\Internal\MapField

Output only. Labels associated with the operation.

↳ warnings array

Output only. Errors encountered during operation execution.

getNodeGroupId

Output only. Node group ID for the operation.

Returns
TypeDescription
string

setNodeGroupId

Output only. Node group ID for the operation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getClusterUuid

Output only. Cluster UUID associated with the node group operation.

Returns
TypeDescription
string

setClusterUuid

Output only. Cluster UUID associated with the node group operation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStatus

Output only. Current operation status.

Returns
TypeDescription
Google\Cloud\Dataproc\V1\ClusterOperationStatus|null

hasStatus

clearStatus

setStatus

Output only. Current operation status.

Parameter
NameDescription
var Google\Cloud\Dataproc\V1\ClusterOperationStatus
Returns
TypeDescription
$this

getStatusHistory

Output only. The previous operation status.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setStatusHistory

Output only. The previous operation status.

Parameter
NameDescription
var array<Google\Cloud\Dataproc\V1\ClusterOperationStatus>
Returns
TypeDescription
$this

getOperationType

The operation type.

Returns
TypeDescription
int

setOperationType

The operation type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDescription

Output only. Short description of operation.

Returns
TypeDescription
string

setDescription

Output only. Short description of operation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLabels

Output only. Labels associated with the operation.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Output only. Labels associated with the operation.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getWarnings

Output only. Errors encountered during operation execution.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setWarnings

Output only. Errors encountered during operation execution.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this