DeployPublisherModelRequest class final

Request message for ModelGardenService.DeployPublisherModel.

Inheritance
  • Object
  • ProtoMessage
  • DeployPublisherModelRequest

Constructors

DeployPublisherModelRequest({required String model, required String destination, String endpointDisplayName = '', DedicatedResources? dedicatedResources, String modelDisplayName = '', String huggingFaceAccessToken = '', bool acceptEula = false})
DeployPublisherModelRequest.fromJson(Object? j)
factory

Properties

acceptEula bool
Optional. Whether the user accepts the End User License Agreement (EULA) for the model.
final
dedicatedResources DedicatedResources?
Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.
final
destination String
Required. The resource name of the Location to deploy the model in. Format: projects/{project}/locations/{location}
final
endpointDisplayName String
Optional. The user-specified display name of the endpoint. If not set, a default name will be used.
final
hashCode int
The hash code for this object.
no setterinherited
huggingFaceAccessToken String
Optional. The Hugging Face read access token used to access the model artifacts of gated models.
final
model String
Required. The model to deploy. Format:
final
modelDisplayName String
Optional. The user-specified display name of the uploaded model. If not set, a default name will be used.
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

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