Skip to content

Commit

Permalink
feat(workstations): start generating apiv1beta (#7599)
Browse files Browse the repository at this point in the history
  • Loading branch information
quartzmo authored Mar 20, 2023
1 parent 00fff3a commit e3d6afe
Show file tree
Hide file tree
Showing 18 changed files with 12,087 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .release-please-manifest-submodules.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,6 @@
"vpcaccess": "1.6.0",
"webrisk": "1.8.0",
"websecurityscanner": "1.5.0",
"workflows": "1.10.0"
"workflows": "1.10.0",
"workstations": "0.0.0"
}
9 changes: 9 additions & 0 deletions internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -2050,5 +2050,14 @@
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/workflows/latest/executions/apiv1beta",
"release_level": "beta",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/workstations/apiv1beta": {
"distribution_name": "cloud.google.com/go/workstations/apiv1beta",
"description": "Cloud Workstations API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/workstations/latest/apiv1beta",
"release_level": "beta",
"library_type": "GAPIC_AUTO"
}
}
4 changes: 4 additions & 0 deletions internal/aliasfix/mappings.go
Original file line number Diff line number Diff line change
Expand Up @@ -898,4 +898,8 @@ var GenprotoPkgMigration map[string]Pkg = map[string]Pkg{
ImportPath: "cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb",
Status: StatusMigrated,
},
"google.golang.org/genproto/googleapis/cloud/workstations/v1beta": {
ImportPath: "cloud.google.com/go/workstations/apiv1beta/workstationspb",
Status: StatusMigrated,
},
}
8 changes: 8 additions & 0 deletions internal/gapicgen/generator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2042,6 +2042,14 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
// GA after 2023/04/01
ReleaseLevel: "beta",
},
{
InputDirectoryPath: "google/cloud/workstations/v1beta",
Pkg: "workstations",
ImportPath: "cloud.google.com/go/workstations/apiv1beta",
GRPCServiceConfigPath: "workstations_grpc_service_config.json",
ApiServiceConfigPath: "workstations_v1beta.yaml",
ReleaseLevel: "beta",
},

// Non-Cloud APIs
{
Expand Down
2 changes: 1 addition & 1 deletion internal/gapicgen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ require (
golang.org/x/sys v0.5.0 // indirect
golang.org/x/tools v0.6.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230301171018-9ab4bdc49ad5 // indirect
google.golang.org/genproto v0.0.0-20230320184635-7606e756e683 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
Expand Down
4 changes: 2 additions & 2 deletions internal/gapicgen/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/genproto v0.0.0-20230301171018-9ab4bdc49ad5 h1:/cadn7taPtPlCgiWNetEPsle7jgnlad2R7gR5MXB6dM=
google.golang.org/genproto v0.0.0-20230301171018-9ab4bdc49ad5/go.mod h1:TvhZT5f700eVlTNwND1xoEZQeWTB2RY/65kplwl/bFA=
google.golang.org/genproto v0.0.0-20230320184635-7606e756e683 h1:khxVcsk/FhnzxMKOyD+TDGwjbEOpcPuIpmafPGFmhMA=
google.golang.org/genproto v0.0.0-20230320184635-7606e756e683/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s=
google.golang.org/grpc v1.53.0 h1:LAv2ds7cmFV/XTS3XG1NneeENYrXGmorPxsBbptIjNc=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
Expand Down
3 changes: 3 additions & 0 deletions release-please-config-yoshi-submodules.json
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,9 @@
},
"workflows": {
"component": "workflows"
},
"workstations": {
"component": "workstations"
}
},
"plugins": ["sentence-case"]
Expand Down
1 change: 1 addition & 0 deletions workstations/CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Changes
44 changes: 44 additions & 0 deletions workstations/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Cloud Workstations API

[![Go Reference](https://pkg.go.dev/badge/cloud.google.com/go/workstations.svg)](https://pkg.go.dev/cloud.google.com/go/workstations)

Go Client Library for Cloud Workstations API.

## Install

```bash
go get cloud.google.com/go/workstations
```

## Stability

The stability of this module is indicated by SemVer.

However, a `v1+` module may have breaking changes in two scenarios:

* Packages with `alpha` or `beta` in the import path
* The GoDoc has an explicit stability disclaimer (for example, for an experimental feature).

## Google Cloud Samples

To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples?l=go).

## Go Version Support

See the [Go Versions Supported](https://github.com/googleapis/google-cloud-go#go-versions-supported)
section in the root directory's README.

## Authorization

See the [Authorization](https://github.com/googleapis/google-cloud-go#authorization)
section in the root directory's README.

## Contributing

Contributions are welcome. Please, see the [CONTRIBUTING](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/main/CONTRIBUTING.md)
document for details.

Please note that this project is released with a Contributor Code of Conduct.
By participating in this project you agree to abide by its terms. See
[Contributor Code of Conduct](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/main/CONTRIBUTING.md#contributor-code-of-conduct)
for more information.
193 changes: 193 additions & 0 deletions workstations/apiv1beta/doc.go

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

Loading

0 comments on commit e3d6afe

Please sign in to comment.