Reference documentation and code samples for the Google Cloud Document Ai V1 Client class CommonOperationMetadata.
The common metadata for long running operations.
Generated from protobuf message google.cloud.documentai.v1.CommonOperationMetadata
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ state
int
The state of the operation.
↳ state_message
string
A message providing more details about the current state of processing.
↳ resource
string
A related resource to this operation.
↳ create_time
Google\Protobuf\Timestamp
The creation time of the operation.
↳ update_time
Google\Protobuf\Timestamp
The last update time of the operation.
getState
The state of the operation.
Generated from protobuf field .google.cloud.documentai.v1.CommonOperationMetadata.State state = 1;
int
setState
The state of the operation.
Generated from protobuf field .google.cloud.documentai.v1.CommonOperationMetadata.State state = 1;
var
int
$this
getStateMessage
A message providing more details about the current state of processing.
Generated from protobuf field string state_message = 2;
string
setStateMessage
A message providing more details about the current state of processing.
Generated from protobuf field string state_message = 2;
var
string
$this
getResource
A related resource to this operation.
Generated from protobuf field string resource = 5;
string
setResource
A related resource to this operation.
Generated from protobuf field string resource = 5;
var
string
$this
getCreateTime
The creation time of the operation.
Generated from protobuf field .google.protobuf.Timestamp create_time = 3;
Google\Protobuf\Timestamp|null
hasCreateTime
clearCreateTime
setCreateTime
The creation time of the operation.
Generated from protobuf field .google.protobuf.Timestamp create_time = 3;
var
Google\Protobuf\Timestamp
$this
getUpdateTime
The last update time of the operation.
Generated from protobuf field .google.protobuf.Timestamp update_time = 4;
Google\Protobuf\Timestamp|null
hasUpdateTime
clearUpdateTime
setUpdateTime
The last update time of the operation.
Generated from protobuf field .google.protobuf.Timestamp update_time = 4;
var
Google\Protobuf\Timestamp
$this