Google Cloud Api Hub V1 Client - Class Format (0.1.1)

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

Enumeration of spec formats.

Protobuf type google.cloud.apihub.v1.OpenApiSpecDetails.Format

Namespace

Google \ Cloud \ ApiHub \ V1 \ OpenApiSpecDetails

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

FORMAT_UNSPECIFIED

Value: 0

SpecFile type unspecified.

Generated from protobuf enum FORMAT_UNSPECIFIED = 0;

OPEN_API_SPEC_2_0

Value: 1

OpenAPI Spec v2.0.

Generated from protobuf enum OPEN_API_SPEC_2_0 = 1;

OPEN_API_SPEC_3_0

Value: 2

OpenAPI Spec v3.0.

Generated from protobuf enum OPEN_API_SPEC_3_0 = 2;

OPEN_API_SPEC_3_1

Value: 3

OpenAPI Spec v3.1.

Generated from protobuf enum OPEN_API_SPEC_3_1 = 3;