class Google::Apis::DataflowV1b3::Snapshot
Represents a snapshot of a job.
Attributes
The time this snapshot was created. Corresponds to the JSON property `creationTime` @return [String]
User specified description of the snapshot. Maybe empty. Corresponds to the JSON property `description` @return [String]
The disk byte size of the snapshot. Only available for snapshots in READY state. Corresponds to the JSON property `diskSizeBytes` @return [Fixnum]
The unique ID of this snapshot. Corresponds to the JSON property `id` @return [String]
The project this snapshot belongs to. Corresponds to the JSON property `projectId` @return [String]
Pub/Sub snapshot metadata. Corresponds to the JSON property `pubsubMetadata` @return [Array<Google::Apis::DataflowV1b3::PubsubSnapshotMetadata>]
Cloud region where this snapshot lives in, e.g., “us-central1”. Corresponds to the JSON property `region` @return [String]
The job this snapshot was created from. Corresponds to the JSON property `sourceJobId` @return [String]
State of the snapshot. Corresponds to the JSON property `state` @return [String]
The time after which this snapshot will be automatically deleted. Corresponds to the JSON property `ttl` @return [String]
Public Class Methods
# File lib/google/apis/dataflow_v1b3/classes.rb, line 4408 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dataflow_v1b3/classes.rb, line 4413 def update!(**args) @creation_time = args[:creation_time] if args.key?(:creation_time) @description = args[:description] if args.key?(:description) @disk_size_bytes = args[:disk_size_bytes] if args.key?(:disk_size_bytes) @id = args[:id] if args.key?(:id) @project_id = args[:project_id] if args.key?(:project_id) @pubsub_metadata = args[:pubsub_metadata] if args.key?(:pubsub_metadata) @region = args[:region] if args.key?(:region) @source_job_id = args[:source_job_id] if args.key?(:source_job_id) @state = args[:state] if args.key?(:state) @ttl = args[:ttl] if args.key?(:ttl) end