19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_DEPLOYMENTS_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_DEPLOYMENTS_CONNECTION_H
22#include "google/cloud/dialogflow_cx/deployments_connection_idempotency_policy.h"
23#include "google/cloud/dialogflow_cx/internal/deployments_retry_traits.h"
24#include "google/cloud/backoff_policy.h"
25#include "google/cloud/options.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/stream_range.h"
28#include "google/cloud/version.h"
29#include <google/cloud/dialogflow/cx/v3/deployment.pb.h>
36GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
38using DeploymentsRetryPolicy = ::
google::
cloud::internal::TraitBasedRetryPolicy<
39 dialogflow_cx_internal::DeploymentsRetryTraits>;
41using DeploymentsLimitedTimeRetryPolicy =
43 dialogflow_cx_internal::DeploymentsRetryTraits>;
45using DeploymentsLimitedErrorCountRetryPolicy =
46 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
47 dialogflow_cx_internal::DeploymentsRetryTraits>;
50
51
52
53
54
55
56
57
58
59
60
67 virtual StreamRange<
google::
cloud::dialogflow::cx::v3::Deployment>
69 google::
cloud::dialogflow::cx::v3::ListDeploymentsRequest request);
72 google::
cloud::dialogflow::cx::v3::GetDeploymentRequest
const& request);
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
98 std::string
const& location,
Options options
= {});
101
102
103
104
105
106
110GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The DeploymentsConnection object for DeploymentsClient.
Definition: deployments_connection.h:61
virtual StatusOr< google::cloud::dialogflow::cx::v3::Deployment > GetDeployment(google::cloud::dialogflow::cx::v3::GetDeploymentRequest const &request)
virtual ~DeploymentsConnection()=0
virtual StreamRange< google::cloud::dialogflow::cx::v3::Deployment > ListDeployments(google::cloud::dialogflow::cx::v3::ListDeploymentsRequest request)
virtual Options options()
Definition: deployments_connection.h:65
Definition: agents_client.h:33
std::shared_ptr< DeploymentsConnection > MakeDeploymentsConnection(Options options={})
A backwards-compatible version of the previous factory function.
std::shared_ptr< DeploymentsConnection > MakeDeploymentsConnection(std::string const &location, Options options={})
A factory function to construct an object of type DeploymentsConnection.