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.



6334
6335
6336
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6334

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



6326
6327
6328
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6326

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



6332
6333
6334
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6332

def user_activity
  @user_activity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6339
6340
6341
6342
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6339

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