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.



23502
23503
23504
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23502

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

Instance Attribute Details

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

Required. Corresponds to the JSON property references



23474
23475
23476
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23474

def references
  @references
end

#resource_descriptionString

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

Returns:

  • (String)


23479
23480
23481
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23479

def resource_description
  @resource_description
end

#resource_titleString

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

Returns:

  • (String)


23484
23485
23486
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23484

def resource_title
  @resource_title
end

#resource_use_caseString

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

Returns:

  • (String)


23489
23490
23491
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23489

def resource_use_case
  @resource_use_case
end

#supports_workbenchBoolean Also known as: supports_workbench?

Optional. For notebook resource, whether the notebook supports Workbench. Corresponds to the JSON property supportsWorkbench

Returns:

  • (Boolean)


23494
23495
23496
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23494

def supports_workbench
  @supports_workbench
end

#titleString

Required. Corresponds to the JSON property title

Returns:

  • (String)


23500
23501
23502
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23500

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23507
23508
23509
23510
23511
23512
23513
23514
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 23507

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