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.



108
109
110
111
# File 'proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb', line 108

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:



108
109
110
111
# File 'proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb', line 108

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.



108
109
110
111
# File 'proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb', line 108

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.



108
109
110
111
# File 'proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb', line 108

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.



108
109
110
111
# File 'proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb', line 108

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