Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse
- Inherits:
-
Object
- Object
- Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse
- 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
-
#purged_events_count ⇒ Fixnum
The total count of events purged as a result of the operation.
-
#user_events_sample ⇒ Array<Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEvent>
A sampling of events deleted (or will be deleted) depending on the
force
property in the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse
constructor
A new instance of GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_count ⇒ Fixnum
The total count of events purged as a result of the operation.
Corresponds to the JSON property purgedEventsCount
1556 1557 1558 |
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1556 def purged_events_count @purged_events_count end |
#user_events_sample ⇒ Array<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 |