Interface DataRetentionSettingsOrBuilder (0.31.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.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2;

Returns
TypeDescription
DataRetentionSettings.RetentionDuration

The eventDataRetention.

getEventDataRetentionValue()

public abstract int getEventDataRetentionValue()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The resetUserDataOnNewActivity.