Skip to content
Permalink
Browse files
feat(tpu): start generating apiv1 (#4199)
  • Loading branch information
codyoss committed Jun 2, 2021
1 parent f97bdfa commit cac48eab960cd34cc20732f6a1aeb93c540a036b
Showing with 1,612 additions and 0 deletions.
  1. +9 −0 internal/.repo-metadata-full.json
  2. +9 −0 internal/gapicgen/generator/config.go
  3. +118 −0 tpu/apiv1/doc.go
  4. +73 −0 tpu/apiv1/gapic_metadata.json
  5. +1,114 −0 tpu/apiv1/tpu_client.go
  6. +289 −0 tpu/apiv1/tpu_client_example_test.go
@@ -1232,6 +1232,15 @@
"release_level": "ga",
"library_type": ""
},
"cloud.google.com/go/tpu/apiv1": {
"distribution_name": "cloud.google.com/go/tpu/apiv1",
"description": "Cloud TPU API",
"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",
"library_type": ""
},
"cloud.google.com/go/trace/apiv1": {
"distribution_name": "cloud.google.com/go/trace/apiv1",
"description": "Stackdriver Trace API",
@@ -1125,6 +1125,15 @@ var microgenGapicConfigs = []*microgenConfig{
apiServiceConfigPath: "google/cloud/privatecatalog/v1beta1/cloudprivatecatalog_v1beta1.yaml",
releaseLevel: "beta",
},
{
inputDirectoryPath: "google/cloud/tpu/v1",
pkg: "tpu",
importPath: "cloud.google.com/go/tpu/apiv1",
gRPCServiceConfigPath: "google/cloud/tpu/v1/tpu_grpc_service_config.json",
apiServiceConfigPath: "google/cloud/tpu/v1/tpu_v1.yaml",
// GA after 2021/07/02
releaseLevel: "beta",
},

// Non-Cloud APIs
{

Some generated files are not rendered by default. Learn more.

@@ -0,0 +1,73 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods.",
"language": "go",
"protoPackage": "google.cloud.tpu.v1",
"libraryPackage": "cloud.google.com/go/tpu/apiv1",
"services": {
"Tpu": {
"clients": {
"grpc": {
"libraryClient": "Client",
"rpcs": {
"CreateNode": {
"methods": [
"CreateNode"
]
},
"DeleteNode": {
"methods": [
"DeleteNode"
]
},
"GetAcceleratorType": {
"methods": [
"GetAcceleratorType"
]
},
"GetNode": {
"methods": [
"GetNode"
]
},
"GetTensorFlowVersion": {
"methods": [
"GetTensorFlowVersion"
]
},
"ListAcceleratorTypes": {
"methods": [
"ListAcceleratorTypes"
]
},
"ListNodes": {
"methods": [
"ListNodes"
]
},
"ListTensorFlowVersions": {
"methods": [
"ListTensorFlowVersions"
]
},
"ReimageNode": {
"methods": [
"ReimageNode"
]
},
"StartNode": {
"methods": [
"StartNode"
]
},
"StopNode": {
"methods": [
"StopNode"
]
}
}
}
}
}
}
}
Loading

0 comments on commit cac48ea

Please sign in to comment.