Google Cloud Dataproc V1 Client - Class ClusterOperation (3.2.2)

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
Name
Description
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.

Generated from protobuf field string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description
string

setOperationId

Output only. The id of the cluster operation.

Generated from protobuf field string operation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getError

Output only. Error, if operation failed.

Generated from protobuf field string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description
string

setError

Output only. Error, if operation failed.

Generated from protobuf field string error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDone

Output only. Indicates the operation is done.

Generated from protobuf field bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type
Description
bool

setDone

Output only. Indicates the operation is done.

Generated from protobuf field bool done = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name
Description
var
bool
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: