Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class CommonMetadata.
Metadata common to all Datastore Admin operations.
Generated from protobuf message google.datastore.admin.v1.CommonMetadata
Namespace
Google \ Cloud \ Datastore \ Admin \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ start_time
↳ end_time
↳ operation_type
int
The type of the operation. Can be used as a filter in ListOperationsRequest.
↳ labels
array| Google\Protobuf\Internal\MapField
The client-assigned labels which were provided when the operation was created. May also include additional labels.
↳ state
int
The current state of the Operation.
getStartTime
The time that work began on the operation.
hasStartTime
clearStartTime
setStartTime
The time that work began on the operation.
$this
getEndTime
The time the operation ended, either successfully or otherwise.
hasEndTime
clearEndTime
setEndTime
The time the operation ended, either successfully or otherwise.
$this
getOperationType
The type of the operation. Can be used as a filter in ListOperationsRequest.
int
setOperationType
The type of the operation. Can be used as a filter in ListOperationsRequest.
var
int
$this
getLabels
The client-assigned labels which were provided when the operation was created. May also include additional labels.
setLabels
The client-assigned labels which were provided when the operation was created. May also include additional labels.
$this
getState
The current state of the Operation.
int
setState
The current state of the Operation.
var
int
$this