@maxim_mazurok/gapi.client.dataform-v1beta1 0.0.20250119 → 0.0.20250223
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 +47 -39
- package/package.json +1 -1
- package/readme.md +5 -2
package/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
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://dataform.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250223
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Dataform API v1beta1 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://dataform.googleapis.com/$discovery/rest?version=v1beta1'
|
|
19
|
+
urlOrObject: 'https://dataform.googleapis.com/$discovery/rest?version=v1beta1',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'dataform', version: 'v1beta1'): Promise<void>;
|
|
@@ -24,7 +24,7 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(
|
|
25
25
|
name: 'dataform',
|
|
26
26
|
version: 'v1beta1',
|
|
27
|
-
callback: () => any
|
|
27
|
+
callback: () => any,
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace dataform {
|
|
@@ -57,6 +57,7 @@ declare namespace gapi.client {
|
|
|
57
57
|
role?: string;
|
|
58
58
|
}
|
|
59
59
|
interface CancelWorkflowInvocationRequest {}
|
|
60
|
+
interface CancelWorkflowInvocationResponse {}
|
|
60
61
|
interface CodeCompilationConfig {
|
|
61
62
|
/** Optional. The default schema (BigQuery dataset ID) for assertions. */
|
|
62
63
|
assertionSchema?: string;
|
|
@@ -66,6 +67,7 @@ declare namespace gapi.client {
|
|
|
66
67
|
defaultDatabase?: string;
|
|
67
68
|
/** Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations. */
|
|
68
69
|
defaultLocation?: string;
|
|
70
|
+
/** Optional. The default notebook runtime options. */
|
|
69
71
|
defaultNotebookRuntimeOptions?: NotebookRuntimeOptions;
|
|
70
72
|
/** Optional. The default schema (BigQuery dataset ID). */
|
|
71
73
|
defaultSchema?: string;
|
|
@@ -109,7 +111,7 @@ declare namespace gapi.client {
|
|
|
109
111
|
interface CommitRepositoryChangesRequest {
|
|
110
112
|
/** Required. The changes to commit to the repository. */
|
|
111
113
|
commitMetadata?: CommitMetadata;
|
|
112
|
-
/** A map to the path of the file to the operation. The path is the full file path including filename, from repository root. */
|
|
114
|
+
/** Optional. A map to the path of the file to the operation. The path is the full file path including filename, from repository root. */
|
|
113
115
|
fileOperations?: {[P in string]: FileOperation};
|
|
114
116
|
/** Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise this request will fail. If unset, no validation on the current HEAD commit SHA is performed. */
|
|
115
117
|
requiredHeadCommitSha?: string;
|
|
@@ -126,6 +128,7 @@ declare namespace gapi.client {
|
|
|
126
128
|
/** Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed. */
|
|
127
129
|
paths?: string[];
|
|
128
130
|
}
|
|
131
|
+
interface CommitWorkspaceChangesResponse {}
|
|
129
132
|
interface CompilationError {
|
|
130
133
|
/** Output only. The identifier of the action where this error occurred, if available. */
|
|
131
134
|
actionTarget?: Target;
|
|
@@ -191,7 +194,7 @@ declare namespace gapi.client {
|
|
|
191
194
|
name?: string;
|
|
192
195
|
}
|
|
193
196
|
interface DataEncryptionState {
|
|
194
|
-
/** The KMS key version name with which data of a resource is encrypted. */
|
|
197
|
+
/** Required. The KMS key version name with which data of a resource is encrypted. */
|
|
195
198
|
kmsKeyVersionName?: string;
|
|
196
199
|
}
|
|
197
200
|
interface Declaration {
|
|
@@ -451,10 +454,12 @@ declare namespace gapi.client {
|
|
|
451
454
|
/** Optional. The name of the branch in the Git remote from which to pull commits. If left unset, the repository's default branch name will be used. */
|
|
452
455
|
remoteBranch?: string;
|
|
453
456
|
}
|
|
457
|
+
interface PullGitCommitsResponse {}
|
|
454
458
|
interface PushGitCommitsRequest {
|
|
455
459
|
/** Optional. The name of the branch in the Git remote to which commits should be pushed. If left unset, the repository's default branch name will be used. */
|
|
456
460
|
remoteBranch?: string;
|
|
457
461
|
}
|
|
462
|
+
interface PushGitCommitsResponse {}
|
|
458
463
|
interface QueryCompilationResultActionsResponse {
|
|
459
464
|
/** List of compilation result actions. */
|
|
460
465
|
compilationResultActions?: CompilationResultAction[];
|
|
@@ -549,10 +554,12 @@ declare namespace gapi.client {
|
|
|
549
554
|
/** Required. The directory's full path including directory name, relative to the workspace root. */
|
|
550
555
|
path?: string;
|
|
551
556
|
}
|
|
557
|
+
interface RemoveDirectoryResponse {}
|
|
552
558
|
interface RemoveFileRequest {
|
|
553
559
|
/** Required. The file's full path including filename, relative to the workspace root. */
|
|
554
560
|
path?: string;
|
|
555
561
|
}
|
|
562
|
+
interface RemoveFileResponse {}
|
|
556
563
|
interface Repository {
|
|
557
564
|
/** Output only. The timestamp of when the repository was created. */
|
|
558
565
|
createTime?: string;
|
|
@@ -585,10 +592,11 @@ declare namespace gapi.client {
|
|
|
585
592
|
/** Optional. Full file paths to reset back to their committed state including filename, rooted at workspace root. If left empty, all files will be reset. */
|
|
586
593
|
paths?: string[];
|
|
587
594
|
}
|
|
595
|
+
interface ResetWorkspaceChangesResponse {}
|
|
588
596
|
interface ScheduledExecutionRecord {
|
|
589
597
|
/** The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful. */
|
|
590
598
|
errorStatus?: Status;
|
|
591
|
-
/** The timestamp of this execution attempt. */
|
|
599
|
+
/** Output only. The timestamp of this execution attempt. */
|
|
592
600
|
executionTime?: string;
|
|
593
601
|
/** The name of the created workflow invocation, if one was successfully created. Must be in the format `projects/*/locations/*/repositories/*/workflowInvocations/*`. */
|
|
594
602
|
workflowInvocation?: string;
|
|
@@ -598,7 +606,7 @@ declare namespace gapi.client {
|
|
|
598
606
|
compilationResult?: string;
|
|
599
607
|
/** The error status encountered upon this attempt to create the compilation result, if the attempt was unsuccessful. */
|
|
600
608
|
errorStatus?: Status;
|
|
601
|
-
/** The timestamp of this release attempt. */
|
|
609
|
+
/** Output only. The timestamp of this release attempt. */
|
|
602
610
|
releaseTime?: string;
|
|
603
611
|
}
|
|
604
612
|
interface SearchFilesResponse {
|
|
@@ -632,11 +640,11 @@ declare namespace gapi.client {
|
|
|
632
640
|
message?: string;
|
|
633
641
|
}
|
|
634
642
|
interface Target {
|
|
635
|
-
/** The action's database (Google Cloud project ID) . */
|
|
643
|
+
/** Optional. The action's database (Google Cloud project ID) . */
|
|
636
644
|
database?: string;
|
|
637
|
-
/** The action's name, within `database` and `schema`. */
|
|
645
|
+
/** Optional. The action's name, within `database` and `schema`. */
|
|
638
646
|
name?: string;
|
|
639
|
-
/** The action's schema (BigQuery dataset ID), within `database`. */
|
|
647
|
+
/** Optional. The action's schema (BigQuery dataset ID), within `database`. */
|
|
640
648
|
schema?: string;
|
|
641
649
|
}
|
|
642
650
|
interface TestIamPermissionsRequest {
|
|
@@ -650,7 +658,7 @@ declare namespace gapi.client {
|
|
|
650
658
|
interface UncommittedFileChange {
|
|
651
659
|
/** The file's full path including filename, relative to the workspace root. */
|
|
652
660
|
path?: string;
|
|
653
|
-
/** Indicates the status of the file. */
|
|
661
|
+
/** Output only. Indicates the status of the file. */
|
|
654
662
|
state?: string;
|
|
655
663
|
}
|
|
656
664
|
interface WorkflowConfig {
|
|
@@ -797,7 +805,7 @@ declare namespace gapi.client {
|
|
|
797
805
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
798
806
|
uploadType?: string;
|
|
799
807
|
},
|
|
800
|
-
body: CompilationResult
|
|
808
|
+
body: CompilationResult,
|
|
801
809
|
): Request<CompilationResult>;
|
|
802
810
|
/** Fetches a single CompilationResult. */
|
|
803
811
|
get(request?: {
|
|
@@ -956,7 +964,7 @@ declare namespace gapi.client {
|
|
|
956
964
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
957
965
|
uploadType?: string;
|
|
958
966
|
},
|
|
959
|
-
body: ReleaseConfig
|
|
967
|
+
body: ReleaseConfig,
|
|
960
968
|
): Request<ReleaseConfig>;
|
|
961
969
|
/** Deletes a single ReleaseConfig. */
|
|
962
970
|
delete(request?: {
|
|
@@ -1103,7 +1111,7 @@ declare namespace gapi.client {
|
|
|
1103
1111
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1104
1112
|
uploadType?: string;
|
|
1105
1113
|
},
|
|
1106
|
-
body: ReleaseConfig
|
|
1114
|
+
body: ReleaseConfig,
|
|
1107
1115
|
): Request<ReleaseConfig>;
|
|
1108
1116
|
}
|
|
1109
1117
|
interface WorkflowConfigsResource {
|
|
@@ -1167,7 +1175,7 @@ declare namespace gapi.client {
|
|
|
1167
1175
|
/** Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. */
|
|
1168
1176
|
workflowConfigId?: string;
|
|
1169
1177
|
},
|
|
1170
|
-
body: WorkflowConfig
|
|
1178
|
+
body: WorkflowConfig,
|
|
1171
1179
|
): Request<WorkflowConfig>;
|
|
1172
1180
|
/** Deletes a single WorkflowConfig. */
|
|
1173
1181
|
delete(request?: {
|
|
@@ -1314,7 +1322,7 @@ declare namespace gapi.client {
|
|
|
1314
1322
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1315
1323
|
uploadType?: string;
|
|
1316
1324
|
},
|
|
1317
|
-
body: WorkflowConfig
|
|
1325
|
+
body: WorkflowConfig,
|
|
1318
1326
|
): Request<WorkflowConfig>;
|
|
1319
1327
|
}
|
|
1320
1328
|
interface WorkflowInvocationsResource {
|
|
@@ -1374,7 +1382,7 @@ declare namespace gapi.client {
|
|
|
1374
1382
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1375
1383
|
uploadType?: string;
|
|
1376
1384
|
},
|
|
1377
|
-
body: CancelWorkflowInvocationRequest
|
|
1385
|
+
body: CancelWorkflowInvocationRequest,
|
|
1378
1386
|
): Request<{}>;
|
|
1379
1387
|
/** Creates a new WorkflowInvocation in a given Repository. */
|
|
1380
1388
|
create(request: {
|
|
@@ -1432,7 +1440,7 @@ declare namespace gapi.client {
|
|
|
1432
1440
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1433
1441
|
uploadType?: string;
|
|
1434
1442
|
},
|
|
1435
|
-
body: WorkflowInvocation
|
|
1443
|
+
body: WorkflowInvocation,
|
|
1436
1444
|
): Request<WorkflowInvocation>;
|
|
1437
1445
|
/** Deletes a single WorkflowInvocation. */
|
|
1438
1446
|
delete(request?: {
|
|
@@ -1612,7 +1620,7 @@ declare namespace gapi.client {
|
|
|
1612
1620
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1613
1621
|
uploadType?: string;
|
|
1614
1622
|
},
|
|
1615
|
-
body: CommitWorkspaceChangesRequest
|
|
1623
|
+
body: CommitWorkspaceChangesRequest,
|
|
1616
1624
|
): Request<{}>;
|
|
1617
1625
|
/** Creates a new Workspace in a given Repository. */
|
|
1618
1626
|
create(request: {
|
|
@@ -1674,7 +1682,7 @@ declare namespace gapi.client {
|
|
|
1674
1682
|
/** Required. The ID to use for the workspace, which will become the final component of the workspace's resource name. */
|
|
1675
1683
|
workspaceId?: string;
|
|
1676
1684
|
},
|
|
1677
|
-
body: Workspace
|
|
1685
|
+
body: Workspace,
|
|
1678
1686
|
): Request<Workspace>;
|
|
1679
1687
|
/** Deletes a single Workspace. */
|
|
1680
1688
|
delete(request?: {
|
|
@@ -1900,7 +1908,7 @@ declare namespace gapi.client {
|
|
|
1900
1908
|
/** Required. The workspace's name. */
|
|
1901
1909
|
workspace: string;
|
|
1902
1910
|
},
|
|
1903
|
-
body: InstallNpmPackagesRequest
|
|
1911
|
+
body: InstallNpmPackagesRequest,
|
|
1904
1912
|
): Request<{}>;
|
|
1905
1913
|
/** Lists Workspaces in a given Repository. */
|
|
1906
1914
|
list(request?: {
|
|
@@ -1993,7 +2001,7 @@ declare namespace gapi.client {
|
|
|
1993
2001
|
/** Required. The workspace's name. */
|
|
1994
2002
|
workspace: string;
|
|
1995
2003
|
},
|
|
1996
|
-
body: MakeDirectoryRequest
|
|
2004
|
+
body: MakeDirectoryRequest,
|
|
1997
2005
|
): Request<{}>;
|
|
1998
2006
|
/** Moves a directory (inside a Workspace), and all of its contents, to a new location. */
|
|
1999
2007
|
moveDirectory(request: {
|
|
@@ -2051,7 +2059,7 @@ declare namespace gapi.client {
|
|
|
2051
2059
|
/** Required. The workspace's name. */
|
|
2052
2060
|
workspace: string;
|
|
2053
2061
|
},
|
|
2054
|
-
body: MoveDirectoryRequest
|
|
2062
|
+
body: MoveDirectoryRequest,
|
|
2055
2063
|
): Request<{}>;
|
|
2056
2064
|
/** Moves a file (inside a Workspace) to a new location. */
|
|
2057
2065
|
moveFile(request: {
|
|
@@ -2109,7 +2117,7 @@ declare namespace gapi.client {
|
|
|
2109
2117
|
/** Required. The workspace's name. */
|
|
2110
2118
|
workspace: string;
|
|
2111
2119
|
},
|
|
2112
|
-
body: MoveFileRequest
|
|
2120
|
+
body: MoveFileRequest,
|
|
2113
2121
|
): Request<{}>;
|
|
2114
2122
|
/** Pulls Git commits from the Repository's remote into a Workspace. */
|
|
2115
2123
|
pull(request: {
|
|
@@ -2167,7 +2175,7 @@ declare namespace gapi.client {
|
|
|
2167
2175
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2168
2176
|
uploadType?: string;
|
|
2169
2177
|
},
|
|
2170
|
-
body: PullGitCommitsRequest
|
|
2178
|
+
body: PullGitCommitsRequest,
|
|
2171
2179
|
): Request<{}>;
|
|
2172
2180
|
/** Pushes Git commits from a Workspace to the Repository's remote. */
|
|
2173
2181
|
push(request: {
|
|
@@ -2225,7 +2233,7 @@ declare namespace gapi.client {
|
|
|
2225
2233
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2226
2234
|
uploadType?: string;
|
|
2227
2235
|
},
|
|
2228
|
-
body: PushGitCommitsRequest
|
|
2236
|
+
body: PushGitCommitsRequest,
|
|
2229
2237
|
): Request<{}>;
|
|
2230
2238
|
/** Returns the contents of a given Workspace directory. */
|
|
2231
2239
|
queryDirectoryContents(request?: {
|
|
@@ -2347,7 +2355,7 @@ declare namespace gapi.client {
|
|
|
2347
2355
|
/** Required. The workspace's name. */
|
|
2348
2356
|
workspace: string;
|
|
2349
2357
|
},
|
|
2350
|
-
body: RemoveDirectoryRequest
|
|
2358
|
+
body: RemoveDirectoryRequest,
|
|
2351
2359
|
): Request<{}>;
|
|
2352
2360
|
/** Deletes a file (inside a Workspace). */
|
|
2353
2361
|
removeFile(request: {
|
|
@@ -2405,7 +2413,7 @@ declare namespace gapi.client {
|
|
|
2405
2413
|
/** Required. The workspace's name. */
|
|
2406
2414
|
workspace: string;
|
|
2407
2415
|
},
|
|
2408
|
-
body: RemoveFileRequest
|
|
2416
|
+
body: RemoveFileRequest,
|
|
2409
2417
|
): Request<{}>;
|
|
2410
2418
|
/** Performs a Git reset for uncommitted files in a Workspace. */
|
|
2411
2419
|
reset(request: {
|
|
@@ -2463,7 +2471,7 @@ declare namespace gapi.client {
|
|
|
2463
2471
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2464
2472
|
uploadType?: string;
|
|
2465
2473
|
},
|
|
2466
|
-
body: ResetWorkspaceChangesRequest
|
|
2474
|
+
body: ResetWorkspaceChangesRequest,
|
|
2467
2475
|
): Request<{}>;
|
|
2468
2476
|
/** Finds the contents of a given Workspace directory by filter. */
|
|
2469
2477
|
searchFiles(request?: {
|
|
@@ -2526,7 +2534,7 @@ declare namespace gapi.client {
|
|
|
2526
2534
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2527
2535
|
uploadType?: string;
|
|
2528
2536
|
},
|
|
2529
|
-
body: SetIamPolicyRequest
|
|
2537
|
+
body: SetIamPolicyRequest,
|
|
2530
2538
|
): Request<Policy>;
|
|
2531
2539
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
2532
2540
|
testIamPermissions(
|
|
@@ -2556,7 +2564,7 @@ declare namespace gapi.client {
|
|
|
2556
2564
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2557
2565
|
uploadType?: string;
|
|
2558
2566
|
},
|
|
2559
|
-
body: TestIamPermissionsRequest
|
|
2567
|
+
body: TestIamPermissionsRequest,
|
|
2560
2568
|
): Request<TestIamPermissionsResponse>;
|
|
2561
2569
|
/** Writes to a file (inside a Workspace). */
|
|
2562
2570
|
writeFile(request: {
|
|
@@ -2614,7 +2622,7 @@ declare namespace gapi.client {
|
|
|
2614
2622
|
/** Required. The workspace's name. */
|
|
2615
2623
|
workspace: string;
|
|
2616
2624
|
},
|
|
2617
|
-
body: WriteFileRequest
|
|
2625
|
+
body: WriteFileRequest,
|
|
2618
2626
|
): Request<{}>;
|
|
2619
2627
|
}
|
|
2620
2628
|
interface RepositoriesResource {
|
|
@@ -2674,7 +2682,7 @@ declare namespace gapi.client {
|
|
|
2674
2682
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2675
2683
|
uploadType?: string;
|
|
2676
2684
|
},
|
|
2677
|
-
body: CommitRepositoryChangesRequest
|
|
2685
|
+
body: CommitRepositoryChangesRequest,
|
|
2678
2686
|
): Request<CommitRepositoryChangesResponse>;
|
|
2679
2687
|
/** Computes a Repository's Git access token status. */
|
|
2680
2688
|
computeAccessTokenStatus(request?: {
|
|
@@ -2763,7 +2771,7 @@ declare namespace gapi.client {
|
|
|
2763
2771
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2764
2772
|
uploadType?: string;
|
|
2765
2773
|
},
|
|
2766
|
-
body: Repository
|
|
2774
|
+
body: Repository,
|
|
2767
2775
|
): Request<Repository>;
|
|
2768
2776
|
/** Deletes a single Repository. */
|
|
2769
2777
|
delete(request?: {
|
|
@@ -2777,7 +2785,7 @@ declare namespace gapi.client {
|
|
|
2777
2785
|
callback?: string;
|
|
2778
2786
|
/** Selector specifying which fields to include in a partial response. */
|
|
2779
2787
|
fields?: string;
|
|
2780
|
-
/** If set to true, any child resources of this repository will also be deleted. (Otherwise, the request will only succeed if the repository has no child resources.) */
|
|
2788
|
+
/** Optional. If set to true, any child resources of this repository will also be deleted. (Otherwise, the request will only succeed if the repository has no child resources.) */
|
|
2781
2789
|
force?: boolean;
|
|
2782
2790
|
/** 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. */
|
|
2783
2791
|
key?: string;
|
|
@@ -3003,7 +3011,7 @@ declare namespace gapi.client {
|
|
|
3003
3011
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3004
3012
|
uploadType?: string;
|
|
3005
3013
|
},
|
|
3006
|
-
body: Repository
|
|
3014
|
+
body: Repository,
|
|
3007
3015
|
): Request<Repository>;
|
|
3008
3016
|
/** Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`. */
|
|
3009
3017
|
queryDirectoryContents(request?: {
|
|
@@ -3099,7 +3107,7 @@ declare namespace gapi.client {
|
|
|
3099
3107
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3100
3108
|
uploadType?: string;
|
|
3101
3109
|
},
|
|
3102
|
-
body: SetIamPolicyRequest
|
|
3110
|
+
body: SetIamPolicyRequest,
|
|
3103
3111
|
): Request<Policy>;
|
|
3104
3112
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
3105
3113
|
testIamPermissions(
|
|
@@ -3129,7 +3137,7 @@ declare namespace gapi.client {
|
|
|
3129
3137
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3130
3138
|
uploadType?: string;
|
|
3131
3139
|
},
|
|
3132
|
-
body: TestIamPermissionsRequest
|
|
3140
|
+
body: TestIamPermissionsRequest,
|
|
3133
3141
|
): Request<TestIamPermissionsResponse>;
|
|
3134
3142
|
compilationResults: CompilationResultsResource;
|
|
3135
3143
|
releaseConfigs: ReleaseConfigsResource;
|
|
@@ -3285,7 +3293,7 @@ declare namespace gapi.client {
|
|
|
3285
3293
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3286
3294
|
uploadType?: string;
|
|
3287
3295
|
},
|
|
3288
|
-
body: Config
|
|
3296
|
+
body: Config,
|
|
3289
3297
|
): Request<Config>;
|
|
3290
3298
|
repositories: RepositoriesResource;
|
|
3291
3299
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -30,7 +30,7 @@ gapi.client.load(
|
|
|
30
30
|
() => {
|
|
31
31
|
// now we can use:
|
|
32
32
|
// gapi.client.dataform
|
|
33
|
-
}
|
|
33
|
+
},
|
|
34
34
|
);
|
|
35
35
|
```
|
|
36
36
|
|
|
@@ -48,6 +48,9 @@ Don't forget to authenticate your client before sending any request to resources
|
|
|
48
48
|
// declare client_id registered in Google Developers Console
|
|
49
49
|
var client_id = '',
|
|
50
50
|
scope = [
|
|
51
|
+
// View and manage your data in Google BigQuery and see the email address for your Google Account
|
|
52
|
+
'https://www.googleapis.com/auth/bigquery',
|
|
53
|
+
|
|
51
54
|
// See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
|
52
55
|
'https://www.googleapis.com/auth/cloud-platform',
|
|
53
56
|
],
|
|
@@ -62,7 +65,7 @@ gapi.auth.authorize(
|
|
|
62
65
|
} else {
|
|
63
66
|
/* handle authorization error */
|
|
64
67
|
}
|
|
65
|
-
}
|
|
68
|
+
},
|
|
66
69
|
);
|
|
67
70
|
```
|
|
68
71
|
|