Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult

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

The result of the Google Search.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult

Returns a new instance of GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult.



3008
3009
3010
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3008

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

Instance Attribute Details

#search_suggestionsString

Web content snippet that can be embedded in a web page or an app webview. Corresponds to the JSON property search_suggestions

Returns:

  • (String)


3006
3007
3008
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3006

def search_suggestions
  @search_suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3013
3014
3015
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3013

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