Google Cloud Compute V1 API - Module Google::Cloud::OperationResponseMapping (v1.7.1)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::OperationResponseMapping.

An enum to be used to mark the essential (for polling) fields in an API-specific Operation object. A custom Operation object may contain many different fields, but only few of them are essential to conduct a successful polling process.

Constants

UNDEFINED

value: 0
Do not use.

NAME

value: 1
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.name.

STATUS

value: 2
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.done. If the annotated field is of an enum type, annotated_field_name == EnumType.DONE semantics should be equivalent to Operation.done == true. If the annotated field is of type boolean, then it should follow the same semantics as Operation.done. Otherwise, a non-empty value should be treated as Operation.done == true.

ERROR_CODE

value: 3
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.error.code.

ERROR_MESSAGE

value: 4
A field in an API-specific (custom) Operation object which carries the same meaning as google.longrunning.Operation.error.message.