Skip to content

Commit

Permalink
feat(orgpolicy): start generating apiv2 (#3652)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss authored Feb 2, 2021
1 parent 9070c86 commit c103847
Show file tree
Hide file tree
Showing 5 changed files with 872 additions and 0 deletions.
8 changes: 8 additions & 0 deletions internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,14 @@
"docs_url": "https://pkg.go.dev/cloud.google.com/go/notebooks/apiv1beta1",
"release_level": "beta"
},
"cloud.google.com/go/orgpolicy/apiv2": {
"distribution_name": "cloud.google.com/go/orgpolicy/apiv2",
"description": "Organization Policy API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://pkg.go.dev/cloud.google.com/go/orgpolicy/apiv2",
"release_level": "beta"
},
"cloud.google.com/go/osconfig/agentendpoint/apiv1": {
"distribution_name": "cloud.google.com/go/osconfig/agentendpoint/apiv1",
"description": "OS Config API",
Expand Down
9 changes: 9 additions & 0 deletions internal/gapicgen/generator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,15 @@ var microgenGapicConfigs = []*microgenConfig{
// GA after 2021/03/01
releaseLevel: "beta",
},
{
inputDirectoryPath: "google/cloud/orgpolicy/v2",
pkg: "orgpolicy",
importPath: "cloud.google.com/go/orgpolicy/apiv2",
gRPCServiceConfigPath: "google/cloud/orgpolicy/v2/orgpolicy_grpc_service_config.json",
apiServiceConfigPath: "google/cloud/orgpolicy/v2/orgpolicy_v2.yaml",
// GA after 2021/03/02
releaseLevel: "beta",
},

// Non-Cloud APIs
{
Expand Down
117 changes: 117 additions & 0 deletions orgpolicy/apiv2/doc.go

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

Loading

0 comments on commit c103847

Please sign in to comment.