19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_ENVIRONMENTS_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_ENVIRONMENTS_CLIENT_H
22#include "google/cloud/dialogflow_cx/environments_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"
28#include <google/longrunning/operations.grpc.pb.h>
34GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
84 return a.connection_ == b.connection_;
128 std::string
const& parent,
Options opts
= {});
169 google::
cloud::dialogflow::cx::v3::ListEnvironmentsRequest request,
232 google::
cloud::dialogflow::cx::v3::GetEnvironmentRequest
const& request,
278 std::string
const& parent,
279 google::
cloud::dialogflow::cx::v3::Environment
const& environment,
327 google::
cloud::dialogflow::cx::v3::CreateEnvironmentRequest
const&
372 google::
cloud::dialogflow::cx::v3::Environment
const& environment,
420 google::
cloud::dialogflow::cx::v3::UpdateEnvironmentRequest
const&
479 google::
cloud::dialogflow::cx::v3::DeleteEnvironmentRequest
const&
521 StreamRange<
google::
cloud::dialogflow::cx::v3::Environment>
562 StreamRange<
google::
cloud::dialogflow::cx::v3::Environment>
564 google::
cloud::dialogflow::cx::v3::LookupEnvironmentHistoryRequest
616 google::
cloud::dialogflow::cx::v3::RunContinuousTestRequest
const&
654 StreamRange<
google::
cloud::dialogflow::cx::v3::ContinuousTestResult>
694 StreamRange<
google::
cloud::dialogflow::cx::v3::ContinuousTestResult>
696 google::
cloud::dialogflow::cx::v3::ListContinuousTestResultsRequest
748 google::
cloud::dialogflow::cx::v3::DeployFlowRequest
const& request,
756GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Service for managing Environments.
Definition: environments_client.h:66
StatusOr< google::cloud::dialogflow::cx::v3::Environment > GetEnvironment(google::cloud::dialogflow::cx::v3::GetEnvironmentRequest const &request, Options opts={})
Retrieves the specified Environment.
friend bool operator!=(EnvironmentsClient const &a, EnvironmentsClient const &b)
Definition: environments_client.h:86
EnvironmentsClient(EnvironmentsClient const &)=default
StreamRange< google::cloud::dialogflow::cx::v3::Environment > LookupEnvironmentHistory(std::string const &name, Options opts={})
Looks up the history of the specified Environment.
EnvironmentsClient(std::shared_ptr< EnvironmentsConnection > connection, Options opts={})
StreamRange< google::cloud::dialogflow::cx::v3::Environment > LookupEnvironmentHistory(google::cloud::dialogflow::cx::v3::LookupEnvironmentHistoryRequest request, Options opts={})
Looks up the history of the specified Environment.
StreamRange< google::cloud::dialogflow::cx::v3::Environment > ListEnvironments(google::cloud::dialogflow::cx::v3::ListEnvironmentsRequest request, Options opts={})
Returns the list of all environments in the specified [Agent][google.cloud.dialogflow....
EnvironmentsClient & operator=(EnvironmentsClient const &)=default
EnvironmentsClient(EnvironmentsClient &&)=default
future< StatusOr< google::cloud::dialogflow::cx::v3::Environment > > UpdateEnvironment(google::cloud::dialogflow::cx::v3::UpdateEnvironmentRequest const &request, Options opts={})
Updates the specified Environment.
future< StatusOr< google::cloud::dialogflow::cx::v3::DeployFlowResponse > > DeployFlow(google::cloud::dialogflow::cx::v3::DeployFlowRequest const &request, Options opts={})
Deploys a flow to the specified Environment.
future< StatusOr< google::cloud::dialogflow::cx::v3::Environment > > CreateEnvironment(google::cloud::dialogflow::cx::v3::CreateEnvironmentRequest const &request, Options opts={})
Creates an Environment in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
StreamRange< google::cloud::dialogflow::cx::v3::ContinuousTestResult > ListContinuousTestResults(std::string const &parent, Options opts={})
Fetches a list of continuous test results for a given environment.
future< StatusOr< google::cloud::dialogflow::cx::v3::Environment > > CreateEnvironment(std::string const &parent, google::cloud::dialogflow::cx::v3::Environment const &environment, Options opts={})
Creates an Environment in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
Status DeleteEnvironment(google::cloud::dialogflow::cx::v3::DeleteEnvironmentRequest const &request, Options opts={})
Deletes the specified Environment.
future< StatusOr< google::cloud::dialogflow::cx::v3::RunContinuousTestResponse > > RunContinuousTest(google::cloud::dialogflow::cx::v3::RunContinuousTestRequest const &request, Options opts={})
Kicks off a continuous test under the specified Environment.
Status DeleteEnvironment(std::string const &name, Options opts={})
Deletes the specified Environment.
future< StatusOr< google::cloud::dialogflow::cx::v3::Environment > > UpdateEnvironment(google::cloud::dialogflow::cx::v3::Environment const &environment, google::protobuf::FieldMask const &update_mask, Options opts={})
Updates the specified Environment.
StreamRange< google::cloud::dialogflow::cx::v3::ContinuousTestResult > ListContinuousTestResults(google::cloud::dialogflow::cx::v3::ListContinuousTestResultsRequest request, Options opts={})
Fetches a list of continuous test results for a given environment.
EnvironmentsClient & operator=(EnvironmentsClient &&)=default
StatusOr< google::cloud::dialogflow::cx::v3::Environment > GetEnvironment(std::string const &name, Options opts={})
Retrieves the specified Environment.
StreamRange< google::cloud::dialogflow::cx::v3::Environment > ListEnvironments(std::string const &parent, Options opts={})
Returns the list of all environments in the specified [Agent][google.cloud.dialogflow....
friend bool operator==(EnvironmentsClient const &a, EnvironmentsClient const &b)
Definition: environments_client.h:82
The EnvironmentsConnection object for EnvironmentsClient.
Definition: environments_connection.h:66
friend friend class future
Definition: agents_client.h:33