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

feat: run the generator #1564

Merged
merged 2 commits into from Jan 26, 2019
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
10 changes: 9 additions & 1 deletion src/apis/admin/directory_v1.ts
Expand Up @@ -1841,6 +1841,14 @@ export namespace admin_directory_v1 {
* username of User
*/
primaryEmail?: string;
/**
* Recovery email of the user.
*/
recoveryEmail?: string;
/**
* Recovery phone of the user.
*/
recoveryPhone?: string;
relations?: any;
sshPublicKeys?: any;
/**
Expand Down Expand Up @@ -2269,7 +2277,7 @@ export namespace admin_directory_v1 {
*/
export interface Schema$UserPosixAccount {
/**
* A POSIX account field identifier. (Read-only)
* A POSIX account field identifier.
*/
accountId?: string;
/**
Expand Down
92 changes: 3 additions & 89 deletions src/apis/androidenterprise/v1.ts
Expand Up @@ -427,7 +427,7 @@ export namespace androidenterprise_v1 {
*/
autoInstallConstraint?: Schema$AutoInstallConstraint[];
/**
* The auto install mode. If unset defaults to AVAILABLE.
* The auto install mode. If unset defaults to "doNotAutoInstall".
*/
autoInstallMode?: string;
/**
Expand Down Expand Up @@ -1887,8 +1887,8 @@ export namespace androidenterprise_v1 {
*/
displayMode?: string;
/**
* A list of icons representing this website. Must have at least one
* element.
* A list of icons representing this website. If absent, a default icon (for
* create) or the current icon (for update) will be used.
*/
icons?: Schema$WebAppIcon[];
/**
Expand Down Expand Up @@ -2927,80 +2927,6 @@ export namespace androidenterprise_v1 {
}


/**
* androidenterprise.enterprises.getAndroidDevicePolicyConfig
* @desc Deprecated and unused.
* @alias androidenterprise.enterprises.getAndroidDevicePolicyConfig
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.enterpriseId The ID of the enterprise.
* @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
*/
getAndroidDevicePolicyConfig(
params?: Params$Resource$Enterprises$Getandroiddevicepolicyconfig,
options?: MethodOptions):
GaxiosPromise<Schema$AndroidDevicePolicyConfig>;
getAndroidDevicePolicyConfig(
params: Params$Resource$Enterprises$Getandroiddevicepolicyconfig,
options: MethodOptions|
BodyResponseCallback<Schema$AndroidDevicePolicyConfig>,
callback: BodyResponseCallback<Schema$AndroidDevicePolicyConfig>): void;
getAndroidDevicePolicyConfig(
params: Params$Resource$Enterprises$Getandroiddevicepolicyconfig,
callback: BodyResponseCallback<Schema$AndroidDevicePolicyConfig>): void;
getAndroidDevicePolicyConfig(
callback: BodyResponseCallback<Schema$AndroidDevicePolicyConfig>): void;
getAndroidDevicePolicyConfig(
paramsOrCallback?:
Params$Resource$Enterprises$Getandroiddevicepolicyconfig|
BodyResponseCallback<Schema$AndroidDevicePolicyConfig>,
optionsOrCallback?: MethodOptions|
BodyResponseCallback<Schema$AndroidDevicePolicyConfig>,
callback?: BodyResponseCallback<Schema$AndroidDevicePolicyConfig>):
void|GaxiosPromise<Schema$AndroidDevicePolicyConfig> {
let params = (paramsOrCallback || {}) as
Params$Resource$Enterprises$Getandroiddevicepolicyconfig;
let options = (optionsOrCallback || {}) as MethodOptions;

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Enterprises$Getandroiddevicepolicyconfig;
options = {};
}

if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const parameters = {
options: Object.assign(
{
url:
(rootUrl +
'/androidenterprise/v1/enterprises/{enterpriseId}/androidDevicePolicyConfig')
.replace(/([^:]\/)\/+/g, '$1'),
method: 'GET'
},
options),
params,
requiredParams: ['enterpriseId'],
pathParams: ['enterpriseId'],
context
};
if (callback) {
createAPIRequest<Schema$AndroidDevicePolicyConfig>(
parameters, callback);
} else {
return createAPIRequest<Schema$AndroidDevicePolicyConfig>(parameters);
}
}


/**
* androidenterprise.enterprises.getServiceAccount
* @desc Returns a service account and credentials. The service account can
Expand Down Expand Up @@ -3765,18 +3691,6 @@ export namespace androidenterprise_v1 {
*/
enterpriseId?: string;
}
export interface Params$Resource$Enterprises$Getandroiddevicepolicyconfig
extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;

