Class: Google::Apis::RetailV2::GoogleCloudRetailV2PurgeUserEventsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2/classes.rb,
lib/google/apis/retail_v2/representations.rb,
lib/google/apis/retail_v2/representations.rb

Overview

Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning. Operations.response field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2PurgeUserEventsResponse

Returns a new instance of GoogleCloudRetailV2PurgeUserEventsResponse.



2296
2297
2298
# File 'lib/google/apis/retail_v2/classes.rb', line 2296

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

Instance Attribute Details

#purged_events_countFixnum

The total count of events purged as a result of the operation. Corresponds to the JSON property purgedEventsCount

Returns:

  • (Fixnum)


2294
2295
2296
# File 'lib/google/apis/retail_v2/classes.rb', line 2294

def purged_events_count
  @purged_events_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2301
2302
2303
# File 'lib/google/apis/retail_v2/classes.rb', line 2301

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