Google Cloud Dataflow V1beta3 Client - Class SnapshotJobRequest (0.6.2)

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class SnapshotJobRequest.

Request to create a snapshot of a job.

Generated from protobuf message google.dataflow.v1beta3.SnapshotJobRequest

Namespace

Google \ Cloud \ Dataflow \ V1beta3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ project_id string

The project which owns the job to be snapshotted.

↳ job_id string

The job to be snapshotted.

↳ ttl Google\Protobuf\Duration

TTL for the snapshot.

↳ location string

The location that contains this job.

↳ snapshot_sources bool

If true, perform snapshots for sources which support this.

↳ description string

User specified description of the snapshot. Maybe empty.

getProjectId

The project which owns the job to be snapshotted.

Returns
Type Description
string

setProjectId

The project which owns the job to be snapshotted.

Parameter
Name Description
var string
Returns
Type Description
$this

getJobId

The job to be snapshotted.

Returns
Type Description
string

setJobId

The job to be snapshotted.

Parameter
Name Description
var string
Returns
Type Description
$this

getTtl

TTL for the snapshot.

Returns
Type Description
Google\Protobuf\Duration|null

hasTtl

clearTtl

setTtl

TTL for the snapshot.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getLocation

The location that contains this job.

Returns
Type Description
string

setLocation

The location that contains this job.

Parameter
Name Description
var string
Returns
Type Description
$this

getSnapshotSources

If true, perform snapshots for sources which support this.

Returns
Type Description
bool

setSnapshotSources

If true, perform snapshots for sources which support this.

Parameter
Name Description
var bool
Returns
Type Description
$this

getDescription

User specified description of the snapshot. Maybe empty.

Returns
Type Description
string

setDescription

User specified description of the snapshot. Maybe empty.

Parameter
Name Description
var string
Returns
Type Description
$this