Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallStep

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 call step.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchCallStep

Returns a new instance of GenaiVertexV1beta1GoogleSearchCallStep.



2898
2899
2900
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2898

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

Instance Attribute Details

#argumentsGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallStepGoogleSearchCallStepArguments

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



2891
2892
2893
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2891

def arguments
  @arguments
end

#search_typeString

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

Returns:

  • (String)


2896
2897
2898
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2896

def search_type
  @search_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2903
2904
2905
2906
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2903

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