Skip to content

Commit

Permalink
cleanup(generator): Add missing deprecation tag (#14559)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuiy0006 authored Jul 24, 2024
1 parent 867f021 commit 424ca3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions generator/internal/client_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ R"""( std::unique_ptr<::google::cloud::AsyncStreamingReadWriteRpc<
{method_string},
{"\n"},
{FormatStartMethodComments(is_method_deprecated)},
{deprecation_macro},
{IsResponseTypeEmpty,
// clang-format off
" Status\n",
Expand Down
1 change: 1 addition & 0 deletions google/cloud/securitycenter/v1/security_center_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -2162,6 +2162,7 @@ class SecurityCenterClient {
/// [`NoAwaitTag`]: @ref google::cloud::NoAwaitTag
///
// clang-format on
GOOGLE_CLOUD_CPP_DEPRECATED("This RPC is deprecated.")
StatusOr<google::longrunning::Operation> RunAssetDiscovery(
ExperimentalTag, NoAwaitTag, std::string const& parent,
Options opts = {});
Expand Down

0 comments on commit 424ca3c

Please sign in to comment.