Skip to content

Commit

Permalink
chore: generate per-package index (#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed May 16, 2018
1 parent 2d8c8a5 commit 82920f4
Show file tree
Hide file tree
Showing 339 changed files with 4,825 additions and 406 deletions.
32 changes: 32 additions & 0 deletions src/apis/abusiveexperiencereport/index.ts
@@ -0,0 +1,32 @@
// Copyright 2018, 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 {getAPI} from '../../shared/src';
import {abusiveexperiencereport_v1} from './v1';

export const VERSIONS = {
'v1': abusiveexperiencereport_v1.Abusiveexperiencereport,
};

export function abusiveexperiencereport(version: 'v1'):
abusiveexperiencereport_v1.Abusiveexperiencereport;
export function abusiveexperiencereport(
options: abusiveexperiencereport_v1.Options):
abusiveexperiencereport_v1.Abusiveexperiencereport;
export function
abusiveexperiencereport<T = abusiveexperiencereport_v1.Abusiveexperiencereport>(
versionOrOptions: 'v1'|abusiveexperiencereport_v1.Options) {
return getAPI<T>('abusiveexperiencereport', versionOrOptions, VERSIONS);
}
4 changes: 2 additions & 2 deletions src/apis/abusiveexperiencereport/v1.ts
Expand Up @@ -48,13 +48,13 @@ export namespace abusiveexperiencereport_v1 {
*/
export class Abusiveexperiencereport {
_options: GlobalOptions;
google: GoogleConfigurable;
google?: GoogleConfigurable;
root = this;

sites: Resource$Sites;
violatingSites: Resource$Violatingsites;

constructor(options: GlobalOptions, google: GoogleConfigurable) {
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this._options = options || {};
this.google = google;
this.getRoot.bind(this);
Expand Down
32 changes: 32 additions & 0 deletions src/apis/acceleratedmobilepageurl/index.ts
@@ -0,0 +1,32 @@
// Copyright 2018, 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 {getAPI} from '../../shared/src';
import {acceleratedmobilepageurl_v1} from './v1';

export const VERSIONS = {
'v1': acceleratedmobilepageurl_v1.Acceleratedmobilepageurl,
};

export function acceleratedmobilepageurl(version: 'v1'):
acceleratedmobilepageurl_v1.Acceleratedmobilepageurl;
export function acceleratedmobilepageurl(
options: acceleratedmobilepageurl_v1.Options):
acceleratedmobilepageurl_v1.Acceleratedmobilepageurl;
export function acceleratedmobilepageurl<
T = acceleratedmobilepageurl_v1.Acceleratedmobilepageurl>(
versionOrOptions: 'v1'|acceleratedmobilepageurl_v1.Options) {
return getAPI<T>('acceleratedmobilepageurl', versionOrOptions, VERSIONS);
}
4 changes: 2 additions & 2 deletions src/apis/acceleratedmobilepageurl/v1.ts
Expand Up @@ -48,12 +48,12 @@ export namespace acceleratedmobilepageurl_v1 {
*/
export class Acceleratedmobilepageurl {
_options: GlobalOptions;
google: GoogleConfigurable;
google?: GoogleConfigurable;
root = this;

ampUrls: Resource$Ampurls;

constructor(options: GlobalOptions, google: GoogleConfigurable) {
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this._options = options || {};
this.google = google;
this.getRoot.bind(this);
Expand Down
47 changes: 47 additions & 0 deletions src/apis/adexchangebuyer/index.ts
@@ -0,0 +1,47 @@
// Copyright 2018, 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 {getAPI} from '../../shared/src';
import {adexchangebuyer_v1_2} from './v1.2';
import {adexchangebuyer_v1_3} from './v1.3';
import {adexchangebuyer_v1_4} from './v1.4';

export const VERSIONS = {
'v1.2': adexchangebuyer_v1_2.Adexchangebuyer,
'v1.3': adexchangebuyer_v1_3.Adexchangebuyer,
'v1.4': adexchangebuyer_v1_4.Adexchangebuyer,
};

export function adexchangebuyer(version: 'v1_2'):
adexchangebuyer_v1_2.Adexchangebuyer;
export function adexchangebuyer(options: adexchangebuyer_v1_2.Options):
adexchangebuyer_v1_2.Adexchangebuyer;
export function adexchangebuyer(version: 'v1_3'):
adexchangebuyer_v1_3.Adexchangebuyer;
export function adexchangebuyer(options: adexchangebuyer_v1_3.Options):
adexchangebuyer_v1_3.Adexchangebuyer;
export function adexchangebuyer(version: 'v1_4'):
adexchangebuyer_v1_4.Adexchangebuyer;
export function adexchangebuyer(options: adexchangebuyer_v1_4.Options):
adexchangebuyer_v1_4.Adexchangebuyer;
export function adexchangebuyer<
T = adexchangebuyer_v1_2.Adexchangebuyer |
adexchangebuyer_v1_3.Adexchangebuyer |
adexchangebuyer_v1_4.Adexchangebuyer>(
versionOrOptions: 'v1_2'|
adexchangebuyer_v1_2.Options|'v1_3'|
adexchangebuyer_v1_3.Options|'v1_4'|adexchangebuyer_v1_4.Options) {
return getAPI<T>('adexchangebuyer', versionOrOptions, VERSIONS);
}
4 changes: 2 additions & 2 deletions src/apis/adexchangebuyer/v1.2.ts
Expand Up @@ -49,13 +49,13 @@ export namespace adexchangebuyer_v1_2 {
*/
export class Adexchangebuyer {
_options: GlobalOptions;
google: GoogleConfigurable;
google?: GoogleConfigurable;
root = this;

accounts: Resource$Accounts;
creatives: Resource$Creatives;

constructor(options: GlobalOptions, google: GoogleConfigurable) {
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this._options = options || {};
this.google = google;
this.getRoot.bind(this);
Expand Down
4 changes: 2 additions & 2 deletions src/apis/adexchangebuyer/v1.3.ts
Expand Up @@ -49,7 +49,7 @@ export namespace adexchangebuyer_v1_3 {
*/
export class Adexchangebuyer {
_options: GlobalOptions;
google: GoogleConfigurable;
google?: GoogleConfigurable;
root = this;

accounts: Resource$Accounts;
Expand All @@ -60,7 +60,7 @@ export namespace adexchangebuyer_v1_3 {
performanceReport: Resource$Performancereport;
pretargetingConfig: Resource$Pretargetingconfig;

constructor(options: GlobalOptions, google: GoogleConfigurable) {
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this._options = options || {};
this.google = google;
this.getRoot.bind(this);
Expand Down
4 changes: 2 additions & 2 deletions src/apis/adexchangebuyer/v1.4.ts
Expand Up @@ -49,7 +49,7 @@ export namespace adexchangebuyer_v1_4 {
*/
export class Adexchangebuyer {
_options: GlobalOptions;
google: GoogleConfigurable;
google?: GoogleConfigurable;
root = this;

accounts: Resource$Accounts;
Expand All @@ -65,7 +65,7 @@ export namespace adexchangebuyer_v1_4 {
proposals: Resource$Proposals;
pubprofiles: Resource$Pubprofiles;

constructor(options: GlobalOptions, google: GoogleConfigurable) {
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this._options = options || {};
this.google = google;
this.getRoot.bind(this);
Expand Down
30 changes: 30 additions & 0 deletions src/apis/adexchangebuyer2/index.ts
@@ -0,0 +1,30 @@
// Copyright 2018, 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 {getAPI} from '../../shared/src';
import {adexchangebuyer2_v2beta1} from './v2beta1';

export const VERSIONS = {
'v2beta1': adexchangebuyer2_v2beta1.Adexchangebuyer2,
};

export function adexchangebuyer2(version: 'v2beta1'):
adexchangebuyer2_v2beta1.Adexchangebuyer2;
export function adexchangebuyer2(options: adexchangebuyer2_v2beta1.Options):
adexchangebuyer2_v2beta1.Adexchangebuyer2;
export function adexchangebuyer2<T = adexchangebuyer2_v2beta1.Adexchangebuyer2>(
versionOrOptions: 'v2beta1'|adexchangebuyer2_v2beta1.Options) {
return getAPI<T>('adexchangebuyer2', versionOrOptions, VERSIONS);
}
4 changes: 2 additions & 2 deletions src/apis/adexchangebuyer2/v2beta1.ts
Expand Up @@ -49,13 +49,13 @@ export namespace adexchangebuyer2_v2beta1 {
*/
export class Adexchangebuyer2 {
_options: GlobalOptions;
google: GoogleConfigurable;
google?: GoogleConfigurable;
root = this;

accounts: Resource$Accounts;
bidders: Resource$Bidders;

constructor(options: GlobalOptions, google: GoogleConfigurable) {
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this._options = options || {};
this.google = google;
this.getRoot.bind(this);
Expand Down
48 changes: 48 additions & 0 deletions src/apis/adexchangeseller/index.ts
@@ -0,0 +1,48 @@
// Copyright 2018, 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 {getAPI} from '../../shared/src';

import {adexchangeseller_v1} from './v1';
import {adexchangeseller_v1_1} from './v1.1';
import {adexchangeseller_v2_0} from './v2.0';

export const VERSIONS = {
'v1.1': adexchangeseller_v1_1.Adexchangeseller,
'v1': adexchangeseller_v1.Adexchangeseller,
'v2.0': adexchangeseller_v2_0.Adexchangeseller,
};

export function adexchangeseller(version: 'v1_1'):
adexchangeseller_v1_1.Adexchangeseller;
export function adexchangeseller(options: adexchangeseller_v1_1.Options):
adexchangeseller_v1_1.Adexchangeseller;
export function adexchangeseller(version: 'v1'):
adexchangeseller_v1.Adexchangeseller;
export function adexchangeseller(options: adexchangeseller_v1.Options):
adexchangeseller_v1.Adexchangeseller;
export function adexchangeseller(version: 'v2_0'):
adexchangeseller_v2_0.Adexchangeseller;
export function adexchangeseller(options: adexchangeseller_v2_0.Options):
adexchangeseller_v2_0.Adexchangeseller;
export function adexchangeseller<
T = adexchangeseller_v1_1.Adexchangeseller |
adexchangeseller_v1.Adexchangeseller |
adexchangeseller_v2_0.Adexchangeseller>(
versionOrOptions: 'v1_1'|
adexchangeseller_v1_1.Options|'v1'|
adexchangeseller_v1.Options|'v2_0'|adexchangeseller_v2_0.Options) {
return getAPI<T>('adexchangeseller', versionOrOptions, VERSIONS);
}
4 changes: 2 additions & 2 deletions src/apis/adexchangeseller/v1.1.ts
Expand Up @@ -47,7 +47,7 @@ export namespace adexchangeseller_v1_1 {
*/
export class Adexchangeseller {
_options: GlobalOptions;
google: GoogleConfigurable;
google?: GoogleConfigurable;
root = this;

accounts: Resource$Accounts;
Expand All @@ -60,7 +60,7 @@ export namespace adexchangeseller_v1_1 {
reports: Resource$Reports;
urlchannels: Resource$Urlchannels;

constructor(options: GlobalOptions, google: GoogleConfigurable) {
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this._options = options || {};
this.google = google;
this.getRoot.bind(this);
Expand Down
4 changes: 2 additions & 2 deletions src/apis/adexchangeseller/v1.ts
Expand Up @@ -47,7 +47,7 @@ export namespace adexchangeseller_v1 {
*/
export class Adexchangeseller {
_options: GlobalOptions;
google: GoogleConfigurable;
google?: GoogleConfigurable;
root = this;

adclients: Resource$Adclients;
Expand All @@ -56,7 +56,7 @@ export namespace adexchangeseller_v1 {
reports: Resource$Reports;
urlchannels: Resource$Urlchannels;

constructor(options: GlobalOptions, google: GoogleConfigurable) {
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this._options = options || {};
this.google = google;
this.getRoot.bind(this);
Expand Down
4 changes: 2 additions & 2 deletions src/apis/adexchangeseller/v2.0.ts
Expand Up @@ -47,12 +47,12 @@ export namespace adexchangeseller_v2_0 {
*/
export class Adexchangeseller {
_options: GlobalOptions;
google: GoogleConfigurable;
google?: GoogleConfigurable;
root = this;

accounts: Resource$Accounts;

constructor(options: GlobalOptions, google: GoogleConfigurable) {
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this._options = options || {};
this.google = google;
this.getRoot.bind(this);
Expand Down
31 changes: 31 additions & 0 deletions src/apis/adexperiencereport/index.ts
@@ -0,0 +1,31 @@
// Copyright 2018, 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 {getAPI} from '../../shared/src';
import {adexperiencereport_v1} from './v1';

export const VERSIONS = {
'v1': adexperiencereport_v1.Adexperiencereport,
};

export function adexperiencereport(version: 'v1'):
adexperiencereport_v1.Adexperiencereport;
export function adexperiencereport(options: adexperiencereport_v1.Options):
adexperiencereport_v1.Adexperiencereport;
export function
adexperiencereport<T = adexperiencereport_v1.Adexperiencereport>(
versionOrOptions: 'v1'|adexperiencereport_v1.Options) {
return getAPI<T>('adexperiencereport', versionOrOptions, VERSIONS);
}
4 changes: 2 additions & 2 deletions src/apis/adexperiencereport/v1.ts
Expand Up @@ -48,13 +48,13 @@ export namespace adexperiencereport_v1 {
*/
export class Adexperiencereport {
_options: GlobalOptions;
google: GoogleConfigurable;
google?: GoogleConfigurable;
root = this;

sites: Resource$Sites;
violatingSites: Resource$Violatingsites;

constructor(options: GlobalOptions, google: GoogleConfigurable) {
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this._options = options || {};
this.google = google;
this.getRoot.bind(this);
Expand Down

0 comments on commit 82920f4

Please sign in to comment.