Class ListTopicSubscriptionsResponse (2.3.0)

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

Response for the ListTopicSubscriptions method.

Inheritance

System.Object > ListTopicSubscriptionsResponse

Implements

Google.Api.Gax.Grpc.IPageResponse<System.String>, System.Collections.Generic.IEnumerable<System.String>, System.Collections.IEnumerable, Google.Protobuf.IMessage<ListTopicSubscriptionsResponse>, System.IEquatable<ListTopicSubscriptionsResponse>, Google.Protobuf.IDeepCloneable<ListTopicSubscriptionsResponse>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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
System.String

Subscriptions

public RepeatedField<string> Subscriptions { get; }

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

Property Value
TypeDescription
Google.Protobuf.Collections.RepeatedField<System.String>

SubscriptionsAsSubscriptionNames

public ResourceNameList<SubscriptionName> SubscriptionsAsSubscriptionNames { get; }

SubscriptionName-typed view over the Subscriptions resource name property.

Property Value
TypeDescription
Google.Api.Gax.ResourceNameList<SubscriptionName>

Methods

GetEnumerator()

public IEnumerator<string> GetEnumerator()

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

Returns
TypeDescription
System.Collections.Generic.IEnumerator<System.String>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
System.Collections.IEnumerator