Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModel
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModel
- 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
A Model Garden Publisher Model.
Instance Attribute Summary collapse
-
#frameworks ⇒ Array<String>
Optional.
-
#launch_stage ⇒ String
Optional.
-
#name ⇒ String
Output only.
-
#open_source_category ⇒ String
Required.
-
#parent ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelParent
The information about the parent of a model.
-
#predict_schemata ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictSchemata
Contains the schemata used in Model's predictions and explanations via PredictionService.Predict, PredictionService.Explain and BatchPredictionJob.
-
#publisher_model_template ⇒ String
Optional.
-
#supported_actions ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToAction
Actions could take on this Publisher Model.
-
#version_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModel
constructor
A new instance of GoogleCloudAiplatformV1beta1PublisherModel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModel
Returns a new instance of GoogleCloudAiplatformV1beta1PublisherModel.
13810 13811 13812 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13810 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frameworks ⇒ Array<String>
Optional. Additional information about the model's Frameworks.
Corresponds to the JSON property frameworks
13764 13765 13766 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13764 def frameworks @frameworks end |
#launch_stage ⇒ String
Optional. Indicates the launch stage of the model.
Corresponds to the JSON property launchStage
13769 13770 13771 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13769 def launch_stage @launch_stage end |
#name ⇒ String
Output only. The resource name of the PublisherModel.
Corresponds to the JSON property name
13774 13775 13776 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13774 def name @name end |
#open_source_category ⇒ String
Required. Indicates the open source category of the publisher model.
Corresponds to the JSON property openSourceCategory
13779 13780 13781 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13779 def open_source_category @open_source_category end |
#parent ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelParent
The information about the parent of a model.
Corresponds to the JSON property parent
13784 13785 13786 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13784 def parent @parent end |
#predict_schemata ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictSchemata
Contains the schemata used in Model's predictions and explanations via
PredictionService.Predict, PredictionService.Explain and BatchPredictionJob.
Corresponds to the JSON property predictSchemata
13790 13791 13792 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13790 def predict_schemata @predict_schemata end |
#publisher_model_template ⇒ String
Optional. Output only. Immutable. Used to indicate this model has a publisher
model and provide the template of the publisher model resource name.
Corresponds to the JSON property publisherModelTemplate
13796 13797 13798 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13796 def publisher_model_template @publisher_model_template end |
#supported_actions ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToAction
Actions could take on this Publisher Model.
Corresponds to the JSON property supportedActions
13801 13802 13803 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13801 def supported_actions @supported_actions end |
#version_id ⇒ String
Output only. Immutable. The version ID of the PublisherModel. A new version is
committed when a new model version is uploaded under an existing model id. It
is an auto-incrementing decimal number in string representation.
Corresponds to the JSON property versionId
13808 13809 13810 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13808 def version_id @version_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13815 def update!(**args) @frameworks = args[:frameworks] if args.key?(:frameworks) @launch_stage = args[:launch_stage] if args.key?(:launch_stage) @name = args[:name] if args.key?(:name) @open_source_category = args[:open_source_category] if args.key?(:open_source_category) @parent = args[:parent] if args.key?(:parent) @predict_schemata = args[:predict_schemata] if args.key?(:predict_schemata) @publisher_model_template = args[:publisher_model_template] if args.key?(:publisher_model_template) @supported_actions = args[:supported_actions] if args.key?(:supported_actions) @version_id = args[:version_id] if args.key?(:version_id) end |