Class: Google::Apis::CloudsearchV1::RemoveActivityRequest

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

Remove Logged Activity Request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RemoveActivityRequest

Returns a new instance of RemoveActivityRequest.



17228
17229
17230
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17228

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

Instance Attribute Details

#request_optionsGoogle::Apis::CloudsearchV1::RequestOptions

Shared request options for all RPC methods. Corresponds to the JSON property requestOptions



17220
17221
17222
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17220

def request_options
  @request_options
end

#user_activityGoogle::Apis::CloudsearchV1::UserActivity

User's single or bulk query activity. This can be a logging query or deletion query. Corresponds to the JSON property userActivity



17226
17227
17228
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17226

def user_activity
  @user_activity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17233
17234
17235
17236
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17233

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