# Cloud Optimization V1 API - Class Google::Cloud::Optimization::V1::InputConfig (v0.16.0)

0.16.0 (latest) 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.2 0.8.2 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.1 0.1.1 Reference documentation and code samples for the Cloud Optimization V1 API class Google::Cloud::Optimization::V1::InputConfig.

The desired input location information.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #data_format

    def data_format() -> ::Google::Cloud::Optimization::V1::DataFormat

**Returns**

- ([::Google::Cloud::Optimization::V1::DataFormat](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-DataFormat)) --- The input data format that used to store the model in Cloud Storage.

### #data_format=

    def data_format=(value) -> ::Google::Cloud::Optimization::V1::DataFormat

**Parameter**

- **value** ([::Google::Cloud::Optimization::V1::DataFormat](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-DataFormat)) --- The input data format that used to store the model in Cloud Storage.
**Returns**

- ([::Google::Cloud::Optimization::V1::DataFormat](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-DataFormat)) --- The input data format that used to store the model in Cloud Storage.

### #gcs_source

    def gcs_source() -> ::Google::Cloud::Optimization::V1::GcsSource

**Returns**

- ([::Google::Cloud::Optimization::V1::GcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-GcsSource)) --- The Google Cloud Storage location to read the input from. This must be a single file.

### #gcs_source=

    def gcs_source=(value) -> ::Google::Cloud::Optimization::V1::GcsSource

**Parameter**

- **value** ([::Google::Cloud::Optimization::V1::GcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-GcsSource)) --- The Google Cloud Storage location to read the input from. This must be a single file.
**Returns**

- ([::Google::Cloud::Optimization::V1::GcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-optimization-v1/latest/Google-Cloud-Optimization-V1-GcsSource)) --- The Google Cloud Storage location to read the input from. This must be a single file.