Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearch
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearch
- 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
A tool that can be used by the model to search Google.
Instance Attribute Summary collapse
-
#search_types ⇒ Array<String>
The types of search grounding to enable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearch
constructor
A new instance of GenaiVertexV1beta1GoogleSearch.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearch
Returns a new instance of GenaiVertexV1beta1GoogleSearch.
2620 2621 2622 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2620 def initialize(**args) update!(**args) end |
Instance Attribute Details
#search_types ⇒ Array<String>
The types of search grounding to enable.
Corresponds to the JSON property search_types
2618 2619 2620 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2618 def search_types @search_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2625 2626 2627 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2625 def update!(**args) @search_types = args[:search_types] if args.key?(:search_types) end |