Class ListTopicSubscriptionsResponse (3.1.0)

public sealed class ListTopicSubscriptionsResponse : IPageResponse<string>, IEnumerable<string>, IEnumerable, IMessage<ListTopicSubscriptionsResponse>, IEquatable<ListTopicSubscriptionsResponse>, IDeepCloneable<ListTopicSubscriptionsResponse>, IBufferMessage, IMessage

Response for the ListTopicSubscriptions method.

Inheritance

Object > ListTopicSubscriptionsResponse

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

ListTopicSubscriptionsResponse()

public ListTopicSubscriptionsResponse()

ListTopicSubscriptionsResponse(ListTopicSubscriptionsResponse)

public ListTopicSubscriptionsResponse(ListTopicSubscriptionsResponse other)
Parameter
NameDescription
otherListTopicSubscriptionsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

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.

Property Value
TypeDescription
String

Subscriptions

public RepeatedField<string> Subscriptions { get; }

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

Property Value
TypeDescription
RepeatedField<String>

SubscriptionsAsSubscriptionNames

public ResourceNameList<SubscriptionName> SubscriptionsAsSubscriptionNames { get; }

SubscriptionName-typed view over the Subscriptions resource name property.

Property Value
TypeDescription
ResourceNameList<SubscriptionName>

Methods

GetEnumerator()

public IEnumerator<string> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
TypeDescription
IEnumerator<String>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator