Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/recommendationengine_v1beta1/classes.rb,
lib/google/apis/recommendationengine_v1beta1/representations.rb,
lib/google/apis/recommendationengine_v1beta1/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) ⇒ GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse

Returns a new instance of GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse.



1564
1565
1566
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1564

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)


1556
1557
1558
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1556

def purged_events_count
  @purged_events_count
end

#user_events_sampleArray<Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEvent>

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned. Corresponds to the JSON property userEventsSample



1562
1563
1564
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1562

def user_events_sample
  @user_events_sample
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1569
1570
1571
1572
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1569

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