Skip to content

Commit

Permalink
chore: bulk gen (#4420)
Browse files Browse the repository at this point in the history
Changes:

feat(networkmanagment): start generating apiv1

feat(video/transcoder): start generating apiv1

chore: promote libs to GA
  • Loading branch information
codyoss authored Jul 12, 2021
1 parent 4638e17 commit 907592c
Show file tree
Hide file tree
Showing 10 changed files with 2,105 additions and 18 deletions.
30 changes: 24 additions & 6 deletions internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/latest/aiplatform/apiv1",
"release_level": "beta",
"release_level": "ga",
"library_type": ""
},
"cloud.google.com/go/analytics/admin/apiv1alpha": {
Expand Down Expand Up @@ -50,7 +50,7 @@
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/latest/apigeeconnect/apiv1",
"release_level": "beta",
"release_level": "ga",
"library_type": ""
},
"cloud.google.com/go/appengine/apiv1": {
Expand Down Expand Up @@ -635,7 +635,7 @@
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/latest/gsuiteaddons/apiv1",
"release_level": "beta",
"release_level": "ga",
"library_type": ""
},
"cloud.google.com/go/iam": {
Expand Down Expand Up @@ -818,6 +818,15 @@
"release_level": "alpha",
"library_type": ""
},
"cloud.google.com/go/networkmanagement/apiv1": {
"distribution_name": "cloud.google.com/go/networkmanagement/apiv1",
"description": "Network Management API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/latest/networkmanagement/apiv1",
"release_level": "beta",
"library_type": ""
},
"cloud.google.com/go/notebooks/apiv1beta1": {
"distribution_name": "cloud.google.com/go/notebooks/apiv1beta1",
"description": "Notebooks API",
Expand Down Expand Up @@ -1211,7 +1220,7 @@
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/latest/shell/apiv1",
"release_level": "beta",
"release_level": "ga",
"library_type": ""
},
"cloud.google.com/go/spanner": {
Expand Down Expand Up @@ -1319,7 +1328,7 @@
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/latest/tpu/apiv1",
"release_level": "beta",
"release_level": "ga",
"library_type": ""
},
"cloud.google.com/go/trace/apiv1": {
Expand Down Expand Up @@ -1349,6 +1358,15 @@
"release_level": "ga",
"library_type": ""
},
"cloud.google.com/go/video/transcoder/apiv1": {
"distribution_name": "cloud.google.com/go/video/transcoder/apiv1",
"description": "Transcoder API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/latest/video/transcoder/apiv1",
"release_level": "beta",
"library_type": ""
},
"cloud.google.com/go/video/transcoder/apiv1beta1": {
"distribution_name": "cloud.google.com/go/video/transcoder/apiv1beta1",
"description": "Transcoder API",
Expand Down Expand Up @@ -1400,7 +1418,7 @@
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/latest/vpcaccess/apiv1",
"release_level": "beta",
"release_level": "ga",
"library_type": ""
},
"cloud.google.com/go/webrisk/apiv1": {
Expand Down
36 changes: 24 additions & 12 deletions internal/gapicgen/generator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,15 @@ var microgenGapicConfigs = []*microgenConfig{
apiServiceConfigPath: "billingbudgets.yaml",
releaseLevel: "beta",
},
{
inputDirectoryPath: "google/cloud/video/transcoder/v1",
pkg: "transcoder",
importPath: "cloud.google.com/go/video/transcoder/apiv1",
gRPCServiceConfigPath: "transcoder_grpc_service_config.json",
apiServiceConfigPath: "transcoder_v1.yaml",
// GA after 2021/08/12
releaseLevel: "beta",
},
{
inputDirectoryPath: "google/cloud/video/transcoder/v1beta1",
pkg: "transcoder",
Expand Down Expand Up @@ -1123,17 +1132,15 @@ var microgenGapicConfigs = []*microgenConfig{
importPath: "cloud.google.com/go/shell/apiv1",
gRPCServiceConfigPath: "cloudshell_grpc_service_config.json",
apiServiceConfigPath: "cloudshell_v1.yaml",
// GA after 2021/06/26
releaseLevel: "beta",
releaseLevel: "ga",
},
{
inputDirectoryPath: "google/cloud/vpcaccess/v1",
pkg: "vpcaccess",
importPath: "cloud.google.com/go/vpcaccess/apiv1",
gRPCServiceConfigPath: "vpcaccess_grpc_service_config.json",
apiServiceConfigPath: "vpcaccess_v1.yaml",
// GA after 2021/06/26
releaseLevel: "beta",
releaseLevel: "ga",
},
{
inputDirectoryPath: "google/cloud/privatecatalog/v1beta1",
Expand All @@ -1149,17 +1156,15 @@ var microgenGapicConfigs = []*microgenConfig{
importPath: "cloud.google.com/go/tpu/apiv1",
gRPCServiceConfigPath: "tpu_grpc_service_config.json",
apiServiceConfigPath: "tpu_v1.yaml",
// GA after 2021/07/02
releaseLevel: "beta",
releaseLevel: "ga",
},
{
inputDirectoryPath: "google/cloud/apigeeconnect/v1",
pkg: "apigeeconnect",
importPath: "cloud.google.com/go/apigeeconnect/apiv1",
gRPCServiceConfigPath: "connection_grpc_service_config.json",
apiServiceConfigPath: "apigeeconnect_v1.yaml",
// GA after 2021/07/03
releaseLevel: "beta",
releaseLevel: "ga",
},
{
inputDirectoryPath: "google/cloud/lifesciences/v2beta",
Expand All @@ -1175,8 +1180,7 @@ var microgenGapicConfigs = []*microgenConfig{
importPath: "cloud.google.com/go/aiplatform/apiv1",
gRPCServiceConfigPath: "aiplatform_grpc_service_config.json",
apiServiceConfigPath: "aiplatform_v1.yaml",
// GA after 2021/07/03
releaseLevel: "beta",
releaseLevel: "ga",
},
{
inputDirectoryPath: "google/cloud/gkeconnect/gateway/v1beta1",
Expand Down Expand Up @@ -1211,6 +1215,15 @@ var microgenGapicConfigs = []*microgenConfig{
// GA after 2021/07/30
releaseLevel: "beta",
},
{
inputDirectoryPath: "google/cloud/networkmanagement/v1",
pkg: "networkmanagement",
importPath: "cloud.google.com/go/networkmanagement/apiv1",
gRPCServiceConfigPath: "networkmanagement_grpc_service_config.json",
apiServiceConfigPath: "networkmanagement_v1.yaml",
// GA after 2021/08/12
releaseLevel: "beta",
},

// Non-Cloud APIs
{
Expand Down Expand Up @@ -1243,8 +1256,7 @@ var microgenGapicConfigs = []*microgenConfig{
importPath: "cloud.google.com/go/gsuiteaddons/apiv1",
gRPCServiceConfigPath: "gsuiteaddons_grpc_service_config.json",
apiServiceConfigPath: "gsuiteaddons_v1.yaml",
// GA after 2021/06/10
releaseLevel: "beta",
releaseLevel: "ga",
},
{
inputDirectoryPath: "google/storage/v1",
Expand Down
119 changes: 119 additions & 0 deletions networkmanagement/apiv1/doc.go

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

48 changes: 48 additions & 0 deletions networkmanagement/apiv1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods.",
"language": "go",
"protoPackage": "google.cloud.networkmanagement.v1",
"libraryPackage": "cloud.google.com/go/networkmanagement/apiv1",
"services": {
"ReachabilityService": {
"clients": {
"grpc": {
"libraryClient": "ReachabilityClient",
"rpcs": {
"CreateConnectivityTest": {
"methods": [
"CreateConnectivityTest"
]
},
"DeleteConnectivityTest": {
"methods": [
"DeleteConnectivityTest"
]
},
"GetConnectivityTest": {
"methods": [
"GetConnectivityTest"
]
},
"ListConnectivityTests": {
"methods": [
"ListConnectivityTests"
]
},
"RerunConnectivityTest": {
"methods": [
"RerunConnectivityTest"
]
},
"UpdateConnectivityTest": {
"methods": [
"UpdateConnectivityTest"
]
}
}
}
}
}
}
}
Loading

0 comments on commit 907592c

Please sign in to comment.