-
Notifications
You must be signed in to change notification settings - Fork 440
feat(datacatalog): generate lineage configmanagement library #16069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
scotthart
merged 6 commits into
googleapis:main
from
scotthart:feat-datacatalog-lineage-configmanagement-generate-library
Apr 7, 2026
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
95375ba
feat(datacatalog): generate lineage configmanagement library
scotthart 52e86bf
Run generators and format their outputs
scotthart c7119d5
Add API baseline
scotthart 388f77d
Manually update READMEs, quickstart, and top-level stuff
scotthart 7b15a9a
formatting
scotthart 8adc526
update changelog format
scotthart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+74.6 KB
(110%)
ci/abi-dumps/google_cloud_cpp_datacatalog.expected.abi.dump.gz
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
google/cloud/datacatalog/lineage/configmanagement/v1/.repo-metadata.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "api_id": "datalineage.googleapis.com", | ||
| "api_shortname": "datalineage", | ||
| "client_documentation": "https://cloud.google.com/cpp/docs/reference/datacatalog/latest", | ||
| "distribution_name": "google-cloud-cpp", | ||
| "issue_tracker": "https://issuetracker.google.com/issues?q=componentid:1530027%20status=open", | ||
| "language": "cpp", | ||
| "library_type": "GAPIC_AUTO", | ||
| "name_pretty": "Data Lineage API", | ||
| "product_documentation": "https://cloud.google.com/dataplex/docs/about-data-lineage", | ||
| "release_level": "stable", | ||
| "repo": "googleapis/google-cloud-cpp", | ||
| "requires_billing": true | ||
| } |
141 changes: 141 additions & 0 deletions
141
google/cloud/datacatalog/lineage/configmanagement/v1/config_management_client.cc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,141 @@ | ||
| // Copyright 2026 Google LLC | ||
| // | ||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // https://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| // Generated by the Codegen C++ plugin. | ||
| // If you make any local changes, they will be lost. | ||
| // source: | ||
| // google/cloud/datacatalog/lineage/configmanagement/v1/configmanagement.proto | ||
|
|
||
| #include "google/cloud/datacatalog/lineage/configmanagement/v1/config_management_client.h" | ||
| #include <memory> | ||
| #include <utility> | ||
|
|
||
| namespace google { | ||
| namespace cloud { | ||
| namespace datacatalog_lineage_configmanagement_v1 { | ||
| GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN | ||
|
|
||
| ConfigManagementServiceClient::ConfigManagementServiceClient( | ||
| std::shared_ptr<ConfigManagementServiceConnection> connection, Options opts) | ||
| : connection_(std::move(connection)), | ||
| options_( | ||
| internal::MergeOptions(std::move(opts), connection_->options())) {} | ||
| ConfigManagementServiceClient::~ConfigManagementServiceClient() = default; | ||
|
|
||
| StatusOr<google::cloud::datacatalog::lineage::configmanagement::v1::Config> | ||
| ConfigManagementServiceClient::GetConfig(std::string const& name, | ||
| Options opts) { | ||
| internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); | ||
| google::cloud::datacatalog::lineage::configmanagement::v1::GetConfigRequest | ||
| request; | ||
| request.set_name(name); | ||
| return connection_->GetConfig(request); | ||
| } | ||
|
|
||
| StatusOr<google::cloud::datacatalog::lineage::configmanagement::v1::Config> | ||
| ConfigManagementServiceClient::GetConfig( | ||
| google::cloud::datacatalog::lineage::configmanagement::v1:: | ||
| GetConfigRequest const& request, | ||
| Options opts) { | ||
| internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); | ||
| return connection_->GetConfig(request); | ||
| } | ||
|
|
||
| StatusOr<google::cloud::datacatalog::lineage::configmanagement::v1::Config> | ||
| ConfigManagementServiceClient::UpdateConfig( | ||
| google::cloud::datacatalog::lineage::configmanagement::v1::Config const& | ||
| config, | ||
| Options opts) { | ||
| internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); | ||
| google::cloud::datacatalog::lineage::configmanagement::v1::UpdateConfigRequest | ||
| request; | ||
| *request.mutable_config() = config; | ||
| return connection_->UpdateConfig(request); | ||
| } | ||
|
|
||
| StatusOr<google::cloud::datacatalog::lineage::configmanagement::v1::Config> | ||
| ConfigManagementServiceClient::UpdateConfig( | ||
| google::cloud::datacatalog::lineage::configmanagement::v1:: | ||
| UpdateConfigRequest const& request, | ||
| Options opts) { | ||
| internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); | ||
| return connection_->UpdateConfig(request); | ||
| } | ||
|
|
||
| StreamRange<google::longrunning::Operation> | ||
| ConfigManagementServiceClient::ListOperations(std::string const& name, | ||
| std::string const& filter, | ||
| Options opts) { | ||
| internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); | ||
| google::longrunning::ListOperationsRequest request; | ||
| request.set_name(name); | ||
| request.set_filter(filter); | ||
| return connection_->ListOperations(request); | ||
scotthart marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
|
|
||
| StreamRange<google::longrunning::Operation> | ||
| ConfigManagementServiceClient::ListOperations( | ||
| google::longrunning::ListOperationsRequest request, Options opts) { | ||
| internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); | ||
| return connection_->ListOperations(std::move(request)); | ||
| } | ||
|
|
||
| StatusOr<google::longrunning::Operation> | ||
| ConfigManagementServiceClient::GetOperation(std::string const& name, | ||
| Options opts) { | ||
| internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); | ||
| google::longrunning::GetOperationRequest request; | ||
| request.set_name(name); | ||
| return connection_->GetOperation(request); | ||
| } | ||
|
|
||
| StatusOr<google::longrunning::Operation> | ||
| ConfigManagementServiceClient::GetOperation( | ||
| google::longrunning::GetOperationRequest const& request, Options opts) { | ||
| internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); | ||
| return connection_->GetOperation(request); | ||
| } | ||
|
|
||
| Status ConfigManagementServiceClient::DeleteOperation(std::string const& name, | ||
| Options opts) { | ||
| internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); | ||
| google::longrunning::DeleteOperationRequest request; | ||
| request.set_name(name); | ||
| return connection_->DeleteOperation(request); | ||
| } | ||
|
|
||
| Status ConfigManagementServiceClient::DeleteOperation( | ||
| google::longrunning::DeleteOperationRequest const& request, Options opts) { | ||
| internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); | ||
| return connection_->DeleteOperation(request); | ||
| } | ||
|
|
||
| Status ConfigManagementServiceClient::CancelOperation(std::string const& name, | ||
| Options opts) { | ||
| internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); | ||
| google::longrunning::CancelOperationRequest request; | ||
| request.set_name(name); | ||
| return connection_->CancelOperation(request); | ||
| } | ||
|
|
||
| Status ConfigManagementServiceClient::CancelOperation( | ||
| google::longrunning::CancelOperationRequest const& request, Options opts) { | ||
| internal::OptionsSpan span(internal::MergeOptions(std::move(opts), options_)); | ||
| return connection_->CancelOperation(request); | ||
| } | ||
|
|
||
| GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END | ||
| } // namespace datacatalog_lineage_configmanagement_v1 | ||
| } // namespace cloud | ||
| } // namespace google | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.