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.



6367
6368
6369
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6367

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



6359
6360
6361
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6359

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



6365
6366
6367
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6365

def user_activity
  @user_activity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6372
6373
6374
6375
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6372

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