Skip to content

Commit

Permalink
feat: add cloud sql instances and metric clients from google protobuf…
Browse files Browse the repository at this point in the history
… specs
  • Loading branch information
Fadhil committed Jan 26, 2024
1 parent e5cb8c5 commit 7ae3d69
Show file tree
Hide file tree
Showing 4 changed files with 6,097 additions and 4 deletions.
18 changes: 14 additions & 4 deletions sdk/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,20 @@ fn main() {
.build_server(false)
.out_dir("src/services/gcloud/api") // you can change the generated code's location
.compile(
&[format!(
"{}/proto/googleapis/google/logging/v2/logging.proto",
cargo_manifest_dir
)],
&[
format!(
"{}/proto/googleapis/google/logging/v2/logging.proto",
cargo_manifest_dir
),
format!(
"{}/proto/googleapis/google/cloud/sql/v1/cloud_sql_instances.proto",
cargo_manifest_dir
),
format!(
"{}/proto/googleapis/google/monitoring/v3/metric.proto",
cargo_manifest_dir
),
],
&[format!("{}/proto/googleapis", cargo_manifest_dir)], // specify the root location to search proto dependencies
)
.unwrap();
Expand Down
Loading

0 comments on commit 7ae3d69

Please sign in to comment.