# Service Management V1 API - Class Google::Cloud::ServiceManagement::V1::ConfigFile (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 class Google::Cloud::ServiceManagement::V1::ConfigFile.

Generic specification of a source configuration file

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #file_contents

    def file_contents() -> ::String

**Returns**

- (::String) --- The bytes that constitute the file.

### #file_contents=

    def file_contents=(value) -> ::String

**Parameter**

- **value** (::String) --- The bytes that constitute the file.
**Returns**

- (::String) --- The bytes that constitute the file.

### #file_path

    def file_path() -> ::String

**Returns**

- (::String) --- The file name of the configuration file (full or relative path).

### #file_path=

    def file_path=(value) -> ::String

**Parameter**

- **value** (::String) --- The file name of the configuration file (full or relative path).
**Returns**

- (::String) --- The file name of the configuration file (full or relative path).

### #file_type

    def file_type() -> ::Google::Cloud::ServiceManagement::V1::ConfigFile::FileType

**Returns**

- ([::Google::Cloud::ServiceManagement::V1::ConfigFile::FileType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Cloud-ServiceManagement-V1-ConfigFile-FileType)) --- The type of configuration file this represents.

### #file_type=

    def file_type=(value) -> ::Google::Cloud::ServiceManagement::V1::ConfigFile::FileType

**Parameter**

- **value** ([::Google::Cloud::ServiceManagement::V1::ConfigFile::FileType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Cloud-ServiceManagement-V1-ConfigFile-FileType)) --- The type of configuration file this represents.
**Returns**

- ([::Google::Cloud::ServiceManagement::V1::ConfigFile::FileType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_management-v1/latest/Google-Cloud-ServiceManagement-V1-ConfigFile-FileType)) --- The type of configuration file this represents.