/// <summary> /// Deletes the specified context. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>A Task containing the RPC response.</returns> public override stt::Task DeleteContextAsync(DeleteContextRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_DeleteContextRequest(ref request, ref callSettings); return(_callDeleteContext.Async(request, callSettings)); }
/// <summary> /// Deletes the specified context. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>The RPC response.</returns> public override void DeleteContext(DeleteContextRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_DeleteContextRequest(ref request, ref callSettings); _callDeleteContext.Sync(request, callSettings); }
/// <summary> /// Deletes the specified context. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task DeleteContextAsync(DeleteContextRequest request, st::CancellationToken cancellationToken) => DeleteContextAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
partial void Modify_DeleteContextRequest(ref DeleteContextRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Deletes the specified context. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task DeleteContextAsync(DeleteContextRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();