Skip to content

Commit

Permalink
Merge remote-tracking branch 'migration/main' into nodejs-service-usa…
Browse files Browse the repository at this point in the history
…ge-migration
  • Loading branch information
sofisl committed Nov 11, 2022
2 parents 5944688 + 3c017d6 commit a864d8b
Show file tree
Hide file tree
Showing 74 changed files with 77,768 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/google-api-serviceusage/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
samples/generated/
3 changes: 3 additions & 0 deletions packages/google-api-serviceusage/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/gts"
}
4 changes: 4 additions & 0 deletions packages/google-api-serviceusage/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.ts text eol=lf
*.js text eol=lf
protos/* linguist-generated
**/api-extractor.json linguist-language=JSON-with-Comments
23 changes: 23 additions & 0 deletions packages/google-api-serviceusage/.github/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest

deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/api/serviceusage/(.*)/.*-nodejs/(.*)
dest: /owl-bot-staging/$1/$2

14 changes: 14 additions & 0 deletions packages/google-api-serviceusage/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
**/*.log
**/node_modules
.coverage
coverage
.nyc_output
docs/
out/
build/
system-test/secrets.js
system-test/*key.json
*.lock
.DS_Store
package-lock.json
__pycache__
55 changes: 55 additions & 0 deletions packages/google-api-serviceusage/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **

'use strict';

module.exports = {
opts: {
readme: './README.md',
package: './package.json',
template: './node_modules/jsdoc-fresh',
recurse: true,
verbose: true,
destination: './docs/'
},
plugins: [
'plugins/markdown',
'jsdoc-region-tag'
],
source: {
excludePattern: '(^|\\/|\\\\)[._]',
include: [
'build/src',
'protos'
],
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2022 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/service-usage',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-api-serviceusage/.mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000,
"recursive": true
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
}
if (process.env.MOCHA_REPORTER) {
config.reporter = process.env.MOCHA_REPORTER;
}
if (process.env.MOCHA_REPORTER_OUTPUT) {
config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
}
module.exports = config
24 changes: 24 additions & 0 deletions packages/google-api-serviceusage/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"report-dir": "./.coverage",
"reporter": ["text", "lcov"],
"exclude": [
"**/*-test",
"**/.coverage",
"**/apis",
"**/benchmark",
"**/conformance",
"**/docs",
"**/samples",
"**/scripts",
"**/protos",
"**/test",
"**/*.d.ts",
".jsdoc.js",
"**/.jsdoc.js",
"karma.conf.js",
"webpack-tests.config.js",
"webpack.config.js"
],
"exclude-after-remap": false,
"all": true
}
6 changes: 6 additions & 0 deletions packages/google-api-serviceusage/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
17 changes: 17 additions & 0 deletions packages/google-api-serviceusage/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// 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.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

module.exports = {
...require('gts/.prettierrc.json')
}
16 changes: 16 additions & 0 deletions packages/google-api-serviceusage/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "service-usage",
"name_pretty": "Service Usage",
"product_documentation": "https://cloud.google.com/service-usage/",
"client_documentation": "https://cloud.google.com/service-usage/docs/overview",
"issue_tracker": "https://www.github.com/googleapis/nodejs-service-usage/issues",
"release_level": "stable",
"language": "nodejs",
"repo": "googleapis/nodejs-service-usage",
"distribution_name": "@google-cloud/service-usage",
"api_id": "serviceusage.googleapis.com",
"requires_billing": true,
"default_version": "v1",
"api_shortname": "serviceusage",
"library_type": "GAPIC_AUTO"
}
108 changes: 108 additions & 0 deletions packages/google-api-serviceusage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Changelog

## [2.1.2](https://github.com/googleapis/nodejs-service-usage/compare/v2.1.1...v2.1.2) (2022-11-11)


### Bug Fixes

