Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::Deploy.
Model metadata that is needed for UploadModel or DeployModel/CreateEndpoint requests.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#artifact_uri
def artifact_uri() -> ::String- (::String) — Optional. The path to the directory containing the Model artifact and any of its supporting files.
#artifact_uri=
def artifact_uri=(value) -> ::String- value (::String) — Optional. The path to the directory containing the Model artifact and any of its supporting files.
- (::String) — Optional. The path to the directory containing the Model artifact and any of its supporting files.
#automatic_resources
def automatic_resources() -> ::Google::Cloud::AIPlatform::V1::AutomaticResources-
(::Google::Cloud::AIPlatform::V1::AutomaticResources) — A description of resources that to large degree are decided by Vertex
AI, and require only a modest additional configuration.
Note: The following fields are mutually exclusive:
automatic_resources,dedicated_resources,shared_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.
#automatic_resources=
def automatic_resources=(value) -> ::Google::Cloud::AIPlatform::V1::AutomaticResources-
value (::Google::Cloud::AIPlatform::V1::AutomaticResources) — A description of resources that to large degree are decided by Vertex
AI, and require only a modest additional configuration.
Note: The following fields are mutually exclusive:
automatic_resources,dedicated_resources,shared_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::AutomaticResources) — A description of resources that to large degree are decided by Vertex
AI, and require only a modest additional configuration.
Note: The following fields are mutually exclusive:
automatic_resources,dedicated_resources,shared_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.
#container_spec
def container_spec() -> ::Google::Cloud::AIPlatform::V1::ModelContainerSpec- (::Google::Cloud::AIPlatform::V1::ModelContainerSpec) — Optional. The specification of the container that is to be used when deploying this Model in Vertex AI. Not present for Large Models.
#container_spec=
def container_spec=(value) -> ::Google::Cloud::AIPlatform::V1::ModelContainerSpec- value (::Google::Cloud::AIPlatform::V1::ModelContainerSpec) — Optional. The specification of the container that is to be used when deploying this Model in Vertex AI. Not present for Large Models.
- (::Google::Cloud::AIPlatform::V1::ModelContainerSpec) — Optional. The specification of the container that is to be used when deploying this Model in Vertex AI. Not present for Large Models.
#dedicated_resources
def dedicated_resources() -> ::Google::Cloud::AIPlatform::V1::DedicatedResources-
(::Google::Cloud::AIPlatform::V1::DedicatedResources) — A description of resources that are dedicated to the DeployedModel,
and that need a higher degree of manual configuration.
Note: The following fields are mutually exclusive:
dedicated_resources,automatic_resources,shared_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.
#dedicated_resources=
def dedicated_resources=(value) -> ::Google::Cloud::AIPlatform::V1::DedicatedResources-
value (::Google::Cloud::AIPlatform::V1::DedicatedResources) — A description of resources that are dedicated to the DeployedModel,
and that need a higher degree of manual configuration.
Note: The following fields are mutually exclusive:
dedicated_resources,automatic_resources,shared_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::DedicatedResources) — A description of resources that are dedicated to the DeployedModel,
and that need a higher degree of manual configuration.
Note: The following fields are mutually exclusive:
dedicated_resources,automatic_resources,shared_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.
#deploy_metadata
def deploy_metadata() -> ::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::Deploy::DeployMetadata- (::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::Deploy::DeployMetadata) — Optional. Metadata information about this deployment config.
#deploy_metadata=
def deploy_metadata=(value) -> ::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::Deploy::DeployMetadata- value (::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::Deploy::DeployMetadata) — Optional. Metadata information about this deployment config.
- (::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::Deploy::DeployMetadata) — Optional. Metadata information about this deployment config.
#deploy_task_name
def deploy_task_name() -> ::String- (::String) — Optional. The name of the deploy task (e.g., "text to image generation").
#deploy_task_name=
def deploy_task_name=(value) -> ::String- value (::String) — Optional. The name of the deploy task (e.g., "text to image generation").
- (::String) — Optional. The name of the deploy task (e.g., "text to image generation").
#large_model_reference
def large_model_reference() -> ::Google::Cloud::AIPlatform::V1::LargeModelReference- (::Google::Cloud::AIPlatform::V1::LargeModelReference) — Optional. Large model reference. When this is set, model_artifact_spec is not needed.
#large_model_reference=
def large_model_reference=(value) -> ::Google::Cloud::AIPlatform::V1::LargeModelReference- value (::Google::Cloud::AIPlatform::V1::LargeModelReference) — Optional. Large model reference. When this is set, model_artifact_spec is not needed.
- (::Google::Cloud::AIPlatform::V1::LargeModelReference) — Optional. Large model reference. When this is set, model_artifact_spec is not needed.
#model_display_name
def model_display_name() -> ::String- (::String) — Optional. Default model display name.
#model_display_name=
def model_display_name=(value) -> ::String- value (::String) — Optional. Default model display name.
- (::String) — Optional. Default model display name.
#public_artifact_uri
def public_artifact_uri() -> ::String- (::String) — Optional. The signed URI for ephemeral Cloud Storage access to model artifact.
#public_artifact_uri=
def public_artifact_uri=(value) -> ::String- value (::String) — Optional. The signed URI for ephemeral Cloud Storage access to model artifact.
- (::String) — Optional. The signed URI for ephemeral Cloud Storage access to model artifact.
#shared_resources
def shared_resources() -> ::String-
(::String) — The resource name of the shared DeploymentResourcePool to deploy on.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}Note: The following fields are mutually exclusive:
shared_resources,dedicated_resources,automatic_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.
#shared_resources=
def shared_resources=(value) -> ::String-
value (::String) — The resource name of the shared DeploymentResourcePool to deploy on.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}Note: The following fields are mutually exclusive:
shared_resources,dedicated_resources,automatic_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The resource name of the shared DeploymentResourcePool to deploy on.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}Note: The following fields are mutually exclusive:
shared_resources,dedicated_resources,automatic_resources. If a field in that set is populated, all other fields in the set will automatically be cleared.
#title
def title() -> ::String- (::String) — Required. The title of the regional resource reference.
#title=
def title=(value) -> ::String- value (::String) — Required. The title of the regional resource reference.
- (::String) — Required. The title of the regional resource reference.