Skip to content

Commit

Permalink
feat(recaptchaenterprise/v2): Release breaking changes as v2 module (#…
Browse files Browse the repository at this point in the history
…6062)

BREAKING CHANGE: parent changed to project in googleapis/go-genproto#808
  • Loading branch information
quartzmo committed May 23, 2022
1 parent da99e5f commit 1266896
Show file tree
Hide file tree
Showing 15 changed files with 2,075 additions and 13 deletions.
16 changes: 8 additions & 8 deletions internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -1187,22 +1187,22 @@
"release_level": "ga",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/recaptchaenterprise/apiv1": {
"distribution_name": "cloud.google.com/go/recaptchaenterprise/apiv1",
"cloud.google.com/go/recaptchaenterprise/apiv1beta1": {
"distribution_name": "cloud.google.com/go/recaptchaenterprise/apiv1beta1",
"description": "reCAPTCHA Enterprise API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/recaptchaenterprise/latest/apiv1",
"release_level": "ga",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/recaptchaenterprise/latest/apiv1beta1",
"release_level": "beta",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/recaptchaenterprise/apiv1beta1": {
"distribution_name": "cloud.google.com/go/recaptchaenterprise/apiv1beta1",
"cloud.google.com/go/recaptchaenterprise/v2/apiv1": {
"distribution_name": "cloud.google.com/go/recaptchaenterprise/v2/apiv1",
"description": "reCAPTCHA Enterprise API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/recaptchaenterprise/latest/apiv1beta1",
"release_level": "beta",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/recaptchaenterprise/latest/v2/apiv1",
"release_level": "ga",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/recommendationengine/apiv1beta1": {
Expand Down
2 changes: 1 addition & 1 deletion internal/gapicgen/generator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
{
InputDirectoryPath: "google/cloud/recaptchaenterprise/v1",
Pkg: "recaptchaenterprise",
ImportPath: "cloud.google.com/go/recaptchaenterprise/apiv1",
ImportPath: "cloud.google.com/go/recaptchaenterprise/v2/apiv1",
GRPCServiceConfigPath: "recaptchaenterprise_grpc_service_config.json",
ApiServiceConfigPath: "recaptchaenterprise_v1.yaml",
ReleaseLevel: "ga",
Expand Down
7 changes: 4 additions & 3 deletions internal/gapicgen/generator/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ var apivExceptions = map[string]bool{
}

var packagePathExceptions = map[string]bool{
"cloud.google.com/go/longrunning/autogen": true,
"cloud.google.com/go/firestore/apiv1/admin": true,
"cloud.google.com/go/storage/internal/apiv2": true,
"cloud.google.com/go/longrunning/autogen": true,
"cloud.google.com/go/firestore/apiv1/admin": true,
"cloud.google.com/go/recaptchaenterprise/v2/apiv1": true,
"cloud.google.com/go/storage/internal/apiv2": true,
}

// TestMicrogenConfigs validates config entries.
Expand Down
2 changes: 2 additions & 0 deletions internal/gapicgen/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,8 @@ google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2I
google.golang.org/genproto v0.0.0-20220405205423-9d709892a2bf/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3 h1:q1kiSVscqoDeqTF27eQ2NnLLDmqF0I373qQNXYMy0fo=
google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd h1:e0TwkXOdbnH/1x5rc5MZ/VYyiZ4v+RdVfrGMqEwT68I=
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
Expand Down
46 changes: 46 additions & 0 deletions recaptchaenterprise/v2/CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Changes

### [1.3.1](https://github.com/googleapis/google-cloud-go/compare/recaptchaenterprise/v1.3.0...recaptchaenterprise/v1.3.1) (2022-05-03)


### Bug Fixes

* **recaptchaenterprise:** remove key management API feat: introduced Reason, PasswordLeakVerification, AccountDefenderAssessment ([380529e](https://github.com/googleapis/google-cloud-go/commit/380529ef939c7019458b2dda2b789770376aff19))

## [1.3.0](https://github.com/googleapis/google-cloud-go/compare/recaptchaenterprise/v1.2.0...recaptchaenterprise/v1.3.0) (2022-02-23)


### Features

* **recaptchaenterprise:** set versionClient to module version ([55f0d92](https://github.com/googleapis/google-cloud-go/commit/55f0d92bf112f14b024b4ab0076c9875a17423c9))

## [1.2.0](https://github.com/googleapis/google-cloud-go/compare/recaptchaenterprise/v1.1.0...recaptchaenterprise/v1.2.0) (2022-02-14)


### Features

* **recaptchaenterprise:** add file for tracking version ([17b36ea](https://github.com/googleapis/google-cloud-go/commit/17b36ead42a96b1a01105122074e65164357519e))

## [1.1.0](https://www.github.com/googleapis/google-cloud-go/compare/recaptchaenterprise/v1.0.0...recaptchaenterprise/v1.1.0) (2022-01-04)


### Features

* **recaptchaenterprise:** add new reCAPTCHA Enterprise fraud annotations ([3dd34a2](https://www.github.com/googleapis/google-cloud-go/commit/3dd34a262edbff63b9aece8faddc2ff0d98ce42a))
* **recaptchaenterprise:** add reCAPTCHA Enterprise account defender API methods ([88a1cdb](https://www.github.com/googleapis/google-cloud-go/commit/88a1cdbef3cc337354a61bc9276725bfb9a686d8))

## 1.0.0

Stabilize GA surface.

## [0.2.0](https://www.github.com/googleapis/google-cloud-go/compare/recaptchaenterprise/v0.1.0...recaptchaenterprise/v0.2.0) (2021-09-18)


### Features

* **recaptchaenterprise:** add GetMetrics and MigrateKey methods to reCAPTCHA enterprise API ([829f15a](https://www.github.com/googleapis/google-cloud-go/commit/829f15a01da2a564a05ee980b994c56d9fad9c95))

## v0.1.0

This is the first tag to carve out recaptchaenterprise as its own module. See
[Add a module to a multi-module repository](https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository).
40 changes: 40 additions & 0 deletions recaptchaenterprise/v2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# reCAPTCHA Enterprise API

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

Go Client Library for reCAPTCHA Enterprise API.

## Install

```bash
go get cloud.google.com/go/recaptchaenterprise/v2
```

## 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).

## 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.
157 changes: 157 additions & 0 deletions recaptchaenterprise/v2/apiv1/doc.go

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

78 changes: 78 additions & 0 deletions recaptchaenterprise/v2/apiv1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods.",
"language": "go",
"protoPackage": "google.cloud.recaptchaenterprise.v1",
"libraryPackage": "cloud.google.com/go/recaptchaenterprise/v2/apiv1",
"services": {
"RecaptchaEnterpriseService": {
"clients": {
"grpc": {
"libraryClient": "Client",
"rpcs": {
"AnnotateAssessment": {
"methods": [
"AnnotateAssessment"
]
},
"CreateAssessment": {
"methods": [
"CreateAssessment"
]
},
"CreateKey": {
"methods": [
"CreateKey"
]
},
"DeleteKey": {
"methods": [
"DeleteKey"
]
},
"GetKey": {
"methods": [
"GetKey"
]
},
"GetMetrics": {
"methods": [
"GetMetrics"
]
},
"ListKeys": {
"methods": [
"ListKeys"
]
},
"ListRelatedAccountGroupMemberships": {
"methods": [
"ListRelatedAccountGroupMemberships"
]
},
"ListRelatedAccountGroups": {
"methods": [
"ListRelatedAccountGroups"
]
},
"MigrateKey": {
"methods": [
"MigrateKey"
]
},
"SearchRelatedAccountGroupMemberships": {
"methods": [
"SearchRelatedAccountGroupMemberships"
]
},
"UpdateKey": {
"methods": [
"UpdateKey"
]
}
}
}
}
}
}
}
Loading

0 comments on commit 1266896

Please sign in to comment.