Interface DataRetentionConfigOrBuilder (1.49.0)

public interface DataRetentionConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAirflowDatabaseRetentionDays() (deprecated)

public abstract int getAirflowDatabaseRetentionDays()

Deprecated. google.cloud.orchestration.airflow.service.v1beta1.DataRetentionConfig.airflow_database_retention_days is deprecated. See google/cloud/orchestration/airflow/service/v1beta1/environments.proto;l=1889

Optional. The number of days describing for how long to store event-based records in airflow database. If the retention mechanism is enabled this value must be a positive integer otherwise, value should be set to 0.

int32 airflow_database_retention_days = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The airflowDatabaseRetentionDays.

getAirflowMetadataRetentionConfig()

public abstract AirflowMetadataRetentionPolicyConfig getAirflowMetadataRetentionConfig()

Optional. The retention policy for airflow metadata database.

.google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AirflowMetadataRetentionPolicyConfig

The airflowMetadataRetentionConfig.

getAirflowMetadataRetentionConfigOrBuilder()

public abstract AirflowMetadataRetentionPolicyConfigOrBuilder getAirflowMetadataRetentionConfigOrBuilder()

Optional. The retention policy for airflow metadata database.

.google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AirflowMetadataRetentionPolicyConfigOrBuilder

getTaskLogsRetentionConfig()

public abstract TaskLogsRetentionConfig getTaskLogsRetentionConfig()

Optional. The configuration settings for task logs retention

.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TaskLogsRetentionConfig

The taskLogsRetentionConfig.

getTaskLogsRetentionConfigOrBuilder()

public abstract TaskLogsRetentionConfigOrBuilder getTaskLogsRetentionConfigOrBuilder()

Optional. The configuration settings for task logs retention

.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TaskLogsRetentionConfigOrBuilder

hasAirflowMetadataRetentionConfig()

public abstract boolean hasAirflowMetadataRetentionConfig()

Optional. The retention policy for airflow metadata database.

.google.cloud.orchestration.airflow.service.v1beta1.AirflowMetadataRetentionPolicyConfig airflow_metadata_retention_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the airflowMetadataRetentionConfig field is set.

hasTaskLogsRetentionConfig()

public abstract boolean hasTaskLogsRetentionConfig()

Optional. The configuration settings for task logs retention

.google.cloud.orchestration.airflow.service.v1beta1.TaskLogsRetentionConfig task_logs_retention_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the taskLogsRetentionConfig field is set.