Class: Google::Apis::DataflowV1b3::SnapshotJobRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::SnapshotJobRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb
Overview
Request to create a snapshot of a job.
Instance Attribute Summary collapse
-
#location ⇒ String
The location that contains this job.
-
#ttl ⇒ String
TTL for the snapshot.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SnapshotJobRequest
constructor
A new instance of SnapshotJobRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SnapshotJobRequest
Returns a new instance of SnapshotJobRequest
3654 3655 3656 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3654 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
The location that contains this job.
Corresponds to the JSON property location
3647 3648 3649 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3647 def location @location end |
#ttl ⇒ String
TTL for the snapshot.
Corresponds to the JSON property ttl
3652 3653 3654 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3652 def ttl @ttl end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3659 3660 3661 3662 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3659 def update!(**args) @location = args[:location] if args.key?(:location) @ttl = args[:ttl] if args.key?(:ttl) end |