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.



2143
2144
2145
# File 'lib/google/apis/retail_v2/classes.rb', line 2143

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)


2141
2142
2143
# File 'lib/google/apis/retail_v2/classes.rb', line 2141

def purged_events_count
  @purged_events_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2148
2149
2150
# File 'lib/google/apis/retail_v2/classes.rb', line 2148

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