Class: Google::Apis::DataflowV1b3::PubsubSnapshotMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::PubsubSnapshotMetadata
- 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 Pubsub snapshot.
Instance Attribute Summary collapse
-
#expire_time ⇒ String
The expire time of the Pubsub snapshot.
-
#snapshot_name ⇒ String
The name of the Pubsub snapshot.
-
#topic_name ⇒ String
The name of the Pubsub topic.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PubsubSnapshotMetadata
constructor
A new instance of PubsubSnapshotMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PubsubSnapshotMetadata
Returns a new instance of PubsubSnapshotMetadata.
3753 3754 3755 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3753 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expire_time ⇒ String
The expire time of the Pubsub snapshot.
Corresponds to the JSON property expireTime
3741 3742 3743 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3741 def expire_time @expire_time end |
#snapshot_name ⇒ String
The name of the Pubsub snapshot.
Corresponds to the JSON property snapshotName
3746 3747 3748 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3746 def snapshot_name @snapshot_name end |
#topic_name ⇒ String
The name of the Pubsub topic.
Corresponds to the JSON property topicName
3751 3752 3753 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3751 def topic_name @topic_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3758 3759 3760 3761 3762 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3758 def update!(**args) @expire_time = args[:expire_time] if args.key?(:expire_time) @snapshot_name = args[:snapshot_name] if args.key?(:snapshot_name) @topic_name = args[:topic_name] if args.key?(:topic_name) end |