Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class Snapshot.
Represents a snapshot of a job.
Generated from protobuf message google.dataflow.v1beta3.Snapshot
Namespace
Google \ Cloud \ Dataflow \ V1beta3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ id
string
The unique ID of this snapshot.
↳ project_id
string
The project this snapshot belongs to.
↳ source_job_id
string
The job this snapshot was created from.
↳ creation_time
↳ ttl
↳ state
int
State of the snapshot.
↳ pubsub_metadata
↳ description
string
User specified description of the snapshot. Maybe empty.
↳ disk_size_bytes
int|string
The disk byte size of the snapshot. Only available for snapshots in READY state.
↳ region
string
Cloud region where this snapshot lives in, e.g., "us-central1".
getId
The unique ID of this snapshot.
string
setId
The unique ID of this snapshot.
var
string
$this
getProjectId
The project this snapshot belongs to.
string
setProjectId
The project this snapshot belongs to.
var
string
$this
getSourceJobId
The job this snapshot was created from.
string
setSourceJobId
The job this snapshot was created from.
var
string
$this
getCreationTime
The time this snapshot was created.
hasCreationTime
clearCreationTime
setCreationTime
The time this snapshot was created.
$this
getTtl
The time after which this snapshot will be automatically deleted.
hasTtl
clearTtl
setTtl
The time after which this snapshot will be automatically deleted.
$this
getState
State of the snapshot.
int
setState
State of the snapshot.
var
int
$this
getPubsubMetadata
Pub/Sub snapshot metadata.
setPubsubMetadata
Pub/Sub snapshot metadata.
$this
getDescription
User specified description of the snapshot. Maybe empty.
string
setDescription
User specified description of the snapshot. Maybe empty.
var
string
$this
getDiskSizeBytes
The disk byte size of the snapshot. Only available for snapshots in READY state.
int|string
setDiskSizeBytes
The disk byte size of the snapshot. Only available for snapshots in READY state.
var
int|string
$this
getRegion
Cloud region where this snapshot lives in, e.g., "us-central1".
string
setRegion
Cloud region where this snapshot lives in, e.g., "us-central1".
var
string
$this