# Service Management V1 API - Module Google::Cloud::ServiceManagement::V1::ConfigFile::FileType (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.2 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.1 0.5.0 0.4.1 0.3.10 Reference documentation and code samples for the Service Management V1 API module Google::Cloud::ServiceManagement::V1::ConfigFile::FileType.

## Constants

### FILE_TYPE_UNSPECIFIED

**value:** 0  
Unknown file type.

### SERVICE_CONFIG_YAML

**value:** 1  
YAML-specification of service.

### OPEN_API_JSON

**value:** 2  
OpenAPI specification, serialized in JSON.

### OPEN_API_YAML

**value:** 3  
OpenAPI specification, serialized in YAML.

### 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.

<br />

$protoc --include_imports --include_source_info test.proto -o out.pb

### 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.