Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultContent
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultContent
- 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 content.
Instance Attribute Summary collapse
-
#is_error ⇒ Boolean
(also: #is_error?)
Whether the Google Search resulted in an error.
-
#result ⇒ Array<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchResultContent
constructor
A new instance of GenaiVertexV1beta1GoogleSearchResultContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchResultContent
Returns a new instance of GenaiVertexV1beta1GoogleSearchResultContent.
3118 3119 3120 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3118 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 isError
3110 3111 3112 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3110 def is_error @is_error end |
#result ⇒ Array<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult>
Required. The results of the Google Search.
Corresponds to the JSON property result
3116 3117 3118 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3116 def result @result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3123 3124 3125 3126 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3123 def update!(**args) @is_error = args[:is_error] if args.key?(:is_error) @result = args[:result] if args.key?(:result) end |