class Google::Apis::DataflowV1b3::PubsubSnapshotMetadata

Represents a Pubsub snapshot.

Attributes

expire_time[RW]

The expire time of the Pubsub snapshot. Corresponds to the JSON property `expireTime` @return [String]

snapshot_name[RW]

The name of the Pubsub snapshot. Corresponds to the JSON property `snapshotName` @return [String]

topic_name[RW]

The name of the Pubsub topic. Corresponds to the JSON property `topicName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 3642
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 3647
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