Google Anthos Multi Cloud V1 Client - Class OperationMetadata (0.1.4)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ create_time Google\Protobuf\Timestamp

Output only. The time at which this operation was created.

↳ end_time Google\Protobuf\Timestamp

Output only. The time at which this operation was completed.

↳ 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.

getCreateTime

Output only. The time at which this operation was created.

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time at which this operation was created.

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

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

getEndTime

Output only. The time at which this operation was completed.

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The time at which this operation was completed.

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

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

getTarget

Output only. The name of the resource associated to this operation.

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

Returns
TypeDescription
string

setTarget

Output only. The name of the resource associated to this operation.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStatusDetail

Output only. Human-readable status of the operation, if any.

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

Returns
TypeDescription
string

setStatusDetail

Output only. Human-readable status of the operation, if any.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getErrorDetail

Output only. Human-readable status of any error that occurred during the operation.

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

Returns
TypeDescription
string

setErrorDetail

Output only. Human-readable status of any error that occurred during the operation.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this