Google Cloud Spanner C++ Client
1.32.0
A C++ Client Library for Google Cloud Spanner
admin
instance_admin_options.h
Go to the documentation of this file.
1
// Copyright 2021 Google LLC
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// https://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
// Generated by the Codegen C++ plugin.
16
// If you make any local changes, they will be lost.
17
// source: google/spanner/admin/instance/v1/spanner_instance_admin.proto
18
19
#
ifndef
GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ADMIN_INSTANCE_ADMIN_OPTIONS_H
20
#
define
GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ADMIN_INSTANCE_ADMIN_OPTIONS_H
21
22
#
include
"google/cloud/spanner/admin/instance_admin_connection.h"
23
#
include
"google/cloud/spanner/admin/instance_admin_connection_idempotency_policy.h"
24
#
include
"google/cloud/backoff_policy.h"
25
#
include
"google/cloud/options.h"
26
#
include
"google/cloud/version.h"
27
#
include
<
memory
>
28
29
namespace
google
{
30
namespace
cloud
{
31
namespace
spanner_admin
{
32
inline
namespace
GOOGLE_CLOUD_CPP_GENERATED_NS
{
33
34
/// Option to use with `google::cloud::Options`.
35
struct
InstanceAdminRetryPolicyOption
{
36
using
Type = std::shared_ptr<InstanceAdminRetryPolicy>;
37
};
38
39
/// Option to use with `google::cloud::Options`.
40
struct
InstanceAdminBackoffPolicyOption
{
41
using
Type = std::shared_ptr<BackoffPolicy>;
42
};
43
44
/// Option to use with `google::cloud::Options`.
45
struct
InstanceAdminPollingPolicyOption
{
46
using
Type = std::shared_ptr<
PollingPolicy
>;
47
};
48
49
/// Option to use with `google::cloud::Options`.
50
struct
InstanceAdminConnectionIdempotencyPolicyOption
{
51
using
Type = std::shared_ptr<
InstanceAdminConnectionIdempotencyPolicy
>;
52
};
53
54
using
InstanceAdminPolicyOptionList =
55
OptionList<
InstanceAdminRetryPolicyOption
,
InstanceAdminBackoffPolicyOption
,
56
InstanceAdminPollingPolicyOption
,
57
InstanceAdminConnectionIdempotencyPolicyOption
>;
58
59
}
// namespace GOOGLE_CLOUD_CPP_GENERATED_NS
60
}
// namespace spanner_admin
61
}
// namespace cloud
62
}
// namespace google
63
64
#
endif
// GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ADMIN_INSTANCE_ADMIN_OPTIONS_H
Generated on Wed Oct 6 2021 01:08:49 for Google Cloud Spanner C++ Client by
1.9.1