Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TextResponseFormat
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TextResponseFormat
- 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
Configuration for text-specific output formatting.
Instance Attribute Summary collapse
-
#mime_type ⇒ String
Optional.
-
#schema ⇒ Object
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1TextResponseFormat
constructor
A new instance of GoogleCloudAiplatformV1beta1TextResponseFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1TextResponseFormat
Returns a new instance of GoogleCloudAiplatformV1beta1TextResponseFormat.
64333 64334 64335 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64333 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mime_type ⇒ String
Optional. The IANA standard MIME type of the response.
Corresponds to the JSON property mimeType
64325 64326 64327 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64325 def mime_type @mime_type end |
#schema ⇒ Object
Optional. The JSON schema that the output should conform to. Only applicable
when mime_type is APPLICATION_JSON.
Corresponds to the JSON property schema
64331 64332 64333 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64331 def schema @schema end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
64338 64339 64340 64341 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64338 def update!(**args) @mime_type = args[:mime_type] if args.key?(:mime_type) @schema = args[:schema] if args.key?(:schema) end |