Class: Google::Apis::CloudsearchV1::UserActivity

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

User's single or bulk query activity. This can be a logging query or deletion query.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UserActivity

Returns a new instance of UserActivity.



21616
21617
21618
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21616

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

Instance Attribute Details

#query_activityGoogle::Apis::CloudsearchV1::QueryActivity

Details about a user's query activity. Corresponds to the JSON property queryActivity



21614
21615
21616
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21614

def query_activity
  @query_activity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21621
21622
21623
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21621

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