Skip to content

Commit 6d5a9c8

Browse files
feat: run the generator (#1680)
1 parent 1f7c41a commit 6d5a9c8

99 files changed

Lines changed: 13685 additions & 14055 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/apis/accessapproval/README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<img src="https://avatars0.githubusercontent.com/u/1342004?v=3&s=96" alt="Google Inc. logo" title="Google" align="right" height="96" width="96"/>
2+
3+
# accessapproval
4+
5+
> An API for controlling access to data by Google personnel.
6+
7+
## Installation
8+
9+
```sh
10+
$ npm install googleapis
11+
```
12+
13+
## Usage
14+
All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client).
15+
16+
## Building a browser bundle
17+
18+
This library can be used in a browser. To prepare a single file bundle, clone the
19+
[repository](https://github.com/googleapis/google-api-nodejs-client) and run
20+
21+
```sh
22+
$ cd src/apis/accessapproval
23+
$ npm install
24+
$ npm run webpack
25+
```
26+
27+
The generated bundle will be written to `dist/accessapproval.min.js`. Use it from your HTML file:
28+
29+
```html
30+
<script src="/path/to/accessapproval.min.js"></script>
31+
<script>
32+
const { accessapproval, auth } = Accessapproval;
33+
</script>
34+
```
35+
36+
## License
37+
This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/master/LICENSE).
38+
39+
## Contributing
40+
We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md).
41+
42+
## Questions/problems?
43+
* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client).
44+
* If you've found an bug/issue, please [file it on GitHub](https://github.com/googleapis/google-api-nodejs-client/issues).
45+
46+
47+
*Crafted with ❤️ by the Google Node.js team*

src/apis/accessapproval/index.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Copyright 2019 Google LLC
2+
// Licensed under the Apache License, Version 2.0 (the "License");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
//
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
/*! THIS FILE IS AUTO-GENERATED */
15+
16+
import {AuthPlus, getAPI, GoogleConfigurable} from 'googleapis-common';
17+
import {accessapproval_v1beta1} from './v1beta1';
18+
19+
export const VERSIONS = {
20+
'v1beta1': accessapproval_v1beta1.Accessapproval,
21+
};
22+
23+
export function accessapproval(version: 'v1beta1'):
24+
accessapproval_v1beta1.Accessapproval;
25+
export function accessapproval(options: accessapproval_v1beta1.Options):
26+
accessapproval_v1beta1.Accessapproval;
27+
export function accessapproval<T = accessapproval_v1beta1.Accessapproval>(
28+
this: GoogleConfigurable,
29+
versionOrOptions: 'v1beta1'|accessapproval_v1beta1.Options) {
30+
return getAPI<T>('accessapproval', versionOrOptions, VERSIONS, this);
31+
}
32+
33+
const auth = new AuthPlus();
34+
export {auth};
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "@google/accessapproval",
3+
"version": "0.1.0",
4+
"description": "accessapproval",
5+
"main": "build/index.js",
6+
"types": "build/index.d.ts",
7+
"keywords": [
8+
"google"
9+
],
10+
"author": "Google LLC",
11+
"license": "Apache-2.0",
12+
"homepage": "https://github.com/googleapis/google-api-nodejs-client",
13+
"bugs": {
14+
"url": "https://github.com/googleapis/google-api-nodejs-client/issues"
15+
},
16+
"repository": {
17+
"type": "git",
18+
"url": "https://github.com/googleapis/google-api-nodejs-client.git"
19+
},
20+
"engines": {
21+
"node": ">=6.0.0"
22+
},
23+
"scripts": {
24+
"fix": "gts fix",
25+
"lint": "gts check",
26+
"compile": "tsc -p .",
27+
"prepare": "npm run compile",
28+
"docs": "typedoc --out docs/",
29+
"webpack": "webpack"
30+
},
31+
"dependencies": {
32+
"googleapis-common": "^0.7.0"
33+
},
34+
"devDependencies": {
35+
"gts": "^0.9.0",
36+
"null-loader": "^0.1.1",
37+
"ts-loader": "^5.3.3",
38+
"typedoc": "^0.14.0",
39+
"typescript": "~3.4.0",
40+
"webpack": "^4.28.4",
41+
"webpack-cli": "^3.2.1"
42+
}
43+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": "./node_modules/gts/tsconfig-google.json",
3+
"compilerOptions": {
4+
"rootDir": ".",
5+
"outDir": "build"
6+
},
7+
"include": [
8+
"*.ts",
9+
]
10+
}

0 commit comments

Comments
 (0)