# Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::DocumentInputConfig (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.1 0.4.8 Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::DocumentInputConfig.

Input configuration of a [Document](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-Document "Google::Cloud::AutoML::V1::Document (class)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #gcs_source

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

**Returns**

- ([::Google::Cloud::AutoML::V1::GcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-GcsSource)) --- The Google Cloud Storage location of the document file. Only a single path should be given.


  Max supported size: 512MB.

  Supported extensions: .PDF.

### #gcs_source=

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

**Parameter**

- **value** ([::Google::Cloud::AutoML::V1::GcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-GcsSource)) --- The Google Cloud Storage location of the document file. Only a single path should be given.


  Max supported size: 512MB.

  Supported extensions: .PDF.
**Returns**

- ([::Google::Cloud::AutoML::V1::GcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-GcsSource)) --- The Google Cloud Storage location of the document file. Only a single path should be given.


  Max supported size: 512MB.

  Supported extensions: .PDF.