UploadModelRequest class final

Request message for ModelService.UploadModel.

Inheritance
  • Object
  • ProtoMessage
  • UploadModelRequest

Constructors

UploadModelRequest({required String parent, String parentModel = '', String modelId = '', required Model? model, String serviceAccount = ''})
UploadModelRequest.fromJson(Object? j)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
model Model?
Required. The Model to create.
final
modelId String
Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name.
final
parent String
Required. The resource name of the Location into which to upload the Model. Format: projects/{project}/locations/{location}
final
parentModel String
Optional. The resource name of the model into which to upload the version. Only specify this field when uploading a new version.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount String
Optional. The user-provided custom service account to use to do the model upload. If empty, Vertex AI Service Agent will be used to access resources needed to upload the model. This account must belong to the target project where the model is uploaded to, i.e., the project specified in the parent field of this request and have necessary read permissions (to Google Cloud Storage, Artifact Registry, etc.).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String