Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContent
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContent
- 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 content.
Instance Attribute Summary collapse
-
#arguments ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments
The arguments to pass to Google Search.
-
#search_type ⇒ String
The type of search grounding enabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchCallContent
constructor
A new instance of GenaiVertexV1beta1GoogleSearchCallContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchCallContent
Returns a new instance of GenaiVertexV1beta1GoogleSearchCallContent.
3126 3127 3128 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3126 def initialize(**args) update!(**args) end |
Instance Attribute Details
#arguments ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments
The arguments to pass to Google Search.
Corresponds to the JSON property arguments
3119 3120 3121 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3119 def arguments @arguments end |
#search_type ⇒ String
The type of search grounding enabled.
Corresponds to the JSON property searchType
3124 3125 3126 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3124 def search_type @search_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3131 3132 3133 3134 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3131 def update!(**args) @arguments = args[:arguments] if args.key?(:arguments) @search_type = args[:search_type] if args.key?(:search_type) end |