Google Cloud Ai Platform V1 Client - Class ExportModelRequest (1.5.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ExportModelRequest.

Request message for ModelService.ExportModel.

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

Namespace

Google \ Cloud \ AIPlatform \ 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. The resource name may contain version id or version alias to specify the version, if no version is specified, the default version will be exported.

↳ output_config Google\Cloud\AIPlatform\V1\ExportModelRequest\OutputConfig

Required. The desired output location and configuration.

getName

Required. The resource name of the Model to export.

The resource name may contain version id or version alias to specify the version, if no version is specified, the default version will be exported.

Returns
Type Description
string

setName

Required. The resource name of the Model to export.

The resource name may contain version id or version alias to specify the version, if no version is specified, the default version will be exported.

Parameter
Name Description
var string
Returns
Type Description
$this

getOutputConfig

Required. The desired output location and configuration.

Returns
Type Description
Google\Cloud\AIPlatform\V1\ExportModelRequest\OutputConfig|null

hasOutputConfig

clearOutputConfig

setOutputConfig

Required. The desired output location and configuration.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\ExportModelRequest\OutputConfig
Returns
Type Description
$this

static::build

Parameters
Name Description
name string

Required. The resource name of the Model to export. The resource name may contain version id or version alias to specify the version, if no version is specified, the default version will be exported. Please see Google\Cloud\AIPlatform\V1\ModelServiceClient::modelName() for help formatting this field.

outputConfig Google\Cloud\AIPlatform\V1\ExportModelRequest\OutputConfig

Required. The desired output location and configuration.

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