Class: Google::Apis::CloudsearchV1::QueryActivity
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::QueryActivity
- 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
-
#query ⇒ String
User input query to be logged/removed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryActivity
constructor
A new instance of QueryActivity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueryActivity
Returns a new instance of QueryActivity.
6006 6007 6008 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6006 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query ⇒ String
User input query to be logged/removed.
Corresponds to the JSON property query
6004 6005 6006 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6004 def query @query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6011 6012 6013 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6011 def update!(**args) @query = args[:query] if args.key?(:query) end |