Operation Response
Represents an Operation resource. Google Compute Engine has three Operation resources: * /compute/docs/reference/rest/{$api_version}/globalOperations * /compute/docs/reference/rest/{$api_version}/regionOperations * /compute/docs/reference/rest/{$api_version}/zoneOperations You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the globalOperations
resource. - For regional operations, use the regionOperations
resource. - For zonal operations, use the zonalOperations
resource. For more information, read Global, Regional, and Zonal Resources.
Constructors
Properties
The value of requestId
if you provided it in the request. Not present otherwise.
Deprecated This field is deprecated.
A textual description of the operation, which is set when the operation is created.
If errors are generated during processing of the operation, this field will be populated.
If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND
.
If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404
means the resource was not found.
The time that this operation was requested. This value is in RFC3339 text format.
An ID that represents a group of operations, such as when a group of operations results from a bulkInsert
API request.
The type of operation, such as insert
, update
, or delete
, and so on.
An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
An optional textual description of the current status of the operation.
The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
If warning messages are generated during processing of the operation, this field will be populated.