/// <summary> /// Gets a list of suggestions based on a prefix string. /// AutoSuggestion tolerance should be less than 1 second. /// </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 <SuggestQueriesResponse> SuggestQueriesAsync(SuggestQueriesRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_SuggestQueriesRequest(ref request, ref callSettings); return(_callSuggestQueries.Async(request, callSettings)); }
/// <summary> /// Gets a list of suggestions based on a prefix string. /// AutoSuggestion tolerance should be less than 1 second. /// </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 SuggestQueriesResponse SuggestQueries(SuggestQueriesRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_SuggestQueriesRequest(ref request, ref callSettings); return(_callSuggestQueries.Sync(request, callSettings)); }
partial void Modify_SuggestQueriesRequest(ref SuggestQueriesRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Gets a list of suggestions based on a prefix string. /// AutoSuggestion tolerance should be less than 1 second. /// </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 <SuggestQueriesResponse> SuggestQueriesAsync(SuggestQueriesRequest request, st::CancellationToken cancellationToken) => SuggestQueriesAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Gets a list of suggestions based on a prefix string. /// AutoSuggestion tolerance should be less than 1 second. /// </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 <SuggestQueriesResponse> SuggestQueriesAsync(SuggestQueriesRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
/// <summary> /// Gets a list of suggestions based on a prefix string. /// AutoSuggestion tolerance should be less than 1 second. /// </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 SuggestQueriesResponse SuggestQueries(SuggestQueriesRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();