/// <summary> /// Retrieves an aggregated list of commitments by region. /// </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="scg::KeyValuePair{TKey,TValue}"/> resources. /// </returns> public override gax::PagedAsyncEnumerable <CommitmentAggregatedList, scg::KeyValuePair <string, CommitmentsScopedList> > AggregatedListAsync(AggregatedListRegionCommitmentsRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_AggregatedListRegionCommitmentsRequest(ref request, ref callSettings); return(new gaxgrpc::GrpcPagedAsyncEnumerable <AggregatedListRegionCommitmentsRequest, CommitmentAggregatedList, scg::KeyValuePair <string, CommitmentsScopedList> >(_callAggregatedList, request, callSettings)); }
partial void Modify_AggregatedListRegionCommitmentsRequest(ref AggregatedListRegionCommitmentsRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Retrieves an aggregated list of commitments by region. /// </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="scg::KeyValuePair{TKey,TValue}"/> resources. /// </returns> public virtual gax::PagedAsyncEnumerable <CommitmentAggregatedList, scg::KeyValuePair <string, CommitmentsScopedList> > AggregatedListAsync(AggregatedListRegionCommitmentsRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
/// <summary> /// Retrieves an aggregated list of commitments. /// </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 <CommitmentAggregatedList> AggregatedListAsync(AggregatedListRegionCommitmentsRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_AggregatedListRegionCommitmentsRequest(ref request, ref callSettings); return(_callAggregatedList.Async(request, callSettings)); }
/// <summary> /// Retrieves an aggregated list of commitments. /// </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 <CommitmentAggregatedList> AggregatedListAsync(AggregatedListRegionCommitmentsRequest request, st::CancellationToken cancellationToken) => AggregatedListAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Retrieves an aggregated list of commitments. /// </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 <CommitmentAggregatedList> AggregatedListAsync(AggregatedListRegionCommitmentsRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();