Class: Google::Cloud::AIPlatform::V1::DeployRequest::ModelConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb

Overview

The model config to use for the deployment.

Instance Attribute Summary collapse

Instance Attribute Details

#accept_eula::Boolean

Returns Optional. Whether the user accepts the End User License Agreement (EULA) for the model.

Returns:

  • (::Boolean)

    Optional. Whether the user accepts the End User License Agreement (EULA) for the model.



117
118
119
120
# File 'proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb', line 117

class ModelConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#container_spec::Google::Cloud::AIPlatform::V1::ModelContainerSpec

Returns Optional. The specification of the container that is to be used when deploying. If not set, the default container spec will be used.

Returns:



117
118
119
120
# File 'proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb', line 117

class ModelConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#hugging_face_access_token::String

Returns Optional. The Hugging Face read access token used to access the model artifacts of gated models.

Returns:

  • (::String)

    Optional. The Hugging Face read access token used to access the model artifacts of gated models.



117
118
119
120
# File 'proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb', line 117

class ModelConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#hugging_face_cache_enabled::Boolean

Returns Optional. If true, the model will deploy with a cached version instead of directly downloading the model artifacts from Hugging Face. This is suitable for VPC-SC users with limited internet access.

Returns:

  • (::Boolean)

    Optional. If true, the model will deploy with a cached version instead of directly downloading the model artifacts from Hugging Face. This is suitable for VPC-SC users with limited internet access.



117
118
119
120
# File 'proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb', line 117

class ModelConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#model_display_name::String

Returns Optional. The user-specified display name of the uploaded model. If not set, a default name will be used.

Returns:

  • (::String)

    Optional. The user-specified display name of the uploaded model. If not set, a default name will be used.



117
118
119
120
# File 'proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb', line 117

class ModelConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#model_user_id::String

Returns Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name. When not provided, Vertex AI will generate a value for this ID. When Model Registry model is provided, this field will be ignored.

This value may be up to 63 characters, and valid characters are [a-z0-9_-]. The first character cannot be a number or hyphen.

Returns:

  • (::String)

    Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name. When not provided, Vertex AI will generate a value for this ID. When Model Registry model is provided, this field will be ignored.

    This value may be up to 63 characters, and valid characters are [a-z0-9_-]. The first character cannot be a number or hyphen.



117
118
119
120
# File 'proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb', line 117

class ModelConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end