Class: Google::Analytics::Admin::V1alpha::DataRetentionSettings
- Inherits:
-
Object
- Object
- Google::Analytics::Admin::V1alpha::DataRetentionSettings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/analytics/admin/v1alpha/resources.rb
Overview
Settings values for data retention. This is a singleton resource.
Defined Under Namespace
Modules: RetentionDuration
Instance Attribute Summary collapse
-
#event_data_retention ⇒ ::Google::Analytics::Admin::V1alpha::DataRetentionSettings::RetentionDuration
The length of time that event-level data is retained.
-
#name ⇒ ::String
readonly
Output only.
-
#reset_user_data_on_new_activity ⇒ ::Boolean
If true, reset the retention period for the user identifier with every event from that user.
Instance Attribute Details
#event_data_retention ⇒ ::Google::Analytics::Admin::V1alpha::DataRetentionSettings::RetentionDuration
Returns The length of time that event-level data is retained.
1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1224 class DataRetentionSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid values for the data retention duration. module RetentionDuration # Data retention time duration is not specified. RETENTION_DURATION_UNSPECIFIED = 0 # The data retention time duration is 2 months. TWO_MONTHS = 1 # The data retention time duration is 14 months. FOURTEEN_MONTHS = 3 # The data retention time duration is 26 months. # Available to 360 properties only. TWENTY_SIX_MONTHS = 4 # The data retention time duration is 38 months. # Available to 360 properties only. THIRTY_EIGHT_MONTHS = 5 # The data retention time duration is 50 months. # Available to 360 properties only. FIFTY_MONTHS = 6 end end |
#name ⇒ ::String (readonly)
Returns Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings.
1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1224 class DataRetentionSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid values for the data retention duration. module RetentionDuration # Data retention time duration is not specified. RETENTION_DURATION_UNSPECIFIED = 0 # The data retention time duration is 2 months. TWO_MONTHS = 1 # The data retention time duration is 14 months. FOURTEEN_MONTHS = 3 # The data retention time duration is 26 months. # Available to 360 properties only. TWENTY_SIX_MONTHS = 4 # The data retention time duration is 38 months. # Available to 360 properties only. THIRTY_EIGHT_MONTHS = 5 # The data retention time duration is 50 months. # Available to 360 properties only. FIFTY_MONTHS = 6 end end |
#reset_user_data_on_new_activity ⇒ ::Boolean
Returns If true, reset the retention period for the user identifier with every event from that user.
1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 1224 class DataRetentionSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Valid values for the data retention duration. module RetentionDuration # Data retention time duration is not specified. RETENTION_DURATION_UNSPECIFIED = 0 # The data retention time duration is 2 months. TWO_MONTHS = 1 # The data retention time duration is 14 months. FOURTEEN_MONTHS = 3 # The data retention time duration is 26 months. # Available to 360 properties only. TWENTY_SIX_MONTHS = 4 # The data retention time duration is 38 months. # Available to 360 properties only. THIRTY_EIGHT_MONTHS = 5 # The data retention time duration is 50 months. # Available to 360 properties only. FIFTY_MONTHS = 6 end end |