Google Cloud Spanner C++ Client  2.1.0
A C++ Client Library for Google Cloud Spanner
database_admin_connection_idempotency_policy.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/database/v1/spanner_database_admin.proto
18 
19 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ADMIN_DATABASE_ADMIN_CONNECTION_IDEMPOTENCY_POLICY_H
20 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ADMIN_DATABASE_ADMIN_CONNECTION_IDEMPOTENCY_POLICY_H
21 
22 #include "google/cloud/idempotency.h"
23 #include "google/cloud/internal/retry_policy.h"
24 #include "google/cloud/version.h"
25 #include <google/spanner/admin/database/v1/spanner_database_admin.grpc.pb.h>
26 #include <memory>
27 
28 namespace google {
29 namespace cloud {
30 namespace spanner_admin {
32 
34  public:
36 
37  /// Create a new copy of this object.
39  const = 0;
40 
42  google::spanner::admin::database::v1::ListDatabasesRequest request) = 0;
43 
45  google::spanner::admin::database::v1::CreateDatabaseRequest const&
46  request) = 0;
47 
49  google::spanner::admin::database::v1::GetDatabaseRequest const&
50  request) = 0;
51 
53  google::spanner::admin::database::v1::UpdateDatabaseDdlRequest const&
54  request) = 0;
55 
57  google::spanner::admin::database::v1::DropDatabaseRequest const&
58  request) = 0;
59 
61  google::spanner::admin::database::v1::GetDatabaseDdlRequest const&
62  request) = 0;
63 
65  google::iam::v1::SetIamPolicyRequest const& request) = 0;
66 
68  google::iam::v1::GetIamPolicyRequest const& request) = 0;
69 
71  google::iam::v1::TestIamPermissionsRequest const& request) = 0;
72 
74  google::spanner::admin::database::v1::CreateBackupRequest const&
75  request) = 0;
76 
78  google::spanner::admin::database::v1::CopyBackupRequest const&
79  request) = 0;
80 
82  google::spanner::admin::database::v1::GetBackupRequest const&
83  request) = 0;
84 
86  google::spanner::admin::database::v1::UpdateBackupRequest const&
87  request) = 0;
88 
90  google::spanner::admin::database::v1::DeleteBackupRequest const&
91  request) = 0;
92 
94  google::spanner::admin::database::v1::ListBackupsRequest request) = 0;
95 
97  google::spanner::admin::database::v1::RestoreDatabaseRequest const&
98  request) = 0;
99 
101  google::spanner::admin::database::v1::ListDatabaseOperationsRequest
102  request) = 0;
103 
105  google::spanner::admin::database::v1::ListBackupOperationsRequest
106  request) = 0;
107 
109  google::spanner::admin::database::v1::ListDatabaseRolesRequest
110  request) = 0;
111 };
112 
115 
117 namespace gcpcxxV1 = GOOGLE_CLOUD_CPP_NS; // NOLINT(misc-unused-alias-decls)
118 } // namespace spanner_admin
119 } // namespace cloud
120 } // namespace google
121 
122 #endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ADMIN_DATABASE_ADMIN_CONNECTION_IDEMPOTENCY_POLICY_H