Cloud Pub/Sub v1 API - Class GetSubscriptionRequest (3.15.0)

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
Name Description
other GetSubscriptionRequest

Properties

Subscription

public string Subscription { get; set; }

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

Property Value
Type Description
string

SubscriptionAsSubscriptionName

public SubscriptionName SubscriptionAsSubscriptionName { get; set; }

SubscriptionName-typed view over the Subscription resource name property.

Property Value
Type Description
SubscriptionName