Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultStep
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultStep
- 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
Google Search result step.
Instance Attribute Summary collapse
-
#is_error ⇒ Boolean
(also: #is_error?)
Whether the Google Search resulted in an error.
-
#result ⇒ Array<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchResultStep
constructor
A new instance of GenaiVertexV1beta1GoogleSearchResultStep.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchResultStep
Returns a new instance of GenaiVertexV1beta1GoogleSearchResultStep.
2823 2824 2825 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2823 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_error ⇒ Boolean Also known as: is_error?
Whether the Google Search resulted in an error.
Corresponds to the JSON property is_error
2815 2816 2817 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2815 def is_error @is_error end |
#result ⇒ Array<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultStepGoogleSearchResultItem>
Required. The results of the Google Search.
Corresponds to the JSON property result
2821 2822 2823 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2821 def result @result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2828 2829 2830 2831 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2828 def update!(**args) @is_error = args[:is_error] if args.key?(:is_error) @result = args[:result] if args.key?(:result) end |