Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModel

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModel

Returns a new instance of GoogleCloudAiplatformV1beta1PublisherModel.



20578
20579
20580
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20578

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#frameworksArray<String>

Optional. Additional information about the model's Frameworks. Corresponds to the JSON property frameworks

Returns:

  • (Array<String>)


20527
20528
20529
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20527

def frameworks
  @frameworks
end

#launch_stageString

Optional. Indicates the launch stage of the model. Corresponds to the JSON property launchStage

Returns:

  • (String)


20532
20533
20534
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20532

def launch_stage
  @launch_stage
end

#nameString

Output only. The resource name of the PublisherModel. Corresponds to the JSON property name

Returns:

  • (String)


20537
20538
20539
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20537

def name
  @name
end

#open_source_categoryString

Required. Indicates the open source category of the publisher model. Corresponds to the JSON property openSourceCategory

Returns:

  • (String)


20542
20543
20544
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20542

def open_source_category
  @open_source_category
end

#parentGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelParent

The information about the parent of a model. Corresponds to the JSON property parent



20547
20548
20549
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20547

def parent
  @parent
end

#predict_schemataGoogle::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



20553
20554
20555
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20553

def predict_schemata
  @predict_schemata
end

#publisher_model_templateString

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

Returns:

  • (String)


20559
20560
20561
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20559

def publisher_model_template
  @publisher_model_template
end

#supported_actionsGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToAction

Actions could take on this Publisher Model. Corresponds to the JSON property supportedActions



20564
20565
20566
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20564

def supported_actions
  @supported_actions
end

#version_idString

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

Returns:

  • (String)


20571
20572
20573
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20571

def version_id
  @version_id
end

#version_stateString

Optional. Indicates the state of the model version. Corresponds to the JSON property versionState

Returns:

  • (String)


20576
20577
20578
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20576

def version_state
  @version_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20583

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)
  @version_state = args[:version_state] if args.key?(:version_state)
end