Cloud Pub/Sub v1 API - Class ListTopicSubscriptionsResponse (3.15.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
Name Description
other ListTopicSubscriptionsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

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.

Property Value
Type Description
string

Subscriptions

public RepeatedField<string> Subscriptions { get; }

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

Property Value
Type Description
RepeatedFieldstring

SubscriptionsAsSubscriptionNames

public ResourceNameList<SubscriptionName> SubscriptionsAsSubscriptionNames { get; }

SubscriptionName-typed view over the Subscriptions resource name property.

Property Value
Type Description
ResourceNameListSubscriptionName

Methods

GetEnumerator()

public IEnumerator<string> GetEnumerator()

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

Returns
Type Description
IEnumeratorstring