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.
1584 1585 1586 |
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1584 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
1576 1577 1578 |
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1576 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
1582 1583 1584 |
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1582 def user_events_sample @user_events_sample end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1589 1590 1591 1592 |
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1589 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 |