Skip to content

Commit

Permalink
feat(maps/addressvalidation): start generating apiv1 (#7012)
Browse files Browse the repository at this point in the history
  • Loading branch information
quartzmo authored Nov 10, 2022
1 parent bc008db commit 3e88250
Show file tree
Hide file tree
Showing 22 changed files with 3,839 additions and 3 deletions.
1 change: 1 addition & 0 deletions .release-please-manifest-submodules.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"lifesciences": "0.6.0",
"longrunning": "0.3.0",
"managedidentities": "1.4.0",
"maps": "0.0.0",
"mediatranslation": "0.6.0",
"memcache": "1.7.0",
"metastore": "1.8.0",
Expand Down
9 changes: 9 additions & 0 deletions internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,15 @@
"release_level": "ga",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/maps/addressvalidation/apiv1": {
"distribution_name": "cloud.google.com/go/maps/addressvalidation/apiv1",
"description": "Address Validation API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/maps/latest/addressvalidation/apiv1",
"release_level": "beta",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/mediatranslation/apiv1beta1": {
"distribution_name": "cloud.google.com/go/mediatranslation/apiv1beta1",
"description": "Media Translation API",
Expand Down
4 changes: 4 additions & 0 deletions internal/aliasfix/mappings.go
Original file line number Diff line number Diff line change
Expand Up @@ -834,4 +834,8 @@ var GenprotoPkgMigration map[string]Pkg = map[string]Pkg{
ImportPath: "cloud.google.com/go/dataform/apiv1beta1/dataformpb",
Status: StatusMigrated,
},
"google.golang.org/genproto/googleapis/maps/addressvalidation/v1": {
ImportPath: "cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb",
Status: StatusMigrated,
},
}
9 changes: 9 additions & 0 deletions internal/gapicgen/generator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1774,6 +1774,15 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
// GA after 2022/11/18
ReleaseLevel: "beta",
},
{
InputDirectoryPath: "google/maps/addressvalidation/v1",
Pkg: "addressvalidation",
ImportPath: "cloud.google.com/go/maps/addressvalidation/apiv1",
GRPCServiceConfigPath: "addressvalidation_grpc_service_config.json",
ApiServiceConfigPath: "addressvalidation_v1.yaml",
// GA after 2022/12/10
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 @@ -11,7 +11,7 @@ require (
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783
golang.org/x/sync v0.1.0
golang.org/x/sys v0.1.0
google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c
google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66
google.golang.org/protobuf v1.28.1
gopkg.in/src-d/go-git.v4 v4.13.1
gopkg.in/yaml.v2 v2.4.0
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-20221027153422-115e99e71e1c h1:QgY/XxIAIeccR+Ca/rDdKubLIU9rcJ3xfy1DC/Wd2Oo=
google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo=
google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66 h1:wx7sJ5GRBQLRcslTNcrTklsHhHevQvxgztW18txbbZM=
google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg=
google.golang.org/grpc v1.50.1 h1:DS/BukOZWp8s6p4Dt/tOaJaTQyPyOoCcrjroHuCeLzY=
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
1 change: 1 addition & 0 deletions maps/CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Changes
44 changes: 44 additions & 0 deletions maps/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Google Maps Platform APIs

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

Go Client Library for Google Maps Platform APIs.

## Install

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

## 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.
258 changes: 258 additions & 0 deletions maps/addressvalidation/apiv1/address_validation_client.go

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

Loading

0 comments on commit 3e88250

Please sign in to comment.