Reference documentation and code samples for the Google Cloud Dataproc V1 Client class ClusterOperationMetadata.
Metadata describing the operation.
Generated from protobuf message google.cloud.dataproc.v1.ClusterOperationMetadata
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cluster_name |
string
Output only. Name of the cluster for the operation. |
↳ cluster_uuid |
string
Output only. Cluster UUID for the 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 |
string
Output only. 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. |
getClusterName
Output only. Name of the cluster for the operation.
Generated from protobuf field string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
string |
setClusterName
Output only. Name of the cluster for the operation.
Generated from protobuf field string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getClusterUuid
Output only. Cluster UUID for the operation.
Generated from protobuf field string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
string |
setClusterUuid
Output only. Cluster UUID for the operation.
Generated from protobuf field string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getStatus
Output only. Current operation status.
Generated from protobuf field .google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataproc\V1\ClusterOperationStatus|null |
hasStatus
clearStatus
setStatus
Output only. Current operation status.
Generated from protobuf field .google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataproc\V1\ClusterOperationStatus
|
Returns | |
---|---|
Type | Description |
$this |
getStatusHistory
Output only. The previous operation status.
Generated from protobuf field repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setStatusHistory
Output only. The previous operation status.
Generated from protobuf field repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Dataproc\V1\ClusterOperationStatus>
|
Returns | |
---|---|
Type | Description |
$this |
getOperationType
Output only. The operation type.
Generated from protobuf field string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
string |
setOperationType
Output only. The operation type.
Generated from protobuf field string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
Output only. Short description of operation.
Generated from protobuf field string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
string |
setDescription
Output only. Short description of operation.
Generated from protobuf field string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLabels
Output only. Labels associated with the operation
Generated from protobuf field map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setLabels
Output only. Labels associated with the operation
Generated from protobuf field map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getWarnings
Output only. Errors encountered during operation execution.
Generated from protobuf field repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setWarnings
Output only. Errors encountered during operation execution.
Generated from protobuf field repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |