Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class OperationMetadata.
Metadata about a long-running operation.
Generated from protobuf message google.cloud.gkemulticloud.v1.OperationMetadata
Namespace
Google \ Cloud \ GkeMultiCloud \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ create_time
↳ end_time
↳ target
string
Output only. The name of the resource associated to this operation.
↳ status_detail
string
Output only. Human-readable status of the operation, if any.
↳ error_detail
string
Output only. Human-readable status of any error that occurred during the operation.
↳ verb
string
Output only. The verb associated with the API method which triggered this operation. Possible values are "create", "delete", "update" and "import".
↳ requested_cancellation
bool
Output only. Identifies whether it has been requested cancellation for the operation. Operations that have successfully been cancelled have Operation.error
value with a google.rpc.Status.code
of 1, corresponding to Code.CANCELLED
.
getCreateTime
Output only. The time at which this operation was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which this operation was created.
$this
getEndTime
Output only. The time at which this operation was completed.
hasEndTime
clearEndTime
setEndTime
Output only. The time at which this operation was completed.
$this
getTarget
Output only. The name of the resource associated to this operation.
string
setTarget
Output only. The name of the resource associated to this operation.
var
string
$this
getStatusDetail
Output only. Human-readable status of the operation, if any.
string
setStatusDetail
Output only. Human-readable status of the operation, if any.
var
string
$this
getErrorDetail
Output only. Human-readable status of any error that occurred during the operation.
string
setErrorDetail
Output only. Human-readable status of any error that occurred during the operation.
var
string
$this
getVerb
Output only. The verb associated with the API method which triggered this operation. Possible values are "create", "delete", "update" and "import".
string
setVerb
Output only. The verb associated with the API method which triggered this operation. Possible values are "create", "delete", "update" and "import".
var
string
$this
getRequestedCancellation
Output only. Identifies whether it has been requested cancellation
for the operation. Operations that have successfully been cancelled
have Operation.error
value with a google.rpc.Status.code
of 1, corresponding to Code.CANCELLED
.
bool
setRequestedCancellation
Output only. Identifies whether it has been requested cancellation
for the operation. Operations that have successfully been cancelled
have Operation.error
value with a google.rpc.Status.code
of 1, corresponding to Code.CANCELLED
.
var
bool
$this