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.
Generated from protobuf field repeated string subscriptions = 1 [(.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSubscriptions
The names of subscriptions attached to the topic specified in the request.
Generated from protobuf field repeated string subscriptions = 1 [(.google.api.resource_reference) = {
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.
Generated from protobuf field string next_page_token = 2;
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.
Generated from protobuf field string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |