@maxim_mazurok/gapi.client.dataflow-v1b3 0.3.20260807 → 0.3.20260825
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +881 -211
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://dataflow.googleapis.com/$discovery/rest?version=v1b3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260825
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -174,6 +174,18 @@ declare namespace gapi.client {
|
|
|
174
174
|
/** Position within the inner source. */
|
|
175
175
|
position?: Position;
|
|
176
176
|
}
|
|
177
|
+
interface ConfigStoreSetting {
|
|
178
|
+
/** Identifier. The resource name of the setting. */
|
|
179
|
+
name?: string;
|
|
180
|
+
/** Required. The dynamic value of the setting. */
|
|
181
|
+
value?: ConfigStoreSettingValue;
|
|
182
|
+
}
|
|
183
|
+
interface ConfigStoreSettingValue {
|
|
184
|
+
/** Represents a boolean value. */
|
|
185
|
+
boolValue?: boolean;
|
|
186
|
+
/** Represents a string value. */
|
|
187
|
+
stringValue?: string;
|
|
188
|
+
}
|
|
177
189
|
interface ContainerSpec {
|
|
178
190
|
/** Default runtime environment for the job. */
|
|
179
191
|
defaultEnvironment?: FlexTemplateRuntimeEnvironment;
|
|
@@ -427,6 +439,7 @@ declare namespace gapi.client {
|
|
|
427
439
|
/** Residual part (returned to the pool of work). Specified relative to the previously-current source. */
|
|
428
440
|
residual?: DerivedSource;
|
|
429
441
|
}
|
|
442
|
+
interface Empty {}
|
|
430
443
|
interface Environment {
|
|
431
444
|
/** The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com". */
|
|
432
445
|
clusterManagerApiService?: string;
|
|
@@ -955,6 +968,12 @@ declare namespace gapi.client {
|
|
|
955
968
|
/** Distance between bucket boundaries. Must be greater than 0. */
|
|
956
969
|
width?: number;
|
|
957
970
|
}
|
|
971
|
+
interface ListConfigStoreSettingsResponse {
|
|
972
|
+
/** The list of ConfigStoreSettings. */
|
|
973
|
+
configStoreSettings?: ConfigStoreSetting[];
|
|
974
|
+
/** A token that can be sent as `page_token` to retrieve the next page. */
|
|
975
|
+
nextPageToken?: string;
|
|
976
|
+
}
|
|
958
977
|
interface ListJobMessagesResponse {
|
|
959
978
|
/** Autoscaling events in ascending timestamp order. */
|
|
960
979
|
autoscalingEvents?: AutoscalingEvent[];
|
|
@@ -1324,6 +1343,13 @@ declare namespace gapi.client {
|
|
|
1324
1343
|
/** A set of messages indicating the service-side state for each WorkItem whose status was reported, in the same order as the WorkItemStatus messages in the ReportWorkItemStatusRequest which resulting in this response. */
|
|
1325
1344
|
workItemServiceStates?: WorkItemServiceState[];
|
|
1326
1345
|
}
|
|
1346
|
+
interface ResolveConfigStoreSettingRequest {}
|
|
1347
|
+
interface ResolveConfigStoreSettingResponse {
|
|
1348
|
+
/** The list of settings that were considered during resolution. */
|
|
1349
|
+
choices?: ConfigStoreSetting[];
|
|
1350
|
+
/** The dry-run setting result. */
|
|
1351
|
+
setting?: ConfigStoreSetting;
|
|
1352
|
+
}
|
|
1327
1353
|
interface ResourceUtilizationReport {
|
|
1328
1354
|
/** Per container information. Key: container name. */
|
|
1329
1355
|
containers?: {[P in string]: ResourceUtilizationReport};
|
|
@@ -2280,9 +2306,9 @@ declare namespace gapi.client {
|
|
|
2280
2306
|
/** The sink to write to. */
|
|
2281
2307
|
sink?: Sink;
|
|
2282
2308
|
}
|
|
2283
|
-
interface
|
|
2284
|
-
/**
|
|
2285
|
-
|
|
2309
|
+
interface ConfigStoreSettingsResource {
|
|
2310
|
+
/** Creates a new ConfigStoreSetting. */
|
|
2311
|
+
create(request: {
|
|
2286
2312
|
/** V1 error format. */
|
|
2287
2313
|
'$.xgafv'?: '1' | '2';
|
|
2288
2314
|
/** OAuth access token. */
|
|
@@ -2291,18 +2317,18 @@ declare namespace gapi.client {
|
|
|
2291
2317
|
alt?: 'json' | 'media' | 'proto';
|
|
2292
2318
|
/** JSONP */
|
|
2293
2319
|
callback?: string;
|
|
2320
|
+
/** Required. The ID to use for the setting. */
|
|
2321
|
+
configStoreSettingId?: string;
|
|
2294
2322
|
/** Selector specifying which fields to include in a partial response. */
|
|
2295
2323
|
fields?: string;
|
|
2296
|
-
/** The job id. */
|
|
2297
|
-
jobId: string;
|
|
2298
2324
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2299
2325
|
key?: string;
|
|
2300
2326
|
/** OAuth 2.0 token for the current user. */
|
|
2301
2327
|
oauth_token?: string;
|
|
2328
|
+
/** Required. The parent resource where this setting will be created. */
|
|
2329
|
+
parent: string;
|
|
2302
2330
|
/** Returns response with indentations and line breaks. */
|
|
2303
2331
|
prettyPrint?: boolean;
|
|
2304
|
-
/** The project id. */
|
|
2305
|
-
projectId: string;
|
|
2306
2332
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2307
2333
|
quotaUser?: string;
|
|
2308
2334
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -2310,9 +2336,9 @@ declare namespace gapi.client {
|
|
|
2310
2336
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2311
2337
|
uploadType?: string;
|
|
2312
2338
|
/** Request body */
|
|
2313
|
-
resource:
|
|
2314
|
-
}): Request<
|
|
2315
|
-
|
|
2339
|
+
resource: ConfigStoreSetting;
|
|
2340
|
+
}): Request<ConfigStoreSetting>;
|
|
2341
|
+
create(
|
|
2316
2342
|
request: {
|
|
2317
2343
|
/** V1 error format. */
|
|
2318
2344
|
'$.xgafv'?: '1' | '2';
|
|
@@ -2322,18 +2348,18 @@ declare namespace gapi.client {
|
|
|
2322
2348
|
alt?: 'json' | 'media' | 'proto';
|
|
2323
2349
|
/** JSONP */
|
|
2324
2350
|
callback?: string;
|
|
2351
|
+
/** Required. The ID to use for the setting. */
|
|
2352
|
+
configStoreSettingId?: string;
|
|
2325
2353
|
/** Selector specifying which fields to include in a partial response. */
|
|
2326
2354
|
fields?: string;
|
|
2327
|
-
/** The job id. */
|
|
2328
|
-
jobId: string;
|
|
2329
2355
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2330
2356
|
key?: string;
|
|
2331
2357
|
/** OAuth 2.0 token for the current user. */
|
|
2332
2358
|
oauth_token?: string;
|
|
2359
|
+
/** Required. The parent resource where this setting will be created. */
|
|
2360
|
+
parent: string;
|
|
2333
2361
|
/** Returns response with indentations and line breaks. */
|
|
2334
2362
|
prettyPrint?: boolean;
|
|
2335
|
-
/** The project id. */
|
|
2336
|
-
projectId: string;
|
|
2337
2363
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2338
2364
|
quotaUser?: string;
|
|
2339
2365
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -2341,10 +2367,10 @@ declare namespace gapi.client {
|
|
|
2341
2367
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2342
2368
|
uploadType?: string;
|
|
2343
2369
|
},
|
|
2344
|
-
body:
|
|
2345
|
-
): Request<
|
|
2346
|
-
/**
|
|
2347
|
-
|
|
2370
|
+
body: ConfigStoreSetting,
|
|
2371
|
+
): Request<ConfigStoreSetting>;
|
|
2372
|
+
/** Deletes an existing ConfigStoreSetting. */
|
|
2373
|
+
delete(request?: {
|
|
2348
2374
|
/** V1 error format. */
|
|
2349
2375
|
'$.xgafv'?: '1' | '2';
|
|
2350
2376
|
/** OAuth access token. */
|
|
@@ -2355,59 +2381,49 @@ declare namespace gapi.client {
|
|
|
2355
2381
|
callback?: string;
|
|
2356
2382
|
/** Selector specifying which fields to include in a partial response. */
|
|
2357
2383
|
fields?: string;
|
|
2358
|
-
/** The job id. */
|
|
2359
|
-
jobId: string;
|
|
2360
2384
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2361
2385
|
key?: string;
|
|
2386
|
+
/** Required. The name of the ConfigStoreSetting to delete. */
|
|
2387
|
+
name: string;
|
|
2362
2388
|
/** OAuth 2.0 token for the current user. */
|
|
2363
2389
|
oauth_token?: string;
|
|
2364
2390
|
/** Returns response with indentations and line breaks. */
|
|
2365
2391
|
prettyPrint?: boolean;
|
|
2366
|
-
/** The project id. */
|
|
2367
|
-
projectId: string;
|
|
2368
2392
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2369
2393
|
quotaUser?: string;
|
|
2370
2394
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2371
2395
|
upload_protocol?: string;
|
|
2372
2396
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2373
2397
|
uploadType?: string;
|
|
2374
|
-
/** Request body */
|
|
2375
|
-
resource: SendDebugCaptureRequest;
|
|
2376
2398
|
}): Request<{}>;
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
},
|
|
2406
|
-
body: SendDebugCaptureRequest,
|
|
2407
|
-
): Request<{}>;
|
|
2408
|
-
}
|
|
2409
|
-
interface MessagesResource {
|
|
2410
|
-
/** Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.messages.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.messages.list` is not recommended, as you can only request the status of jobs that are running in `us-central1`. # IAM Permissions Requires the `dataflow.messages.list` permission on the job. */
|
|
2399
|
+
/** Gets a ConfigStoreSetting. */
|
|
2400
|
+
get(request?: {
|
|
2401
|
+
/** V1 error format. */
|
|
2402
|
+
'$.xgafv'?: '1' | '2';
|
|
2403
|
+
/** OAuth access token. */
|
|
2404
|
+
access_token?: string;
|
|
2405
|
+
/** Data format for response. */
|
|
2406
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2407
|
+
/** JSONP */
|
|
2408
|
+
callback?: string;
|
|
2409
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2410
|
+
fields?: string;
|
|
2411
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2412
|
+
key?: string;
|
|
2413
|
+
/** Required. The name of the ConfigStoreSetting to retrieve. */
|
|
2414
|
+
name: string;
|
|
2415
|
+
/** OAuth 2.0 token for the current user. */
|
|
2416
|
+
oauth_token?: string;
|
|
2417
|
+
/** Returns response with indentations and line breaks. */
|
|
2418
|
+
prettyPrint?: boolean;
|
|
2419
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2420
|
+
quotaUser?: string;
|
|
2421
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2422
|
+
upload_protocol?: string;
|
|
2423
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2424
|
+
uploadType?: string;
|
|
2425
|
+
}): Request<ConfigStoreSetting>;
|
|
2426
|
+
/** Lists ConfigStoreSettings. */
|
|
2411
2427
|
list(request?: {
|
|
2412
2428
|
/** V1 error format. */
|
|
2413
2429
|
'$.xgafv'?: '1' | '2';
|
|
@@ -2417,47 +2433,29 @@ declare namespace gapi.client {
|
|
|
2417
2433
|
alt?: 'json' | 'media' | 'proto';
|
|
2418
2434
|
/** JSONP */
|
|
2419
2435
|
callback?: string;
|
|
2420
|
-
/** Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available). */
|
|
2421
|
-
endTime?: string;
|
|
2422
2436
|
/** Selector specifying which fields to include in a partial response. */
|
|
2423
2437
|
fields?: string;
|
|
2424
|
-
/** The job to get messages about. */
|
|
2425
|
-
jobId: string;
|
|
2426
2438
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2427
2439
|
key?: string;
|
|
2428
|
-
/** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id. */
|
|
2429
|
-
location?: string;
|
|
2430
|
-
/** Filter to only get messages with importance >= level */
|
|
2431
|
-
minimumImportance?:
|
|
2432
|
-
| 'JOB_MESSAGE_IMPORTANCE_UNKNOWN'
|
|
2433
|
-
| 'JOB_MESSAGE_DEBUG'
|
|
2434
|
-
| 'JOB_MESSAGE_DETAILED'
|
|
2435
|
-
| 'JOB_MESSAGE_BASIC'
|
|
2436
|
-
| 'JOB_MESSAGE_WARNING'
|
|
2437
|
-
| 'JOB_MESSAGE_ERROR';
|
|
2438
2440
|
/** OAuth 2.0 token for the current user. */
|
|
2439
2441
|
oauth_token?: string;
|
|
2440
|
-
/**
|
|
2442
|
+
/** Optional. The maximum number of settings to return. */
|
|
2441
2443
|
pageSize?: number;
|
|
2442
|
-
/**
|
|
2444
|
+
/** Optional. A page token, received from a previous `ListConfigStoreSettings` call. */
|
|
2443
2445
|
pageToken?: string;
|
|
2446
|
+
/** Required. The parent resource whose settings are being listed. */
|
|
2447
|
+
parent: string;
|
|
2444
2448
|
/** Returns response with indentations and line breaks. */
|
|
2445
2449
|
prettyPrint?: boolean;
|
|
2446
|
-
/** A project id. */
|
|
2447
|
-
projectId: string;
|
|
2448
2450
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2449
2451
|
quotaUser?: string;
|
|
2450
|
-
/** If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages). */
|
|
2451
|
-
startTime?: string;
|
|
2452
2452
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2453
2453
|
upload_protocol?: string;
|
|
2454
2454
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2455
2455
|
uploadType?: string;
|
|
2456
|
-
}): Request<
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
/** Leases a dataflow WorkItem to run. */
|
|
2460
|
-
lease(request: {
|
|
2456
|
+
}): Request<ListConfigStoreSettingsResponse>;
|
|
2457
|
+
/** Resolves effective value of a ConfigStoreSetting. */
|
|
2458
|
+
resolve(request: {
|
|
2461
2459
|
/** V1 error format. */
|
|
2462
2460
|
'$.xgafv'?: '1' | '2';
|
|
2463
2461
|
/** OAuth access token. */
|
|
@@ -2468,16 +2466,14 @@ declare namespace gapi.client {
|
|
|
2468
2466
|
callback?: string;
|
|
2469
2467
|
/** Selector specifying which fields to include in a partial response. */
|
|
2470
2468
|
fields?: string;
|
|
2471
|
-
/** Identifies the workflow job this worker belongs to. */
|
|
2472
|
-
jobId: string;
|
|
2473
2469
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2474
2470
|
key?: string;
|
|
2471
|
+
/** Required. The name of the setting to resolve. */
|
|
2472
|
+
name: string;
|
|
2475
2473
|
/** OAuth 2.0 token for the current user. */
|
|
2476
2474
|
oauth_token?: string;
|
|
2477
2475
|
/** Returns response with indentations and line breaks. */
|
|
2478
2476
|
prettyPrint?: boolean;
|
|
2479
|
-
/** Identifies the project this worker belongs to. */
|
|
2480
|
-
projectId: string;
|
|
2481
2477
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2482
2478
|
quotaUser?: string;
|
|
2483
2479
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -2485,9 +2481,9 @@ declare namespace gapi.client {
|
|
|
2485
2481
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2486
2482
|
uploadType?: string;
|
|
2487
2483
|
/** Request body */
|
|
2488
|
-
resource:
|
|
2489
|
-
}): Request<
|
|
2490
|
-
|
|
2484
|
+
resource: ResolveConfigStoreSettingRequest;
|
|
2485
|
+
}): Request<ResolveConfigStoreSettingResponse>;
|
|
2486
|
+
resolve(
|
|
2491
2487
|
request: {
|
|
2492
2488
|
/** V1 error format. */
|
|
2493
2489
|
'$.xgafv'?: '1' | '2';
|
|
@@ -2499,16 +2495,14 @@ declare namespace gapi.client {
|
|
|
2499
2495
|
callback?: string;
|
|
2500
2496
|
/** Selector specifying which fields to include in a partial response. */
|
|
2501
2497
|
fields?: string;
|
|
2502
|
-
/** Identifies the workflow job this worker belongs to. */
|
|
2503
|
-
jobId: string;
|
|
2504
2498
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2505
2499
|
key?: string;
|
|
2500
|
+
/** Required. The name of the setting to resolve. */
|
|
2501
|
+
name: string;
|
|
2506
2502
|
/** OAuth 2.0 token for the current user. */
|
|
2507
2503
|
oauth_token?: string;
|
|
2508
2504
|
/** Returns response with indentations and line breaks. */
|
|
2509
2505
|
prettyPrint?: boolean;
|
|
2510
|
-
/** Identifies the project this worker belongs to. */
|
|
2511
|
-
projectId: string;
|
|
2512
2506
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2513
2507
|
quotaUser?: string;
|
|
2514
2508
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -2516,10 +2510,18 @@ declare namespace gapi.client {
|
|
|
2516
2510
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2517
2511
|
uploadType?: string;
|
|
2518
2512
|
},
|
|
2519
|
-
body:
|
|
2520
|
-
): Request<
|
|
2521
|
-
|
|
2522
|
-
|
|
2513
|
+
body: ResolveConfigStoreSettingRequest,
|
|
2514
|
+
): Request<ResolveConfigStoreSettingResponse>;
|
|
2515
|
+
}
|
|
2516
|
+
interface LocationsResource {
|
|
2517
|
+
configStoreSettings: ConfigStoreSettingsResource;
|
|
2518
|
+
}
|
|
2519
|
+
interface FoldersResource {
|
|
2520
|
+
locations: LocationsResource;
|
|
2521
|
+
}
|
|
2522
|
+
interface ConfigStoreSettingsResource {
|
|
2523
|
+
/** Creates a new ConfigStoreSetting. */
|
|
2524
|
+
create(request: {
|
|
2523
2525
|
/** V1 error format. */
|
|
2524
2526
|
'$.xgafv'?: '1' | '2';
|
|
2525
2527
|
/** OAuth access token. */
|
|
@@ -2528,18 +2530,18 @@ declare namespace gapi.client {
|
|
|
2528
2530
|
alt?: 'json' | 'media' | 'proto';
|
|
2529
2531
|
/** JSONP */
|
|
2530
2532
|
callback?: string;
|
|
2533
|
+
/** Required. The ID to use for the setting. */
|
|
2534
|
+
configStoreSettingId?: string;
|
|
2531
2535
|
/** Selector specifying which fields to include in a partial response. */
|
|
2532
2536
|
fields?: string;
|
|
2533
|
-
/** The job which the WorkItem is part of. */
|
|
2534
|
-
jobId: string;
|
|
2535
2537
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2536
2538
|
key?: string;
|
|
2537
2539
|
/** OAuth 2.0 token for the current user. */
|
|
2538
2540
|
oauth_token?: string;
|
|
2541
|
+
/** Required. The parent resource where this setting will be created. */
|
|
2542
|
+
parent: string;
|
|
2539
2543
|
/** Returns response with indentations and line breaks. */
|
|
2540
2544
|
prettyPrint?: boolean;
|
|
2541
|
-
/** The project which owns the WorkItem's job. */
|
|
2542
|
-
projectId: string;
|
|
2543
2545
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2544
2546
|
quotaUser?: string;
|
|
2545
2547
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -2547,9 +2549,9 @@ declare namespace gapi.client {
|
|
|
2547
2549
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2548
2550
|
uploadType?: string;
|
|
2549
2551
|
/** Request body */
|
|
2550
|
-
resource:
|
|
2551
|
-
}): Request<
|
|
2552
|
-
|
|
2552
|
+
resource: ConfigStoreSetting;
|
|
2553
|
+
}): Request<ConfigStoreSetting>;
|
|
2554
|
+
create(
|
|
2553
2555
|
request: {
|
|
2554
2556
|
/** V1 error format. */
|
|
2555
2557
|
'$.xgafv'?: '1' | '2';
|
|
@@ -2559,18 +2561,18 @@ declare namespace gapi.client {
|
|
|
2559
2561
|
alt?: 'json' | 'media' | 'proto';
|
|
2560
2562
|
/** JSONP */
|
|
2561
2563
|
callback?: string;
|
|
2564
|
+
/** Required. The ID to use for the setting. */
|
|
2565
|
+
configStoreSettingId?: string;
|
|
2562
2566
|
/** Selector specifying which fields to include in a partial response. */
|
|
2563
2567
|
fields?: string;
|
|
2564
|
-
/** The job which the WorkItem is part of. */
|
|
2565
|
-
jobId: string;
|
|
2566
2568
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2567
2569
|
key?: string;
|
|
2568
2570
|
/** OAuth 2.0 token for the current user. */
|
|
2569
2571
|
oauth_token?: string;
|
|
2572
|
+
/** Required. The parent resource where this setting will be created. */
|
|
2573
|
+
parent: string;
|
|
2570
2574
|
/** Returns response with indentations and line breaks. */
|
|
2571
2575
|
prettyPrint?: boolean;
|
|
2572
|
-
/** The project which owns the WorkItem's job. */
|
|
2573
|
-
projectId: string;
|
|
2574
2576
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2575
2577
|
quotaUser?: string;
|
|
2576
2578
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -2578,12 +2580,10 @@ declare namespace gapi.client {
|
|
|
2578
2580
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2579
2581
|
uploadType?: string;
|
|
2580
2582
|
},
|
|
2581
|
-
body:
|
|
2582
|
-
): Request<
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
/** List the jobs of a project across all regions. **Note:** This method doesn't support filtering the list of jobs by name. # IAM Permissions Requires the `dataflow.jobs.list` permission on the project. */
|
|
2586
|
-
aggregated(request?: {
|
|
2583
|
+
body: ConfigStoreSetting,
|
|
2584
|
+
): Request<ConfigStoreSetting>;
|
|
2585
|
+
/** Deletes an existing ConfigStoreSetting. */
|
|
2586
|
+
delete(request?: {
|
|
2587
2587
|
/** V1 error format. */
|
|
2588
2588
|
'$.xgafv'?: '1' | '2';
|
|
2589
2589
|
/** OAuth access token. */
|
|
@@ -2594,39 +2594,23 @@ declare namespace gapi.client {
|
|
|
2594
2594
|
callback?: string;
|
|
2595
2595
|
/** Selector specifying which fields to include in a partial response. */
|
|
2596
2596
|
fields?: string;
|
|
2597
|
-
/** The kind of filter to use. */
|
|
2598
|
-
filter?: 'UNKNOWN' | 'ALL' | 'TERMINATED' | 'ACTIVE';
|
|
2599
2597
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2600
2598
|
key?: string;
|
|
2601
|
-
/** The
|
|
2602
|
-
|
|
2603
|
-
/** Optional. The job name. */
|
|
2604
|
-
name?: string;
|
|
2599
|
+
/** Required. The name of the ConfigStoreSetting to delete. */
|
|
2600
|
+
name: string;
|
|
2605
2601
|
/** OAuth 2.0 token for the current user. */
|
|
2606
2602
|
oauth_token?: string;
|
|
2607
|
-
/** If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit. */
|
|
2608
|
-
pageSize?: number;
|
|
2609
|
-
/** Set this to the 'next_page_token' field of a previous response to request additional results in a long list. */
|
|
2610
|
-
pageToken?: string;
|
|
2611
2603
|
/** Returns response with indentations and line breaks. */
|
|
2612
2604
|
prettyPrint?: boolean;
|
|
2613
|
-
/** The project which owns the jobs. */
|
|
2614
|
-
projectId: string;
|
|
2615
2605
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2616
2606
|
quotaUser?: string;
|
|
2617
2607
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2618
2608
|
upload_protocol?: string;
|
|
2619
2609
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2620
2610
|
uploadType?: string;
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
| 'JOB_VIEW_SUMMARY'
|
|
2625
|
-
| 'JOB_VIEW_ALL'
|
|
2626
|
-
| 'JOB_VIEW_DESCRIPTION';
|
|
2627
|
-
}): Request<ListJobsResponse>;
|
|
2628
|
-
/** Creates a Dataflow job. To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`. Do not enter confidential information when you supply string values using the API. # IAM Permissions 1. Requires the `dataflow.jobs.create` permission on the project. 2. `resourcemanager.projects.get` (Specifically required for regional endpoints to resolve regional resource metadata) */
|
|
2629
|
-
create(request: {
|
|
2611
|
+
}): Request<{}>;
|
|
2612
|
+
/** Gets a ConfigStoreSetting. */
|
|
2613
|
+
get(request?: {
|
|
2630
2614
|
/** V1 error format. */
|
|
2631
2615
|
'$.xgafv'?: '1' | '2';
|
|
2632
2616
|
/** OAuth access token. */
|
|
@@ -2639,72 +2623,21 @@ declare namespace gapi.client {
|
|
|
2639
2623
|
fields?: string;
|
|
2640
2624
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2641
2625
|
key?: string;
|
|
2642
|
-
/** The
|
|
2643
|
-
|
|
2626
|
+
/** Required. The name of the ConfigStoreSetting to retrieve. */
|
|
2627
|
+
name: string;
|
|
2644
2628
|
/** OAuth 2.0 token for the current user. */
|
|
2645
2629
|
oauth_token?: string;
|
|
2646
2630
|
/** Returns response with indentations and line breaks. */
|
|
2647
2631
|
prettyPrint?: boolean;
|
|
2648
|
-
/** The ID of the Cloud Platform project that the job belongs to. */
|
|
2649
|
-
projectId: string;
|
|
2650
2632
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2651
2633
|
quotaUser?: string;
|
|
2652
|
-
/** Deprecated. This field is now in the Job message. */
|
|
2653
|
-
replaceJobId?: string;
|
|
2654
2634
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2655
2635
|
upload_protocol?: string;
|
|
2656
2636
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2657
2637
|
uploadType?: string;
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
| 'JOB_VIEW_SUMMARY'
|
|
2662
|
-
| 'JOB_VIEW_ALL'
|
|
2663
|
-
| 'JOB_VIEW_DESCRIPTION';
|
|
2664
|
-
/** Request body */
|
|
2665
|
-
resource: Job;
|
|
2666
|
-
}): Request<Job>;
|
|
2667
|
-
create(
|
|
2668
|
-
request: {
|
|
2669
|
-
/** V1 error format. */
|
|
2670
|
-
'$.xgafv'?: '1' | '2';
|
|
2671
|
-
/** OAuth access token. */
|
|
2672
|
-
access_token?: string;
|
|
2673
|
-
/** Data format for response. */
|
|
2674
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2675
|
-
/** JSONP */
|
|
2676
|
-
callback?: string;
|
|
2677
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2678
|
-
fields?: string;
|
|
2679
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2680
|
-
key?: string;
|
|
2681
|
-
/** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. */
|
|
2682
|
-
location?: string;
|
|
2683
|
-
/** OAuth 2.0 token for the current user. */
|
|
2684
|
-
oauth_token?: string;
|
|
2685
|
-
/** Returns response with indentations and line breaks. */
|
|
2686
|
-
prettyPrint?: boolean;
|
|
2687
|
-
/** The ID of the Cloud Platform project that the job belongs to. */
|
|
2688
|
-
projectId: string;
|
|
2689
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2690
|
-
quotaUser?: string;
|
|
2691
|
-
/** Deprecated. This field is now in the Job message. */
|
|
2692
|
-
replaceJobId?: string;
|
|
2693
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2694
|
-
upload_protocol?: string;
|
|
2695
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2696
|
-
uploadType?: string;
|
|
2697
|
-
/** The level of information requested in response. */
|
|
2698
|
-
view?:
|
|
2699
|
-
| 'JOB_VIEW_UNKNOWN'
|
|
2700
|
-
| 'JOB_VIEW_SUMMARY'
|
|
2701
|
-
| 'JOB_VIEW_ALL'
|
|
2702
|
-
| 'JOB_VIEW_DESCRIPTION';
|
|
2703
|
-
},
|
|
2704
|
-
body: Job,
|
|
2705
|
-
): Request<Job>;
|
|
2706
|
-
/** Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`. # IAM Permissions Requires the `dataflow.jobs.get` permission on the job. */
|
|
2707
|
-
get(request?: {
|
|
2638
|
+
}): Request<ConfigStoreSetting>;
|
|
2639
|
+
/** Lists ConfigStoreSettings. */
|
|
2640
|
+
list(request?: {
|
|
2708
2641
|
/** V1 error format. */
|
|
2709
2642
|
'$.xgafv'?: '1' | '2';
|
|
2710
2643
|
/** OAuth access token. */
|
|
@@ -2715,33 +2648,27 @@ declare namespace gapi.client {
|
|
|
2715
2648
|
callback?: string;
|
|
2716
2649
|
/** Selector specifying which fields to include in a partial response. */
|
|
2717
2650
|
fields?: string;
|
|
2718
|
-
/** The job ID. */
|
|
2719
|
-
jobId: string;
|
|
2720
2651
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2721
2652
|
key?: string;
|
|
2722
|
-
/** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. */
|
|
2723
|
-
location?: string;
|
|
2724
2653
|
/** OAuth 2.0 token for the current user. */
|
|
2725
2654
|
oauth_token?: string;
|
|
2655
|
+
/** Optional. The maximum number of settings to return. */
|
|
2656
|
+
pageSize?: number;
|
|
2657
|
+
/** Optional. A page token, received from a previous `ListConfigStoreSettings` call. */
|
|
2658
|
+
pageToken?: string;
|
|
2659
|
+
/** Required. The parent resource whose settings are being listed. */
|
|
2660
|
+
parent: string;
|
|
2726
2661
|
/** Returns response with indentations and line breaks. */
|
|
2727
2662
|
prettyPrint?: boolean;
|
|
2728
|
-
/** The ID of the Cloud Platform project that the job belongs to. */
|
|
2729
|
-
projectId: string;
|
|
2730
2663
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2731
2664
|
quotaUser?: string;
|
|
2732
2665
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2733
2666
|
upload_protocol?: string;
|
|
2734
2667
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2735
2668
|
uploadType?: string;
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
| 'JOB_VIEW_SUMMARY'
|
|
2740
|
-
| 'JOB_VIEW_ALL'
|
|
2741
|
-
| 'JOB_VIEW_DESCRIPTION';
|
|
2742
|
-
}): Request<Job>;
|
|
2743
|
-
/** Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`. # IAM Permissions Requires the `dataflow.metrics.get` permission on the job. */
|
|
2744
|
-
getMetrics(request?: {
|
|
2669
|
+
}): Request<ListConfigStoreSettingsResponse>;
|
|
2670
|
+
/** Resolves effective value of a ConfigStoreSetting. */
|
|
2671
|
+
resolve(request: {
|
|
2745
2672
|
/** V1 error format. */
|
|
2746
2673
|
'$.xgafv'?: '1' | '2';
|
|
2747
2674
|
/** OAuth access token. */
|
|
@@ -2752,11 +2679,538 @@ declare namespace gapi.client {
|
|
|
2752
2679
|
callback?: string;
|
|
2753
2680
|
/** Selector specifying which fields to include in a partial response. */
|
|
2754
2681
|
fields?: string;
|
|
2755
|
-
/** The job to get metrics for. */
|
|
2756
|
-
jobId: string;
|
|
2757
2682
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2758
2683
|
key?: string;
|
|
2759
|
-
/** The
|
|
2684
|
+
/** Required. The name of the setting to resolve. */
|
|
2685
|
+
name: string;
|
|
2686
|
+
/** OAuth 2.0 token for the current user. */
|
|
2687
|
+
oauth_token?: string;
|
|
2688
|
+
/** Returns response with indentations and line breaks. */
|
|
2689
|
+
prettyPrint?: boolean;
|
|
2690
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2691
|
+
quotaUser?: string;
|
|
2692
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2693
|
+
upload_protocol?: string;
|
|
2694
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2695
|
+
uploadType?: string;
|
|
2696
|
+
/** Request body */
|
|
2697
|
+
resource: ResolveConfigStoreSettingRequest;
|
|
2698
|
+
}): Request<ResolveConfigStoreSettingResponse>;
|
|
2699
|
+
resolve(
|
|
2700
|
+
request: {
|
|
2701
|
+
/** V1 error format. */
|
|
2702
|
+
'$.xgafv'?: '1' | '2';
|
|
2703
|
+
/** OAuth access token. */
|
|
2704
|
+
access_token?: string;
|
|
2705
|
+
/** Data format for response. */
|
|
2706
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2707
|
+
/** JSONP */
|
|
2708
|
+
callback?: string;
|
|
2709
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2710
|
+
fields?: string;
|
|
2711
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2712
|
+
key?: string;
|
|
2713
|
+
/** Required. The name of the setting to resolve. */
|
|
2714
|
+
name: string;
|
|
2715
|
+
/** OAuth 2.0 token for the current user. */
|
|
2716
|
+
oauth_token?: string;
|
|
2717
|
+
/** Returns response with indentations and line breaks. */
|
|
2718
|
+
prettyPrint?: boolean;
|
|
2719
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2720
|
+
quotaUser?: string;
|
|
2721
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2722
|
+
upload_protocol?: string;
|
|
2723
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2724
|
+
uploadType?: string;
|
|
2725
|
+
},
|
|
2726
|
+
body: ResolveConfigStoreSettingRequest,
|
|
2727
|
+
): Request<ResolveConfigStoreSettingResponse>;
|
|
2728
|
+
}
|
|
2729
|
+
interface LocationsResource {
|
|
2730
|
+
configStoreSettings: ConfigStoreSettingsResource;
|
|
2731
|
+
}
|
|
2732
|
+
interface OrganizationsResource {
|
|
2733
|
+
locations: LocationsResource;
|
|
2734
|
+
}
|
|
2735
|
+
interface DebugResource {
|
|
2736
|
+
/** Get encoded debug configuration for component. Not cacheable. */
|
|
2737
|
+
getConfig(request: {
|
|
2738
|
+
/** V1 error format. */
|
|
2739
|
+
'$.xgafv'?: '1' | '2';
|
|
2740
|
+
/** OAuth access token. */
|
|
2741
|
+
access_token?: string;
|
|
2742
|
+
/** Data format for response. */
|
|
2743
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2744
|
+
/** JSONP */
|
|
2745
|
+
callback?: string;
|
|
2746
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2747
|
+
fields?: string;
|
|
2748
|
+
/** The job id. */
|
|
2749
|
+
jobId: string;
|
|
2750
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2751
|
+
key?: string;
|
|
2752
|
+
/** OAuth 2.0 token for the current user. */
|
|
2753
|
+
oauth_token?: string;
|
|
2754
|
+
/** Returns response with indentations and line breaks. */
|
|
2755
|
+
prettyPrint?: boolean;
|
|
2756
|
+
/** The project id. */
|
|
2757
|
+
projectId: string;
|
|
2758
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2759
|
+
quotaUser?: string;
|
|
2760
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2761
|
+
upload_protocol?: string;
|
|
2762
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2763
|
+
uploadType?: string;
|
|
2764
|
+
/** Request body */
|
|
2765
|
+
resource: GetDebugConfigRequest;
|
|
2766
|
+
}): Request<GetDebugConfigResponse>;
|
|
2767
|
+
getConfig(
|
|
2768
|
+
request: {
|
|
2769
|
+
/** V1 error format. */
|
|
2770
|
+
'$.xgafv'?: '1' | '2';
|
|
2771
|
+
/** OAuth access token. */
|
|
2772
|
+
access_token?: string;
|
|
2773
|
+
/** Data format for response. */
|
|
2774
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2775
|
+
/** JSONP */
|
|
2776
|
+
callback?: string;
|
|
2777
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2778
|
+
fields?: string;
|
|
2779
|
+
/** The job id. */
|
|
2780
|
+
jobId: string;
|
|
2781
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2782
|
+
key?: string;
|
|
2783
|
+
/** OAuth 2.0 token for the current user. */
|
|
2784
|
+
oauth_token?: string;
|
|
2785
|
+
/** Returns response with indentations and line breaks. */
|
|
2786
|
+
prettyPrint?: boolean;
|
|
2787
|
+
/** The project id. */
|
|
2788
|
+
projectId: string;
|
|
2789
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2790
|
+
quotaUser?: string;
|
|
2791
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2792
|
+
upload_protocol?: string;
|
|
2793
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2794
|
+
uploadType?: string;
|
|
2795
|
+
},
|
|
2796
|
+
body: GetDebugConfigRequest,
|
|
2797
|
+
): Request<GetDebugConfigResponse>;
|
|
2798
|
+
/** Send encoded debug capture data for component. */
|
|
2799
|
+
sendCapture(request: {
|
|
2800
|
+
/** V1 error format. */
|
|
2801
|
+
'$.xgafv'?: '1' | '2';
|
|
2802
|
+
/** OAuth access token. */
|
|
2803
|
+
access_token?: string;
|
|
2804
|
+
/** Data format for response. */
|
|
2805
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2806
|
+
/** JSONP */
|
|
2807
|
+
callback?: string;
|
|
2808
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2809
|
+
fields?: string;
|
|
2810
|
+
/** The job id. */
|
|
2811
|
+
jobId: string;
|
|
2812
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2813
|
+
key?: string;
|
|
2814
|
+
/** OAuth 2.0 token for the current user. */
|
|
2815
|
+
oauth_token?: string;
|
|
2816
|
+
/** Returns response with indentations and line breaks. */
|
|
2817
|
+
prettyPrint?: boolean;
|
|
2818
|
+
/** The project id. */
|
|
2819
|
+
projectId: string;
|
|
2820
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2821
|
+
quotaUser?: string;
|
|
2822
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2823
|
+
upload_protocol?: string;
|
|
2824
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2825
|
+
uploadType?: string;
|
|
2826
|
+
/** Request body */
|
|
2827
|
+
resource: SendDebugCaptureRequest;
|
|
2828
|
+
}): Request<{}>;
|
|
2829
|
+
sendCapture(
|
|
2830
|
+
request: {
|
|
2831
|
+
/** V1 error format. */
|
|
2832
|
+
'$.xgafv'?: '1' | '2';
|
|
2833
|
+
/** OAuth access token. */
|
|
2834
|
+
access_token?: string;
|
|
2835
|
+
/** Data format for response. */
|
|
2836
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2837
|
+
/** JSONP */
|
|
2838
|
+
callback?: string;
|
|
2839
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2840
|
+
fields?: string;
|
|
2841
|
+
/** The job id. */
|
|
2842
|
+
jobId: string;
|
|
2843
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2844
|
+
key?: string;
|
|
2845
|
+
/** OAuth 2.0 token for the current user. */
|
|
2846
|
+
oauth_token?: string;
|
|
2847
|
+
/** Returns response with indentations and line breaks. */
|
|
2848
|
+
prettyPrint?: boolean;
|
|
2849
|
+
/** The project id. */
|
|
2850
|
+
projectId: string;
|
|
2851
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2852
|
+
quotaUser?: string;
|
|
2853
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2854
|
+
upload_protocol?: string;
|
|
2855
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2856
|
+
uploadType?: string;
|
|
2857
|
+
},
|
|
2858
|
+
body: SendDebugCaptureRequest,
|
|
2859
|
+
): Request<{}>;
|
|
2860
|
+
}
|
|
2861
|
+
interface MessagesResource {
|
|
2862
|
+
/** Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.messages.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.messages.list` is not recommended, as you can only request the status of jobs that are running in `us-central1`. # IAM Permissions Requires the `dataflow.messages.list` permission on the job. */
|
|
2863
|
+
list(request?: {
|
|
2864
|
+
/** V1 error format. */
|
|
2865
|
+
'$.xgafv'?: '1' | '2';
|
|
2866
|
+
/** OAuth access token. */
|
|
2867
|
+
access_token?: string;
|
|
2868
|
+
/** Data format for response. */
|
|
2869
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2870
|
+
/** JSONP */
|
|
2871
|
+
callback?: string;
|
|
2872
|
+
/** Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available). */
|
|
2873
|
+
endTime?: string;
|
|
2874
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2875
|
+
fields?: string;
|
|
2876
|
+
/** The job to get messages about. */
|
|
2877
|
+
jobId: string;
|
|
2878
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2879
|
+
key?: string;
|
|
2880
|
+
/** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id. */
|
|
2881
|
+
location?: string;
|
|
2882
|
+
/** Filter to only get messages with importance >= level */
|
|
2883
|
+
minimumImportance?:
|
|
2884
|
+
| 'JOB_MESSAGE_IMPORTANCE_UNKNOWN'
|
|
2885
|
+
| 'JOB_MESSAGE_DEBUG'
|
|
2886
|
+
| 'JOB_MESSAGE_DETAILED'
|
|
2887
|
+
| 'JOB_MESSAGE_BASIC'
|
|
2888
|
+
| 'JOB_MESSAGE_WARNING'
|
|
2889
|
+
| 'JOB_MESSAGE_ERROR';
|
|
2890
|
+
/** OAuth 2.0 token for the current user. */
|
|
2891
|
+
oauth_token?: string;
|
|
2892
|
+
/** If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results. */
|
|
2893
|
+
pageSize?: number;
|
|
2894
|
+
/** If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned. */
|
|
2895
|
+
pageToken?: string;
|
|
2896
|
+
/** Returns response with indentations and line breaks. */
|
|
2897
|
+
prettyPrint?: boolean;
|
|
2898
|
+
/** A project id. */
|
|
2899
|
+
projectId: string;
|
|
2900
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2901
|
+
quotaUser?: string;
|
|
2902
|
+
/** If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages). */
|
|
2903
|
+
startTime?: string;
|
|
2904
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2905
|
+
upload_protocol?: string;
|
|
2906
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2907
|
+
uploadType?: string;
|
|
2908
|
+
}): Request<ListJobMessagesResponse>;
|
|
2909
|
+
}
|
|
2910
|
+
interface WorkItemsResource {
|
|
2911
|
+
/** Leases a dataflow WorkItem to run. */
|
|
2912
|
+
lease(request: {
|
|
2913
|
+
/** V1 error format. */
|
|
2914
|
+
'$.xgafv'?: '1' | '2';
|
|
2915
|
+
/** OAuth access token. */
|
|
2916
|
+
access_token?: string;
|
|
2917
|
+
/** Data format for response. */
|
|
2918
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2919
|
+
/** JSONP */
|
|
2920
|
+
callback?: string;
|
|
2921
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2922
|
+
fields?: string;
|
|
2923
|
+
/** Identifies the workflow job this worker belongs to. */
|
|
2924
|
+
jobId: string;
|
|
2925
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2926
|
+
key?: string;
|
|
2927
|
+
/** OAuth 2.0 token for the current user. */
|
|
2928
|
+
oauth_token?: string;
|
|
2929
|
+
/** Returns response with indentations and line breaks. */
|
|
2930
|
+
prettyPrint?: boolean;
|
|
2931
|
+
/** Identifies the project this worker belongs to. */
|
|
2932
|
+
projectId: string;
|
|
2933
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2934
|
+
quotaUser?: string;
|
|
2935
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2936
|
+
upload_protocol?: string;
|
|
2937
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2938
|
+
uploadType?: string;
|
|
2939
|
+
/** Request body */
|
|
2940
|
+
resource: LeaseWorkItemRequest;
|
|
2941
|
+
}): Request<LeaseWorkItemResponse>;
|
|
2942
|
+
lease(
|
|
2943
|
+
request: {
|
|
2944
|
+
/** V1 error format. */
|
|
2945
|
+
'$.xgafv'?: '1' | '2';
|
|
2946
|
+
/** OAuth access token. */
|
|
2947
|
+
access_token?: string;
|
|
2948
|
+
/** Data format for response. */
|
|
2949
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2950
|
+
/** JSONP */
|
|
2951
|
+
callback?: string;
|
|
2952
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2953
|
+
fields?: string;
|
|
2954
|
+
/** Identifies the workflow job this worker belongs to. */
|
|
2955
|
+
jobId: string;
|
|
2956
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2957
|
+
key?: string;
|
|
2958
|
+
/** OAuth 2.0 token for the current user. */
|
|
2959
|
+
oauth_token?: string;
|
|
2960
|
+
/** Returns response with indentations and line breaks. */
|
|
2961
|
+
prettyPrint?: boolean;
|
|
2962
|
+
/** Identifies the project this worker belongs to. */
|
|
2963
|
+
projectId: string;
|
|
2964
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2965
|
+
quotaUser?: string;
|
|
2966
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2967
|
+
upload_protocol?: string;
|
|
2968
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2969
|
+
uploadType?: string;
|
|
2970
|
+
},
|
|
2971
|
+
body: LeaseWorkItemRequest,
|
|
2972
|
+
): Request<LeaseWorkItemResponse>;
|
|
2973
|
+
/** Reports the status of dataflow WorkItems leased by a worker. */
|
|
2974
|
+
reportStatus(request: {
|
|
2975
|
+
/** V1 error format. */
|
|
2976
|
+
'$.xgafv'?: '1' | '2';
|
|
2977
|
+
/** OAuth access token. */
|
|
2978
|
+
access_token?: string;
|
|
2979
|
+
/** Data format for response. */
|
|
2980
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2981
|
+
/** JSONP */
|
|
2982
|
+
callback?: string;
|
|
2983
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2984
|
+
fields?: string;
|
|
2985
|
+
/** The job which the WorkItem is part of. */
|
|
2986
|
+
jobId: string;
|
|
2987
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2988
|
+
key?: string;
|
|
2989
|
+
/** OAuth 2.0 token for the current user. */
|
|
2990
|
+
oauth_token?: string;
|
|
2991
|
+
/** Returns response with indentations and line breaks. */
|
|
2992
|
+
prettyPrint?: boolean;
|
|
2993
|
+
/** The project which owns the WorkItem's job. */
|
|
2994
|
+
projectId: string;
|
|
2995
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2996
|
+
quotaUser?: string;
|
|
2997
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2998
|
+
upload_protocol?: string;
|
|
2999
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3000
|
+
uploadType?: string;
|
|
3001
|
+
/** Request body */
|
|
3002
|
+
resource: ReportWorkItemStatusRequest;
|
|
3003
|
+
}): Request<ReportWorkItemStatusResponse>;
|
|
3004
|
+
reportStatus(
|
|
3005
|
+
request: {
|
|
3006
|
+
/** V1 error format. */
|
|
3007
|
+
'$.xgafv'?: '1' | '2';
|
|
3008
|
+
/** OAuth access token. */
|
|
3009
|
+
access_token?: string;
|
|
3010
|
+
/** Data format for response. */
|
|
3011
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3012
|
+
/** JSONP */
|
|
3013
|
+
callback?: string;
|
|
3014
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3015
|
+
fields?: string;
|
|
3016
|
+
/** The job which the WorkItem is part of. */
|
|
3017
|
+
jobId: string;
|
|
3018
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3019
|
+
key?: string;
|
|
3020
|
+
/** OAuth 2.0 token for the current user. */
|
|
3021
|
+
oauth_token?: string;
|
|
3022
|
+
/** Returns response with indentations and line breaks. */
|
|
3023
|
+
prettyPrint?: boolean;
|
|
3024
|
+
/** The project which owns the WorkItem's job. */
|
|
3025
|
+
projectId: string;
|
|
3026
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3027
|
+
quotaUser?: string;
|
|
3028
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3029
|
+
upload_protocol?: string;
|
|
3030
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3031
|
+
uploadType?: string;
|
|
3032
|
+
},
|
|
3033
|
+
body: ReportWorkItemStatusRequest,
|
|
3034
|
+
): Request<ReportWorkItemStatusResponse>;
|
|
3035
|
+
}
|
|
3036
|
+
interface JobsResource {
|
|
3037
|
+
/** List the jobs of a project across all regions. **Note:** This method doesn't support filtering the list of jobs by name. # IAM Permissions Requires the `dataflow.jobs.list` permission on the project. */
|
|
3038
|
+
aggregated(request?: {
|
|
3039
|
+
/** V1 error format. */
|
|
3040
|
+
'$.xgafv'?: '1' | '2';
|
|
3041
|
+
/** OAuth access token. */
|
|
3042
|
+
access_token?: string;
|
|
3043
|
+
/** Data format for response. */
|
|
3044
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3045
|
+
/** JSONP */
|
|
3046
|
+
callback?: string;
|
|
3047
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3048
|
+
fields?: string;
|
|
3049
|
+
/** The kind of filter to use. */
|
|
3050
|
+
filter?: 'UNKNOWN' | 'ALL' | 'TERMINATED' | 'ACTIVE';
|
|
3051
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3052
|
+
key?: string;
|
|
3053
|
+
/** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. */
|
|
3054
|
+
location?: string;
|
|
3055
|
+
/** Optional. The job name. */
|
|
3056
|
+
name?: string;
|
|
3057
|
+
/** OAuth 2.0 token for the current user. */
|
|
3058
|
+
oauth_token?: string;
|
|
3059
|
+
/** If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit. */
|
|
3060
|
+
pageSize?: number;
|
|
3061
|
+
/** Set this to the 'next_page_token' field of a previous response to request additional results in a long list. */
|
|
3062
|
+
pageToken?: string;
|
|
3063
|
+
/** Returns response with indentations and line breaks. */
|
|
3064
|
+
prettyPrint?: boolean;
|
|
3065
|
+
/** The project which owns the jobs. */
|
|
3066
|
+
projectId: string;
|
|
3067
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3068
|
+
quotaUser?: string;
|
|
3069
|
+
/** Optional. */
|
|
3070
|
+
regionalFanoutRequested?: boolean;
|
|
3071
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3072
|
+
upload_protocol?: string;
|
|
3073
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3074
|
+
uploadType?: string;
|
|
3075
|
+
/** Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews. */
|
|
3076
|
+
view?:
|
|
3077
|
+
| 'JOB_VIEW_UNKNOWN'
|
|
3078
|
+
| 'JOB_VIEW_SUMMARY'
|
|
3079
|
+
| 'JOB_VIEW_ALL'
|
|
3080
|
+
| 'JOB_VIEW_DESCRIPTION';
|
|
3081
|
+
}): Request<ListJobsResponse>;
|
|
3082
|
+
/** Creates a Dataflow job. To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`. Do not enter confidential information when you supply string values using the API. # IAM Permissions 1. Requires the `dataflow.jobs.create` permission on the project. 2. `resourcemanager.projects.get` (Specifically required for regional endpoints to resolve regional resource metadata) */
|
|
3083
|
+
create(request: {
|
|
3084
|
+
/** V1 error format. */
|
|
3085
|
+
'$.xgafv'?: '1' | '2';
|
|
3086
|
+
/** OAuth access token. */
|
|
3087
|
+
access_token?: string;
|
|
3088
|
+
/** Data format for response. */
|
|
3089
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3090
|
+
/** JSONP */
|
|
3091
|
+
callback?: string;
|
|
3092
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3093
|
+
fields?: string;
|
|
3094
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3095
|
+
key?: string;
|
|
3096
|
+
/** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. */
|
|
3097
|
+
location?: string;
|
|
3098
|
+
/** OAuth 2.0 token for the current user. */
|
|
3099
|
+
oauth_token?: string;
|
|
3100
|
+
/** Returns response with indentations and line breaks. */
|
|
3101
|
+
prettyPrint?: boolean;
|
|
3102
|
+
/** The ID of the Cloud Platform project that the job belongs to. */
|
|
3103
|
+
projectId: string;
|
|
3104
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3105
|
+
quotaUser?: string;
|
|
3106
|
+
/** Deprecated. This field is now in the Job message. */
|
|
3107
|
+
replaceJobId?: string;
|
|
3108
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3109
|
+
upload_protocol?: string;
|
|
3110
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3111
|
+
uploadType?: string;
|
|
3112
|
+
/** The level of information requested in response. */
|
|
3113
|
+
view?:
|
|
3114
|
+
| 'JOB_VIEW_UNKNOWN'
|
|
3115
|
+
| 'JOB_VIEW_SUMMARY'
|
|
3116
|
+
| 'JOB_VIEW_ALL'
|
|
3117
|
+
| 'JOB_VIEW_DESCRIPTION';
|
|
3118
|
+
/** Request body */
|
|
3119
|
+
resource: Job;
|
|
3120
|
+
}): Request<Job>;
|
|
3121
|
+
create(
|
|
3122
|
+
request: {
|
|
3123
|
+
/** V1 error format. */
|
|
3124
|
+
'$.xgafv'?: '1' | '2';
|
|
3125
|
+
/** OAuth access token. */
|
|
3126
|
+
access_token?: string;
|
|
3127
|
+
/** Data format for response. */
|
|
3128
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3129
|
+
/** JSONP */
|
|
3130
|
+
callback?: string;
|
|
3131
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3132
|
+
fields?: string;
|
|
3133
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3134
|
+
key?: string;
|
|
3135
|
+
/** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. */
|
|
3136
|
+
location?: string;
|
|
3137
|
+
/** OAuth 2.0 token for the current user. */
|
|
3138
|
+
oauth_token?: string;
|
|
3139
|
+
/** Returns response with indentations and line breaks. */
|
|
3140
|
+
prettyPrint?: boolean;
|
|
3141
|
+
/** The ID of the Cloud Platform project that the job belongs to. */
|
|
3142
|
+
projectId: string;
|
|
3143
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3144
|
+
quotaUser?: string;
|
|
3145
|
+
/** Deprecated. This field is now in the Job message. */
|
|
3146
|
+
replaceJobId?: string;
|
|
3147
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3148
|
+
upload_protocol?: string;
|
|
3149
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3150
|
+
uploadType?: string;
|
|
3151
|
+
/** The level of information requested in response. */
|
|
3152
|
+
view?:
|
|
3153
|
+
| 'JOB_VIEW_UNKNOWN'
|
|
3154
|
+
| 'JOB_VIEW_SUMMARY'
|
|
3155
|
+
| 'JOB_VIEW_ALL'
|
|
3156
|
+
| 'JOB_VIEW_DESCRIPTION';
|
|
3157
|
+
},
|
|
3158
|
+
body: Job,
|
|
3159
|
+
): Request<Job>;
|
|
3160
|
+
/** Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`. # IAM Permissions Requires the `dataflow.jobs.get` permission on the job. */
|
|
3161
|
+
get(request?: {
|
|
3162
|
+
/** V1 error format. */
|
|
3163
|
+
'$.xgafv'?: '1' | '2';
|
|
3164
|
+
/** OAuth access token. */
|
|
3165
|
+
access_token?: string;
|
|
3166
|
+
/** Data format for response. */
|
|
3167
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3168
|
+
/** JSONP */
|
|
3169
|
+
callback?: string;
|
|
3170
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3171
|
+
fields?: string;
|
|
3172
|
+
/** The job ID. */
|
|
3173
|
+
jobId: string;
|
|
3174
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3175
|
+
key?: string;
|
|
3176
|
+
/** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. */
|
|
3177
|
+
location?: string;
|
|
3178
|
+
/** OAuth 2.0 token for the current user. */
|
|
3179
|
+
oauth_token?: string;
|
|
3180
|
+
/** Returns response with indentations and line breaks. */
|
|
3181
|
+
prettyPrint?: boolean;
|
|
3182
|
+
/** The ID of the Cloud Platform project that the job belongs to. */
|
|
3183
|
+
projectId: string;
|
|
3184
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3185
|
+
quotaUser?: string;
|
|
3186
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3187
|
+
upload_protocol?: string;
|
|
3188
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3189
|
+
uploadType?: string;
|
|
3190
|
+
/** The level of information requested in response. */
|
|
3191
|
+
view?:
|
|
3192
|
+
| 'JOB_VIEW_UNKNOWN'
|
|
3193
|
+
| 'JOB_VIEW_SUMMARY'
|
|
3194
|
+
| 'JOB_VIEW_ALL'
|
|
3195
|
+
| 'JOB_VIEW_DESCRIPTION';
|
|
3196
|
+
}): Request<Job>;
|
|
3197
|
+
/** Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`. # IAM Permissions Requires the `dataflow.metrics.get` permission on the job. */
|
|
3198
|
+
getMetrics(request?: {
|
|
3199
|
+
/** V1 error format. */
|
|
3200
|
+
'$.xgafv'?: '1' | '2';
|
|
3201
|
+
/** OAuth access token. */
|
|
3202
|
+
access_token?: string;
|
|
3203
|
+
/** Data format for response. */
|
|
3204
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3205
|
+
/** JSONP */
|
|
3206
|
+
callback?: string;
|
|
3207
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3208
|
+
fields?: string;
|
|
3209
|
+
/** The job to get metrics for. */
|
|
3210
|
+
jobId: string;
|
|
3211
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3212
|
+
key?: string;
|
|
3213
|
+
/** The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id. */
|
|
2760
3214
|
location?: string;
|
|
2761
3215
|
/** OAuth 2.0 token for the current user. */
|
|
2762
3216
|
oauth_token?: string;
|
|
@@ -2805,6 +3259,8 @@ declare namespace gapi.client {
|
|
|
2805
3259
|
projectId: string;
|
|
2806
3260
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2807
3261
|
quotaUser?: string;
|
|
3262
|
+
/** Optional. */
|
|
3263
|
+
regionalFanoutRequested?: boolean;
|
|
2808
3264
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2809
3265
|
upload_protocol?: string;
|
|
2810
3266
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -2952,6 +3408,213 @@ declare namespace gapi.client {
|
|
|
2952
3408
|
messages: MessagesResource;
|
|
2953
3409
|
workItems: WorkItemsResource;
|
|
2954
3410
|
}
|
|
3411
|
+
interface ConfigStoreSettingsResource {
|
|
3412
|
+
/** Creates a new ConfigStoreSetting. */
|
|
3413
|
+
create(request: {
|
|
3414
|
+
/** V1 error format. */
|
|
3415
|
+
'$.xgafv'?: '1' | '2';
|
|
3416
|
+
/** OAuth access token. */
|
|
3417
|
+
access_token?: string;
|
|
3418
|
+
/** Data format for response. */
|
|
3419
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3420
|
+
/** JSONP */
|
|
3421
|
+
callback?: string;
|
|
3422
|
+
/** Required. The ID to use for the setting. */
|
|
3423
|
+
configStoreSettingId?: string;
|
|
3424
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3425
|
+
fields?: string;
|
|
3426
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3427
|
+
key?: string;
|
|
3428
|
+
/** OAuth 2.0 token for the current user. */
|
|
3429
|
+
oauth_token?: string;
|
|
3430
|
+
/** Required. The parent resource where this setting will be created. */
|
|
3431
|
+
parent: string;
|
|
3432
|
+
/** Returns response with indentations and line breaks. */
|
|
3433
|
+
prettyPrint?: boolean;
|
|
3434
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3435
|
+
quotaUser?: string;
|
|
3436
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3437
|
+
upload_protocol?: string;
|
|
3438
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3439
|
+
uploadType?: string;
|
|
3440
|
+
/** Request body */
|
|
3441
|
+
resource: ConfigStoreSetting;
|
|
3442
|
+
}): Request<ConfigStoreSetting>;
|
|
3443
|
+
create(
|
|
3444
|
+
request: {
|
|
3445
|
+
/** V1 error format. */
|
|
3446
|
+
'$.xgafv'?: '1' | '2';
|
|
3447
|
+
/** OAuth access token. */
|
|
3448
|
+
access_token?: string;
|
|
3449
|
+
/** Data format for response. */
|
|
3450
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3451
|
+
/** JSONP */
|
|
3452
|
+
callback?: string;
|
|
3453
|
+
/** Required. The ID to use for the setting. */
|
|
3454
|
+
configStoreSettingId?: string;
|
|
3455
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3456
|
+
fields?: string;
|
|
3457
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3458
|
+
key?: string;
|
|
3459
|
+
/** OAuth 2.0 token for the current user. */
|
|
3460
|
+
oauth_token?: string;
|
|
3461
|
+
/** Required. The parent resource where this setting will be created. */
|
|
3462
|
+
parent: string;
|
|
3463
|
+
/** Returns response with indentations and line breaks. */
|
|
3464
|
+
prettyPrint?: boolean;
|
|
3465
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3466
|
+
quotaUser?: string;
|
|
3467
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3468
|
+
upload_protocol?: string;
|
|
3469
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3470
|
+
uploadType?: string;
|
|
3471
|
+
},
|
|
3472
|
+
body: ConfigStoreSetting,
|
|
3473
|
+
): Request<ConfigStoreSetting>;
|
|
3474
|
+
/** Deletes an existing ConfigStoreSetting. */
|
|
3475
|
+
delete(request?: {
|
|
3476
|
+
/** V1 error format. */
|
|
3477
|
+
'$.xgafv'?: '1' | '2';
|
|
3478
|
+
/** OAuth access token. */
|
|
3479
|
+
access_token?: string;
|
|
3480
|
+
/** Data format for response. */
|
|
3481
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3482
|
+
/** JSONP */
|
|
3483
|
+
callback?: string;
|
|
3484
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3485
|
+
fields?: string;
|
|
3486
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3487
|
+
key?: string;
|
|
3488
|
+
/** Required. The name of the ConfigStoreSetting to delete. */
|
|
3489
|
+
name: string;
|
|
3490
|
+
/** OAuth 2.0 token for the current user. */
|
|
3491
|
+
oauth_token?: string;
|
|
3492
|
+
/** Returns response with indentations and line breaks. */
|
|
3493
|
+
prettyPrint?: boolean;
|
|
3494
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3495
|
+
quotaUser?: string;
|
|
3496
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3497
|
+
upload_protocol?: string;
|
|
3498
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3499
|
+
uploadType?: string;
|
|
3500
|
+
}): Request<{}>;
|
|
3501
|
+
/** Gets a ConfigStoreSetting. */
|
|
3502
|
+
get(request?: {
|
|
3503
|
+
/** V1 error format. */
|
|
3504
|
+
'$.xgafv'?: '1' | '2';
|
|
3505
|
+
/** OAuth access token. */
|
|
3506
|
+
access_token?: string;
|
|
3507
|
+
/** Data format for response. */
|
|
3508
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3509
|
+
/** JSONP */
|
|
3510
|
+
callback?: string;
|
|
3511
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3512
|
+
fields?: string;
|
|
3513
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3514
|
+
key?: string;
|
|
3515
|
+
/** Required. The name of the ConfigStoreSetting to retrieve. */
|
|
3516
|
+
name: string;
|
|
3517
|
+
/** OAuth 2.0 token for the current user. */
|
|
3518
|
+
oauth_token?: string;
|
|
3519
|
+
/** Returns response with indentations and line breaks. */
|
|
3520
|
+
prettyPrint?: boolean;
|
|
3521
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3522
|
+
quotaUser?: string;
|
|
3523
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3524
|
+
upload_protocol?: string;
|
|
3525
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3526
|
+
uploadType?: string;
|
|
3527
|
+
}): Request<ConfigStoreSetting>;
|
|
3528
|
+
/** Lists ConfigStoreSettings. */
|
|
3529
|
+
list(request?: {
|
|
3530
|
+
/** V1 error format. */
|
|
3531
|
+
'$.xgafv'?: '1' | '2';
|
|
3532
|
+
/** OAuth access token. */
|
|
3533
|
+
access_token?: string;
|
|
3534
|
+
/** Data format for response. */
|
|
3535
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3536
|
+
/** JSONP */
|
|
3537
|
+
callback?: string;
|
|
3538
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3539
|
+
fields?: string;
|
|
3540
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3541
|
+
key?: string;
|
|
3542
|
+
/** OAuth 2.0 token for the current user. */
|
|
3543
|
+
oauth_token?: string;
|
|
3544
|
+
/** Optional. The maximum number of settings to return. */
|
|
3545
|
+
pageSize?: number;
|
|
3546
|
+
/** Optional. A page token, received from a previous `ListConfigStoreSettings` call. */
|
|
3547
|
+
pageToken?: string;
|
|
3548
|
+
/** Required. The parent resource whose settings are being listed. */
|
|
3549
|
+
parent: string;
|
|
3550
|
+
/** Returns response with indentations and line breaks. */
|
|
3551
|
+
prettyPrint?: boolean;
|
|
3552
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3553
|
+
quotaUser?: string;
|
|
3554
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3555
|
+
upload_protocol?: string;
|
|
3556
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3557
|
+
uploadType?: string;
|
|
3558
|
+
}): Request<ListConfigStoreSettingsResponse>;
|
|
3559
|
+
/** Resolves effective value of a ConfigStoreSetting. */
|
|
3560
|
+
resolve(request: {
|
|
3561
|
+
/** V1 error format. */
|
|
3562
|
+
'$.xgafv'?: '1' | '2';
|
|
3563
|
+
/** OAuth access token. */
|
|
3564
|
+
access_token?: string;
|
|
3565
|
+
/** Data format for response. */
|
|
3566
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3567
|
+
/** JSONP */
|
|
3568
|
+
callback?: string;
|
|
3569
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3570
|
+
fields?: string;
|
|
3571
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3572
|
+
key?: string;
|
|
3573
|
+
/** Required. The name of the setting to resolve. */
|
|
3574
|
+
name: string;
|
|
3575
|
+
/** OAuth 2.0 token for the current user. */
|
|
3576
|
+
oauth_token?: string;
|
|
3577
|
+
/** Returns response with indentations and line breaks. */
|
|
3578
|
+
prettyPrint?: boolean;
|
|
3579
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3580
|
+
quotaUser?: string;
|
|
3581
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3582
|
+
upload_protocol?: string;
|
|
3583
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3584
|
+
uploadType?: string;
|
|
3585
|
+
/** Request body */
|
|
3586
|
+
resource: ResolveConfigStoreSettingRequest;
|
|
3587
|
+
}): Request<ResolveConfigStoreSettingResponse>;
|
|
3588
|
+
resolve(
|
|
3589
|
+
request: {
|
|
3590
|
+
/** V1 error format. */
|
|
3591
|
+
'$.xgafv'?: '1' | '2';
|
|
3592
|
+
/** OAuth access token. */
|
|
3593
|
+
access_token?: string;
|
|
3594
|
+
/** Data format for response. */
|
|
3595
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3596
|
+
/** JSONP */
|
|
3597
|
+
callback?: string;
|
|
3598
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3599
|
+
fields?: string;
|
|
3600
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3601
|
+
key?: string;
|
|
3602
|
+
/** Required. The name of the setting to resolve. */
|
|
3603
|
+
name: string;
|
|
3604
|
+
/** OAuth 2.0 token for the current user. */
|
|
3605
|
+
oauth_token?: string;
|
|
3606
|
+
/** Returns response with indentations and line breaks. */
|
|
3607
|
+
prettyPrint?: boolean;
|
|
3608
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3609
|
+
quotaUser?: string;
|
|
3610
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3611
|
+
upload_protocol?: string;
|
|
3612
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3613
|
+
uploadType?: string;
|
|
3614
|
+
},
|
|
3615
|
+
body: ResolveConfigStoreSettingRequest,
|
|
3616
|
+
): Request<ResolveConfigStoreSettingResponse>;
|
|
3617
|
+
}
|
|
2955
3618
|
interface FlexTemplatesResource {
|
|
2956
3619
|
/** Launch a job with a FlexTemplate. # IAM Permissions Requires the following IAM permission(s) on the resource: - `dataflow.jobs.create` - `resourcemanager.projects.get` - `iam.serviceAccounts.actAs` - `storage.buckets.get` - `storage.buckets.create` (Required if the default staging bucket must be created) */
|
|
2957
3620
|
launch(request: {
|
|
@@ -3691,6 +4354,8 @@ declare namespace gapi.client {
|
|
|
3691
4354
|
projectId: string;
|
|
3692
4355
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3693
4356
|
quotaUser?: string;
|
|
4357
|
+
/** Optional. */
|
|
4358
|
+
regionalFanoutRequested?: boolean;
|
|
3694
4359
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3695
4360
|
upload_protocol?: string;
|
|
3696
4361
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -4177,6 +4842,7 @@ declare namespace gapi.client {
|
|
|
4177
4842
|
},
|
|
4178
4843
|
body: SendWorkerMessagesRequest,
|
|
4179
4844
|
): Request<SendWorkerMessagesResponse>;
|
|
4845
|
+
configStoreSettings: ConfigStoreSettingsResource;
|
|
4180
4846
|
flexTemplates: FlexTemplatesResource;
|
|
4181
4847
|
jobs: JobsResource;
|
|
4182
4848
|
snapshots: SnapshotsResource;
|
|
@@ -4513,6 +5179,10 @@ declare namespace gapi.client {
|
|
|
4513
5179
|
templates: TemplatesResource;
|
|
4514
5180
|
}
|
|
4515
5181
|
|
|
5182
|
+
const folders: FoldersResource;
|
|
5183
|
+
|
|
5184
|
+
const organizations: OrganizationsResource;
|
|
5185
|
+
|
|
4516
5186
|
const projects: ProjectsResource;
|
|
4517
5187
|
}
|
|
4518
5188
|
}
|