Dataflow V1beta3 API - Class Google::Cloud::Dataflow::V1beta3::Snapshot (v0.8.0)

Reference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::Snapshot.

Represents a snapshot of a job.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#creation_time

def creation_time() -> ::Google::Protobuf::Timestamp
Returns

#creation_time=

def creation_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#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.

#disk_size_bytes

def disk_size_bytes() -> ::Integer
Returns
  • (::Integer) — The disk byte size of the snapshot. Only available for snapshots in READY state.

#disk_size_bytes=

def disk_size_bytes=(value) -> ::Integer
Parameter
  • value (::Integer) — The disk byte size of the snapshot. Only available for snapshots in READY state.
Returns
  • (::Integer) — The disk byte size of the snapshot. Only available for snapshots in READY state.

#id

def id() -> ::String
Returns
  • (::String) — The unique ID of this snapshot.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — The unique ID of this snapshot.
Returns
  • (::String) — The unique ID of this snapshot.

#project_id

def project_id() -> ::String
Returns
  • (::String) — The project this snapshot belongs to.

#project_id=

def project_id=(value) -> ::String
Parameter
  • value (::String) — The project this snapshot belongs to.
Returns
  • (::String) — The project this snapshot belongs to.

#pubsub_metadata

def pubsub_metadata() -> ::Array<::Google::Cloud::Dataflow::V1beta3::PubsubSnapshotMetadata>
Returns

#pubsub_metadata=

def pubsub_metadata=(value) -> ::Array<::Google::Cloud::Dataflow::V1beta3::PubsubSnapshotMetadata>
Parameter
Returns

#region

def region() -> ::String
Returns
  • (::String) — Cloud region where this snapshot lives in, e.g., "us-central1".

#region=

def region=(value) -> ::String
Parameter
  • value (::String) — Cloud region where this snapshot lives in, e.g., "us-central1".
Returns
  • (::String) — Cloud region where this snapshot lives in, e.g., "us-central1".

#source_job_id

def source_job_id() -> ::String
Returns
  • (::String) — The job this snapshot was created from.

#source_job_id=

def source_job_id=(value) -> ::String
Parameter
  • value (::String) — The job this snapshot was created from.
Returns
  • (::String) — The job this snapshot was created from.

#state

def state() -> ::Google::Cloud::Dataflow::V1beta3::SnapshotState
Returns

#state=

def state=(value) -> ::Google::Cloud::Dataflow::V1beta3::SnapshotState
Parameter
Returns

#ttl

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

#ttl=

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