Google Cloud Dataproc V1 Client - Class ClusterOperation (3.6.1)

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

The cluster operation triggered by a workflow.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ operation_id string

Output only. The id of the cluster operation.

↳ error string

Output only. Error, if operation failed.

↳ done bool

Output only. Indicates the operation is done.

getOperationId

Output only. The id of the cluster operation.

Returns
TypeDescription
string

setOperationId

Output only. The id of the cluster operation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getError

Output only. Error, if operation failed.

Returns
TypeDescription
string

setError

Output only. Error, if operation failed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDone

Output only. Indicates the operation is done.

Returns
TypeDescription
bool

setDone

Output only. Indicates the operation is done.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this