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.



8153
8154
8155
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8153

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



8151
8152
8153
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8151

def query_activity
  @query_activity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8158
8159
8160
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8158

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