Google Cloud Pub/Sub C++ Client  1.35.0
A C++ Client Library for Google Cloud Pub/Sub
version.h
Go to the documentation of this file.
1 // Copyright 2020 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_PUBSUB_VERSION_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_VERSION_H
17 
18 #include "google/cloud/pubsub/version_info.h"
19 #include "google/cloud/version.h"
20 
21 // This preprocessor symbol is deprecated and should never be used anywhere. It
22 // exists solely for backward compatibility to avoid breaking anyone who may
23 // have been using it.
24 #define GOOGLE_CLOUD_CPP_PUBSUB_NS GOOGLE_CLOUD_CPP_NS
25 
26 namespace google {
27 /**
28  * The namespace Google Cloud Platform C++ client libraries.
29  */
30 namespace cloud {
31 /**
32  * Contains all the Cloud Pubsub C++ client types and functions.
33  */
34 namespace pubsub {
37 // TODO(#7463) - remove backwards compatibility namespaces
38 namespace v1 = GOOGLE_CLOUD_CPP_NS; // NOLINT(misc-unused-alias-decls)
39 } // namespace pubsub
40 } // namespace cloud
41 } // namespace google
42 
43 #endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_VERSION_H