19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_CREDENTIALS_V1_IAM_CREDENTIALS_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_CREDENTIALS_V1_IAM_CREDENTIALS_CONNECTION_H
22#include "google/cloud/iam/credentials/v1/iam_credentials_connection_idempotency_policy.h"
23#include "google/cloud/iam/credentials/v1/internal/iam_credentials_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/version.h"
28#include <google/iam/credentials/v1/iamcredentials.pb.h>
34GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
36using IAMCredentialsRetryPolicy =
38 iam_credentials_v1_internal::IAMCredentialsRetryTraits>;
40using IAMCredentialsLimitedTimeRetryPolicy =
42 iam_credentials_v1_internal::IAMCredentialsRetryTraits>;
44using IAMCredentialsLimitedErrorCountRetryPolicy =
45 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
46 iam_credentials_v1_internal::IAMCredentialsRetryTraits>;
49
50
51
52
53
54
55
56
57
58
59
66 virtual StatusOr<
google::iam::credentials::v1::GenerateAccessTokenResponse>
68 google::iam::credentials::v1::GenerateAccessTokenRequest
const& request);
70 virtual StatusOr<
google::iam::credentials::v1::GenerateIdTokenResponse>
72 google::iam::credentials::v1::GenerateIdTokenRequest
const& request);
74 virtual StatusOr<
google::iam::credentials::v1::SignBlobResponse>
SignBlob(
75 google::iam::credentials::v1::SignBlobRequest
const& request);
77 virtual StatusOr<
google::iam::credentials::v1::SignJwtResponse>
SignJwt(
78 google::iam::credentials::v1::SignJwtRequest
const& request);
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
105GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
106namespace gcpcxxV1 = GOOGLE_CLOUD_CPP_NS;
The IAMCredentialsConnection object for IAMCredentialsClient.
Definition: iam_credentials_connection.h:60
virtual StatusOr< google::iam::credentials::v1::SignBlobResponse > SignBlob(google::iam::credentials::v1::SignBlobRequest const &request)
virtual StatusOr< google::iam::credentials::v1::SignJwtResponse > SignJwt(google::iam::credentials::v1::SignJwtRequest const &request)
virtual StatusOr< google::iam::credentials::v1::GenerateAccessTokenResponse > GenerateAccessToken(google::iam::credentials::v1::GenerateAccessTokenRequest const &request)
virtual StatusOr< google::iam::credentials::v1::GenerateIdTokenResponse > GenerateIdToken(google::iam::credentials::v1::GenerateIdTokenRequest const &request)
virtual ~IAMCredentialsConnection()=0
virtual Options options()
Definition: iam_credentials_connection.h:64
Definition: iam_credentials_client.h:33
std::shared_ptr< IAMCredentialsConnection > MakeIAMCredentialsConnection(Options options={})
A factory function to construct an object of type IAMCredentialsConnection.