DeployedModel class final
A deployment of a Model. Endpoints contain one or more DeployedModels.
- Inheritance
-
- Object
- ProtoMessage
- DeployedModel
Constructors
-
DeployedModel({DedicatedResources? dedicatedResources, AutomaticResources? automaticResources, String id = '', String model = '', String modelVersionId = '', String displayName = '', Timestamp? createTime, ExplanationSpec? explanationSpec, bool disableExplanations = false, String serviceAccount = '', bool enableContainerLogging = false, bool disableContainerLogging = false, bool enableAccessLogging = false, PrivateEndpoints? privateEndpoints, FasterDeploymentConfig? fasterDeploymentConfig, RolloutOptions? rolloutOptions, DeployedModel_Status? status, Map<
String, String> systemLabels = const {}, String checkpointId = '', SpeculativeDecodingSpec? speculativeDecodingSpec}) -
DeployedModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- automaticResources → AutomaticResources?
-
A description of resources that to large degree are decided by Vertex
AI, and require only a modest additional configuration.
final
- checkpointId → String
-
The checkpoint id of the model.
final
- createTime → Timestamp?
-
Output only. Timestamp when the DeployedModel was created.
final
- dedicatedResources → DedicatedResources?
-
A description of resources that are dedicated to the DeployedModel, and
that need a higher degree of manual configuration.
final
- disableContainerLogging → bool
-
For custom-trained Models and AutoML Tabular Models, the container of the
DeployedModel instances will send
stderrandstdoutstreams to Cloud Logging by default. Please note that the logs incur cost, which are subject to Cloud Logging pricing.final - disableExplanations → bool
-
If true, deploy the model without explainable feature, regardless the
existence of
Model.explanation_specorexplanation_spec.final - displayName → String
-
The display name of the DeployedModel. If not provided upon creation,
the Model's display_name is used.
final
- enableAccessLogging → bool
-
If true, online prediction access logs are sent to Cloud
Logging.
These logs are like standard server access logs, containing
information like timestamp and latency for each prediction request.
final
- enableContainerLogging → bool
-
If true, the container of the DeployedModel instances will send
stderrandstdoutstreams to Cloud Logging.final - explanationSpec → ExplanationSpec?
-
Explanation configuration for this DeployedModel.
final
- fasterDeploymentConfig → FasterDeploymentConfig?
-
Configuration for faster model deployment.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Immutable. The ID of the DeployedModel. If not provided upon deployment,
Vertex AI will generate a value for this ID.
final
- model → String
-
The resource name of the Model that this is the deployment of. Note that
the Model may be in a different location than the DeployedModel's Endpoint.
final
- modelVersionId → String
-
Output only. The version ID of the model that is deployed.
final
- privateEndpoints → PrivateEndpoints?
-
Output only. Provide paths for users to send predict/explain/health
requests directly to the deployed model services running on Cloud via
private services access. This field is populated if
networkis configured.final - qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - rolloutOptions → RolloutOptions?
-
Options for configuring rolling deployments.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceAccount → String
-
The service account that the DeployedModel's container runs as. Specify the
email address of the service account. If this service account is not
specified, the container runs as a service account that doesn't have access
to the resource project.
final
-
The resource name of the shared DeploymentResourcePool to deploy on.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}final - speculativeDecodingSpec → SpeculativeDecodingSpec?
-
Optional. Spec for configuring speculative decoding.
final
- status → DeployedModel_Status?
-
Output only. Runtime status of the deployed model.
final
-
systemLabels
→ Map<
String, String> -
System labels to apply to Model Garden deployments.
System labels are managed by Google for internal use only.
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