public AsyncUnaryCall <global::Google.Pubsub.V1.Subscription> GetSubscriptionAsync(global::Google.Pubsub.V1.GetSubscriptionRequest request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { var call = CreateCall(__Method_GetSubscription, new CallOptions(headers, deadline, cancellationToken)); return(Calls.AsyncUnaryCall(call, request)); }
public AsyncUnaryCall <global::Google.Pubsub.V1.Subscription> GetSubscriptionAsync(global::Google.Pubsub.V1.GetSubscriptionRequest request, CallOptions options) { var call = CreateCall(__Method_GetSubscription, options); return(Calls.AsyncUnaryCall(call, request)); }
public global::Google.Pubsub.V1.Subscription GetSubscription(global::Google.Pubsub.V1.GetSubscriptionRequest request, CallOptions options) { var call = CreateCall(__Method_GetSubscription, options); return(Calls.BlockingUnaryCall(call, request)); }