Cloud Pub/Sub v1 API - Class GetSubscriptionRequest (3.10.0-beta01)

public sealed class GetSubscriptionRequest : IMessage<GetSubscriptionRequest>, IEquatable<GetSubscriptionRequest>, IDeepCloneable<GetSubscriptionRequest>, IBufferMessage, IMessage

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

Request for the GetSubscription method.

Inheritance

object > GetSubscriptionRequest

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

GetSubscriptionRequest()

public GetSubscriptionRequest()

GetSubscriptionRequest(GetSubscriptionRequest)

public GetSubscriptionRequest(GetSubscriptionRequest other)
Parameter
NameDescription
otherGetSubscriptionRequest

Properties

Subscription

public string Subscription { get; set; }

Required. The name of the subscription to get. Format is projects/{project}/subscriptions/{sub}.

Property Value
TypeDescription
string

SubscriptionAsSubscriptionName

public SubscriptionName SubscriptionAsSubscriptionName { get; set; }

SubscriptionName-typed view over the Subscription resource name property.

Property Value
TypeDescription
SubscriptionName