Google Cloud Service Management V1 Client - Class FileType (1.2.2)

Reference documentation and code samples for the Google Cloud Service Management V1 Client class FileType.

Protobuf type google.api.servicemanagement.v1.ConfigFile.FileType

Namespace

Google \ Cloud \ ServiceManagement \ V1 \ ConfigFile

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

FILE_TYPE_UNSPECIFIED

Value: 0

Unknown file type.

Generated from protobuf enum FILE_TYPE_UNSPECIFIED = 0;

SERVICE_CONFIG_YAML

Value: 1

YAML-specification of service.

Generated from protobuf enum SERVICE_CONFIG_YAML = 1;

OPEN_API_JSON

Value: 2

OpenAPI specification, serialized in JSON.

Generated from protobuf enum OPEN_API_JSON = 2;

OPEN_API_YAML

Value: 3

OpenAPI specification, serialized in YAML.

Generated from protobuf enum OPEN_API_YAML = 3;

FILE_DESCRIPTOR_SET_PROTO

Value: 4

FileDescriptorSet, generated by protoc.

To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $protoc --include_imports --include_source_info test.proto -o out.pb

Generated from protobuf enum FILE_DESCRIPTOR_SET_PROTO = 4;

PROTO_FILE

Value: 6

Uncompiled Proto file. Used for storage and display purposes only, currently server-side compilation is not supported. Should match the inputs to 'protoc' command used to generated FILE_DESCRIPTOR_SET_PROTO. A file of this type can only be included if at least one file of type FILE_DESCRIPTOR_SET_PROTO is included.

Generated from protobuf enum PROTO_FILE = 6;