Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class AirflowMetadataRetentionPolicyConfig.
The policy for airflow metadata database retention.
Generated from protobuf message google.cloud.orchestration.airflow.service.v1.AirflowMetadataRetentionPolicyConfig
Namespace
Google \ Cloud \ Orchestration \ Airflow \ Service \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ retention_mode |
int
Optional. Retention can be either enabled or disabled. |
↳ retention_days |
int
Optional. How many days data should be retained for. |
getRetentionMode
Optional. Retention can be either enabled or disabled.
Returns | |
---|---|
Type | Description |
int |
setRetentionMode
Optional. Retention can be either enabled or disabled.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getRetentionDays
Optional. How many days data should be retained for.
Returns | |
---|---|
Type | Description |
int |
setRetentionDays
Optional. How many days data should be retained for.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |