Module: Google::Cloud::OperationResponseMapping

Defined in:
proto_docs/google/cloud/extended_operations.rb

Overview

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.

Constant Summary collapse

UNDEFINED =

Do not use.

0
NAME =

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

1
STATUS =

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.

2
ERROR_CODE =

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

3
ERROR_MESSAGE =

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

4