Reference documentation and code samples for the Cloud PubSub V1 Client class ListTopicSnapshotsResponse.
Response for the ListTopicSnapshots
method.
Generated from protobuf message google.pubsub.v1.ListTopicSnapshotsResponse
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ snapshots |
array
The names of the snapshots that match the request. |
↳ next_page_token |
string
If not empty, indicates that there may be more snapshots that match the request; this value should be passed in a new |
getSnapshots
The names of the snapshots that match the request.
Generated from protobuf field repeated string snapshots = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSnapshots
The names of the snapshots that match the request.
Generated from protobuf field repeated string snapshots = 1;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getNextPageToken
If not empty, indicates that there may be more snapshots that match
the request; this value should be passed in a new
ListTopicSnapshotsRequest
to get more snapshots.
Generated from protobuf field string next_page_token = 2;
Returns | |
---|---|
Type | Description |
string |
setNextPageToken
If not empty, indicates that there may be more snapshots that match
the request; this value should be passed in a new
ListTopicSnapshotsRequest
to get more snapshots.
Generated from protobuf field string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |