Google Analytics Admin V1alpha API - Class Google::Analytics::Admin::V1alpha::DataRetentionSettings (v0.11.0)

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

#event_data_retention=

def event_data_retention=(value) -> ::Google::Analytics::Admin::V1alpha::DataRetentionSettings::RetentionDuration
Parameter
Returns

#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.