Cloud AutoML V1 Client - Class ExportModelRequest (1.5.4)

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
NameDescription
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
TypeDescription
string

setName

Required. The resource name of the model to export.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOutputConfig

Required. The desired output location and configuration.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\ModelExportOutputConfig|null

hasOutputConfig

clearOutputConfig

setOutputConfig

Required. The desired output location and configuration.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\ModelExportOutputConfig
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\AutoMl\V1\ExportModelRequest