Cloud AutoML V1 Client - Class ExportModelRequest (2.0.0)

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 Google\Cloud\AutoMl\V1\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
Google\Cloud\AutoMl\V1\ModelExportOutputConfig|null

hasOutputConfig

clearOutputConfig

setOutputConfig

Required. The desired output location and configuration.

Parameter
Name Description
var Google\Cloud\AutoMl\V1\ModelExportOutputConfig
Returns
Type Description
$this

static::build

Parameters
Name Description
name string

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

outputConfig Google\Cloud\AutoMl\V1\ModelExportOutputConfig

Required. The desired output location and configuration.

Returns
Type Description
Google\Cloud\AutoMl\V1\ExportModelRequest