Google Cloud Dataflow V1beta3 Client - Class SnapshotJobRequest (0.5.1)

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
NameDescription
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
TypeDescription
string

setProjectId

The project which owns the job to be snapshotted.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getJobId

The job to be snapshotted.

Returns
TypeDescription
string

setJobId

The job to be snapshotted.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTtl

TTL for the snapshot.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasTtl

clearTtl

setTtl

TTL for the snapshot.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getLocation

The location that contains this job.

Returns
TypeDescription
string

setLocation

The location that contains this job.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSnapshotSources

If true, perform snapshots for sources which support this.

Returns
TypeDescription
bool

setSnapshotSources

If true, perform snapshots for sources which support this.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getDescription

User specified description of the snapshot. Maybe empty.

Returns
TypeDescription
string

setDescription

User specified description of the snapshot. Maybe empty.

Parameter
NameDescription
var string
Returns
TypeDescription
$this