Skip to content

Commit

Permalink
regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolduc committed Jul 15, 2024
1 parent 9a02021 commit 41bccfb
Show file tree
Hide file tree
Showing 22 changed files with 1,546 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ change instances of `EXPECT_CALL(*mock, Method)` to
We are happy to announce the following GA libraries. Unless specifically noted,
the APIs in these libraries are stable, and are ready for production use.

- [Developer Connect API](/google/cloud/developerconnect/README.md)
- [Managed Kafka API](/google/cloud/managedkafka/README.md)

### Updated Libraries
Expand Down Expand Up @@ -130,7 +131,6 @@ the APIs in these libraries are stable, and are ready for production use.
We are happy to announce the following GA libraries. Unless specifically noted,
the APIs in these libraries are stable, and are ready for production use.

- [Developer Connect API](/google/cloud/developerconnect/README.md)
- [Public Certificate Authority API](/google/cloud/publicca/README.md)

### Updated Libraries
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ request and response. Unless you have configured your own logging backend,
you should also set `GOOGLE_CLOUD_CPP_ENABLE_CLOG` to produce any output on
the program's console.

@see google::cloud::TracingComponentsOption
@see google::cloud::LoggingComponentsOption

`GOOGLE_CLOUD_CPP_TRACING_OPTIONS=...`: modifies the behavior of gRPC tracing,
including whether messages will be output on multiple lines, or whether
Expand Down
156 changes: 156 additions & 0 deletions google/cloud/developerconnect/v1/developer_connect_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,20 @@ DeveloperConnectClient::CreateConnection(
return connection_->CreateConnection(request);
}

StatusOr<google::longrunning::Operation>
DeveloperConnectClient::CreateConnection(
ExperimentalTag, NoAwaitTag, std::string const& parent,
google::cloud::developerconnect::v1::Connection const& connection,
std::string const& connection_id, Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
google::cloud::developerconnect::v1::CreateConnectionRequest request;
request.set_parent(parent);
*request.mutable_connection() = connection;
request.set_connection_id(connection_id);
return connection_->CreateConnection(ExperimentalTag{}, NoAwaitTag{},
request);
}

