Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
Loading...
Searching...
No Matches
database_admin_connection_idempotency_policy.h
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
28namespace google {
29namespace cloud {
30namespace spanner_admin {
31GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
32
34 public:
36
37 /// Create a new copy of this object.
38 virtual std::unique_ptr<DatabaseAdminConnectionIdempotencyPolicy> clone()
39 const;
40
42 google::spanner::admin::database::v1::ListDatabasesRequest request);
43
45 google::spanner::admin::database::v1::CreateDatabaseRequest const&
46 request);
47
49 google::spanner::admin::database::v1::GetDatabaseRequest const& request);
50
52 google::spanner::admin::database::v1::UpdateDatabaseRequest const&
53 request);
54
56 google::spanner::admin::database::v1::UpdateDatabaseDdlRequest const&
57 request);
58
60 google::spanner::admin::database::v1::DropDatabaseRequest const& request);
61
63 google::spanner::admin::database::v1::GetDatabaseDdlRequest const&
64 request);
65
67 google::iam::v1::SetIamPolicyRequest const& request);
68
70 google::iam::v1::GetIamPolicyRequest const& request);
71
73 google::iam::v1::TestIamPermissionsRequest const& request);
74
76 google::spanner::admin::database::v1::CreateBackupRequest const& request);
77
79 google::spanner::admin::database::v1::CopyBackupRequest const& request);
80
82 google::spanner::admin::database::v1::GetBackupRequest const& request);
83
85 google::spanner::admin::database::v1::UpdateBackupRequest const& request);
86
88 google::spanner::admin::database::v1::DeleteBackupRequest const& request);
89
91 google::spanner::admin::database::v1::ListBackupsRequest request);
92
94 google::spanner::admin::database::v1::RestoreDatabaseRequest const&
95 request);
96
98 google::spanner::admin::database::v1::ListDatabaseOperationsRequest
99 request);
100
102 google::spanner::admin::database::v1::ListBackupOperationsRequest
103 request);
104
106 google::spanner::admin::database::v1::ListDatabaseRolesRequest request);
107};
108
111
112GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
113namespace gcpcxxV1 = GOOGLE_CLOUD_CPP_NS; // NOLINT(misc-unused-alias-decls)
114} // namespace spanner_admin
115} // namespace cloud
116} // namespace google
117
118#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_ADMIN_DATABASE_ADMIN_CONNECTION_IDEMPOTENCY_POLICY_H
Definition: database_admin_connection_idempotency_policy.h:33
virtual google::cloud::Idempotency UpdateDatabaseDdl(google::spanner::admin::database::v1::UpdateDatabaseDdlRequest const &request)
virtual google::cloud::Idempotency GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &request)
virtual google::cloud::Idempotency RestoreDatabase(google::spanner::admin::database::v1::RestoreDatabaseRequest const &request)
virtual google::cloud::Idempotency CopyBackup(google::spanner::admin::database::v1::CopyBackupRequest const &request)
virtual google::cloud::Idempotency DropDatabase(google::spanner::admin::database::v1::DropDatabaseRequest const &request)
virtual google::cloud::Idempotency GetDatabase(google::spanner::admin::database::v1::GetDatabaseRequest const &request)
virtual google::cloud::Idempotency CreateDatabase(google::spanner::admin::database::v1::CreateDatabaseRequest const &request)
virtual google::cloud::Idempotency ListBackupOperations(google::spanner::admin::database::v1::ListBackupOperationsRequest request)
virtual google::cloud::Idempotency ListDatabaseRoles(google::spanner::admin::database::v1::ListDatabaseRolesRequest request)
virtual google::cloud::Idempotency UpdateDatabase(google::spanner::admin::database::v1::UpdateDatabaseRequest const &request)
virtual google::cloud::Idempotency GetDatabaseDdl(google::spanner::admin::database::v1::GetDatabaseDdlRequest const &request)
virtual google::cloud::Idempotency DeleteBackup(google::spanner::admin::database::v1::DeleteBackupRequest const &request)
virtual google::cloud::Idempotency UpdateBackup(google::spanner::admin::database::v1::UpdateBackupRequest const &request)
virtual google::cloud::Idempotency SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &request)
virtual google::cloud::Idempotency CreateBackup(google::spanner::admin::database::v1::CreateBackupRequest const &request)
virtual google::cloud::Idempotency ListBackups(google::spanner::admin::database::v1::ListBackupsRequest request)
virtual google::cloud::Idempotency ListDatabases(google::spanner::admin::database::v1::ListDatabasesRequest request)
virtual google::cloud::Idempotency TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &request)
virtual google::cloud::Idempotency GetBackup(google::spanner::admin::database::v1::GetBackupRequest const &request)
virtual google::cloud::Idempotency ListDatabaseOperations(google::spanner::admin::database::v1::ListDatabaseOperationsRequest request)
virtual std::unique_ptr< DatabaseAdminConnectionIdempotencyPolicy > clone() const
Create a new copy of this object.
Definition: database_admin_client.h:34
std::unique_ptr< DatabaseAdminConnectionIdempotencyPolicy > MakeDefaultDatabaseAdminConnectionIdempotencyPolicy()