API hub V1 API - Module Google::Cloud::ApiHub::V1::Spec::ParsingMode (v0.7.0)
Stay organized with collections Save and categorize content based on your preferences.
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.
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-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]