Class: Google::Apis::DataflowV1b3::Snapshot
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::Snapshot
- 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
Represents a snapshot of a job.
Instance Attribute Summary collapse
-
#creation_time ⇒ String
The time this snapshot was created.
-
#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.
-
#state ⇒ String
State of the snapshot.
-
#ttl ⇒ String
The time after which this snapshot will be automatically deleted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Snapshot
constructor
A new instance of Snapshot.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Snapshot
Returns a new instance of Snapshot
3748 3749 3750 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_time ⇒ String
The time this snapshot was created.
Corresponds to the JSON property creationTime
3721 3722 3723 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3721 def creation_time @creation_time end |
#id ⇒ String
The unique ID of this snapshot.
Corresponds to the JSON property id
3726 3727 3728 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3726 def id @id end |
#project_id ⇒ String
The project this snapshot belongs to.
Corresponds to the JSON property projectId
3731 3732 3733 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3731 def project_id @project_id end |
#source_job_id ⇒ String
The job this snapshot was created from.
Corresponds to the JSON property sourceJobId
3736 3737 3738 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3736 def source_job_id @source_job_id end |
#state ⇒ String
State of the snapshot.
Corresponds to the JSON property state
3741 3742 3743 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3741 def state @state end |
#ttl ⇒ String
The time after which this snapshot will be automatically deleted.
Corresponds to the JSON property ttl
3746 3747 3748 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3746 def ttl @ttl end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3753 3754 3755 3756 3757 3758 3759 3760 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3753 def update!(**args) @creation_time = args[:creation_time] if args.key?(:creation_time) @id = args[:id] if args.key?(:id) @project_id = args[:project_id] if args.key?(:project_id) @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 |