Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse
- 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
-
#search_response ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponse
Response message for SearchService.Search method.
-
#u_token ⇒ String
The token in response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse
Returns a new instance of GoogleCloudDiscoveryengineV1alphaWidgetSearchResponse.
5429 5430 5431 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5429 def initialize(**args) update!(**args) end |
Instance Attribute Details
#search_response ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponse
Response message for SearchService.Search method.
Corresponds to the JSON property searchResponse
5422 5423 5424 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5422 def search_response @search_response end |
#u_token ⇒ String
The token in response.
Corresponds to the JSON property uToken
5427 5428 5429 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5427 def u_token @u_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5434 5435 5436 5437 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5434 def update!(**args) @search_response = args[:search_response] if args.key?(:search_response) @u_token = args[:u_token] if args.key?(:u_token) end |