Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat: run the generator (#1680)
  • Loading branch information
JustinBeckwith committed Apr 24, 2019
1 parent 1f7c41a commit 6d5a9c8
Show file tree
Hide file tree
Showing 99 changed files with 13,685 additions and 14,055 deletions.
47 changes: 47 additions & 0 deletions src/apis/accessapproval/README.md
@@ -0,0 +1,47 @@
<img src="https://avatars0.githubusercontent.com/u/1342004?v=3&s=96" alt="Google Inc. logo" title="Google" align="right" height="96" width="96"/>

# accessapproval

> An API for controlling access to data by Google personnel.
## Installation

```sh
$ npm install googleapis
```

## Usage
All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client).

## Building a browser bundle

This library can be used in a browser. To prepare a single file bundle, clone the
[repository](https://github.com/googleapis/google-api-nodejs-client) and run

```sh
$ cd src/apis/accessapproval
$ npm install
$ npm run webpack
```

The generated bundle will be written to `dist/accessapproval.min.js`. Use it from your HTML file:

```html
<script src="/path/to/accessapproval.min.js"></script>
<script>
const { accessapproval, auth } = Accessapproval;
</script>
```

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

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

## Questions/problems?
* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client).
* If you've found an bug/issue, please [file it on GitHub](https://github.com/googleapis/google-api-nodejs-client/issues).


*Crafted with ❤️ by the Google Node.js team*
34 changes: 34 additions & 0 deletions src/apis/accessapproval/index.ts
@@ -0,0 +1,34 @@
// Copyright 2019 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.

/*! THIS FILE IS AUTO-GENERATED */

import {AuthPlus, getAPI, GoogleConfigurable} from 'googleapis-common';
import {accessapproval_v1beta1} from './v1beta1';

export const VERSIONS = {
'v1beta1': accessapproval_v1beta1.Accessapproval,
};

export function accessapproval(version: 'v1beta1'):
accessapproval_v1beta1.Accessapproval;
export function accessapproval(options: accessapproval_v1beta1.Options):
accessapproval_v1beta1.Accessapproval;
export function accessapproval<T = accessapproval_v1beta1.Accessapproval>(
this: GoogleConfigurable,
versionOrOptions: 'v1beta1'|accessapproval_v1beta1.Options) {
return getAPI<T>('accessapproval', versionOrOptions, VERSIONS, this);
}

const auth = new AuthPlus();
export {auth};
43 changes: 43 additions & 0 deletions src/apis/accessapproval/package.json
@@ -0,0 +1,43 @@
{
"name": "@google/accessapproval",
"version": "0.1.0",
"description": "accessapproval",
"main": "build/index.js",
"types": "build/index.d.ts",
"keywords": [
"google"
],
"author": "Google LLC",
"license": "Apache-2.0",
"homepage": "https://github.com/googleapis/google-api-nodejs-client",
"bugs": {
"url": "https://github.com/googleapis/google-api-nodejs-client/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/googleapis/google-api-nodejs-client.git"
},
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"fix": "gts fix",
"lint": "gts check",
"compile": "tsc -p .",
"prepare": "npm run compile",
"docs": "typedoc --out docs/",
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^0.7.0"
},
"devDependencies": {
"gts": "^0.9.0",
"null-loader": "^0.1.1",
"ts-loader": "^5.3.3",
"typedoc": "^0.14.0",
"typescript": "~3.4.0",
"webpack": "^4.28.4",
"webpack-cli": "^3.2.1"
}
}
10 changes: 10 additions & 0 deletions src/apis/accessapproval/tsconfig.json
@@ -0,0 +1,10 @@
{
"extends": "./node_modules/gts/tsconfig-google.json",
"compilerOptions": {
"rootDir": ".",
"outDir": "build"
},
"include": [
"*.ts",
]
}

0 comments on commit 6d5a9c8

Please sign in to comment.