Google Cloud Ai Platform V1 Client - Class UploadModelRequest (0.10.0)

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

Request message for ModelService.UploadModel .

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Required. The resource name of the Location into which to upload the Model. Format: projects/{project}/locations/{location}

↳ parent_model
string

Optional. The resource name of the model into which to upload the version. Only specify this field when uploading a new version.

↳ model_id
string

Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name. This value may be up to 63 characters, and valid characters are [a-z0-9_-] . The first character cannot be a number or hyphen.

↳ model
Google\Cloud\AIPlatform\V1\Model

Required. The Model to create.

getParent

Required. The resource name of the Location into which to upload the Model.

Format: projects/{project}/locations/{location}

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
Type
Description
string

setParent

Required. The resource name of the Location into which to upload the Model.

Format: projects/{project}/locations/{location}

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getParentModel

Optional. The resource name of the model into which to upload the version. Only specify this field when uploading a new version.

Generated from protobuf field string parent_model = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
string

setParentModel

Optional. The resource name of the model into which to upload the version. Only specify this field when uploading a new version.

Generated from protobuf field string parent_model = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getModelId

Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name.

This value may be up to 63 characters, and valid characters are [a-z0-9_-] . The first character cannot be a number or hyphen.

Generated from protobuf field string model_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type
Description
string

setModelId

Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name.

This value may be up to 63 characters, and valid characters are [a-z0-9_-] . The first character cannot be a number or hyphen.

Generated from protobuf field string model_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getModel

Required. The Model to create.

Generated from protobuf field .google.cloud.aiplatform.v1.Model model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description

hasModel

clearModel

setModel

Required. The Model to create.

Generated from protobuf field .google.cloud.aiplatform.v1.Model model = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: