Skip to content

Commit

Permalink
feat(dlp/v2): generate library
Browse files Browse the repository at this point in the history
  • Loading branch information
coryan committed Jan 31, 2025
1 parent 4a1db19 commit 24a3ff2
Show file tree
Hide file tree
Showing 14 changed files with 36,520 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ revison = "revison"
corresponsing = "corresponsing"
# src/generated/devtools/cloudbuild/v2 has a typo, needs to be fixed upstream.
maching = "maching"
# src/generated/type say "Requestor", `typos` recommends `Requester`.
requestor = "requestor"
# src/generated/privacy/dlp/v2 has a typo, needs to be fixed upstream.
similiarly = "similiarly"
# src/generated/spanner/admin/database/v1 has a typo, needs to be fixed upstream.
intital = "intital"
# src/generated/type say "Requestor", `typos` recommends `Requester`.
requestor = "requestor"
18 changes: 18 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ members = [
"src/generated/monitoring/metricsscope/v1",
"src/generated/monitoring/v3",
"src/generated/openapi-validation",
"src/generated/privacy/dlp/v2",
"src/generated/rpc",
"src/generated/spanner/admin/database/v1",
"src/generated/spanner/admin/instance/v1",
Expand Down
21 changes: 21 additions & 0 deletions src/generated/privacy/dlp/v2/.sidekick.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2025 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.

[general]
language = 'rust'
specification-source = 'google/privacy/dlp/v2'
service-config = 'google/privacy/dlp/v2/dlp_v2.yaml'

[codec]
copyright-year = '2025'
43 changes: 43 additions & 0 deletions src/generated/privacy/dlp/v2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright 2025 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.
#
# Code generated by sidekick. DO NOT EDIT.

[package]
name = "gcp-sdk-privacy-dlp-v2"
version = "0.1.0"
description = "Google Cloud Client Libraries for Rust - Sensitive Data Protection (DLP)"
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true

[dependencies]
async-trait = { version = "0.1" }
bytes = { version = "1", features = ["serde"] }
gax = { version = "0.1", path = "../../../../../src/gax", package = "gcp-sdk-gax", features = ["unstable-sdk-client"] }
gtype = { version = "0.1", path = "../../../../../src/generated/type", package = "gcp-sdk-type" }
lazy_static = { version = "1" }
reqwest = { version = "0.12", features = ["json"] }
rpc = { version = "0.1", path = "../../../../../src/generated/rpc", package = "gcp-sdk-rpc" }
serde = { version = "1", features = ["serde_derive"] }
serde_json = { version = "1" }
serde_with = { version = "3", default-features = false, features = ["base64", "macros", "std"] }
tracing = { version = "0.1" }
wkt = { version = "0.1", path = "../../../../../src/wkt", package = "gcp-sdk-wkt" }

[features]
unstable-stream = ["gax/unstable-stream"]
22 changes: 22 additions & 0 deletions src/generated/privacy/dlp/v2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Google Cloud Client Libraries for Rust - Sensitive Data Protection (DLP)

<!-- Code generated by sidekick. DO NOT EDIT. -->

**WARNING:** this crate is under active development. We expect multiple breaking
changes in the upcoming releases. Testing is also incomplete, we do **not**
recommend that you use this crate in production. We welcome feedback about the
APIs, documentation, missing features, bugs, etc.

Discover and protect your sensitive data. A fully managed service designed
to help you discover, classify, and protect your valuable data assets with
ease.

## Quickstart

The main types to work with this crate are the clients:

* [DlpService](https://docs.rs/gcp-sdk-privacy-dlp-v2/latest/gcp_sdk_privacy_dlp_v2/client/struct.DlpService.html)

## More Information

* Read the [crate's documentation](https://docs.rs/gcp-sdk-privacy-dlp-v2/latest/gcp-sdk-privacy-dlp-v2)
Loading

0 comments on commit 24a3ff2

Please sign in to comment.