Google Cloud Api Hub V1 Client - Class ErrorCode (0.4.0)

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 \ Curation

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ERROR_CODE_UNSPECIFIED

Value: 0

Default unspecified error code.

Generated from protobuf enum ERROR_CODE_UNSPECIFIED = 0;

INTERNAL_ERROR

Value: 1

The execution failed due to an internal error.

Generated from protobuf enum INTERNAL_ERROR = 1;

UNAUTHORIZED

Value: 2

The curation is not authorized to trigger the endpoint uri.

Generated from protobuf enum UNAUTHORIZED = 2;

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.