19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_INTENTS_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_INTENTS_CLIENT_H
22#include "google/cloud/dialogflow_cx/intents_connection.h"
23#include "google/cloud/future.h"
24#include "google/cloud/options.h"
25#include "google/cloud/polling_policy.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/version.h"
34GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
82 return a.connection_ == b.connection_;
123 std::string
const& parent,
Options opts
= {});
163 google::
cloud::dialogflow::cx::v3::ListIntentsRequest request,
223 google::
cloud::dialogflow::cx::v3::GetIntentRequest
const& request,
256 std::string
const& parent,
257 google::
cloud::dialogflow::cx::v3::Intent
const& intent,
293 google::
cloud::dialogflow::cx::v3::CreateIntentRequest
const& request,
326 google::
cloud::dialogflow::cx::v3::Intent
const& intent,
362 google::
cloud::dialogflow::cx::v3::UpdateIntentRequest
const& request,
423 google::
cloud::dialogflow::cx::v3::DeleteIntentRequest
const& request,
431GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Service for managing Intents.
Definition: intents_client.h:65
IntentsClient & operator=(IntentsClient const &)=default
IntentsClient(std::shared_ptr< IntentsConnection > connection, Options opts={})
friend bool operator==(IntentsClient const &a, IntentsClient const &b)
Definition: intents_client.h:81
IntentsClient & operator=(IntentsClient &&)=default
StatusOr< google::cloud::dialogflow::cx::v3::Intent > CreateIntent(google::cloud::dialogflow::cx::v3::CreateIntentRequest const &request, Options opts={})
Creates an intent in the specified agent.
Status DeleteIntent(google::cloud::dialogflow::cx::v3::DeleteIntentRequest const &request, Options opts={})
Deletes the specified intent.
friend bool operator!=(IntentsClient const &a, IntentsClient const &b)
Definition: intents_client.h:84
IntentsClient(IntentsClient &&)=default
StatusOr< google::cloud::dialogflow::cx::v3::Intent > UpdateIntent(google::cloud::dialogflow::cx::v3::Intent const &intent, google::protobuf::FieldMask const &update_mask, Options opts={})
Updates the specified intent.
Status DeleteIntent(std::string const &name, Options opts={})
Deletes the specified intent.
StreamRange< google::cloud::dialogflow::cx::v3::Intent > ListIntents(google::cloud::dialogflow::cx::v3::ListIntentsRequest request, Options opts={})
Returns the list of all intents in the specified agent.
IntentsClient(IntentsClient const &)=default
StatusOr< google::cloud::dialogflow::cx::v3::Intent > GetIntent(google::cloud::dialogflow::cx::v3::GetIntentRequest const &request, Options opts={})
Retrieves the specified intent.
StatusOr< google::cloud::dialogflow::cx::v3::Intent > CreateIntent(std::string const &parent, google::cloud::dialogflow::cx::v3::Intent const &intent, Options opts={})
Creates an intent in the specified agent.
StatusOr< google::cloud::dialogflow::cx::v3::Intent > GetIntent(std::string const &name, Options opts={})
Retrieves the specified intent.
StatusOr< google::cloud::dialogflow::cx::v3::Intent > UpdateIntent(google::cloud::dialogflow::cx::v3::UpdateIntentRequest const &request, Options opts={})
Updates the specified intent.
StreamRange< google::cloud::dialogflow::cx::v3::Intent > ListIntents(std::string const &parent, Options opts={})
Returns the list of all intents in the specified agent.
The IntentsConnection object for IntentsClient.
Definition: intents_connection.h:61
Definition: agents_client.h:33