/// <summary> /// Retrieves the list of region 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="Region"/> resources.</returns> public override gax::PagedAsyncEnumerable <RegionList, Region> ListAsync(ListRegionsRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_ListRegionsRequest(ref request, ref callSettings); return(new gaxgrpc::GrpcPagedAsyncEnumerable <ListRegionsRequest, RegionList, Region>(_callList, request, callSettings)); }
/// <summary> /// Retrieves the list of region 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="Region"/> resources.</returns> public virtual gax::PagedAsyncEnumerable <RegionList, Region> ListAsync(ListRegionsRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
partial void Modify_ListRegionsRequest(ref ListRegionsRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Retrieves the list of region 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 <RegionList> ListAsync(ListRegionsRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_ListRegionsRequest(ref request, ref callSettings); return(_callList.Async(request, callSettings)); }
/// <summary> /// Retrieves the list of region 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 RegionList List(ListRegionsRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_ListRegionsRequest(ref request, ref callSettings); return(_callList.Sync(request, callSettings)); }
/// <summary> /// Retrieves the list of region 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 <RegionList> ListAsync(ListRegionsRequest request, st::CancellationToken cancellationToken) => ListAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Retrieves the list of region 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 <RegionList> ListAsync(ListRegionsRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
/// <summary> /// Retrieves the list of region 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 RegionList List(ListRegionsRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();