/// <summary> /// Retrieves the list of Route resources available to the specified project. /// </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 <RouteList> ListAsync(ListRoutesRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_ListRoutesRequest(ref request, ref callSettings); return(_callList.Async(request, callSettings)); }
partial void Modify_ListRoutesRequest(ref ListRoutesRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Retrieves the list of Route resources available to the specified project. /// </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 RouteList List(ListRoutesRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_ListRoutesRequest(ref request, ref callSettings); return(_callList.Sync(request, callSettings)); }
/// <summary> /// Retrieves the list of Route resources available to the specified project. /// </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 <RouteList> ListAsync(ListRoutesRequest request, st::CancellationToken cancellationToken) => ListAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Retrieves the list of Route resources available to the specified project. /// </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 <RouteList> ListAsync(ListRoutesRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
/// <summary> /// Retrieves the list of Route resources available to the specified project. /// </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 virtual RouteList List(ListRoutesRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
/// <summary> /// Retrieves the list of Route resources available to the specified project. /// </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 pageable asynchronous sequence of <see cref="Route"/> resources.</returns> public override gax::PagedAsyncEnumerable <RouteList, Route> ListAsync(ListRoutesRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_ListRoutesRequest(ref request, ref callSettings); return(new gaxgrpc::GrpcPagedAsyncEnumerable <ListRoutesRequest, RouteList, Route>(_callList, request, callSettings)); }
/// <summary> /// Retrieves the list of Route resources available to the specified project. /// </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 pageable asynchronous sequence of <see cref="Route"/> resources.</returns> public virtual gax::PagedAsyncEnumerable <RouteList, Route> ListAsync(ListRoutesRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();