Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse
- Inherits:
-
Object
- Object
- Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/recommendationengine_v1beta1/classes.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb,
generated/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.
1554 1555 1556 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1554 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
1546 1547 1548 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1546 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
1552 1553 1554 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1552 def user_events_sample @user_events_sample end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1559 1560 1561 1562 |
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1559 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 |