* Allow passing gax instance to client constructor ([#110](https://github.com/googleapis/nodejs-service-usage/issues/110)) ([8120d5a](https://github.com/googleapis/nodejs-service-usage/commit/8120d5aa9d7bad7c712ee5abe2629a77820ccceb))
* **deps:** Use google-gax v3.5.2 ([#118](https://github.com/googleapis/nodejs-service-usage/issues/118)) ([605da4a](https://github.com/googleapis/nodejs-service-usage/commit/605da4a084da827dd69ce280a2e77866179c4938))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-service-usage/issues/1553)) ([#109](https://github.com/googleapis/nodejs-service-usage/issues/109)) ([700fd54](https://github.com/googleapis/nodejs-service-usage/commit/700fd54fde70143cb2dc10f8d9f810dafa3ac808))
* Preserve default values in x-goog-request-params header ([#112](https://github.com/googleapis/nodejs-service-usage/issues/112)) ([9d8d4c4](https://github.com/googleapis/nodejs-service-usage/commit/9d8d4c4fb2daace3210ec333e18a3f70f5f53c5a))
* Regenerated protos JS and TS definitions ([#121](https://github.com/googleapis/nodejs-service-usage/issues/121)) ([977373e](https://github.com/googleapis/nodejs-service-usage/commit/977373ecaadaaf8da2d22330ca2558fd052146b3))
* use google-gax v3.3.0 ([700fd54](https://github.com/googleapis/nodejs-service-usage/commit/700fd54fde70143cb2dc10f8d9f810dafa3ac808))

## [2.1.1](https://github.com/googleapis/nodejs-service-usage/compare/v2.1.0...v2.1.1) (2022-08-23)


### Bug Fixes

* better support for fallback mode ([#105](https://github.com/googleapis/nodejs-service-usage/issues/105)) ([9cf34e1](https://github.com/googleapis/nodejs-service-usage/commit/9cf34e15b2b7c2d259b5cc42052b913328e0071e))
* change import long to require ([#106](https://github.com/googleapis/nodejs-service-usage/issues/106)) ([4f574a0](https://github.com/googleapis/nodejs-service-usage/commit/4f574a04a9017fe5797afa28fda5f6b47e512bc0))
* remove pip install statements ([#1546](https://github.com/googleapis/nodejs-service-usage/issues/1546)) ([#108](https://github.com/googleapis/nodejs-service-usage/issues/108)) ([c49f10a](https://github.com/googleapis/nodejs-service-usage/commit/c49f10a089baef23b9cac55bed1dc8b8f94f9406))

## [2.1.0](https://github.com/googleapis/nodejs-service-usage/compare/v2.0.0...v2.1.0) (2022-06-30)


### Features

* support regapic LRO ([#98](https://github.com/googleapis/nodejs-service-usage/issues/98)) ([b433238](https://github.com/googleapis/nodejs-service-usage/commit/b433238b176cd86469c4951a0b43c5bdb00d4540))

## [2.0.0](https://github.com/googleapis/nodejs-service-usage/compare/v1.2.1...v2.0.0) (2022-05-20)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#92)

### Build System

* update library to use Node 12 ([#92](https://github.com/googleapis/nodejs-service-usage/issues/92)) ([9320ff9](https://github.com/googleapis/nodejs-service-usage/commit/9320ff9fa52529a0cb75992f446493fa36165484))

### [1.2.1](https://www.github.com/googleapis/nodejs-service-usage/compare/v1.2.0...v1.2.1) (2021-09-10)


### Bug Fixes

* **build:** set default branch to main ([#43](https://www.github.com/googleapis/nodejs-service-usage/issues/43)) ([1fb6128](https://www.github.com/googleapis/nodejs-service-usage/commit/1fb61286aa4822531057675439c8e702f10f2559))

## [1.2.0](https://www.github.com/googleapis/nodejs-service-usage/compare/v1.1.4...v1.2.0) (2021-08-23)


### Features

* turns on self-signed JWT feature flag ([#40](https://www.github.com/googleapis/nodejs-service-usage/issues/40)) ([1474878](https://www.github.com/googleapis/nodejs-service-usage/commit/14748784647a02f42df8cc1fd53ed3ddf9dfe589))

### [1.1.4](https://www.github.com/googleapis/nodejs-service-usage/compare/v1.1.3...v1.1.4) (2021-08-17)


### Bug Fixes

* **deps:** google-gax v2.24.1 ([#38](https://www.github.com/googleapis/nodejs-service-usage/issues/38)) ([021b0eb](https://www.github.com/googleapis/nodejs-service-usage/commit/021b0eb4c69c1ed485aac388c2a5583547dbb3ad))

### [1.1.3](https://www.github.com/googleapis/nodejs-service-usage/compare/v1.1.2...v1.1.3) (2021-07-30)


### Bug Fixes

* failing tests for LRO check methods ([#35](https://www.github.com/googleapis/nodejs-service-usage/issues/35)) ([f961511](https://www.github.com/googleapis/nodejs-service-usage/commit/f961511fe88658592857cca70dce14b92568b725))

### [1.1.2](https://www.github.com/googleapis/nodejs-service-usage/compare/v1.1.1...v1.1.2) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#29](https://www.github.com/googleapis/nodejs-service-usage/issues/29)) ([6c754c1](https://www.github.com/googleapis/nodejs-service-usage/commit/6c754c101a426386f2e9ce4462f3863f13c2b52e))

### [1.1.1](https://www.github.com/googleapis/nodejs-service-usage/compare/v1.1.0...v1.1.1) (2021-06-30)


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#27](https://www.github.com/googleapis/nodejs-service-usage/issues/27)) ([c1738e8](https://www.github.com/googleapis/nodejs-service-usage/commit/c1738e82d175c921178a3d52b75197fbd791df02))
* make request optional in all cases ([#19](https://www.github.com/googleapis/nodejs-service-usage/issues/19)) ([fcdb1a5](https://www.github.com/googleapis/nodejs-service-usage/commit/fcdb1a5900b7bac5ae1b8b0e211d024b2b7e9579))

## [1.1.0](https://www.github.com/googleapis/nodejs-service-usage/compare/v1.0.0...v1.1.0) (2021-05-29)


### Features

* update serviceusage v1beta1 API ([#10](https://www.github.com/googleapis/nodejs-service-usage/issues/10)) ([8a98520](https://www.github.com/googleapis/nodejs-service-usage/commit/8a9852049e79a71a0a25f14e6eff806a4893642d))


### Bug Fixes

* GoogleAdsError missing using generator version after 1.3.0 ([#9](https://www.github.com/googleapis/nodejs-service-usage/issues/9)) ([2fa7011](https://www.github.com/googleapis/nodejs-service-usage/commit/2fa7011abb318a15cd248b7abeb921540c60d34f))

## 1.0.0 (2021-05-25)


### ⚠ BREAKING CHANGES

* bump to GA release level (#6)

### Features

* bump to GA release level ([#6](https://www.github.com/googleapis/nodejs-service-usage/issues/6)) ([ed9fe6d](https://www.github.com/googleapis/nodejs-service-usage/commit/ed9fe6dc1a486d5dd2591c01d49ca05fca908b12))
* initial generation of library ([4e78126](https://www.github.com/googleapis/nodejs-service-usage/commit/4e781266eb45ac52c2465f88fb7b7d68a3ee1f47))
* **samples:** add example of listing service usage ([#2](https://www.github.com/googleapis/nodejs-service-usage/issues/2)) ([048c44f](https://www.github.com/googleapis/nodejs-service-usage/commit/048c44f8f36483b0016b1573b9439d1a1a6643d4))
Loading

0 comments on commit a864d8b

Please sign in to comment.