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.
936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 936 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.
936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 936 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.
936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 |
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 936 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 |