Reference documentation and code samples for the Google Analytics Admin V1alpha API class Google::Analytics::Admin::V1alpha::DataRetentionSettings.
Settings values for data retention. This is a singleton resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#event_data_retention
def event_data_retention() -> ::Google::Analytics::Admin::V1alpha::DataRetentionSettings::RetentionDuration
Returns
- (::Google::Analytics::Admin::V1alpha::DataRetentionSettings::RetentionDuration) — The length of time that event-level data is retained.
#event_data_retention=
def event_data_retention=(value) -> ::Google::Analytics::Admin::V1alpha::DataRetentionSettings::RetentionDuration
Parameter
- value (::Google::Analytics::Admin::V1alpha::DataRetentionSettings::RetentionDuration) — The length of time that event-level data is retained.
Returns
- (::Google::Analytics::Admin::V1alpha::DataRetentionSettings::RetentionDuration) — The length of time that event-level data is retained.
#name
def name() -> ::String
Returns
- (::String) — Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings
#reset_user_data_on_new_activity
def reset_user_data_on_new_activity() -> ::Boolean
Returns
- (::Boolean) — If true, reset the retention period for the user identifier with every event from that user.
#reset_user_data_on_new_activity=
def reset_user_data_on_new_activity=(value) -> ::Boolean
Parameter
- value (::Boolean) — If true, reset the retention period for the user identifier with every event from that user.
Returns
- (::Boolean) — If true, reset the retention period for the user identifier with every event from that user.