Copied!

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.

Protobuf type google.cloud.OperationResponseMapping

CloneableInstantiable
Constants
public Google\Cloud\OperationResponseMapping::ERROR_CODE = 3
 

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

Generated from protobuf enum ERROR_CODE = 3;

public Google\Cloud\OperationResponseMapping::ERROR_MESSAGE = 4
 

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

Generated from protobuf enum ERROR_MESSAGE = 4;

public Google\Cloud\OperationResponseMapping::NAME = 1
 

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

Generated from protobuf enum NAME = 1;

public Google\Cloud\OperationResponseMapping::STATUS = 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.

Generated from protobuf enum STATUS = 2;

public Google\Cloud\OperationResponseMapping::UNDEFINED = 0
 

Do not use.

Generated from protobuf enum UNDEFINED = 0;

Methods
public static name( $value)
public static value( $name)
Properties
private static $valueToName = ['UNDEFINED', 'NAME', 'STATUS', 'ERROR_CODE', 'ERROR_MESSAGE']
Properties
private static $valueToName = ['UNDEFINED', 'NAME', 'STATUS', 'ERROR_CODE', 'ERROR_MESSAGE']
Methods
public static name( $value)
public static value( $name)
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration