Class: Google::Apis::DataflowV1b3::PubsubSnapshotMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb

Overview

Represents a Pubsub snapshot.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PubsubSnapshotMetadata

Returns a new instance of PubsubSnapshotMetadata.



4466
4467
4468
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4466

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#expire_timeString

The expire time of the Pubsub snapshot. Corresponds to the JSON property expireTime

Returns:

  • (String)


4454
4455
4456
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4454

def expire_time
  @expire_time
end

#snapshot_nameString

The name of the Pubsub snapshot. Corresponds to the JSON property snapshotName

Returns:

  • (String)


4459
4460
4461
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4459

def snapshot_name
  @snapshot_name
end

#topic_nameString

The name of the Pubsub topic. Corresponds to the JSON property topicName

Returns:

  • (String)


4464
4465
4466
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4464

def topic_name
  @topic_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4471
4472
4473
4474
4475
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4471

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