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.



28117
28118
28119
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28117

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

Instance Attribute Details

#colab_notebook_disabledBoolean Also known as: colab_notebook_disabled?

Optional. For notebook resource. When set to true, the Colab Enterprise link will be disabled in the "open notebook" dialog in UI. Corresponds to the JSON property colabNotebookDisabled

Returns:

  • (Boolean)


28083
28084
28085
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28083

def colab_notebook_disabled
  @colab_notebook_disabled
end

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

Required. Corresponds to the JSON property references



28089
28090
28091
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28089

def references
  @references
end

#resource_descriptionString

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

Returns:

  • (String)


28094
28095
28096
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28094

def resource_description
  @resource_description
end

#resource_titleString

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

Returns:

  • (String)


28099
28100
28101
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28099

def resource_title
  @resource_title
end

#resource_use_caseString

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

Returns:

  • (String)


28104
28105
28106
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28104

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)


28109
28110
28111
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28109

def supports_workbench
  @supports_workbench
end

#titleString

Required. Corresponds to the JSON property title

Returns:

  • (String)


28115
28116
28117
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28115

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28122
28123
28124
28125
28126
28127
28128
28129
28130
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28122

def update!(**args)
  @colab_notebook_disabled = args[:colab_notebook_disabled] if args.key?(:colab_notebook_disabled)
  @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