# Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::ExportModelRequest (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::ExportModelRequest.

Request message for [AutoMl.ExportModel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-AutoML-Client#Google__Cloud__AutoML__V1__AutoML__Client_export_model_instance_ "Google::Cloud::AutoML::V1::AutoML::Client#export_model (method)").
Models need to be enabled for exporting, otherwise an error code will be
returned.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The resource name of the model to export.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The resource name of the model to export.
**Returns**

- (::String) --- Required. The resource name of the model to export.

### #output_config

    def output_config() -> ::Google::Cloud::AutoML::V1::ModelExportOutputConfig

**Returns**

- ([::Google::Cloud::AutoML::V1::ModelExportOutputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ModelExportOutputConfig)) --- Required. The desired output location and configuration.

### #output_config=

    def output_config=(value) -> ::Google::Cloud::AutoML::V1::ModelExportOutputConfig

**Parameter**

- **value** ([::Google::Cloud::AutoML::V1::ModelExportOutputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ModelExportOutputConfig)) --- Required. The desired output location and configuration.
**Returns**

- ([::Google::Cloud::AutoML::V1::ModelExportOutputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ModelExportOutputConfig)) --- Required. The desired output location and configuration.