Cloud Pub/Sub v1 API - Class ListTopicSubscriptionsResponse (3.6.0)

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

Reference documentation and code samples for the Cloud Pub/Sub v1 API class ListTopicSubscriptionsResponse.

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
RepeatedFieldstring

SubscriptionsAsSubscriptionNames

public ResourceNameList<SubscriptionName> SubscriptionsAsSubscriptionNames { get; }

SubscriptionName-typed view over the Subscriptions resource name property.

Property Value
TypeDescription
ResourceNameListSubscriptionName

Methods

GetEnumerator()

public IEnumerator<string> GetEnumerator()

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

Returns
TypeDescription
IEnumeratorstring