# Dataflow V1beta3 API - Class Google::Cloud::Dataflow::V1beta3::SnapshotJobRequest (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 class Google::Cloud::Dataflow::V1beta3::SnapshotJobRequest.

Request to create a snapshot of a job.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #description

    def description() -> ::String

**Returns**

- (::String) --- User specified description of the snapshot. Maybe empty.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- User specified description of the snapshot. Maybe empty.
**Returns**

- (::String) --- User specified description of the snapshot. Maybe empty.

### #job_id

    def job_id() -> ::String

**Returns**

- (::String) --- The job to be snapshotted.

### #job_id=

    def job_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The job to be snapshotted.
**Returns**

- (::String) --- The job to be snapshotted.

### #location

    def location() -> ::String

**Returns**

- (::String) --- The location that contains this job.

### #location=

    def location=(value) -> ::String

**Parameter**

- **value** (::String) --- The location that contains this job.
**Returns**

- (::String) --- The location that contains this job.

### #project_id

    def project_id() -> ::String

**Returns**

- (::String) --- The project which owns the job to be snapshotted.

### #project_id=

    def project_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The project which owns the job to be snapshotted.
**Returns**

- (::String) --- The project which owns the job to be snapshotted.

### #snapshot_sources

    def snapshot_sources() -> ::Boolean

**Returns**

- (::Boolean) --- If true, perform snapshots for sources which support this.

### #snapshot_sources=

    def snapshot_sources=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- If true, perform snapshots for sources which support this.
**Returns**

- (::Boolean) --- If true, perform snapshots for sources which support this.

### #ttl

    def ttl() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Protobuf-Duration)) --- TTL for the snapshot.

### #ttl=

    def ttl=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Protobuf-Duration)) --- TTL for the snapshot.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Protobuf-Duration)) --- TTL for the snapshot.