Google Cloud Dataproc V1 Client - Class ClusterOperationStatus (3.2.2)

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

The status of the operation.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ state int

Output only. A message containing the operation state.

↳ inner_state string

Output only. A message containing the detailed operation state.

↳ details string

Output only. A message containing any operation metadata details.

↳ state_start_time Google\Protobuf\Timestamp

Output only. The time this state was entered.

getState

Output only. A message containing the operation state.

Generated from protobuf field .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

setState

Output only. A message containing the operation state.

Generated from protobuf field .google.cloud.dataproc.v1.ClusterOperationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getInnerState

Output only. A message containing the detailed operation state.

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

Returns
TypeDescription
string

setInnerState

Output only. A message containing the detailed operation state.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDetails

Output only. A message containing any operation metadata details.

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

Returns
TypeDescription
string

setDetails

Output only. A message containing any operation metadata details.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStateStartTime

Output only. The time this state was entered.

Generated from protobuf field .google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStateStartTime

clearStateStartTime

setStateStartTime

Output only. The time this state was entered.

Generated from protobuf field .google.protobuf.Timestamp state_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this