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.
Returns | |
---|---|
Type | Description |
string |
setOperationId
Output only. The id of the cluster operation.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getError
Output only. Error, if operation failed.
Returns | |
---|---|
Type | Description |
string |
setError
Output only. Error, if operation failed.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDone
Output only. Indicates the operation is done.
Returns | |
---|---|
Type | Description |
bool |
setDone
Output only. Indicates the operation is done.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |