Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchCallContent

Returns a new instance of GenaiVertexV1beta1GoogleSearchCallContent.



2644
2645
2646
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2644

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#argumentsGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments

The arguments to pass to Google Search. Corresponds to the JSON property arguments



2637
2638
2639
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2637

def arguments
  @arguments
end

#search_typeString

The type of search grounding enabled. Corresponds to the JSON property search_type

Returns:

  • (String)


2642
2643
2644
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2642

def search_type
  @search_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2649
2650
2651
2652
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2649

def update!(**args)
  @arguments = args[:arguments] if args.key?(:arguments)
  @search_type = args[:search_type] if args.key?(:search_type)
end