/// <summary> /// Retrieves an aggregated list of machine types. /// </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 <MachineTypeAggregatedList, scg::KeyValuePair <string, MachineTypesScopedList> > AggregatedListAsync(AggregatedListMachineTypesRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_AggregatedListMachineTypesRequest(ref request, ref callSettings); return(new gaxgrpc::GrpcPagedAsyncEnumerable <AggregatedListMachineTypesRequest, MachineTypeAggregatedList, scg::KeyValuePair <string, MachineTypesScopedList> >(_callAggregatedList, request, callSettings)); }
partial void Modify_AggregatedListMachineTypesRequest(ref AggregatedListMachineTypesRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Retrieves an aggregated list of machine types. /// </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 <MachineTypeAggregatedList, scg::KeyValuePair <string, MachineTypesScopedList> > AggregatedListAsync(AggregatedListMachineTypesRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
/// <summary> /// Retrieves an aggregated list of machine types. /// </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 <MachineTypeAggregatedList> AggregatedListAsync(AggregatedListMachineTypesRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_AggregatedListMachineTypesRequest(ref request, ref callSettings); return(_callAggregatedList.Async(request, callSettings)); }
/// <summary> /// Retrieves an aggregated list of machine types. /// </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 <MachineTypeAggregatedList> AggregatedListAsync(AggregatedListMachineTypesRequest request, st::CancellationToken cancellationToken) => AggregatedListAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Retrieves an aggregated list of machine types. /// </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 <MachineTypeAggregatedList> AggregatedListAsync(AggregatedListMachineTypesRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();