Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Config representing a model hosted on Vertex Prediction Endpoint.
Instance Attribute Summary collapse
-
#endpoint ⇒ String
Required.
-
#model ⇒ String
Output only.
-
#model_version_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint
constructor
A new instance of GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint
Returns a new instance of GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint.
22749 22750 22751 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22749 def initialize(**args) update!(**args) end |
Instance Attribute Details
#endpoint ⇒ String
Required. The endpoint resource name. Format: projects/
project/locations/
location/publishers/
publisher/models/
modelor `projects/`project`/
locations/`location`/endpoints/`endpoint
Corresponds to the JSON property endpoint
22734 22735 22736 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22734 def endpoint @endpoint end |
#model ⇒ String
Output only. The resource name of the model that is deployed on the endpoint.
Present only when the endpoint is not a publisher model. Pattern: projects/
project/locations/
location/models/
model`
Corresponds to the JSON property
model`
22741 22742 22743 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22741 def model @model end |
#model_version_id ⇒ String
Output only. Version ID of the model that is deployed on the endpoint. Present
only when the endpoint is not a publisher model.
Corresponds to the JSON property modelVersionId
22747 22748 22749 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22747 def model_version_id @model_version_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22754 22755 22756 22757 22758 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22754 def update!(**args) @endpoint = args[:endpoint] if args.key?(:endpoint) @model = args[:model] if args.key?(:model) @model_version_id = args[:model_version_id] if args.key?(:model_version_id) end |