Cloud AutoML V1 Client - Class ExportModelRequest (2.0.1)

Reference documentation and code samples for the Cloud AutoML V1 Client class ExportModelRequest.

Request message for AutoMl.ExportModel.

Models need to be enabled for exporting, otherwise an error code will be returned.

Generated from protobuf message google.cloud.automl.v1.ExportModelRequest

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the model to export.

↳ output_config ModelExportOutputConfig

Required. The desired output location and configuration.

getName

Required. The resource name of the model to export.

Returns
Type Description
string

setName

Required. The resource name of the model to export.

Parameter
Name Description
var string
Returns
Type Description
$this

getOutputConfig

Required. The desired output location and configuration.

Returns
Type Description
ModelExportOutputConfig|null

hasOutputConfig

clearOutputConfig

setOutputConfig

Required. The desired output location and configuration.

Parameter
Name Description
var ModelExportOutputConfig
Returns
Type Description
$this

static::build

Parameters
Name Description
name string

Required. The resource name of the model to export. Please see AutoMlClient::modelName() for help formatting this field.

outputConfig ModelExportOutputConfig

Required. The desired output location and configuration.

Returns
Type Description
ExportModelRequest