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.



8062
8063
8064
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8062

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



8060
8061
8062
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8060

def query_activity
  @query_activity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8067
8068
8069
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 8067

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