19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_PAGES_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_PAGES_CLIENT_H
22#include "google/cloud/dialogflow_cx/pages_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
81 return a.connection_ == b.connection_;
123 std::string
const& parent,
Options opts
= {});
163 google::
cloud::dialogflow::cx::v3::ListPagesRequest request,
223 google::
cloud::dialogflow::cx::v3::GetPageRequest
const& request,
257 std::string
const& parent,
293 google::
cloud::dialogflow::cx::v3::CreatePageRequest
const& request,
326 google::
cloud::dialogflow::cx::v3::Page
const& page,
362 google::
cloud::dialogflow::cx::v3::UpdatePageRequest
const& request,
423 google::
cloud::dialogflow::cx::v3::DeletePageRequest
const& request,
431GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Service for managing Pages.
Definition: pages_client.h:64
StatusOr< google::cloud::dialogflow::cx::v3::Page > CreatePage(google::cloud::dialogflow::cx::v3::CreatePageRequest const &request, Options opts={})
Creates a page in the specified flow.
PagesClient & operator=(PagesClient const &)=default
StatusOr< google::cloud::dialogflow::cx::v3::Page > GetPage(google::cloud::dialogflow::cx::v3::GetPageRequest const &request, Options opts={})
Retrieves the specified page.
StatusOr< google::cloud::dialogflow::cx::v3::Page > GetPage(std::string const &name, Options opts={})
Retrieves the specified page.
friend bool operator!=(PagesClient const &a, PagesClient const &b)
Definition: pages_client.h:83
friend bool operator==(PagesClient const &a, PagesClient const &b)
Definition: pages_client.h:80
PagesClient(PagesClient &&)=default
StatusOr< google::cloud::dialogflow::cx::v3::Page > CreatePage(std::string const &parent, google::cloud::dialogflow::cx::v3::Page const &page, Options opts={})
Creates a page in the specified flow.
Status DeletePage(std::string const &name, Options opts={})
Deletes the specified page.
PagesClient & operator=(PagesClient &&)=default
PagesClient(std::shared_ptr< PagesConnection > connection, Options opts={})
StreamRange< google::cloud::dialogflow::cx::v3::Page > ListPages(google::cloud::dialogflow::cx::v3::ListPagesRequest request, Options opts={})
Returns the list of all pages in the specified flow.
PagesClient(PagesClient const &)=default
StreamRange< google::cloud::dialogflow::cx::v3::Page > ListPages(std::string const &parent, Options opts={})
Returns the list of all pages in the specified flow.
Status DeletePage(google::cloud::dialogflow::cx::v3::DeletePageRequest const &request, Options opts={})
Deletes the specified page.
StatusOr< google::cloud::dialogflow::cx::v3::Page > UpdatePage(google::cloud::dialogflow::cx::v3::UpdatePageRequest const &request, Options opts={})
Updates the specified page.
StatusOr< google::cloud::dialogflow::cx::v3::Page > UpdatePage(google::cloud::dialogflow::cx::v3::Page const &page, google::protobuf::FieldMask const &update_mask, Options opts={})
Updates the specified page.
The PagesConnection object for PagesClient.
Definition: pages_connection.h:61
Definition: agents_client.h:33