Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
Loading...
Searching...
No Matches
cluster_list_responses.h
1// Copyright 2018 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#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_CLUSTER_LIST_RESPONSES_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_CLUSTER_LIST_RESPONSES_H
17
18#include "google/cloud/bigtable/version.h"
19#include <google/bigtable/admin/v2/bigtable_instance_admin.pb.h>
20#include <string>
21#include <vector>
22
23namespace google {
24namespace cloud {
25namespace bigtable {
26GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
27/**
28 * The response for an asynchronous request listing all the clusters.
29 */
30struct ClusterList {
31 /// The list of clusters received from Cloud Bigtable.
32 std::vector<google::bigtable::admin::v2::Cluster> clusters;
33
34 /**
35 * The list of Google Cloud Platform locations where the request could not
36 * get a response from.
37 *
38 * During an outage Cloud Bigtable may be unable to access specific zones. In
39 * that case the service will return those locations for which no information
40 * could be retrieved in this parameter.
41 */
42 std::vector<std::string> failed_locations;
43};
44
45GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
46} // namespace bigtable
47} // namespace cloud
48} // namespace google
49
50#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGTABLE_CLUSTER_LIST_RESPONSES_H
Contains all the Cloud Bigtable C++ client APIs.
Definition: admin_client.h:28
The response for an asynchronous request listing all the clusters.
Definition: cluster_list_responses.h:30
std::vector< google::bigtable::admin::v2::Cluster > clusters
The list of clusters received from Cloud Bigtable.
Definition: cluster_list_responses.h:32
std::vector< std::string > failed_locations
The list of Google Cloud Platform locations where the request could not get a response from.
Definition: cluster_list_responses.h:42