Cloud PubSub V1 Client - Class ListTopicSubscriptionsResponse (2.4.0)

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

Namespace

Google \ Cloud \ PubSub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ subscriptions array

Optional. The names of subscriptions attached to the topic specified in the request.

↳ next_page_token string

Optional. 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.

getSubscriptions

Optional. The names of subscriptions attached to the topic specified in the request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSubscriptions

Optional. The names of subscriptions attached to the topic specified in the request.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getNextPageToken

Optional. 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

Optional. 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