Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb

Overview

Response message for WidgetService.WidgetSearch method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse.



5451
5452
5453
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5451

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

Instance Attribute Details

#search_responseGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponse

Response message for SearchService.Search method. Corresponds to the JSON property searchResponse



5444
5445
5446
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5444

def search_response
  @search_response
end

#u_tokenString

The token in response. Corresponds to the JSON property uToken

Returns:

  • (String)


5449
5450
5451
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5449

def u_token
  @u_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5456
5457
5458
5459
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5456

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