19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_ENTITY_TYPES_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_ENTITY_TYPES_CLIENT_H
22#include "google/cloud/dialogflow_cx/entity_types_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"
33GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
83 return a.connection_ == b.connection_;
108 std::string
const& parent,
Options opts
= {});
126 google::
cloud::dialogflow::cx::v3::ListEntityTypesRequest request,
164 google::
cloud::dialogflow::cx::v3::GetEntityTypeRequest
const& request,
189 std::string
const& parent,
190 google::
cloud::dialogflow::cx::v3::EntityType
const& entity_type,
213 google::
cloud::dialogflow::cx::v3::CreateEntityTypeRequest
const& request,
236 google::
cloud::dialogflow::cx::v3::EntityType
const& entity_type,
259 google::
cloud::dialogflow::cx::v3::UpdateEntityTypeRequest
const& request,
296 google::
cloud::dialogflow::cx::v3::DeleteEntityTypeRequest
const& request,
304GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Service for managing EntityTypes.
Definition: entity_types_client.h:65
StatusOr< google::cloud::dialogflow::cx::v3::EntityType > CreateEntityType(std::string const &parent, google::cloud::dialogflow::cx::v3::EntityType const &entity_type, Options opts={})
Creates an entity type in the specified agent.
Status DeleteEntityType(std::string const &name, Options opts={})
Deletes the specified entity type.
EntityTypesClient(EntityTypesClient const &)=default
StreamRange< google::cloud::dialogflow::cx::v3::EntityType > ListEntityTypes(google::cloud::dialogflow::cx::v3::ListEntityTypesRequest request, Options opts={})
Returns the list of all entity types in the specified agent.
friend bool operator!=(EntityTypesClient const &a, EntityTypesClient const &b)
Definition: entity_types_client.h:85
StatusOr< google::cloud::dialogflow::cx::v3::EntityType > CreateEntityType(google::cloud::dialogflow::cx::v3::CreateEntityTypeRequest const &request, Options opts={})
Creates an entity type in the specified agent.
StreamRange< google::cloud::dialogflow::cx::v3::EntityType > ListEntityTypes(std::string const &parent, Options opts={})
Returns the list of all entity types in the specified agent.
StatusOr< google::cloud::dialogflow::cx::v3::EntityType > GetEntityType(std::string const &name, Options opts={})
Retrieves the specified entity type.
StatusOr< google::cloud::dialogflow::cx::v3::EntityType > UpdateEntityType(google::cloud::dialogflow::cx::v3::EntityType const &entity_type, google::protobuf::FieldMask const &update_mask, Options opts={})
Updates the specified entity type.
EntityTypesClient(EntityTypesClient &&)=default
EntityTypesClient & operator=(EntityTypesClient &&)=default
StatusOr< google::cloud::dialogflow::cx::v3::EntityType > UpdateEntityType(google::cloud::dialogflow::cx::v3::UpdateEntityTypeRequest const &request, Options opts={})
Updates the specified entity type.
Status DeleteEntityType(google::cloud::dialogflow::cx::v3::DeleteEntityTypeRequest const &request, Options opts={})
Deletes the specified entity type.
friend bool operator==(EntityTypesClient const &a, EntityTypesClient const &b)
Definition: entity_types_client.h:81
EntityTypesClient & operator=(EntityTypesClient const &)=default
StatusOr< google::cloud::dialogflow::cx::v3::EntityType > GetEntityType(google::cloud::dialogflow::cx::v3::GetEntityTypeRequest const &request, Options opts={})
Retrieves the specified entity type.
EntityTypesClient(std::shared_ptr< EntityTypesConnection > connection, Options opts={})
The EntityTypesConnection object for EntityTypesClient.
Definition: entity_types_connection.h:61
Definition: agents_client.h:33