image property
URI of the Docker image to be used as the custom container for serving predictions.
This URI must identify [an image in Artifact
Registry](/artifact-registry/docs/overview) and begin with the hostname
{REGION}-docker.pkg.dev
, where {REGION}
is replaced by the region that
matches AI Platform Prediction [regional
endpoint](/ai-platform/prediction/docs/regional-endpoints) that you are
using. For example, if you are using the us-central1-ml.googleapis.com
endpoint, then this URI must begin with us-central1-docker.pkg.dev
. To
use a custom container, the [AI Platform Google-managed service
account](/ai-platform/prediction/docs/custom-service-account#default)
must have permission to pull (read) the Docker image at this URI. The AI
Platform Google-managed service account has the following format:
service-{PROJECT_NUMBER}@cloud-ml.google.com.iam.gserviceaccount.com
{PROJECT_NUMBER} is replaced by your Google Cloud project number. By
default, this service account has necessary permissions to pull an
Artifact Registry image in the same Google Cloud project where you are
using AI Platform Prediction. In this case, no configuration is necessary.
If you want to use an image from a different Google Cloud project, learn
how to [grant the Artifact Registry Reader
(roles/artifactregistry.reader) role for a
repository](/artifact-registry/docs/access-control#grant-repo) to your
projet's AI Platform Google-managed service account. To learn about the
requirements for the Docker image itself, read [Custom container
requirements](/ai-platform/prediction/docs/custom-container-requirements).
Implementation
core.String? image;