class Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponseCompletionResult

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::RetailV2::GoogleCloudRetailV2CustomAttribute>]

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_v2/classes.rb, line 603
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_v2/classes.rb, line 608
def update!(**args)
  @attributes = args[:attributes] if args.key?(:attributes)
  @suggestion = args[:suggestion] if args.key?(:suggestion)
end