Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences
- 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
-
#colab_notebook_disabled ⇒ Boolean
(also: #colab_notebook_disabled?)
Optional.
-
#references ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference>
Required.
-
#resource_description ⇒ String
Optional.
-
#resource_title ⇒ String
Optional.
-
#resource_use_case ⇒ String
Optional.
-
#supports_workbench ⇒ Boolean
(also: #supports_workbench?)
Optional.
-
#title ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences
constructor
A new instance of GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences
Returns a new instance of GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences.
35545 35546 35547 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35545 def initialize(**args) update!(**args) end |
Instance Attribute Details
#colab_notebook_disabled ⇒ Boolean 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
35511 35512 35513 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35511 def colab_notebook_disabled @colab_notebook_disabled end |
#references ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference>
Required.
Corresponds to the JSON property references
35517 35518 35519 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35517 def references @references end |
#resource_description ⇒ String
Optional. Description of the resource.
Corresponds to the JSON property resourceDescription
35522 35523 35524 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35522 def resource_description @resource_description end |
#resource_title ⇒ String
Optional. Title of the resource.
Corresponds to the JSON property resourceTitle
35527 35528 35529 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35527 def resource_title @resource_title end |
#resource_use_case ⇒ String
Optional. Use case (CUJ) of the resource.
Corresponds to the JSON property resourceUseCase
35532 35533 35534 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35532 def resource_use_case @resource_use_case end |
#supports_workbench ⇒ Boolean Also known as: supports_workbench?
Optional. For notebook resource, whether the notebook supports Workbench.
Corresponds to the JSON property supportsWorkbench
35537 35538 35539 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35537 def supports_workbench @supports_workbench end |
#title ⇒ String
Required.
Corresponds to the JSON property title
35543 35544 35545 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35543 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35550 35551 35552 35553 35554 35555 35556 35557 35558 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35550 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 |