Google Cloud Api Hub V1 Client - Class ParsingMode (0.1.2)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class ParsingMode.

Specifies the parsing mode for API specifications during creation and update.

  • RELAXED: Parsing errors in the specification content do not fail the API call.
  • STRICT: Parsing errors in the specification content result in failure of the API call. If not specified, defaults to RELAXED.

Protobuf type google.cloud.apihub.v1.Spec.ParsingMode

Namespace

Google \ Cloud \ ApiHub \ V1 \ Spec

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

PARSING_MODE_UNSPECIFIED

Value: 0

Defaults to RELAXED.

Generated from protobuf enum PARSING_MODE_UNSPECIFIED = 0;

RELAXED

Value: 1

Parsing of the Spec on create and update is relaxed, meaning that parsing errors the spec contents will not fail the API call.

Generated from protobuf enum RELAXED = 1;

STRICT

Value: 2

Parsing of the Spec on create and update is strict, meaning that parsing errors in the spec contents will fail the API call.

Generated from protobuf enum STRICT = 2;