Skip to content

Commit 73eab9b

Browse files
feat: run the generator (#1659)
1 parent d69c920 commit 73eab9b

File tree

15 files changed

+507
-51
lines changed

15 files changed

+507
-51
lines changed

src/apis/androidenterprise/v1.ts

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1894,11 +1894,21 @@ export namespace androidenterprise_v1 {
18941894
userValue?: string;
18951895
}
18961896
/**
1897-
* WebApp resource info.
1897+
* A WebApps resource represents a web app created for an enterprise. Web apps
1898+
* are published to managed Google Play and can be distributed like other
1899+
* Android apps. On a user's device, a web app opens its specified URL.
18981900
*/
18991901
export interface Schema$WebApp {
19001902
/**
1901-
* The display mode of the web app.
1903+
* The display mode of the web app. Possible values include: -
1904+
* "minimalUi", the device's status bar, navigation bar, the
1905+
* app's URL, and a refresh button are visible when the app is open. For
1906+
* HTTP URLs, you can only select this option. - "standalone", the
1907+
* device's status bar and navigation bar are visible when the app is
1908+
* open. - "fullScreen", the app opens in full screen mode, hiding
1909+
* the device's status and navigation bars. All browser UI elements,
1910+
* page URL, system status bar and back button are not visible, and the web
1911+
* app takes up the entirety of the available display area.
19021912
*/
19031913
displayMode?: string;
19041914
/**
@@ -1916,8 +1926,8 @@ export namespace androidenterprise_v1 {
19161926
*/
19171927
startUrl?: string;
19181928
/**
1919-
* The title of the web application as displayed to the user (e.g., amongst
1920-
* a list of other applications, or as a label for an icon).
1929+
* The title of the web app as displayed to the user (e.g., amongst a list
1930+
* of other applications, or as a label for an icon).
19211931
*/
19221932
title?: string;
19231933
/**
@@ -1927,7 +1937,9 @@ export namespace androidenterprise_v1 {
19271937
*/
19281938
versionCode?: string;
19291939
/**
1930-
* The ID of the application.
1940+
* The ID of the application. A string of the form "app:<package
1941+
* name>" where the package name always starts with the prefix
1942+
* "com.google.enterprise.webapp." followed by a random id.
19311943
*/
19321944
webAppId?: string;
19331945
}

src/apis/bigquerydatatransfer/v1.ts

Lines changed: 250 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,29 @@ export namespace bigquerydatatransfer_v1 {
446446
*/
447447
runs?: Schema$TransferRun[];
448448
}
449+
/**
450+
* A request to start manual transfer runs.
451+
*/
452+
export interface Schema$StartManualTransferRunsRequest {
453+
/**
454+
* Specific run_time for a transfer run to be started. The
455+
* requested_run_time must not be in the future.
456+
*/
457+
requestedRunTime?: string;
458+
/**
459+
* Time range for the transfer runs that should be started.
460+
*/
461+
requestedTimeRange?: Schema$TimeRange;
462+
}
463+
/**
464+
* A response to start manual transfer runs.
465+
*/
466+
export interface Schema$StartManualTransferRunsResponse {
467+
/**
468+
* The transfer runs that were created.
469+
*/
470+
runs?: Schema$TransferRun[];
471+
}
449472
/**
450473
* The `Status` type defines a logical error model that is suitable for
451474
* different programming environments, including REST APIs and RPC APIs. It is
@@ -499,6 +522,26 @@ export namespace bigquerydatatransfer_v1 {
499522
*/
500523
message?: string;
501524
}
525+
/**
526+
* A specification for a time range, this will request transfer runs with
527+
* run_time between start_time (inclusive) and end_time (exclusive).
528+
*/
529+
export interface Schema$TimeRange {
530+
/**
531+
* End time of the range of transfer runs. For example,
532+
* `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the
533+
* future. Creates transfer runs where run_time is in the range betwen
534+
* start_time (inclusive) and end_time (exlusive).
535+
*/
536+
endTime?: string;
537+
/**
538+
* Start time of the range of transfer runs. For example,
539+
* `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly
540+
* less than the end_time. Creates transfer runs where run_time is in the
541+
* range betwen start_time (inclusive) and end_time (exlusive).
542+
*/
543+
startTime?: string;
544+
}
502545
/**
503546
* Represents a data transfer configuration. A transfer configuration contains
504547
* all metadata needed to perform a data transfer. For example,
@@ -1776,7 +1819,7 @@ export namespace bigquerydatatransfer_v1 {
17761819
* @desc Creates transfer runs for a time range [start_time, end_time]. For
17771820
* each date - or whatever granularity the data source supports - in the
17781821
* range, one transfer run is created. Note that runs are created per UTC
1779-
* time in the time range.
1822+
* time in the time range. DEPRECATED: use StartManualTransferRuns instead.
17801823
* @alias
17811824
* bigquerydatatransfer.projects.locations.transferConfigs.scheduleRuns
17821825
* @memberOf! ()
@@ -1853,6 +1896,93 @@ export namespace bigquerydatatransfer_v1 {
18531896
parameters);
18541897
}
18551898
}
1899+
1900+
1901+
/**
1902+
* bigquerydatatransfer.projects.locations.transferConfigs.startManualRuns
1903+
* @desc Start manual transfer runs to be executed now with schedule_time
1904+
* equal to current time. The transfer runs can be created for a time range
1905+
* where the run_time is between start_time (inclusive) and end_time
1906+
* (exclusive), or for a specific run_time.
1907+
* @alias
1908+
* bigquerydatatransfer.projects.locations.transferConfigs.startManualRuns
1909+
* @memberOf! ()
1910+
*
1911+
* @param {object} params Parameters for request
1912+
* @param {string} params.parent Transfer configuration name in the form: `projects/{project_id}/transferConfigs/{config_id}`.
1913+
* @param {().StartManualTransferRunsRequest} params.resource Request body data
1914+
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
1915+
* @param {callback} callback The callback that handles the response.
1916+
* @return {object} Request object
1917+
*/
1918+
startManualRuns(
1919+
params?:
1920+
Params$Resource$Projects$Locations$Transferconfigs$Startmanualruns,
1921+
options?: MethodOptions):
1922+
GaxiosPromise<Schema$StartManualTransferRunsResponse>;
1923+
startManualRuns(
1924+
params:
1925+
Params$Resource$Projects$Locations$Transferconfigs$Startmanualruns,
1926+
options: MethodOptions|
1927+
BodyResponseCallback<Schema$StartManualTransferRunsResponse>,
1928+
callback: BodyResponseCallback<Schema$StartManualTransferRunsResponse>):
1929+
void;
1930+
startManualRuns(
1931+
params:
1932+
Params$Resource$Projects$Locations$Transferconfigs$Startmanualruns,
1933+
callback: BodyResponseCallback<Schema$StartManualTransferRunsResponse>):
1934+
void;
1935+
startManualRuns(
1936+
callback: BodyResponseCallback<Schema$StartManualTransferRunsResponse>):
1937+
void;
1938+
startManualRuns(
1939+
paramsOrCallback?:
1940+
Params$Resource$Projects$Locations$Transferconfigs$Startmanualruns|
1941+
BodyResponseCallback<Schema$StartManualTransferRunsResponse>,
1942+
optionsOrCallback?: MethodOptions|
1943+
BodyResponseCallback<Schema$StartManualTransferRunsResponse>,
1944+
callback?:
1945+
BodyResponseCallback<Schema$StartManualTransferRunsResponse>):
1946+
void|GaxiosPromise<Schema$StartManualTransferRunsResponse> {
1947+
let params = (paramsOrCallback || {}) as
1948+
Params$Resource$Projects$Locations$Transferconfigs$Startmanualruns;
1949+
let options = (optionsOrCallback || {}) as MethodOptions;
1950+
1951+
if (typeof paramsOrCallback === 'function') {
1952+
callback = paramsOrCallback;
1953+
params = {} as
1954+
Params$Resource$Projects$Locations$Transferconfigs$Startmanualruns;
1955+
options = {};
1956+
}
1957+
1958+
if (typeof optionsOrCallback === 'function') {
1959+
callback = optionsOrCallback;
1960+
options = {};
1961+
}
1962+
1963+
const rootUrl =
1964+
options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';
1965+
const parameters = {
1966+
options: Object.assign(
1967+
{
1968+
url: (rootUrl + '/v1/{+parent}:startManualRuns')
1969+
.replace(/([^:]\/)\/+/g, '$1'),
1970+
method: 'POST'
1971+
},
1972+
options),
1973+
params,
1974+
requiredParams: ['parent'],
1975+
pathParams: ['parent'],
1976+
context
1977+
};
1978+
if (callback) {
1979+
createAPIRequest<Schema$StartManualTransferRunsResponse>(
1980+
parameters, callback);
1981+
} else {
1982+
return createAPIRequest<Schema$StartManualTransferRunsResponse>(
1983+
parameters);
1984+
}
1985+
}
18561986
}
18571987

