Class: Google::Analytics::Admin::V1alpha::DataRetentionSettings

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#event_data_retention::Google::Analytics::Admin::V1alpha::DataRetentionSettings::RetentionDuration

Returns The length of time that event-level data is retained.

Returns:



842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 842

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.

Returns:

  • (::String)

    Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings



842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 842

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.

Returns:

  • (::Boolean)

    If true, reset the retention period for the user identifier with every event from that user.



842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
# File 'proto_docs/google/analytics/admin/v1alpha/resources.rb', line 842

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