/**
* The ID of the enterprise.
*/
enterpriseId?: string;
}
export interface Params$Resource$Enterprises$Getserviceaccount extends
StandardParameters {
/**
Expand Down
3 changes: 2 additions & 1 deletion src/apis/androidpublisher/v1.1.ts
Expand Up @@ -130,7 +130,8 @@ export namespace androidpublisher_v1_1 {
* The type of purchase of the inapp product. This field is only set if this
* purchase was not made using the standard in-app billing flow. Possible
* values are: - Test (i.e. purchased from a license testing account) -
* Promo (i.e. purchased using a promo code)
* Promo (i.e. purchased using a promo code) - Rewarded (i.e. from watching
* a video ad instead of paying)
*/
purchaseType?: number;
}
Expand Down
3 changes: 2 additions & 1 deletion src/apis/androidpublisher/v2.ts
Expand Up @@ -591,7 +591,8 @@ export namespace androidpublisher_v2 {
* The type of purchase of the inapp product. This field is only set if this
* purchase was not made using the standard in-app billing flow. Possible
* values are: - Test (i.e. purchased from a license testing account) -
* Promo (i.e. purchased using a promo code)
* Promo (i.e. purchased using a promo code) - Rewarded (i.e. from watching
* a video ad instead of paying)
*/
purchaseType?: number;
}
Expand Down
3 changes: 2 additions & 1 deletion src/apis/androidpublisher/v3.ts
Expand Up @@ -583,7 +583,8 @@ export namespace androidpublisher_v3 {
* The type of purchase of the inapp product. This field is only set if this
* purchase was not made using the standard in-app billing flow. Possible
* values are: - Test (i.e. purchased from a license testing account) -
* Promo (i.e. purchased using a promo code)
* Promo (i.e. purchased using a promo code) - Rewarded (i.e. from watching
* a video ad instead of paying)
*/
purchaseType?: number;
}
Expand Down
31 changes: 31 additions & 0 deletions src/apis/bigquerydatatransfer/v1.ts
Expand Up @@ -395,6 +395,33 @@ export namespace bigquerydatatransfer_v1 {
*/
name?: string;
}
/**
* Options customizing the data transfer schedule.
*/
export interface Schema$ScheduleOptions {
/**
* If true, automatic scheduling of data transfer runs for this
* configuration will be disabled. The runs can be started on ad-hoc basis
* using StartManualTransferRuns API. When automatic scheduling is disabled,
* the TransferConfig.schedule field will be ignored.
*/
disableAutoScheduling?: boolean;
/**
* Defines time to stop scheduling transfer runs. A transfer run cannot be
* scheduled at or after the end time. The end time can be changed at any
* moment. The time when a data transfer can be trigerred manually is not
* limited by this option.
*/
endTime?: string;
/**
* Specifies time to start scheduling transfer runs. The first run will be
* scheduled at or after the start time according to a recurrence pattern
* defined in the schedule string. The start time can be changed at any
* moment. The time when a data transfer can be trigerred manually is not
* limited by this option.
*/
startTime?: string;
}
/**
* A request to schedule transfer runs for a time range.
*/
Expand Down Expand Up @@ -539,6 +566,10 @@ export namespace bigquerydatatransfer_v1 {
* NOTE: the granularity should be at least 8 hours, or less frequent.
*/
schedule?: string;
/**
* Options customizing the data transfer schedule.
*/
scheduleOptions?: Schema$ScheduleOptions;
/**
* Output only. State of the most recently updated transfer run.
*/
Expand Down
16 changes: 8 additions & 8 deletions src/apis/cloudidentity/v1.ts
Expand Up @@ -571,7 +571,7 @@ export namespace cloudidentity_v1 {
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {integer=} params.pageSize Maximum number of Groups to return. View | Default | Maximum -----|---------|-------- BASIC | 200 | 1000 FULL | 50 | 500
* @param {integer=} params.pageSize Maximum number of groups to return. View | Default | Maximum ----- | ------- | ------- BASIC | 200 | 1000 FULL | 50 | 500
* @param {string=} params.pageToken The next_page_token value returned from a previous list request, if any.
* @param {string=} params.parent `Required`. May be made Optional in the future. Customer ID to list all groups from.
* @param {string=} params.view Group resource view to be returned. Defaults to [View.BASIC]().
Expand Down Expand Up @@ -777,7 +777,7 @@ export namespace cloudidentity_v1 {
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {integer=} params.pageSize Maximum number of Groups to return. View | Default | Maximum -----|---------|-------- BASIC | 200 | 1000 FULL | 50 | 500
* @param {integer=} params.pageSize Maximum number of groups to return. View | Default | Maximum ----- | ------- | ------- BASIC | 200 | 1000 FULL | 50 | 500
* @param {string=} params.pageToken The next_page_token value returned from a previous search request, if any.
* @param {string=} params.query `Required`. Query string for performing search on groups. Users can search on parent and label attributes of groups. EXACT match ('==') is supported on parent, and CONTAINS match ('in') is supported on labels.
* @param {string=} params.view Group resource view to be returned. Defaults to [View.BASIC]().
Expand Down Expand Up @@ -885,8 +885,8 @@ export namespace cloudidentity_v1 {
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;

/**
* Maximum number of Groups to return. View | Default | Maximum
* -----|---------|-------- BASIC | 200 | 1000 FULL | 50 | 500
* Maximum number of groups to return. View | Default | Maximum ----- |
* ------- | ------- BASIC | 200 | 1000 FULL | 50 | 500
*/
pageSize?: number;
/**
Expand Down Expand Up @@ -953,8 +953,8 @@ export namespace cloudidentity_v1 {
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;

/**
* Maximum number of Groups to return. View | Default | Maximum
* -----|---------|-------- BASIC | 200 | 1000 FULL | 50 | 500
* Maximum number of groups to return. View | Default | Maximum ----- |
* ------- | ------- BASIC | 200 | 1000 FULL | 50 | 500
*/
pageSize?: number;
/**
Expand Down Expand Up @@ -1184,7 +1184,7 @@ export namespace cloudidentity_v1 {
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {integer=} params.pageSize Maximum number of Memberships to return. View | Default | Maximum -----|---------|-------- BASIC | 200 | 1000 FULL | 50 | 500
* @param {integer=} params.pageSize Maximum number of Memberships to return. View | Default | Maximum -----|---------|-------- BASIC| 200 | 1000 FULL | 50 | 500
* @param {string=} params.pageToken The next_page_token value returned from a previous list request, if any.
* @param {string} params.parent [Resource name](https://cloud.google.com/apis/design/resource_names) of the Group to list Memberships within. Format: `groups/{group_id}`, where `group_id` is the unique ID assigned to the Group.
* @param {string=} params.view Membership resource view to be returned. Defaults to View.BASIC.
Expand Down Expand Up @@ -1388,7 +1388,7 @@ export namespace cloudidentity_v1 {

/**
* Maximum number of Memberships to return. View | Default | Maximum
* -----|---------|-------- BASIC | 200 | 1000 FULL | 50 | 500
* -----|---------|-------- BASIC| 200 | 1000 FULL | 50 | 500
*/
pageSize?: number;
/**
Expand Down