- 1.73.0 (latest)
- 1.72.0
- 1.71.1
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.1
- 1.66.0
- 1.65.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.1
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.39.0
- 1.38.1
- 1.37.0
- 1.36.4
- 1.35.0
- 1.34.0
- 1.33.1
- 1.32.0
- 1.31.1
- 1.30.1
- 1.29.0
- 1.28.1
- 1.27.1
- 1.26.1
- 1.25.0
- 1.24.1
- 1.23.0
- 1.22.1
- 1.21.0
- 1.20.0
- 1.19.1
- 1.18.3
- 1.17.1
- 1.16.1
- 1.15.1
- 1.14.0
- 1.13.1
- 1.12.1
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.1
- 1.7.1
- 1.6.2
- 1.5.0
- 1.4.3
- 1.3.0
- 1.2.0
- 1.1.1
- 1.0.1
- 0.9.0
- 0.8.0
- 0.7.1
- 0.6.0
- 0.5.1
- 0.4.0
- 0.3.1
DeployedModel
(
mapping
=
None
,
*
,
ignore_unknown_fields
=
False
,
**
kwargs
)
A deployment of a Model. Endpoints contain one or more DeployedModels.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes
dedicated_resources
google.cloud.aiplatform_v1.types.DedicatedResources
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration. This field is a member of
oneof
_ prediction_resources
.automatic_resources
google.cloud.aiplatform_v1.types.AutomaticResources
A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration. This field is a member of
oneof
_ prediction_resources
.shared_resources
str
The resource name of the shared DeploymentResourcePool to deploy on. Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
This field is a member of oneof
_ prediction_resources
.id
str
Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are
/[0-9]/
.model
str
Required. 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. The resource name may contain version id or version alias to specify the version. Example:
projects/{project}/locations/{location}/models/{model}@2
or projects/{project}/locations/{location}/models/{model}@golden
if no version is specified, the default version will be
deployed.model_version_id
str
Output only. The version ID of the model that is deployed.
display_name
str
The display name of the DeployedModel. If not provided upon creation, the Model's display_name is used.
create_time
google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the DeployedModel was created.
explanation_spec
google.cloud.aiplatform_v1.types.ExplanationSpec
Explanation configuration for this DeployedModel. When deploying a Model using EndpointService.DeployModel , this value overrides the value of Model.explanation_spec . All fields of explanation_spec are optional in the request. If a field of explanation_spec is not populated, the value of the same field of Model.explanation_spec is inherited. If the corresponding Model.explanation_spec is not populated, all fields of the explanation_spec will be used for the explanation configuration.
service_account
str
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. Users deploying the Model must have the
iam.serviceAccounts.actAs
permission on this service
account.disable_container_logging
bool
For custom-trained Models and AutoML Tabular Models, the container of the DeployedModel instances will send
stderr
and stdout
streams to Cloud Logging by
default. Please note that the logs incur cost, which are
subject to `Cloud Logging
pricingenable_access_logging
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. Note that logs may incur a cost, especially if your project receives prediction requests at a high queries per second rate (QPS). Estimate your costs before enabling this option.
private_endpoints
google.cloud.aiplatform_v1.types.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 network is configured.
Methods
DeployedModel
DeployedModel
(
mapping
=
None
,
*
,
ignore_unknown_fields
=
False
,
**
kwargs
)
A deployment of a Model. Endpoints contain one or more DeployedModels.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields