Google Cloud Channel V1 Client - Class ListSubscribersResponse (1.0.1)

Reference documentation and code samples for the Google Cloud Channel V1 Client class ListSubscribersResponse.

Response Message for ListSubscribers.

Generated from protobuf message google.cloud.channel.v1.ListSubscribersResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ topic string

Name of the topic registered with the reseller.

↳ service_accounts string[]

List of service accounts which have subscriber access to the topic.

↳ next_page_token string

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getTopic

Name of the topic registered with the reseller.

Generated from protobuf field string topic = 1;

Returns
TypeDescription
string

setTopic

Name of the topic registered with the reseller.

Generated from protobuf field string topic = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceAccounts

List of service accounts which have subscriber access to the topic.

Generated from protobuf field repeated string service_accounts = 2;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setServiceAccounts

List of service accounts which have subscriber access to the topic.

Generated from protobuf field repeated string service_accounts = 2;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Generated from protobuf field string next_page_token = 3;

Returns
TypeDescription
string

setNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Generated from protobuf field string next_page_token = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this