Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences

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 regional resource name or the URI. Key is region, e.g., us-central1, europe-west2, global, etc..

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences

Returns a new instance of GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences.



15542
15543
15544
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15542

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

Instance Attribute Details

#referencesHash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference>

Required. Corresponds to the JSON property references



15535
15536
15537
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15535

def references
  @references
end

#titleString

Required. The title of the regional resource reference. Corresponds to the JSON property title

Returns:

  • (String)


15540
15541
15542
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15540

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15547
15548
15549
15550
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15547

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