Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TaskDescriptionStrategy
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TaskDescriptionStrategy
- 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
Defines a generation strategy based on a high-level task description.
Instance Attribute Summary collapse
-
#task_description ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1TaskDescriptionStrategy
constructor
A new instance of GoogleCloudAiplatformV1TaskDescriptionStrategy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1TaskDescriptionStrategy
Returns a new instance of GoogleCloudAiplatformV1TaskDescriptionStrategy.
42920 42921 42922 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 42920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#task_description ⇒ String
Required. A high-level description of the synthetic data to be generated.
Corresponds to the JSON property taskDescription
42918 42919 42920 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 42918 def task_description @task_description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42925 42926 42927 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 42925 def update!(**args) @task_description = args[:task_description] if args.key?(:task_description) end |