Skip to content

Commit 3e88250

Browse files
authored
feat(maps/addressvalidation): start generating apiv1 (#7012)
1 parent bc008db commit 3e88250

22 files changed

+3839
-3
lines changed

.release-please-manifest-submodules.json

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"lifesciences": "0.6.0",
6464
"longrunning": "0.3.0",
6565
"managedidentities": "1.4.0",
66+
"maps": "0.0.0",
6667
"mediatranslation": "0.6.0",
6768
"memcache": "1.7.0",
6869
"metastore": "1.8.0",

internal/.repo-metadata-full.json

+9
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,15 @@
10521052
"release_level": "ga",
10531053
"library_type": "GAPIC_AUTO"
10541054
},
1055+
"cloud.google.com/go/maps/addressvalidation/apiv1": {
1056+
"distribution_name": "cloud.google.com/go/maps/addressvalidation/apiv1",
1057+
"description": "Address Validation API",
1058+
"language": "Go",
1059+
"client_library_type": "generated",
1060+
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/maps/latest/addressvalidation/apiv1",
1061+
"release_level": "beta",
1062+
"library_type": "GAPIC_AUTO"
1063+
},
10551064
"cloud.google.com/go/mediatranslation/apiv1beta1": {
10561065
"distribution_name": "cloud.google.com/go/mediatranslation/apiv1beta1",
10571066
"description": "Media Translation API",

internal/aliasfix/mappings.go

+4
Original file line numberDiff line numberDiff line change
@@ -834,4 +834,8 @@ var GenprotoPkgMigration map[string]Pkg = map[string]Pkg{
834834
ImportPath: "cloud.google.com/go/dataform/apiv1beta1/dataformpb",
835835
Status: StatusMigrated,
836836
},
837+
"google.golang.org/genproto/googleapis/maps/addressvalidation/v1": {
838+
ImportPath: "cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb",
839+
Status: StatusMigrated,
840+
},
837841
}

internal/gapicgen/generator/config.go

+9
Original file line numberDiff line numberDiff line change
@@ -1774,6 +1774,15 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
17741774
// GA after 2022/11/18
17751775
ReleaseLevel: "beta",
17761776
},
1777+
{
1778+
InputDirectoryPath: "google/maps/addressvalidation/v1",
1779+
Pkg: "addressvalidation",
1780+
ImportPath: "cloud.google.com/go/maps/addressvalidation/apiv1",
1781+
GRPCServiceConfigPath: "addressvalidation_grpc_service_config.json",
1782+
ApiServiceConfigPath: "addressvalidation_v1.yaml",
1783+
// GA after 2022/12/10
1784+
ReleaseLevel: "beta",
1785+
},
17771786

17781787
// Non-Cloud APIs
17791788
{

internal/gapicgen/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783
1212
golang.org/x/sync v0.1.0
1313
golang.org/x/sys v0.1.0
14-
google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c
14+
google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66
1515
google.golang.org/protobuf v1.28.1
1616
gopkg.in/src-d/go-git.v4 v4.13.1
1717
gopkg.in/yaml.v2 v2.4.0

internal/gapicgen/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T
9898
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
9999
google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
100100
google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
101-
google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c h1:QgY/XxIAIeccR+Ca/rDdKubLIU9rcJ3xfy1DC/Wd2Oo=
102-
google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo=
101+
google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66 h1:wx7sJ5GRBQLRcslTNcrTklsHhHevQvxgztW18txbbZM=
102+
google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg=
103103
google.golang.org/grpc v1.50.1 h1:DS/BukOZWp8s6p4Dt/tOaJaTQyPyOoCcrjroHuCeLzY=
104104
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
105105
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=

maps/CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Changes

maps/README.md

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Google Maps Platform APIs
2+
3+
[![Go Reference](https://pkg.go.dev/badge/cloud.google.com/go/maps.svg)](https://pkg.go.dev/cloud.google.com/go/maps)
4+
5+
Go Client Library for Google Maps Platform APIs.
6+
7+
## Install
8+
9+
```bash
10+
go get cloud.google.com/go/maps
11+
```
12+
13+
## Stability
14+
15+
The stability of this module is indicated by SemVer.
16+
17+
However, a `v1+` module may have breaking changes in two scenarios:
18+
19+
* Packages with `alpha` or `beta` in the import path
20+
* The GoDoc has an explicit stability disclaimer (for example, for an experimental feature).
21+
22+
## Google Cloud Samples
23+
24+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples?l=go).
25+
26+
## Go Version Support
27+
28+
See the [Go Versions Supported](https://github.com/googleapis/google-cloud-go#go-versions-supported)
29+
section in the root directory's README.
30+
31+
## Authorization
32+
33+
See the [Authorization](https://github.com/googleapis/google-cloud-go#authorization)
34+
section in the root directory's README.
35+
36+
## Contributing
37+
38+
Contributions are welcome. Please, see the [CONTRIBUTING](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/main/CONTRIBUTING.md)
39+
document for details.
40+
41+
Please note that this project is released with a Contributor Code of Conduct.
42+
By participating in this project you agree to abide by its terms. See
43+
[Contributor Code of Conduct](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/main/CONTRIBUTING.md#contributor-code-of-conduct)
44+
for more information.

maps/addressvalidation/apiv1/address_validation_client.go

+258
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)