Class: Google::Apis::CloudsearchV1::QueryActivity

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

Overview

Details about a user's query activity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QueryActivity

Returns a new instance of QueryActivity.



16455
16456
16457
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16455

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

Instance Attribute Details

#queryString

User input query to be logged/removed. Corresponds to the JSON property query

Returns:

  • (String)


16453
16454
16455
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16453

def query
  @query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16460
16461
16462
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16460

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