class Google::Apis::DataflowV1b3::SnapshotJobRequest

Request to create a snapshot of a job.

Attributes

description[RW]

User specified description of the snapshot. Maybe empty. Corresponds to the JSON property `description` @return [String]

location[RW]

The location that contains this job. Corresponds to the JSON property `location` @return [String]

snapshot_sources[RW]

If true, perform snapshots for sources which support this. Corresponds to the JSON property `snapshotSources` @return [Boolean]

snapshot_sources?[RW]

If true, perform snapshots for sources which support this. Corresponds to the JSON property `snapshotSources` @return [Boolean]

ttl[RW]

TTL for the snapshot. Corresponds to the JSON property `ttl` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 4452
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 4457
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @location = args[:location] if args.key?(:location)
  @snapshot_sources = args[:snapshot_sources] if args.key?(:snapshot_sources)
  @ttl = args[:ttl] if args.key?(:ttl)
end