Interface AirflowMetadataRetentionPolicyConfigOrBuilder (1.52.0)

public interface AirflowMetadataRetentionPolicyConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRetentionDays()

public abstract int getRetentionDays()

Optional. How many days data should be retained for.

int32 retention_days = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The retentionDays.

getRetentionMode()

public abstract AirflowMetadataRetentionPolicyConfig.RetentionMode getRetentionMode()

Optional. Retention can be either enabled or disabled.

.google.cloud.orchestration.airflow.service.v1.AirflowMetadataRetentionPolicyConfig.RetentionMode retention_mode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AirflowMetadataRetentionPolicyConfig.RetentionMode

The retentionMode.

getRetentionModeValue()

public abstract int getRetentionModeValue()

Optional. Retention can be either enabled or disabled.

.google.cloud.orchestration.airflow.service.v1.AirflowMetadataRetentionPolicyConfig.RetentionMode retention_mode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for retentionMode.