Google Cloud Ai Platform V1 Client - Class ExportModelRequest (0.27.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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getOutputConfig

Required. The desired output location and configuration.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\ExportModelRequest\OutputConfig|null

hasOutputConfig

clearOutputConfig

setOutputConfig

Required. The desired output location and configuration.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\ExportModelRequest\OutputConfig
Returns
TypeDescription
$this

static::build

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