Skip to content

Commit

Permalink
feat: add the v1 API surface (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored Mar 25, 2020
1 parent 764b35f commit d0b7b0f
Show file tree
Hide file tree
Showing 23 changed files with 9,131 additions and 34 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-recaptchaenterprise/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019 Google LLC
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"product_documentation": "https://cloud.google.com/recaptcha-enterprise/docs/",
"client_documentation": "https://googleapis.dev/nodejs/recaptcha-enterprise/latest",
"issue_tracker": "",
"release_level": "beta",
"release_level": "ga",
"language": "nodejs",
"repo": "googleapis/nodejs-recaptcha-enterprise",
"distribution_name": "@google-cloud/recaptcha-enterprise",
Expand Down
15 changes: 8 additions & 7 deletions packages/google-cloud-recaptchaenterprise/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# [Google Cloud reCAPTCHA Enterprise: Node.js Client](https://github.com/googleapis/nodejs-recaptcha-enterprise)

[![release level](https://img.shields.io/badge/release%20level-beta-yellow.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
[![release level](https://img.shields.io/badge/release%20level-general%20availability%20%28GA%29-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
[![npm version](https://img.shields.io/npm/v/@google-cloud/recaptcha-enterprise.svg)](https://www.npmjs.org/package/@google-cloud/recaptcha-enterprise)
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-recaptcha-enterprise/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-recaptcha-enterprise)

Expand Down Expand Up @@ -62,9 +62,9 @@ npm install @google-cloud/recaptcha-enterprise
async function main(projectNumber) {
// Create the reCAPTCHA client library.
const {
RecaptchaEnterpriseServiceV1Beta1Client,
RecaptchaEnterpriseServiceClient,
} = require('@google-cloud/recaptcha-enterprise');
const client = new RecaptchaEnterpriseServiceV1Beta1Client();
const client = new RecaptchaEnterpriseServiceClient();

// format the path to the project (it should be prefaced with projects/).
const formattedParent = client.projectPath(projectNumber);
Expand Down Expand Up @@ -124,11 +124,12 @@ _Legacy Node.js versions are supported as a best effort:_
This library follows [Semantic Versioning](http://semver.org/).


This library is considered to be **General Availability (GA)**. This means it
is stable; the code surface will not change in backwards-incompatible ways
unless absolutely necessary (e.g. because of critical security issues) or with
an extensive deprecation period. Issues and requests against **GA** libraries
are addressed with the highest priority.

This library is considered to be in **beta**. This means it is expected to be
mostly stable while we work toward a general availability release; however,
complete stability is not guaranteed. We will address issues and requests
against beta libraries with a high priority.



Expand Down
Loading

0 comments on commit d0b7b0f

Please sign in to comment.