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 toRELAXED.
Protobuf type google.cloud.apihub.v1.Spec.ParsingMode
Namespace
Google \ Cloud \ ApiHub \ V1 \ SpecMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
PARSING_MODE_UNSPECIFIED
Value: 0Defaults to RELAXED.
Generated from protobuf enum PARSING_MODE_UNSPECIFIED = 0;
RELAXED
Value: 1Parsing 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: 2Parsing 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;