18581988
export interface Params$Resource$Projects$Locations$Transferconfigs$Create
@@ -2028,6 +2158,24 @@ export namespace bigquerydatatransfer_v1 {
20282158
*/
20292159
requestBody?: Schema$ScheduleTransferRunsRequest;
20302160
}
2161+
export interface Params$Resource$Projects$Locations$Transferconfigs$Startmanualruns
2162+
extends StandardParameters {
2163+
/**
2164+
* Auth client or API Key for the request
2165+
*/
2166+
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
2167+
2168+
/**
2169+
* Transfer configuration name in the form:
2170+
* `projects/{project_id}/transferConfigs/{config_id}`.
2171+
*/
2172+
parent?: string;
2173+
2174+
/**
2175+
* Request body metadata
2176+
*/
2177+
requestBody?: Schema$StartManualTransferRunsRequest;
2178+
}
20312179

20322180
export class Resource$Projects$Locations$Transferconfigs$Runs {
20332181
transferLogs: Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs;
@@ -2784,7 +2932,7 @@ export namespace bigquerydatatransfer_v1 {
27842932
* @desc Creates transfer runs for a time range [start_time, end_time]. For
27852933
* each date - or whatever granularity the data source supports - in the
27862934
* range, one transfer run is created. Note that runs are created per UTC
2787-
* time in the time range.
2935+
* time in the time range. DEPRECATED: use StartManualTransferRuns instead.
27882936
* @alias bigquerydatatransfer.projects.transferConfigs.scheduleRuns
27892937
* @memberOf! ()
27902938
*
@@ -2858,6 +3006,88 @@ export namespace bigquerydatatransfer_v1 {
28583006
parameters);
28593007
}
28603008
}
3009+
3010+
3011+
/**
3012+
* bigquerydatatransfer.projects.transferConfigs.startManualRuns
3013+
* @desc Start manual transfer runs to be executed now with schedule_time
3014+
* equal to current time. The transfer runs can be created for a time range
3015+
* where the run_time is between start_time (inclusive) and end_time
3016+
* (exclusive), or for a specific run_time.
3017+
* @alias bigquerydatatransfer.projects.transferConfigs.startManualRuns
3018+
* @memberOf! ()
3019+
*
3020+
* @param {object} params Parameters for request
3021+
* @param {string} params.parent Transfer configuration name in the form: `projects/{project_id}/transferConfigs/{config_id}`.
3022+
* @param {().StartManualTransferRunsRequest} params.resource Request body data
3023+
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
3024+
* @param {callback} callback The callback that handles the response.
3025+
* @return {object} Request object
3026+
*/
3027+
startManualRuns(
3028+
params?: Params$Resource$Projects$Transferconfigs$Startmanualruns,
3029+
options?: MethodOptions):
3030+
GaxiosPromise<Schema$StartManualTransferRunsResponse>;
3031+
startManualRuns(
3032+
params: Params$Resource$Projects$Transferconfigs$Startmanualruns,
3033+
options: MethodOptions|
3034+
BodyResponseCallback<Schema$StartManualTransferRunsResponse>,
3035+
callback: BodyResponseCallback<Schema$StartManualTransferRunsResponse>):
3036+
void;
3037+
startManualRuns(
3038+
params: Params$Resource$Projects$Transferconfigs$Startmanualruns,
3039+
callback: BodyResponseCallback<Schema$StartManualTransferRunsResponse>):
3040+
void;
3041+
startManualRuns(
3042+
callback: BodyResponseCallback<Schema$StartManualTransferRunsResponse>):
3043+
void;
3044+
startManualRuns(
3045+
paramsOrCallback?:
3046+
Params$Resource$Projects$Transferconfigs$Startmanualruns|
3047+
BodyResponseCallback<Schema$StartManualTransferRunsResponse>,
3048+
optionsOrCallback?: MethodOptions|
3049+
BodyResponseCallback<Schema$StartManualTransferRunsResponse>,
3050+
callback?:
3051+
BodyResponseCallback<Schema$StartManualTransferRunsResponse>):
3052+
void|GaxiosPromise<Schema$StartManualTransferRunsResponse> {
3053+
let params = (paramsOrCallback || {}) as
3054+
Params$Resource$Projects$Transferconfigs$Startmanualruns;
3055+
let options = (optionsOrCallback || {}) as MethodOptions;
3056+
3057+
if (typeof paramsOrCallback === 'function') {
3058+
callback = paramsOrCallback;
3059+
params = {} as Params$Resource$Projects$Transferconfigs$Startmanualruns;
3060+
options = {};
3061+
}
3062+
3063+
if (typeof optionsOrCallback === 'function') {
3064+
callback = optionsOrCallback;
3065+
options = {};
3066+
}
3067+
3068+
const rootUrl =
3069+
options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';
3070+
const parameters = {
3071+
options: Object.assign(
3072+
{
3073+
url: (rootUrl + '/v1/{+parent}:startManualRuns')
3074+
.replace(/([^:]\/)\/+/g, '$1'),
3075+
method: 'POST'
3076+
},
3077+
options),
3078+
params,
3079+
requiredParams: ['parent'],
3080+
pathParams: ['parent'],
3081+
context
3082+
};
3083+
if (callback) {
3084+
createAPIRequest<Schema$StartManualTransferRunsResponse>(
3085+
parameters, callback);
3086+
} else {
3087+
return createAPIRequest<Schema$StartManualTransferRunsResponse>(
3088+
parameters);
3089+
}
3090+
}
28613091
}
28623092

