# Dataflow V1beta3 API - Module Google::Cloud::Dataflow::V1beta3::TeardownPolicy (v0.17.0)

0.17.0 (latest) 0.16.0 0.15.0 0.14.1 0.13.1 0.12.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Dataflow V1beta3 API module Google::Cloud::Dataflow::V1beta3::TeardownPolicy.

Specifies what happens to a resource when a Cloud Dataflow
[google.dataflow.v1beta3.Job](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Cloud-Dataflow-V1beta3-Job "Google::Cloud::Dataflow::V1beta3::Job (class)") has completed.

## Constants

### TEARDOWN_POLICY_UNKNOWN

**value:** 0  
The teardown policy isn't specified, or is unknown.

### TEARDOWN_ALWAYS

**value:** 1  
Always teardown the resource.

### TEARDOWN_ON_SUCCESS

**value:** 2  
Teardown the resource on success. This is useful for debugging
failures.

### TEARDOWN_NEVER

**value:** 3  
Never teardown the resource. This is useful for debugging and
development.