/// <summary> /// Processes a natural language query and returns structured, actionable data /// as a result. This method is not idempotent, because it may cause session /// entity types to be updated, which in turn might affect results of future /// queries. /// /// Note: Always use agent versions for production traffic. /// See [Versions and /// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). /// </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 DetectIntentResponse DetectIntent(DetectIntentRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
/// <summary> /// Processes a natural language query and returns structured, actionable data /// as a result. This method is not idempotent, because it may cause session /// entity types to be updated, which in turn might affect results of future /// queries. /// /// Note: Always use agent versions for production traffic. /// See [Versions and /// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). /// </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 <DetectIntentResponse> DetectIntentAsync(DetectIntentRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_DetectIntentRequest(ref request, ref callSettings); return(_callDetectIntent.Async(request, callSettings)); }
/// <summary> /// Processes a natural language query and returns structured, actionable data /// as a result. This method is not idempotent, because it may cause session /// entity types to be updated, which in turn might affect results of future /// queries. /// /// Note: Always use agent versions for production traffic. /// See [Versions and /// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). /// </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 DetectIntentResponse DetectIntent(DetectIntentRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_DetectIntentRequest(ref request, ref callSettings); return(_callDetectIntent.Sync(request, callSettings)); }
partial void Modify_DetectIntentRequest(ref DetectIntentRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Processes a natural language query and returns structured, actionable data /// as a result. This method is not idempotent, because it may cause session /// entity types to be updated, which in turn might affect results of future /// queries. /// /// Note: Always use agent versions for production traffic. /// See [Versions and /// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). /// </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 <DetectIntentResponse> DetectIntentAsync(DetectIntentRequest request, st::CancellationToken cancellationToken) => DetectIntentAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Processes a natural language query and returns structured, actionable data /// as a result. This method is not idempotent, because it may cause session /// entity types to be updated, which in turn might affect results of future /// queries. /// /// Note: Always use agent versions for production traffic. /// See [Versions and /// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). /// </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 <DetectIntentResponse> DetectIntentAsync(DetectIntentRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();