class Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult

Resource that represents completion results.

Attributes

attributes[RW]

Additional custom attributes ingested through BigQuery. Corresponds to the JSON property `attributes` @return [Hash<String,Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute>]

suggestion[RW]

The suggestion for the query. Corresponds to the JSON property `suggestion` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/retail_v2alpha/classes.rb, line 949
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/retail_v2alpha/classes.rb, line 954
def update!(**args)
  @attributes = args[:attributes] if args.key?(:attributes)
  @suggestion = args[:suggestion] if args.key?(:suggestion)
end