28633093
export interface Params$Resource$Projects$Transferconfigs$Create extends
@@ -3033,6 +3263,24 @@ export namespace bigquerydatatransfer_v1 {
30333263
*/
30343264
requestBody?: Schema$ScheduleTransferRunsRequest;
30353265
}
3266+
export interface Params$Resource$Projects$Transferconfigs$Startmanualruns
3267+
extends StandardParameters {
3268+
/**
3269+
* Auth client or API Key for the request
3270+
*/
3271+
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
3272+
3273+
/**
3274+
* Transfer configuration name in the form:
3275+
* `projects/{project_id}/transferConfigs/{config_id}`.
3276+
*/
3277+
parent?: string;
3278+
3279+
/**
3280+
* Request body metadata
3281+
*/
3282+
requestBody?: Schema$StartManualTransferRunsRequest;
3283+
}
30363284

30373285
export class Resource$Projects$Transferconfigs$Runs {
30383286
transferLogs: Resource$Projects$Transferconfigs$Runs$Transferlogs;

src/apis/cloudbuild/v1.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,10 @@ export namespace cloudbuild_v1 {
647647
* Response containing existing `BuildTriggers`.
648648
*/
649649
export interface Schema$ListBuildTriggersResponse {
650+
/**
651+
* Token to receive the next page of results.
652+
*/
653+
nextPageToken?: string;
650654
/**
651655
* `BuildTriggers` for the project, sorted by `create_time` descending.
652656
*/
@@ -1932,6 +1936,8 @@ export namespace cloudbuild_v1 {
19321936
* @memberOf! ()
19331937
*
19341938
* @param {object} params Parameters for request
1939+
* @param {integer=} params.pageSize Number of results to return in the list.
1940+
* @param {string=} params.pageToken Token to provide to skip to a particular spot in the list.
19351941
* @param {string} params.projectId ID of the project for which to list BuildTriggers.
19361942
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
19371943
* @param {callback} callback The callback that handles the response.
@@ -2188,6 +2194,14 @@ export namespace cloudbuild_v1 {
21882194
*/
21892195
auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient;
21902196

2197+
/**
2198+
* Number of results to return in the list.
2199+
*/
2200+
pageSize?: number;
2201+
/**
2202+
* Token to provide to skip to a particular spot in the list.
2203+
*/
2204+
pageToken?: string;
21912205
/**
21922206
* ID of the project for which to list BuildTriggers.
21932207
*/

0 commit comments

Comments
 (0)