# Class ConfigFile (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.1 1.12.0 1.11.0 1.10.1 1.8.5 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.3 1.1.1 1.0.4 0.1.0

    ConfigFile(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Generic specification of a source configuration file

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `file_path` | `str` The file name of the configuration file (full or relative path). |
| `file_contents` | `bytes` The bytes that constitute the file. |
| `file_type` | `https://docs.cloud.google.com/python/docs/reference/servicemanagement/latest/google.cloud.servicemanagement_v1.types.ConfigFile.FileType` The type of configuration file this represents. |

## Classes

### FileType

    FileType(value)

        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
    PROTO_FILE (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.