Skip to content

Commit a471594

Browse files
authored
doc: group client functions (#10268)
1 parent b10a35b commit a471594

File tree

202 files changed

+808
-808
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+808
-808
lines changed

generator/integration_tests/golden/golden_kitchen_sink_client.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,23 @@ class GoldenKitchenSinkClient {
6666
explicit GoldenKitchenSinkClient(std::shared_ptr<GoldenKitchenSinkConnection> connection, Options opts = {});
6767
~GoldenKitchenSinkClient();
6868

69-
//@{
69+
///@{
7070
// @name Copy and move support
7171
GoldenKitchenSinkClient(GoldenKitchenSinkClient const&) = default;
7272
GoldenKitchenSinkClient& operator=(GoldenKitchenSinkClient const&) = default;
7373
GoldenKitchenSinkClient(GoldenKitchenSinkClient&&) = default;
7474
GoldenKitchenSinkClient& operator=(GoldenKitchenSinkClient&&) = default;
75-
//@}
75+
///@}
7676

77-
//@{
77+
///@{
7878
// @name Equality
7979
friend bool operator==(GoldenKitchenSinkClient const& a, GoldenKitchenSinkClient const& b) {
8080
return a.connection_ == b.connection_;
8181
}
8282
friend bool operator!=(GoldenKitchenSinkClient const& a, GoldenKitchenSinkClient const& b) {
8383
return !(a == b);
8484
}
85-
//@}
85+
///@}
8686

8787
///
8888
/// Generates an OAuth 2.0 access token for a service account.

generator/integration_tests/golden/golden_thing_admin_client.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,23 +70,23 @@ class GoldenThingAdminClient {
7070
explicit GoldenThingAdminClient(std::shared_ptr<GoldenThingAdminConnection> connection, Options opts = {});
7171
~GoldenThingAdminClient();
7272

73-
//@{
73+
///@{
7474
// @name Copy and move support
7575
GoldenThingAdminClient(GoldenThingAdminClient const&) = default;
7676
GoldenThingAdminClient& operator=(GoldenThingAdminClient const&) = default;
7777
GoldenThingAdminClient(GoldenThingAdminClient&&) = default;
7878
GoldenThingAdminClient& operator=(GoldenThingAdminClient&&) = default;
79-
//@}
79+
///@}
8080

81-
//@{
81+
///@{
8282
// @name Equality
8383
friend bool operator==(GoldenThingAdminClient const& a, GoldenThingAdminClient const& b) {
8484
return a.connection_ == b.connection_;
8585
}
8686
friend bool operator!=(GoldenThingAdminClient const& a, GoldenThingAdminClient const& b) {
8787
return !(a == b);
8888
}
89-
//@}
89+
///@}
9090

9191
///
9292
/// Lists Cloud Test databases.

generator/internal/client_generator.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,23 +101,23 @@ class $client_class_name$ {
101101
R"""(std::shared_ptr<$connection_class_name$> connection, Options opts = {});
102102
~$client_class_name$();
103103
104-
//@{
104+
///@{
105105
// @name Copy and move support
106106
$client_class_name$($client_class_name$ const&) = default;
107107
$client_class_name$& operator=($client_class_name$ const&) = default;
108108
$client_class_name$($client_class_name$&&) = default;
109109
$client_class_name$& operator=($client_class_name$&&) = default;
110-
//@}
110+
///@}
111111
112-
//@{
112+
///@{
113113
// @name Equality
114114
friend bool operator==($client_class_name$ const& a, $client_class_name$ const& b) {
115115
return a.connection_ == b.connection_;
116116
}
117117
friend bool operator!=($client_class_name$ const& a, $client_class_name$ const& b) {
118118
return !(a == b);
119119
}
120-
//@}
120+
///@}
121121
)""");
122122

123123
for (google::protobuf::MethodDescriptor const& method : methods()) {

google/cloud/accessapproval/access_approval_client.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ class AccessApprovalClient {
9696
std::shared_ptr<AccessApprovalConnection> connection, Options opts = {});
9797
~AccessApprovalClient();
9898

99-
//@{
99+
///@{
100100
// @name Copy and move support
101101
AccessApprovalClient(AccessApprovalClient const&) = default;
102102
AccessApprovalClient& operator=(AccessApprovalClient const&) = default;
103103
AccessApprovalClient(AccessApprovalClient&&) = default;
104104
AccessApprovalClient& operator=(AccessApprovalClient&&) = default;
105-
//@}
105+
///@}
106106

107-
//@{
107+
///@{
108108
// @name Equality
109109
friend bool operator==(AccessApprovalClient const& a,
110110
AccessApprovalClient const& b) {
@@ -114,7 +114,7 @@ class AccessApprovalClient {
114114
AccessApprovalClient const& b) {
115115
return !(a == b);
116116
}
117-
//@}
117+
///@}
118118

119119
///
120120
/// Lists approval requests associated with a project, folder, or

google/cloud/accesscontextmanager/access_context_manager_client.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,16 @@ class AccessContextManagerClient {
7676
Options opts = {});
7777
~AccessContextManagerClient();
7878

79-
//@{
79+
///@{
8080
// @name Copy and move support
8181
AccessContextManagerClient(AccessContextManagerClient const&) = default;
8282
AccessContextManagerClient& operator=(AccessContextManagerClient const&) =
8383
default;
8484
AccessContextManagerClient(AccessContextManagerClient&&) = default;
8585
AccessContextManagerClient& operator=(AccessContextManagerClient&&) = default;
86-
//@}
86+
///@}
8787

88-
//@{
88+
///@{
8989
// @name Equality
9090
friend bool operator==(AccessContextManagerClient const& a,
9191
AccessContextManagerClient const& b) {
@@ -95,7 +95,7 @@ class AccessContextManagerClient {
9595
AccessContextManagerClient const& b) {
9696
return !(a == b);
9797
}
98-
//@}
98+
///@}
9999

100100
///
101101
/// Lists all [access policies]

google/cloud/apigateway/api_gateway_client.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ class ApiGatewayServiceClient {
6767
Options opts = {});
6868
~ApiGatewayServiceClient();
6969

70-
//@{
70+
///@{
7171
// @name Copy and move support
7272
ApiGatewayServiceClient(ApiGatewayServiceClient const&) = default;
7373
ApiGatewayServiceClient& operator=(ApiGatewayServiceClient const&) = default;
7474
ApiGatewayServiceClient(ApiGatewayServiceClient&&) = default;
7575
ApiGatewayServiceClient& operator=(ApiGatewayServiceClient&&) = default;
76-
//@}
76+
///@}
7777

78-
//@{
78+
///@{
7979
// @name Equality
8080
friend bool operator==(ApiGatewayServiceClient const& a,
8181
ApiGatewayServiceClient const& b) {
@@ -85,7 +85,7 @@ class ApiGatewayServiceClient {
8585
ApiGatewayServiceClient const& b) {
8686
return !(a == b);
8787
}
88-
//@}
88+
///@}
8989

9090
///
9191
/// Lists Gateways in a given project and location.

google/cloud/apigeeconnect/connection_client.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ class ConnectionServiceClient {
6565
Options opts = {});
6666
~ConnectionServiceClient();
6767

68-
//@{
68+
///@{
6969
// @name Copy and move support
7070
ConnectionServiceClient(ConnectionServiceClient const&) = default;
7171
ConnectionServiceClient& operator=(ConnectionServiceClient const&) = default;
7272
ConnectionServiceClient(ConnectionServiceClient&&) = default;
7373
ConnectionServiceClient& operator=(ConnectionServiceClient&&) = default;
74-
//@}
74+
///@}
7575

76-
//@{
76+
///@{
7777
// @name Equality
7878
friend bool operator==(ConnectionServiceClient const& a,
7979
ConnectionServiceClient const& b) {
@@ -83,7 +83,7 @@ class ConnectionServiceClient {
8383
ConnectionServiceClient const& b) {
8484
return !(a == b);
8585
}
86-
//@}
86+
///@}
8787

8888
///
8989
/// Lists connections that are currently active for the given Apigee Connect

google/cloud/apikeys/api_keys_client.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,23 @@ class ApiKeysClient {
6666
Options opts = {});
6767
~ApiKeysClient();
6868

69-
//@{
69+
///@{
7070
// @name Copy and move support
7171
ApiKeysClient(ApiKeysClient const&) = default;
7272
ApiKeysClient& operator=(ApiKeysClient const&) = default;
7373
ApiKeysClient(ApiKeysClient&&) = default;
7474
ApiKeysClient& operator=(ApiKeysClient&&) = default;
75-
//@}
75+
///@}
7676

77-
//@{
77+
///@{
7878
// @name Equality
7979
friend bool operator==(ApiKeysClient const& a, ApiKeysClient const& b) {
8080
return a.connection_ == b.connection_;
8181
}
8282
friend bool operator!=(ApiKeysClient const& a, ApiKeysClient const& b) {
8383
return !(a == b);
8484
}
85-
//@}
85+
///@}
8686

8787
///
8888
/// Creates a new API key.

google/cloud/appengine/applications_client.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ class ApplicationsClient {
6565
std::shared_ptr<ApplicationsConnection> connection, Options opts = {});
6666
~ApplicationsClient();
6767

68-
//@{
68+
///@{
6969
// @name Copy and move support
7070
ApplicationsClient(ApplicationsClient const&) = default;
7171
ApplicationsClient& operator=(ApplicationsClient const&) = default;
7272
ApplicationsClient(ApplicationsClient&&) = default;
7373
ApplicationsClient& operator=(ApplicationsClient&&) = default;
74-
//@}
74+
///@}
7575

76-
//@{
76+
///@{
7777
// @name Equality
7878
friend bool operator==(ApplicationsClient const& a,
7979
ApplicationsClient const& b) {
@@ -83,7 +83,7 @@ class ApplicationsClient {
8383
ApplicationsClient const& b) {
8484
return !(a == b);
8585
}
86-
//@}
86+
///@}
8787

8888
///
8989
/// Gets information about an application.

google/cloud/appengine/authorized_certificates_client.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,17 @@ class AuthorizedCertificatesClient {
6666
Options opts = {});
6767
~AuthorizedCertificatesClient();
6868

69-
//@{
69+
///@{
7070
// @name Copy and move support
7171
AuthorizedCertificatesClient(AuthorizedCertificatesClient const&) = default;
7272
AuthorizedCertificatesClient& operator=(AuthorizedCertificatesClient const&) =
7373
default;
7474
AuthorizedCertificatesClient(AuthorizedCertificatesClient&&) = default;
7575
AuthorizedCertificatesClient& operator=(AuthorizedCertificatesClient&&) =
7676
default;
77-
//@}
77+
///@}
7878

79-
//@{
79+
///@{
8080
// @name Equality
8181
friend bool operator==(AuthorizedCertificatesClient const& a,
8282
AuthorizedCertificatesClient const& b) {
@@ -86,7 +86,7 @@ class AuthorizedCertificatesClient {
8686
AuthorizedCertificatesClient const& b) {
8787
return !(a == b);
8888
}
89-
//@}
89+
///@}
9090

9191
///
9292
/// Lists all SSL certificates the user is authorized to administer.

0 commit comments

Comments
 (0)