Reference documentation and code samples for the Cloud PubSub V1 Client class ListTopicSubscriptionsResponse.
Response for the ListTopicSubscriptions
method.
Generated from protobuf message google.pubsub.v1.ListTopicSubscriptionsResponse
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ subscriptions |
array
The names of subscriptions attached to the topic specified in the request. |
↳ next_page_token |
string
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new |
getSubscriptions
The names of subscriptions attached to the topic specified in the request.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSubscriptions
The names of subscriptions attached to the topic specified in the request.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getNextPageToken
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
ListTopicSubscriptionsRequest
to get more subscriptions.
Returns | |
---|---|
Type | Description |
string |
setNextPageToken
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
ListTopicSubscriptionsRequest
to get more subscriptions.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |