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
Returns
- (::String) — Optional. The path to the directory containing the Model artifact and any of its supporting files.
#artifact_uri=
def artifact_uri=(value) -> ::String
Parameter
- value (::String) — Optional. The path to the directory containing the Model artifact and any of its supporting files.
Returns
- (::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
Returns
- (::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.
#automatic_resources=
def automatic_resources=(value) -> ::Google::Cloud::AIPlatform::V1::AutomaticResources
Parameter
- 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.
Returns
- (::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.
#container_spec
def container_spec() -> ::Google::Cloud::AIPlatform::V1::ModelContainerSpec
Returns
- (::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
Parameter
- 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.
Returns
- (::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
Returns
- (::Google::Cloud::AIPlatform::V1::DedicatedResources) — A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
#dedicated_resources=
def dedicated_resources=(value) -> ::Google::Cloud::AIPlatform::V1::DedicatedResources
Parameter
- 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.
Returns
- (::Google::Cloud::AIPlatform::V1::DedicatedResources) — A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
#large_model_reference
def large_model_reference() -> ::Google::Cloud::AIPlatform::V1::LargeModelReference
Returns
- (::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
Parameter
- value (::Google::Cloud::AIPlatform::V1::LargeModelReference) — Optional. Large model reference. When this is set, model_artifact_spec is not needed.
Returns
- (::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
Returns
- (::String) — Optional. Default model display name.
#model_display_name=
def model_display_name=(value) -> ::String
Parameter
- value (::String) — Optional. Default model display name.
Returns
- (::String) — Optional. Default model display name.
#public_artifact_uri
def public_artifact_uri() -> ::String
Returns
- (::String) — Optional. The signed URI for ephemeral Cloud Storage access to model artifact.
#public_artifact_uri=
def public_artifact_uri=(value) -> ::String
Parameter
- value (::String) — Optional. The signed URI for ephemeral Cloud Storage access to model artifact.
Returns
- (::String) — Optional. The signed URI for ephemeral Cloud Storage access to model artifact.
#shared_resources
def shared_resources() -> ::String
Returns
-
(::String) — The resource name of the shared DeploymentResourcePool to deploy on.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
#shared_resources=
def shared_resources=(value) -> ::String
Parameter
-
value (::String) — The resource name of the shared DeploymentResourcePool to deploy on.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
Returns
-
(::String) — The resource name of the shared DeploymentResourcePool to deploy on.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
#title
def title() -> ::String
Returns
- (::String) — Required. The title of the regional resource reference.
#title=
def title=(value) -> ::String
Parameter
- value (::String) — Required. The title of the regional resource reference.
Returns
- (::String) — Required. The title of the regional resource reference.