Cloud AutoML V1beta1 Client - Class ExportModelRequest (1.5.4)

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

hasOutputConfig

clearOutputConfig

setOutputConfig

Required. The desired output location and configuration.

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