Interface DataRetentionSettingsOrBuilder (0.53.0)

public interface DataRetentionSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventDataRetention()

public abstract DataRetentionSettings.RetentionDuration getEventDataRetention()

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

.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2;

Returns
Type Description
DataRetentionSettings.RetentionDuration

The eventDataRetention.

getEventDataRetentionValue()

public abstract int getEventDataRetentionValue()

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

.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2;

Returns
Type Description
int

The enum numeric value on the wire for eventDataRetention.

getName()

public abstract String getName()

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

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getResetUserDataOnNewActivity()

public abstract boolean getResetUserDataOnNewActivity()

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

bool reset_user_data_on_new_activity = 3;

Returns
Type Description
boolean

The resetUserDataOnNewActivity.