Reference documentation and code samples for the Google Cloud Api Hub V1 Client class ErrorCode.
The error codes for failed executions.
Protobuf type google.cloud.apihub.v1.Curation.ErrorCode
Namespace
Google \ Cloud \ ApiHub \ V1 \ CurationMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
ERROR_CODE_UNSPECIFIED
Value: 0Default unspecified error code.
Generated from protobuf enum ERROR_CODE_UNSPECIFIED = 0;
INTERNAL_ERROR
Value: 1The execution failed due to an internal error.
Generated from protobuf enum INTERNAL_ERROR = 1;
UNAUTHORIZED
Value: 2The curation is not authorized to trigger the endpoint uri.
Generated from protobuf enum UNAUTHORIZED = 2;