Cloud AutoML V1beta1 Client - Class ExportModelRequest (1.6.5)

Reference documentation and code samples for the Cloud AutoML V1beta1 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.v1beta1.ExportModelRequest

Namespace

Google \ Cloud \ AutoMl \ V1beta1

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\V1beta1\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\V1beta1\ModelExportOutputConfig|null

hasOutputConfig

clearOutputConfig

setOutputConfig

Required. The desired output location and configuration.

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