Skip to content
Permalink
Browse files
feat(cloudbuild): Start generating apiv1/v3 (#2830)
A recent [change](googleapis/googleapis@48ce887) has removed some apis from the surface of
apiv1/v2. As this is a breaking change, we need to start generating
sources under a new import path. A future commit will deprecated
the previous package.
  • Loading branch information
codyoss committed Sep 9, 2020
1 parent 2b0a5d9 commit 358a5368da64cf4868551652e852ceb453504f64
Showing with 2 additions and 1 deletion.
  1. +1 −1 internal/gapicgen/generator/config.go
  2. +1 −0 internal/gapicgen/generator/config_test.go
@@ -545,7 +545,7 @@ var microgenGapicConfigs = []*microgenConfig{
{
inputDirectoryPath: "google/devtools/cloudbuild/v1",
pkg: "cloudbuild",
importPath: "cloud.google.com/go/cloudbuild/apiv1/v2",
importPath: "cloud.google.com/go/cloudbuild/apiv1/v3",
gRPCServiceConfigPath: "google/devtools/cloudbuild/v1/cloudbuild_grpc_service_config.json",
apiServiceConfigPath: "google/devtools/cloudbuild/v1/cloudbuild_v1.yaml",
releaseLevel: "ga",
@@ -30,6 +30,7 @@ var apivExceptions = map[string]bool{
"cloud.google.com/go/firestore/apiv1/admin": true,
"cloud.google.com/go/cloudbuild/apiv1/v2": true,
"cloud.google.com/go/monitoring/apiv3/v2": true,
"cloud.google.com/go/cloudbuild/apiv1/v3": true,
}

// TestMicrogenConfigs validates config entries.

0 comments on commit 358a536

Please sign in to comment.