/// <summary> /// Test returning `void`, with request methods and a method signature (flattening). /// </summary> /// <param name="name"> /// </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 VoidMethodAsync(ResourceName name, st::CancellationToken cancellationToken) => VoidMethodAsync(name, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Test returning `void`, with request methods and a method signature (flattening). /// </summary> /// <param name="name"> /// </param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>The RPC response.</returns> public virtual void VoidMethod(ResourceName name, gaxgrpc::CallSettings callSettings = null) => VoidMethod(new Request { ResourceName = name, }, callSettings);
/// <summary> /// Test returning `void`, with request methods and a method signature (flattening). /// </summary> /// <param name="name"> /// </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 VoidMethodAsync(ResourceName name, gaxgrpc::CallSettings callSettings = null) => VoidMethodAsync(new Request { ResourceName = name, }, callSettings);