Class DeployRequest (1.88.0)

DeployRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for ModelGardenService.Deploy.

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

Name Description
publisher_model_name str
The Model Garden model to deploy. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001. This field is a member of oneof_ artifacts.
hugging_face_model_id str
The Hugging Face model to deploy. Format: Hugging Face model ID like google/gemma-2-2b-it. This field is a member of oneof_ artifacts.
destination str
Required. The resource name of the Location to deploy the model in. Format: projects/{project}/locations/{location}
model_config google.cloud.aiplatform_v1beta1.types.DeployRequest.ModelConfig
Optional. The model config to use for the deployment. If not specified, the default model config will be used.
endpoint_config google.cloud.aiplatform_v1beta1.types.DeployRequest.EndpointConfig
Optional. The endpoint config to use for the deployment. If not specified, the default endpoint config will be used.
deploy_config google.cloud.aiplatform_v1beta1.types.DeployRequest.DeployConfig
Optional. The deploy config to use for the deployment. If not specified, the default deploy config will be used.

Classes

DeployConfig

DeployConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The deploy config to use for the deployment.

EndpointConfig

EndpointConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The endpoint config to use for the deployment.

ModelConfig

ModelConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The model config to use for the deployment.

Methods

DeployRequest

DeployRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for ModelGardenService.Deploy.

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