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 \ V1beta3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
string |
|
setTopicName
The name of the Pubsub topic.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSnapshotName
The name of the Pubsub snapshot.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSnapshotName
The name of the Pubsub snapshot.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExpireTime
The expire time of the Pubsub snapshot.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasExpireTime
clearExpireTime
setExpireTime
The expire time of the Pubsub snapshot.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|