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