Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/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) ⇒ GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences

Returns a new instance of GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences.



19539
19540
19541
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19539

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

Instance Attribute Details

#referencesHash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelResourceReference>

Required. Corresponds to the JSON property references



19517
19518
19519
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19517

def references
  @references
end

#resource_descriptionString

Optional. Description of the resource. Corresponds to the JSON property resourceDescription

Returns:

  • (String)


19522
19523
19524
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19522

def resource_description
  @resource_description
end

#resource_titleString

Optional. Title of the resource. Corresponds to the JSON property resourceTitle

Returns:

  • (String)


19527
19528
19529
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19527

def resource_title
  @resource_title
end

#resource_use_caseString

Optional. Use case (CUJ) of the resource. Corresponds to the JSON property resourceUseCase

Returns:

  • (String)


19532
19533
19534
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19532

def resource_use_case
  @resource_use_case
end

#titleString

Required. Corresponds to the JSON property title

Returns:

  • (String)


19537
19538
19539
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19537

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19544
19545
19546
19547
19548
19549
19550
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19544

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