Service Management V1 API - Module Google::Cloud::ServiceManagement::V1::ConfigFile::FileType (v0.5.0)

Stay organized with collections Save and categorize content based on your preferences.

Reference documentation and code samples for the Service Management V1 API module Google::Cloud::ServiceManagement::V1::ConfigFile::FileType.



value: 0
Unknown file type.


value: 1
YAML-specification of service.


value: 2
OpenAPI specification, serialized in JSON.


value: 3
OpenAPI specification, serialized in YAML.


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


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.