Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelParent

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

The information about the parent of a model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModelParent

Returns a new instance of GoogleCloudAiplatformV1beta1PublisherModelParent.



17969
17970
17971
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17969

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

Instance Attribute Details

#display_nameString

Required. The display name of the parent. E.g., LaMDA, T5, Vision API, Natural Language API. Corresponds to the JSON property displayName

Returns:

  • (String)


17962
17963
17964
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17962

def display_name
  @display_name
end

#referenceGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference

Reference to a resource. Corresponds to the JSON property reference



17967
17968
17969
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17967

def reference
  @reference
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17974
17975
17976
17977
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17974

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @reference = args[:reference] if args.key?(:reference)
end