Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UnmanagedContainerModel
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UnmanagedContainerModel
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Contains model information necessary to perform batch prediction without requiring a full model import.
Instance Attribute Summary collapse
-
#artifact_uri ⇒ String
The path to the directory containing the Model artifact and any of its supporting files.
-
#container_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec
Specification of a container for serving predictions.
-
#predict_schemata ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictSchemata
Contains the schemata used in Model's predictions and explanations via PredictionService.Predict, PredictionService.Explain and BatchPredictionJob.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1UnmanagedContainerModel
constructor
A new instance of GoogleCloudAiplatformV1UnmanagedContainerModel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1UnmanagedContainerModel
Returns a new instance of GoogleCloudAiplatformV1UnmanagedContainerModel.
23248 23249 23250 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23248 def initialize(**args) update!(**args) end |
Instance Attribute Details
#artifact_uri ⇒ String
The path to the directory containing the Model artifact and any of its
supporting files.
Corresponds to the JSON property artifactUri
23232 23233 23234 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23232 def artifact_uri @artifact_uri end |
#container_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec
Specification of a container for serving predictions. Some fields in this
message correspond to fields in the Kubernetes Container v1 core
specification.
Corresponds to the JSON property containerSpec
23240 23241 23242 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23240 def container_spec @container_spec end |
#predict_schemata ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictSchemata
Contains the schemata used in Model's predictions and explanations via
PredictionService.Predict, PredictionService.Explain and BatchPredictionJob.
Corresponds to the JSON property predictSchemata
23246 23247 23248 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23246 def predict_schemata @predict_schemata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23253 23254 23255 23256 23257 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23253 def update!(**args) @artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri) @container_spec = args[:container_spec] if args.key?(:container_spec) @predict_schemata = args[:predict_schemata] if args.key?(:predict_schemata) end |