Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class BatchOperationMetadata.
Metadata used for long running operations returned by CTS batch APIs.
It's used to replace google.longrunning.Operation.metadata .
Generated from protobuf message google.cloud.talent.v4.BatchOperationMetadata
Namespace
Google \ Cloud \ Talent \ V4Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ state
int
The state of a long running operation.
↳ state_description
string
More detailed information about operation state.
↳ success_count
int
Count of successful item(s) inside an operation.
↳ failure_count
int
Count of failed item(s) inside an operation.
↳ total_count
int
Count of total item(s) inside an operation.
↳ create_time
↳ update_time
Google\Protobuf\Timestamp
The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.
↳ end_time
Google\Protobuf\Timestamp
The time when the batch operation is finished and google.longrunning.Operation.done
is set to true
.
getState
The state of a long running operation.
setState
The state of a long running operation.
$this
getStateDescription
More detailed information about operation state.
string
setStateDescription
More detailed information about operation state.
var
string
$this
getSuccessCount
Count of successful item(s) inside an operation.
int
setSuccessCount
Count of successful item(s) inside an operation.
var
int
$this
getFailureCount
Count of failed item(s) inside an operation.
int
setFailureCount
Count of failed item(s) inside an operation.
var
int
$this
getTotalCount
Count of total item(s) inside an operation.
int
setTotalCount
Count of total item(s) inside an operation.
var
int
$this
getCreateTime
The time when the batch operation is created.
hasCreateTime
clearCreateTime
setCreateTime
The time when the batch operation is created.
$this
getUpdateTime
The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.
hasUpdateTime
clearUpdateTime
setUpdateTime
The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.
$this
getEndTime
The time when the batch operation is finished and google.longrunning.Operation.done
is
set to true
.
hasEndTime
clearEndTime
setEndTime
The time when the batch operation is finished and google.longrunning.Operation.done
is
set to true
.
$this

