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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |