API hub V1 API - Module Google::Cloud::ApiHub::V1::Spec::ParsingMode (v0.2.0)

Reference documentation and code samples for the API hub V1 API module Google::Cloud::ApiHub::V1::Spec::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.

Constants

PARSING_MODE_UNSPECIFIED

value: 0
Defaults to RELAXED.

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.

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.