Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: run generator #1131

Merged
merged 2 commits into from Apr 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/apis/abusiveexperiencereport/v1.ts
Expand Up @@ -29,7 +29,7 @@ import {createAPIRequest} from '../../lib/apirequest';
// tslint:disable: jsdoc-format

/**
* Google Abusive Experience Report API
* Abusive Experience Report API
*
* View Abusive Experience Report data, and get a list of sites that have a
* significant number of abusive experiences.
Expand Down Expand Up @@ -67,7 +67,8 @@ export class Abusiveexperiencereport {
}

/**
* Response message for GetSiteSummary.
* Response message for GetSiteSummary. Do not confuse with same message in
* google.ads.experiencereport.v1
*/
export interface Schema$SiteSummaryResponse {
/**
Expand Down
119 changes: 114 additions & 5 deletions src/apis/adexchangebuyer2/v2beta1.ts
Expand Up @@ -329,7 +329,7 @@ export interface Schema$Correction {
type: string;
}
/**
* A creative and its classification data. Next ID: 31
* A creative and its classification data. Next ID: 35
*/
export interface Schema$Creative {
/**
Expand Down Expand Up @@ -644,6 +644,12 @@ export interface Schema$FilterSet {
* results must match any one of the platforms).
*/
platforms: string[];
/**
* For Exchange Bidding buyers only. The list of publisher identifiers on
* which to filter; may be empty. The filters represented by multiple
* publisher identifiers are ORed together.
*/
publisherIdentifiers: string[];
/**
* An open-ended realtime time range, defined by the aggregation start
* timestamp.
Expand All @@ -655,10 +661,10 @@ export interface Schema$FilterSet {
*/
relativeDateRange: Schema$RelativeDateRange;
/**
* The list of IDs of the seller (publisher) networks on which to filter; may
* be empty. The filters represented by multiple seller network IDs are ORed
* together (i.e. if non-empty, results must match any one of the publisher
* networks). See
* For Ad Exchange buyers only. The list of IDs of the seller (publisher)
* networks on which to filter; may be empty. The filters represented by
* multiple seller network IDs are ORed together (i.e. if non-empty, results
* must match any one of the publisher networks). See
* [seller-network-ids](https://developers.google.com/ad-exchange/rtb/downloads/seller-network-ids)
* file for the set of existing seller network IDs.
*/
Expand Down Expand Up @@ -993,6 +999,16 @@ export interface Schema$ListNonBillableWinningBidsResponse {
*/
nonBillableWinningBidStatusRows: Schema$NonBillableWinningBidStatusRow[];
}
/**
* Response message for listing publishers that had recent inventory matches
* with the requesting buyer.
*/
export interface Schema$ListPublishersResponse {
/**
* List of publishers.
*/
publisher: Schema$Publisher[];
}
/**
* @OutputOnly The Geo criteria the restriction applies to.
*/
Expand Down Expand Up @@ -1107,6 +1123,26 @@ export interface Schema$PlatformContext {
*/
platforms: string[];
}
/**
* The publisher ID and name contain values relevant to the requesting buyer
* depending on whether it is an Ad Exchange buyer or Exchange Bidding buyer.
*/
export interface Schema$Publisher {
/**
* Publisher name contains: - Seller network name when the requesting buyer is
* an Ad Exchange buyer. - DFP network name or AdMob publisher code when the
* requesting buyer is an Exchange Bidding buyer.
*/
publisherDisplayName: string;
/**
* Publisher ID contains: - Seller network ID when the requesting buyer is an
* Ad Exchange buyer. See
* [seller-network-ids](https://developers.google.com/ad-exchange/rtb/downloads/seller-network-ids)
* - DFP network code or AdMob publisher code when the requesting buyer is an
* Exchange Bidding buyer.
*/
publisherId: string;
}
/**
* An open-ended realtime time range specified by the start timestamp. For
* filter sets that specify a realtime time range RTB metrics continue to be
Expand Down Expand Up @@ -1283,11 +1319,13 @@ export class Resource$Accounts {
root: Adexchangebuyer2;
clients: Resource$Accounts$Clients;
creatives: Resource$Accounts$Creatives;
publishers: Resource$Accounts$Publishers;
constructor(root: Adexchangebuyer2) {
this.root = root;
this.getRoot.bind(this);
this.clients = new Resource$Accounts$Clients(root);
this.creatives = new Resource$Accounts$Creatives(root);
this.publishers = new Resource$Accounts$Publishers(root);
}

getRoot() {
Expand Down Expand Up @@ -2459,6 +2497,77 @@ export class Resource$Accounts$Creatives$Dealassociations {
}


export class Resource$Accounts$Publishers {
root: Adexchangebuyer2;
constructor(root: Adexchangebuyer2) {
this.root = root;
this.getRoot.bind(this);
}

getRoot() {
return this.root;
}


/**
* adexchangebuyer2.accounts.publishers.list
* @desc Lists publishers that had recent inventory matches with the
* requesting buyer.
* @alias adexchangebuyer2.accounts.publishers.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.accountId Account ID of the requesting buyer.
* @param {string=} params.environment Optional environment (WEB, APP) for which to return publishers. If specified, response will only include publishers that had recent inventory matches with the requesting buyer on the specified platform.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params?: any, options?: MethodOptions):
AxiosPromise<Schema$ListPublishersResponse>;
list(
params?: any,
options?: MethodOptions|
BodyResponseCallback<Schema$ListPublishersResponse>,
callback?: BodyResponseCallback<Schema$ListPublishersResponse>): void;
list(
params?: any,
options?: MethodOptions|
BodyResponseCallback<Schema$ListPublishersResponse>,
callback?: BodyResponseCallback<Schema$ListPublishersResponse>):
void|AxiosPromise<Schema$ListPublishersResponse> {
if (typeof options === 'function') {
callback = options;
options = {};
}
if (typeof params === 'function') {
callback = params;
params = {};
}
options = options || {};
const rootUrl =
options.rootUrl || 'https://adexchangebuyer.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (rootUrl + '/v2beta1/accounts/{accountId}/publishers')
.replace(/([^:]\/)\/+/g, '$1'),
method: 'GET'
},
options),
params,
requiredParams: ['accountId'],
pathParams: ['accountId'],
context: this.getRoot()
};
if (callback) {
createAPIRequest<Schema$ListPublishersResponse>(parameters, callback);
} else {
return createAPIRequest<Schema$ListPublishersResponse>(parameters);
}
}
}


export class Resource$Bidders {
root: Adexchangebuyer2;
Expand Down
5 changes: 3 additions & 2 deletions src/apis/adexperiencereport/v1.ts
Expand Up @@ -29,7 +29,7 @@ import {createAPIRequest} from '../../lib/apirequest';
// tslint:disable: jsdoc-format

/**
* Google Ad Experience Report API
* Ad Experience Report API
*
* View Ad Experience Report data, and get a list of sites that have a
* significant number of annoying ads.
Expand Down Expand Up @@ -100,7 +100,8 @@ export interface Schema$PlatformSummary {
underReview: boolean;
}
/**
* Response message for GetSiteSummary.
* Response message for GetSiteSummary. Do not confuse with same message in
* google.chrome.abusiveexperiencereport.v1
*/
export interface Schema$SiteSummaryResponse {
/**
Expand Down
3 changes: 2 additions & 1 deletion src/apis/androiddeviceprovisioning/v1.ts
Expand Up @@ -449,7 +449,8 @@ export interface Schema$DevicesLongRunningOperationResponse {
successCount: number;
}
/**
* An EMM&#39;s DPC ([device policy controller](/android/work/dpc/build-dpc)).
* An EMM&#39;s DPC ([device policy
* controller](http://developer.android.com/work/dpc/build-dpc.html)).
* Zero-touch enrollment installs a DPC (listed in the `Configuration`) on a
* device to maintain the customer&#39;s mobile policies. All the DPCs listed by
* the API support zero-touch enrollment and are available in Google Play.
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androidenterprise/v1.ts
Expand Up @@ -1067,7 +1067,7 @@ export interface Schema$Policy {
autoUpdatePolicy: string;
/**
* The maintenance window defining when apps running in the foreground should
* be updated. This feature is only supported on fully managed devices.
* be updated.
*/
maintenanceWindow: Schema$MaintenanceWindow;
/**
Expand Down
27 changes: 24 additions & 3 deletions src/apis/androidmanagement/v1.ts
Expand Up @@ -139,7 +139,8 @@ export interface Schema$ApplicationPolicy {
/**
* The default policy for all permissions requested by the app. If specified,
* this overrides the policy-level default_permission_policy which applies to
* all apps.
* all apps. It does not override the permission_grants which applies to all
* apps.
*/
defaultPermissionPolicy: string;
/**
Expand Down Expand Up @@ -190,7 +191,8 @@ export interface Schema$ApplicationPolicy {
packageName: string;
/**
* Explicit permission grants or denials for the app. These values override
* the default_permission_policy.
* the default_permission_policy and permission_grants which apply to all
* apps.
*/
permissionGrants: Schema$PermissionGrant[];
}
Expand Down Expand Up @@ -571,6 +573,11 @@ export interface Schema$Enterprise {
* notifications are enabled.
*/
pubsubTopic: string;
/**
* Terms and conditions that must be accepted when provisioning a device for
* this enterprise. A page of terms is generated for each value in this list.
*/
termsAndConditions: Schema$TermsAndConditions[];
}
/**
* Data hosted at an external location. The data is to be downloaded by Android
Expand Down Expand Up @@ -1364,7 +1371,7 @@ export interface Schema$Policy {
usbFileTransferDisabled: boolean;
/**
* Allows admins to toggle whether USB storge is enabled or disabled on
* user&#39;s devices. Next ID: 114
* user&#39;s devices.
*/
usbMassStorageEnabled: boolean;
/**
Expand Down Expand Up @@ -1594,6 +1601,20 @@ export interface Schema$SystemUpdate {
*/
type: string;
}
/**
* A terms and conditions page to be accepted during provisioning.
*/
export interface Schema$TermsAndConditions {
/**
* A well-formatted HTML string. It will be parsed on the client with
* android.text.Html#fromHtml.
*/
content: Schema$UserFacingMessage;
/**
* A short header which appears above the HTML content.
*/
header: Schema$UserFacingMessage;
}
/**
* Provides a user-facing message with locale info. The maximum message length
* is 4096 characters.
Expand Down
41 changes: 36 additions & 5 deletions src/apis/bigquery/v2.ts
Expand Up @@ -180,6 +180,14 @@ export interface Schema$BigtableOptions {
*/
readRowkeyAsString: boolean;
}
export interface Schema$Clustering {
/**
* [Repeated] One or more fields on which data should be clustered. Only
* top-level, non-repeated, simple-type fields are supported. The order of the
* fields will determine how clusters will be generated, so it is important.
*/
fields: string[];
}
export interface Schema$CsvOptions {
/**
* [Optional] Indicates if BigQuery should accept rows that are missing
Expand Down Expand Up @@ -661,6 +669,11 @@ export interface Schema$GetServiceAccountResponse {
kind: string;
}
export interface Schema$GoogleSheetsOptions {
/**
* [Experimental] [Optional] Range of a sheet to query from. Only used when
* non-empty. Typical format: !:
*/
range: string;
/**
* [Optional] The number of rows at the top of a sheet that BigQuery will skip
* when reading the data. The default value is 0. This property is useful if
Expand Down Expand Up @@ -819,10 +832,16 @@ export interface Schema$JobConfigurationLoad {
*/
allowQuotedNewlines: boolean;
/**
* Indicates if we should automatically infer the options and schema for CSV
* and JSON sources.
* [Optional] Indicates if we should automatically infer the options and
* schema for CSV and JSON sources.
*/
autodetect: boolean;
/**
* [Experimental] Clustering specification for the destination table. Must be
* specified with time-based partitioning, data in the table will be first
* partitioned and subsequently clustered.
*/
clustering: Schema$Clustering;
/**
* [Optional] Specifies whether the job is allowed to create new tables. The
* following values are supported: CREATE_IF_NEEDED: If the table does not
Expand Down Expand Up @@ -964,7 +983,7 @@ export interface Schema$JobConfigurationLoad {
*/
sourceUris: string[];
/**
* If specified, configures time-based partitioning for the destination table.
* Time-based partitioning specification for the destination table.
*/
timePartitioning: Schema$TimePartitioning;
/**
Expand All @@ -990,6 +1009,12 @@ export interface Schema$JobConfigurationQuery {
* size.
*/
allowLargeResults: boolean;
/**
* [Experimental] Clustering specification for the destination table. Must be
* specified with time-based partitioning, data in the table will be first
* partitioned and subsequently clustered.
*/
clustering: Schema$Clustering;
/**
* [Optional] Specifies whether the job is allowed to create new tables. The
* following values are supported: CREATE_IF_NEEDED: If the table does not
Expand Down Expand Up @@ -1077,7 +1102,7 @@ export interface Schema$JobConfigurationQuery {
*/
tableDefinitions: any;
/**
* If specified, configures time-based partitioning for the destination table.
* Time-based partitioning specification for the destination table.
*/
timePartitioning: Schema$TimePartitioning;
/**
Expand Down Expand Up @@ -1634,6 +1659,12 @@ export interface Schema$Streamingbuffer {
oldestEntryTime: string;
}
export interface Schema$Table {
/**
* [Experimental] Clustering specification for the table. Must be specified
* with time-based partitioning, data in the table will be first partitioned
* and subsequently clustered.
*/
clustering: Schema$Clustering;
/**
* [Output-only] The time when this table was created, in milliseconds since
* the epoch.
Expand Down Expand Up @@ -1730,7 +1761,7 @@ export interface Schema$Table {
*/
tableReference: Schema$TableReference;
/**
* If specified, configures time-based partitioning for this table.
* Time-based partitioning specification for this table.
*/
timePartitioning: Schema$TimePartitioning;
/**
Expand Down