Google Cloud Dataflow V1beta3 Client - Class PubsubSnapshotMetadata (0.4.1)

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class PubsubSnapshotMetadata.

Represents a Pubsub snapshot.

Generated from protobuf message google.dataflow.v1beta3.PubsubSnapshotMetadata

Namespace

Google \ Cloud \ Dataflow \ V1beta3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ topic_name string

The name of the Pubsub topic.

↳ snapshot_name string

The name of the Pubsub snapshot.

↳ expire_time Google\Protobuf\Timestamp

The expire time of the Pubsub snapshot.

getTopicName

The name of the Pubsub topic.

Returns
TypeDescription
string

setTopicName

The name of the Pubsub topic.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSnapshotName

The name of the Pubsub snapshot.

Returns
TypeDescription
string

setSnapshotName

The name of the Pubsub snapshot.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExpireTime

The expire time of the Pubsub snapshot.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasExpireTime

clearExpireTime

setExpireTime

The expire time of the Pubsub snapshot.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this