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
-
#references ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference>
Required.
-
#resource_description ⇒ String
Optional.
-
#resource_title ⇒ String
Optional.
-
#resource_use_case ⇒ String
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.
17889 17890 17891 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17889 def initialize(**args) update!(**args) end |
Instance Attribute Details
#references ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference>
Required.
Corresponds to the JSON property references
17867 17868 17869 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17867 def references @references end |
#resource_description ⇒ String
Optional. Description of the resource.
Corresponds to the JSON property resourceDescription
17872 17873 17874 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17872 def resource_description @resource_description end |
#resource_title ⇒ String
Optional. Title of the resource.
Corresponds to the JSON property resourceTitle
17877 17878 17879 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17877 def resource_title @resource_title end |
#resource_use_case ⇒ String
Optional. Use case (CUJ) of the resource.
Corresponds to the JSON property resourceUseCase
17882 17883 17884 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17882 def resource_use_case @resource_use_case end |
#title ⇒ String
Required.
Corresponds to the JSON property title
17887 17888 17889 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17887 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17894 17895 17896 17897 17898 17899 17900 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17894 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 |