Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelParent
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelParent
- 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
The information about the parent of a model.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Required.
-
#reference ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference
Reference to a resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModelParent
constructor
A new instance of GoogleCloudAiplatformV1beta1PublisherModelParent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModelParent
Returns a new instance of GoogleCloudAiplatformV1beta1PublisherModelParent.
20954 20955 20956 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20954 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Required. The display name of the parent. E.g., LaMDA, T5, Vision API, Natural
Language API.
Corresponds to the JSON property displayName
20947 20948 20949 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20947 def display_name @display_name end |
#reference ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference
Reference to a resource.
Corresponds to the JSON property reference
20952 20953 20954 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20952 def reference @reference end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20959 20960 20961 20962 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20959 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @reference = args[:reference] if args.key?(:reference) end |