future<StatusOr<google::cloud::developerconnect::v1::Connection>>
DeveloperConnectClient::CreateConnection(
google::cloud::developerconnect::v1::CreateConnectionRequest const& request,
Expand All @@ -86,6 +100,24 @@ DeveloperConnectClient::CreateConnection(
return connection_->CreateConnection(request);
}

StatusOr<google::longrunning::Operation>
DeveloperConnectClient::CreateConnection(
ExperimentalTag, NoAwaitTag,
google::cloud::developerconnect::v1::CreateConnectionRequest const& request,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->CreateConnection(ExperimentalTag{}, NoAwaitTag{},
request);
}

future<StatusOr<google::cloud::developerconnect::v1::Connection>>
DeveloperConnectClient::CreateConnection(
ExperimentalTag, google::longrunning::Operation const& operation,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->CreateConnection(ExperimentalTag{}, operation);
}

future<StatusOr<google::cloud::developerconnect::v1::Connection>>
DeveloperConnectClient::UpdateConnection(
google::cloud::developerconnect::v1::Connection const& connection,
Expand All @@ -97,6 +129,19 @@ DeveloperConnectClient::UpdateConnection(
return connection_->UpdateConnection(request);
}

StatusOr<google::longrunning::Operation>
DeveloperConnectClient::UpdateConnection(
ExperimentalTag, NoAwaitTag,
google::cloud::developerconnect::v1::Connection const& connection,
google::protobuf::FieldMask const& update_mask, Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
google::cloud::developerconnect::v1::UpdateConnectionRequest request;
*request.mutable_connection() = connection;
*request.mutable_update_mask() = update_mask;
return connection_->UpdateConnection(ExperimentalTag{}, NoAwaitTag{},
request);
}

future<StatusOr<google::cloud::developerconnect::v1::Connection>>
DeveloperConnectClient::UpdateConnection(
google::cloud::developerconnect::v1::UpdateConnectionRequest const& request,
Expand All @@ -105,6 +150,24 @@ DeveloperConnectClient::UpdateConnection(
return connection_->UpdateConnection(request);
}

StatusOr<google::longrunning::Operation>
DeveloperConnectClient::UpdateConnection(
ExperimentalTag, NoAwaitTag,
google::cloud::developerconnect::v1::UpdateConnectionRequest const& request,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->UpdateConnection(ExperimentalTag{}, NoAwaitTag{},
request);
}

future<StatusOr<google::cloud::developerconnect::v1::Connection>>
DeveloperConnectClient::UpdateConnection(
ExperimentalTag, google::longrunning::Operation const& operation,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->UpdateConnection(ExperimentalTag{}, operation);
}

future<StatusOr<google::cloud::developerconnect::v1::OperationMetadata>>
DeveloperConnectClient::DeleteConnection(std::string const& name,
Options opts) {
Expand All @@ -114,6 +177,17 @@ DeveloperConnectClient::DeleteConnection(std::string const& name,
return connection_->DeleteConnection(request);
}

StatusOr<google::longrunning::Operation>
DeveloperConnectClient::DeleteConnection(ExperimentalTag, NoAwaitTag,
std::string const& name,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
google::cloud::developerconnect::v1::DeleteConnectionRequest request;
request.set_name(name);
return connection_->DeleteConnection(ExperimentalTag{}, NoAwaitTag{},
request);
}

future<StatusOr<google::cloud::developerconnect::v1::OperationMetadata>>
DeveloperConnectClient::DeleteConnection(
google::cloud::developerconnect::v1::DeleteConnectionRequest const& request,
Expand All @@ -122,6 +196,24 @@ DeveloperConnectClient::DeleteConnection(
return connection_->DeleteConnection(request);
}

StatusOr<google::longrunning::Operation>
DeveloperConnectClient::DeleteConnection(
ExperimentalTag, NoAwaitTag,
google::cloud::developerconnect::v1::DeleteConnectionRequest const& request,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->DeleteConnection(ExperimentalTag{}, NoAwaitTag{},
request);
}

future<StatusOr<google::cloud::developerconnect::v1::OperationMetadata>>
DeveloperConnectClient::DeleteConnection(
ExperimentalTag, google::longrunning::Operation const& operation,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->DeleteConnection(ExperimentalTag{}, operation);
}

future<StatusOr<google::cloud::developerconnect::v1::GitRepositoryLink>>
DeveloperConnectClient::CreateGitRepositoryLink(
std::string const& parent,
Expand All @@ -136,6 +228,21 @@ DeveloperConnectClient::CreateGitRepositoryLink(
return connection_->CreateGitRepositoryLink(request);
}

StatusOr<google::longrunning::Operation>
DeveloperConnectClient::CreateGitRepositoryLink(
ExperimentalTag, NoAwaitTag, std::string const& parent,
google::cloud::developerconnect::v1::GitRepositoryLink const&
git_repository_link,
std::string const& git_repository_link_id, Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
google::cloud::developerconnect::v1::CreateGitRepositoryLinkRequest request;
request.set_parent(parent);
*request.mutable_git_repository_link() = git_repository_link;
request.set_git_repository_link_id(git_repository_link_id);
return connection_->CreateGitRepositoryLink(ExperimentalTag{}, NoAwaitTag{},
request);
}

future<StatusOr<google::cloud::developerconnect::v1::GitRepositoryLink>>
DeveloperConnectClient::CreateGitRepositoryLink(
google::cloud::developerconnect::v1::CreateGitRepositoryLinkRequest const&
Expand All @@ -145,6 +252,25 @@ DeveloperConnectClient::CreateGitRepositoryLink(
return connection_->CreateGitRepositoryLink(request);
}

StatusOr<google::longrunning::Operation>
DeveloperConnectClient::CreateGitRepositoryLink(
ExperimentalTag, NoAwaitTag,
google::cloud::developerconnect::v1::CreateGitRepositoryLinkRequest const&
request,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->CreateGitRepositoryLink(ExperimentalTag{}, NoAwaitTag{},
request);
}

future<StatusOr<google::cloud::developerconnect::v1::GitRepositoryLink>>
DeveloperConnectClient::CreateGitRepositoryLink(
ExperimentalTag, google::longrunning::Operation const& operation,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->CreateGitRepositoryLink(ExperimentalTag{}, operation);
}

future<StatusOr<google::cloud::developerconnect::v1::OperationMetadata>>
DeveloperConnectClient::DeleteGitRepositoryLink(std::string const& name,
Options opts) {
Expand All @@ -154,6 +280,17 @@ DeveloperConnectClient::DeleteGitRepositoryLink(std::string const& name,
return connection_->DeleteGitRepositoryLink(request);
}

StatusOr<google::longrunning::Operation>
DeveloperConnectClient::DeleteGitRepositoryLink(ExperimentalTag, NoAwaitTag,
std::string const& name,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
google::cloud::developerconnect::v1::DeleteGitRepositoryLinkRequest request;
request.set_name(name);
return connection_->DeleteGitRepositoryLink(ExperimentalTag{}, NoAwaitTag{},
request);
}

future<StatusOr<google::cloud::developerconnect::v1::OperationMetadata>>
DeveloperConnectClient::DeleteGitRepositoryLink(
google::cloud::developerconnect::v1::DeleteGitRepositoryLinkRequest const&
Expand All @@ -163,6 +300,25 @@ DeveloperConnectClient::DeleteGitRepositoryLink(
return connection_->DeleteGitRepositoryLink(request);
}

StatusOr<google::longrunning::Operation>
DeveloperConnectClient::DeleteGitRepositoryLink(
ExperimentalTag, NoAwaitTag,
google::cloud::developerconnect::v1::DeleteGitRepositoryLinkRequest const&
request,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->DeleteGitRepositoryLink(ExperimentalTag{}, NoAwaitTag{},
request);
}

future<StatusOr<google::cloud::developerconnect::v1::OperationMetadata>>
DeveloperConnectClient::DeleteGitRepositoryLink(
ExperimentalTag, google::longrunning::Operation const& operation,
Options opts) {
internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_));
return connection_->DeleteGitRepositoryLink(ExperimentalTag{}, operation);
}

StreamRange<google::cloud::developerconnect::v1::GitRepositoryLink>
DeveloperConnectClient::ListGitRepositoryLinks(std::string const& parent,
Options opts) {
Expand Down
Loading

0 comments on commit 41bccfb

Please sign in to comment.