@maxim_mazurok/gapi.client.dataform-v1beta1 0.0.20231111 → 0.0.20231203

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/tests.ts DELETED
@@ -1,719 +0,0 @@
1
- /* This is stub file for gapi.client.dataform-v1beta1 definition tests */
2
- // IMPORTANT
3
- // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
- // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
-
6
- // Revision: 20231111
7
-
8
- gapi.load('client', async () => {
9
- /** now we can use gapi.client */
10
-
11
- await gapi.client.load('https://dataform.googleapis.com/$discovery/rest?version=v1beta1');
12
- /** now we can use gapi.client.dataform */
13
-
14
- /** don't forget to authenticate your client before sending any request to resources: */
15
- /** declare client_id registered in Google Developers Console */
16
- const client_id = '<<PUT YOUR CLIENT ID HERE>>';
17
- const scope = [
18
- /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account. */
19
- 'https://www.googleapis.com/auth/cloud-platform',
20
- ];
21
- const immediate = false;
22
- gapi.auth.authorize({ client_id, scope, immediate }, authResult => {
23
- if (authResult && !authResult.error) {
24
- /** handle successful authorization */
25
- run();
26
- } else {
27
- /** handle authorization error */
28
- }
29
- });
30
-
31
- async function run() {
32
- /** Gets information about a location. */
33
- await gapi.client.dataform.projects.locations.get({
34
- name: "Test string",
35
- });
36
- /** Lists information about the supported locations for this service. */
37
- await gapi.client.dataform.projects.locations.list({
38
- filter: "Test string",
39
- name: "Test string",
40
- pageSize: 42,
41
- pageToken: "Test string",
42
- });
43
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
44
- await gapi.client.dataform.projects.locations.collections.getIamPolicy({
45
- "options.requestedPolicyVersion": 42,
46
- resource: "Test string",
47
- });
48
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
49
- await gapi.client.dataform.projects.locations.collections.setIamPolicy({
50
- resource: "Test string",
51
- }, {
52
- policy: {
53
- bindings: [
54
- {
55
- condition: {
56
- description: "Test string",
57
- expression: "Test string",
58
- location: "Test string",
59
- title: "Test string",
60
- },
61
- members: [
62
- "Test string"
63
- ],
64
- role: "Test string",
65
- }
66
- ],
67
- etag: "Test string",
68
- version: 42,
69
- },
70
- });
71
- /**
72
- * 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
73
- * 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.
74
- */
75
- await gapi.client.dataform.projects.locations.collections.testIamPermissions({
76
- resource: "Test string",
77
- }, {
78
- permissions: [
79
- "Test string"
80
- ],
81
- });
82
- /** Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`. */
83
- await gapi.client.dataform.projects.locations.repositories.commit({
84
- name: "Test string",
85
- }, {
86
- commitMetadata: {
87
- author: {
88
- emailAddress: "Test string",
89
- name: "Test string",
90
- },
91
- commitMessage: "Test string",
92
- },
93
- fileOperations: {
94
- A: {
95
- deleteFile: {
96
- },
97
- writeFile: {
98
- contents: "Test string",
99
- },
100
- }
101
- },
102
- requiredHeadCommitSha: "Test string",
103
- });
104
- /** Computes a Repository's Git access token status. */
105
- await gapi.client.dataform.projects.locations.repositories.computeAccessTokenStatus({
106
- name: "Test string",
107
- });
108
- /** Creates a new Repository in a given project and location. */
109
- await gapi.client.dataform.projects.locations.repositories.create({
110
- parent: "Test string",
111
- repositoryId: "Test string",
112
- }, {
113
- displayName: "Test string",
114
- gitRemoteSettings: {
115
- authenticationTokenSecretVersion: "Test string",
116
- defaultBranch: "Test string",
117
- sshAuthenticationConfig: {
118
- hostPublicKey: "Test string",
119
- userPrivateKeySecretVersion: "Test string",
120
- },
121
- tokenStatus: "Test string",
122
- url: "Test string",
123
- },
124
- labels: {
125
- A: "Test string"
126
- },
127
- name: "Test string",
128
- npmrcEnvironmentVariablesSecretVersion: "Test string",
129
- serviceAccount: "Test string",
130
- setAuthenticatedUserAdmin: true,
131
- workspaceCompilationOverrides: {
132
- defaultDatabase: "Test string",
133
- schemaSuffix: "Test string",
134
- tablePrefix: "Test string",
135
- },
136
- });
137
- /** Deletes a single Repository. */
138
- await gapi.client.dataform.projects.locations.repositories.delete({
139
- force: true,
140
- name: "Test string",
141
- });
142
- /** Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`. */
143
- await gapi.client.dataform.projects.locations.repositories.fetchHistory({
144
- name: "Test string",
145
- pageSize: 42,
146
- pageToken: "Test string",
147
- });
148
- /** Fetches a Repository's remote branches. */
149
- await gapi.client.dataform.projects.locations.repositories.fetchRemoteBranches({
150
- name: "Test string",
151
- });
152
- /** Fetches a single Repository. */
153
- await gapi.client.dataform.projects.locations.repositories.get({
154
- name: "Test string",
155
- });
156
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
157
- await gapi.client.dataform.projects.locations.repositories.getIamPolicy({
158
- "options.requestedPolicyVersion": 42,
159
- resource: "Test string",
160
- });
161
- /** Lists Repositories in a given project and location. */
162
- await gapi.client.dataform.projects.locations.repositories.list({
163
- filter: "Test string",
164
- orderBy: "Test string",
165
- pageSize: 42,
166
- pageToken: "Test string",
167
- parent: "Test string",
168
- });
169
- /** Updates a single Repository. */
170
- await gapi.client.dataform.projects.locations.repositories.patch({
171
- name: "Test string",
172
- updateMask: "Test string",
173
- }, {
174
- displayName: "Test string",
175
- gitRemoteSettings: {
176
- authenticationTokenSecretVersion: "Test string",
177
- defaultBranch: "Test string",
178
- sshAuthenticationConfig: {
179
- hostPublicKey: "Test string",
180
- userPrivateKeySecretVersion: "Test string",
181
- },
182
- tokenStatus: "Test string",
183
- url: "Test string",
184
- },
185
- labels: {
186
- A: "Test string"
187
- },
188
- name: "Test string",
189
- npmrcEnvironmentVariablesSecretVersion: "Test string",
190
- serviceAccount: "Test string",
191
- setAuthenticatedUserAdmin: true,
192
- workspaceCompilationOverrides: {
193
- defaultDatabase: "Test string",
194
- schemaSuffix: "Test string",
195
- tablePrefix: "Test string",
196
- },
197
- });
198
- /** Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`. */
199
- await gapi.client.dataform.projects.locations.repositories.queryDirectoryContents({
200
- commitSha: "Test string",
201
- name: "Test string",
202
- pageSize: 42,
203
- pageToken: "Test string",
204
- path: "Test string",
205
- });
206
- /** Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`. */
207
- await gapi.client.dataform.projects.locations.repositories.readFile({
208
- commitSha: "Test string",
209
- name: "Test string",
210
- path: "Test string",
211
- });
212
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
213
- await gapi.client.dataform.projects.locations.repositories.setIamPolicy({
214
- resource: "Test string",
215
- }, {
216
- policy: {
217
- bindings: [
218
- {
219
- condition: {
220
- description: "Test string",
221
- expression: "Test string",
222
- location: "Test string",
223
- title: "Test string",
224
- },
225
- members: [
226
- "Test string"
227
- ],
228
- role: "Test string",
229
- }
230
- ],
231
- etag: "Test string",
232
- version: 42,
233
- },
234
- });
235
- /**
236
- * 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
237
- * 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.
238
- */
239
- await gapi.client.dataform.projects.locations.repositories.testIamPermissions({
240
- resource: "Test string",
241
- }, {
242
- permissions: [
243
- "Test string"
244
- ],
245
- });
246
- /** Creates a new CompilationResult in a given project and location. */
247
- await gapi.client.dataform.projects.locations.repositories.compilationResults.create({
248
- parent: "Test string",
249
- }, {
250
- codeCompilationConfig: {
251
- assertionSchema: "Test string",
252
- databaseSuffix: "Test string",
253
- defaultDatabase: "Test string",
254
- defaultLocation: "Test string",
255
- defaultSchema: "Test string",
256
- schemaSuffix: "Test string",
257
- tablePrefix: "Test string",
258
- vars: {
259
- A: "Test string"
260
- },
261
- },
262
- compilationErrors: [
263
- {
264
- actionTarget: {
265
- database: "Test string",
266
- name: "Test string",
267
- schema: "Test string",
268
- },
269
- message: "Test string",
270
- path: "Test string",
271
- stack: "Test string",
272
- }
273
- ],
274
- dataformCoreVersion: "Test string",
275
- gitCommitish: "Test string",
276
- name: "Test string",
277
- releaseConfig: "Test string",
278
- resolvedGitCommitSha: "Test string",
279
- workspace: "Test string",
280
- });
281
- /** Fetches a single CompilationResult. */
282
- await gapi.client.dataform.projects.locations.repositories.compilationResults.get({
283
- name: "Test string",
284
- });
285
- /** Lists CompilationResults in a given Repository. */
286
- await gapi.client.dataform.projects.locations.repositories.compilationResults.list({
287
- pageSize: 42,
288
- pageToken: "Test string",
289
- parent: "Test string",
290
- });
291
- /** Returns CompilationResultActions in a given CompilationResult. */
292
- await gapi.client.dataform.projects.locations.repositories.compilationResults.query({
293
- filter: "Test string",
294
- name: "Test string",
295
- pageSize: 42,
296
- pageToken: "Test string",
297
- });
298
- /** Creates a new ReleaseConfig in a given Repository. */
299
- await gapi.client.dataform.projects.locations.repositories.releaseConfigs.create({
300
- parent: "Test string",
301
- releaseConfigId: "Test string",
302
- }, {
303
- codeCompilationConfig: {
304
- assertionSchema: "Test string",
305
- databaseSuffix: "Test string",
306
- defaultDatabase: "Test string",
307
- defaultLocation: "Test string",
308
- defaultSchema: "Test string",
309
- schemaSuffix: "Test string",
310
- tablePrefix: "Test string",
311
- vars: {
312
- A: "Test string"
313
- },
314
- },
315
- cronSchedule: "Test string",
316
- gitCommitish: "Test string",
317
- name: "Test string",
318
- recentScheduledReleaseRecords: [
319
- {
320
- compilationResult: "Test string",
321
- errorStatus: {
322
- code: 42,
323
- details: [
324
- {
325
- A: 42
326
- }
327
- ],
328
- message: "Test string",
329
- },
330
- releaseTime: "Test string",
331
- }
332
- ],
333
- releaseCompilationResult: "Test string",
334
- timeZone: "Test string",
335
- });
336
- /** Deletes a single ReleaseConfig. */
337
- await gapi.client.dataform.projects.locations.repositories.releaseConfigs.delete({
338
- name: "Test string",
339
- });
340
- /** Fetches a single ReleaseConfig. */
341
- await gapi.client.dataform.projects.locations.repositories.releaseConfigs.get({
342
- name: "Test string",
343
- });
344
- /** Lists ReleaseConfigs in a given Repository. */
345
- await gapi.client.dataform.projects.locations.repositories.releaseConfigs.list({
346
- pageSize: 42,
347
- pageToken: "Test string",
348
- parent: "Test string",
349
- });
350
- /** Updates a single ReleaseConfig. */
351
- await gapi.client.dataform.projects.locations.repositories.releaseConfigs.patch({
352
- name: "Test string",
353
- updateMask: "Test string",
354
- }, {
355
- codeCompilationConfig: {
356
- assertionSchema: "Test string",
357
- databaseSuffix: "Test string",
358
- defaultDatabase: "Test string",
359
- defaultLocation: "Test string",
360
- defaultSchema: "Test string",
361
- schemaSuffix: "Test string",
362
- tablePrefix: "Test string",
363
- vars: {
364
- A: "Test string"
365
- },
366
- },
367
- cronSchedule: "Test string",
368
- gitCommitish: "Test string",
369
- name: "Test string",
370
- recentScheduledReleaseRecords: [
371
- {
372
- compilationResult: "Test string",
373
- errorStatus: {
374
- code: 42,
375
- details: [
376
- {
377
- A: 42
378
- }
379
- ],
380
- message: "Test string",
381
- },
382
- releaseTime: "Test string",
383
- }
384
- ],
385
- releaseCompilationResult: "Test string",
386
- timeZone: "Test string",
387
- });
388
- /** Creates a new WorkflowConfig in a given Repository. */
389
- await gapi.client.dataform.projects.locations.repositories.workflowConfigs.create({
390
- parent: "Test string",
391
- workflowConfigId: "Test string",
392
- }, {
393
- cronSchedule: "Test string",
394
- invocationConfig: {
395
- fullyRefreshIncrementalTablesEnabled: true,
396
- includedTags: [
397
- "Test string"
398
- ],
399
- includedTargets: [
400
- {
401
- database: "Test string",
402
- name: "Test string",
403
- schema: "Test string",
404
- }
405
- ],
406
- serviceAccount: "Test string",
407
- transitiveDependenciesIncluded: true,
408
- transitiveDependentsIncluded: true,
409
- },
410
- name: "Test string",
411
- recentScheduledExecutionRecords: [
412
- {
413
- errorStatus: {
414
- code: 42,
415
- details: [
416
- {
417
- A: 42
418
- }
419
- ],
420
- message: "Test string",
421
- },
422
- executionTime: "Test string",
423
- workflowInvocation: "Test string",
424
- }
425
- ],
426
- releaseConfig: "Test string",
427
- timeZone: "Test string",
428
- });
429
- /** Deletes a single WorkflowConfig. */
430
- await gapi.client.dataform.projects.locations.repositories.workflowConfigs.delete({
431
- name: "Test string",
432
- });
433
- /** Fetches a single WorkflowConfig. */
434
- await gapi.client.dataform.projects.locations.repositories.workflowConfigs.get({
435
- name: "Test string",
436
- });
437
- /** Lists WorkflowConfigs in a given Repository. */
438
- await gapi.client.dataform.projects.locations.repositories.workflowConfigs.list({
439
- pageSize: 42,
440
- pageToken: "Test string",
441
- parent: "Test string",
442
- });
443
- /** Updates a single WorkflowConfig. */
444
- await gapi.client.dataform.projects.locations.repositories.workflowConfigs.patch({
445
- name: "Test string",
446
- updateMask: "Test string",
447
- }, {
448
- cronSchedule: "Test string",
449
- invocationConfig: {
450
- fullyRefreshIncrementalTablesEnabled: true,
451
- includedTags: [
452
- "Test string"
453
- ],
454
- includedTargets: [
455
- {
456
- database: "Test string",
457
- name: "Test string",
458
- schema: "Test string",
459
- }
460
- ],
461
- serviceAccount: "Test string",
462
- transitiveDependenciesIncluded: true,
463
- transitiveDependentsIncluded: true,
464
- },
465
- name: "Test string",
466
- recentScheduledExecutionRecords: [
467
- {
468
- errorStatus: {
469
- code: 42,
470
- details: [
471
- {
472
- A: 42
473
- }
474
- ],
475
- message: "Test string",
476
- },
477
- executionTime: "Test string",
478
- workflowInvocation: "Test string",
479
- }
480
- ],
481
- releaseConfig: "Test string",
482
- timeZone: "Test string",
483
- });
484
- /** Requests cancellation of a running WorkflowInvocation. */
485
- await gapi.client.dataform.projects.locations.repositories.workflowInvocations.cancel({
486
- name: "Test string",
487
- }, {
488
- });
489
- /** Creates a new WorkflowInvocation in a given Repository. */
490
- await gapi.client.dataform.projects.locations.repositories.workflowInvocations.create({
491
- parent: "Test string",
492
- }, {
493
- compilationResult: "Test string",
494
- invocationConfig: {
495
- fullyRefreshIncrementalTablesEnabled: true,
496
- includedTags: [
497
- "Test string"
498
- ],
499
- includedTargets: [
500
- {
501
- database: "Test string",
502
- name: "Test string",
503
- schema: "Test string",
504
- }
505
- ],
506
- serviceAccount: "Test string",
507
- transitiveDependenciesIncluded: true,
508
- transitiveDependentsIncluded: true,
509
- },
510
- invocationTiming: {
511
- endTime: "Test string",
512
- startTime: "Test string",
513
- },
514
- name: "Test string",
515
- resolvedCompilationResult: "Test string",
516
- state: "Test string",
517
- workflowConfig: "Test string",
518
- });
519
- /** Deletes a single WorkflowInvocation. */
520
- await gapi.client.dataform.projects.locations.repositories.workflowInvocations.delete({
521
- name: "Test string",
522
- });
523
- /** Fetches a single WorkflowInvocation. */
524
- await gapi.client.dataform.projects.locations.repositories.workflowInvocations.get({
525
- name: "Test string",
526
- });
527
- /** Lists WorkflowInvocations in a given Repository. */
528
- await gapi.client.dataform.projects.locations.repositories.workflowInvocations.list({
529
- filter: "Test string",
530
- orderBy: "Test string",
531
- pageSize: 42,
532
- pageToken: "Test string",
533
- parent: "Test string",
534
- });
535
- /** Returns WorkflowInvocationActions in a given WorkflowInvocation. */
536
- await gapi.client.dataform.projects.locations.repositories.workflowInvocations.query({
537
- name: "Test string",
538
- pageSize: 42,
539
- pageToken: "Test string",
540
- });
541
- /** Applies a Git commit for uncommitted files in a Workspace. */
542
- await gapi.client.dataform.projects.locations.repositories.workspaces.commit({
543
- name: "Test string",
544
- }, {
545
- author: {
546
- emailAddress: "Test string",
547
- name: "Test string",
548
- },
549
- commitMessage: "Test string",
550
- paths: [
551
- "Test string"
552
- ],
553
- });
554
- /** Creates a new Workspace in a given Repository. */
555
- await gapi.client.dataform.projects.locations.repositories.workspaces.create({
556
- parent: "Test string",
557
- workspaceId: "Test string",
558
- }, {
559
- name: "Test string",
560
- });
561
- /** Deletes a single Workspace. */
562
- await gapi.client.dataform.projects.locations.repositories.workspaces.delete({
563
- name: "Test string",
564
- });
565
- /** Fetches Git diff for an uncommitted file in a Workspace. */
566
- await gapi.client.dataform.projects.locations.repositories.workspaces.fetchFileDiff({
567
- path: "Test string",
568
- workspace: "Test string",
569
- });
570
- /** Fetches Git statuses for the files in a Workspace. */
571
- await gapi.client.dataform.projects.locations.repositories.workspaces.fetchFileGitStatuses({
572
- name: "Test string",
573
- });
574
- /** Fetches Git ahead/behind against a remote branch. */
575
- await gapi.client.dataform.projects.locations.repositories.workspaces.fetchGitAheadBehind({
576
- name: "Test string",
577
- remoteBranch: "Test string",
578
- });
579
- /** Fetches a single Workspace. */
580
- await gapi.client.dataform.projects.locations.repositories.workspaces.get({
581
- name: "Test string",
582
- });
583
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
584
- await gapi.client.dataform.projects.locations.repositories.workspaces.getIamPolicy({
585
- "options.requestedPolicyVersion": 42,
586
- resource: "Test string",
587
- });
588
- /** Installs dependency NPM packages (inside a Workspace). */
589
- await gapi.client.dataform.projects.locations.repositories.workspaces.installNpmPackages({
590
- workspace: "Test string",
591
- }, {
592
- });
593
- /** Lists Workspaces in a given Repository. */
594
- await gapi.client.dataform.projects.locations.repositories.workspaces.list({
595
- filter: "Test string",
596
- orderBy: "Test string",
597
- pageSize: 42,
598
- pageToken: "Test string",
599
- parent: "Test string",
600
- });
601
- /** Creates a directory inside a Workspace. */
602
- await gapi.client.dataform.projects.locations.repositories.workspaces.makeDirectory({
603
- workspace: "Test string",
604
- }, {
605
- path: "Test string",
606
- });
607
- /** Moves a directory (inside a Workspace), and all of its contents, to a new location. */
608
- await gapi.client.dataform.projects.locations.repositories.workspaces.moveDirectory({
609
- workspace: "Test string",
610
- }, {
611
- newPath: "Test string",
612
- path: "Test string",
613
- });
614
- /** Moves a file (inside a Workspace) to a new location. */
615
- await gapi.client.dataform.projects.locations.repositories.workspaces.moveFile({
616
- workspace: "Test string",
617
- }, {
618
- newPath: "Test string",
619
- path: "Test string",
620
- });
621
- /** Pulls Git commits from the Repository's remote into a Workspace. */
622
- await gapi.client.dataform.projects.locations.repositories.workspaces.pull({
623
- name: "Test string",
624
- }, {
625
- author: {
626
- emailAddress: "Test string",
627
- name: "Test string",
628
- },
629
- remoteBranch: "Test string",
630
- });
631
- /** Pushes Git commits from a Workspace to the Repository's remote. */
632
- await gapi.client.dataform.projects.locations.repositories.workspaces.push({
633
- name: "Test string",
634
- }, {
635
- remoteBranch: "Test string",
636
- });
637
- /** Returns the contents of a given Workspace directory. */
638
- await gapi.client.dataform.projects.locations.repositories.workspaces.queryDirectoryContents({
639
- pageSize: 42,
640
- pageToken: "Test string",
641
- path: "Test string",
642
- workspace: "Test string",
643
- });
644
- /** Returns the contents of a file (inside a Workspace). */
645
- await gapi.client.dataform.projects.locations.repositories.workspaces.readFile({
646
- path: "Test string",
647
- workspace: "Test string",
648
- });
649
- /** Deletes a directory (inside a Workspace) and all of its contents. */
650
- await gapi.client.dataform.projects.locations.repositories.workspaces.removeDirectory({
651
- workspace: "Test string",
652
- }, {
653
- path: "Test string",
654
- });
655
- /** Deletes a file (inside a Workspace). */
656
- await gapi.client.dataform.projects.locations.repositories.workspaces.removeFile({
657
- workspace: "Test string",
658
- }, {
659
- path: "Test string",
660
- });
661
- /** Performs a Git reset for uncommitted files in a Workspace. */
662
- await gapi.client.dataform.projects.locations.repositories.workspaces.reset({
663
- name: "Test string",
664
- }, {
665
- clean: true,
666
- paths: [
667
- "Test string"
668
- ],
669
- });
670
- /** Finds the contents of a given Workspace directory by filter. */
671
- await gapi.client.dataform.projects.locations.repositories.workspaces.searchFiles({
672
- filter: "Test string",
673
- pageSize: 42,
674
- pageToken: "Test string",
675
- workspace: "Test string",
676
- });
677
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
678
- await gapi.client.dataform.projects.locations.repositories.workspaces.setIamPolicy({
679
- resource: "Test string",
680
- }, {
681
- policy: {
682
- bindings: [
683
- {
684
- condition: {
685
- description: "Test string",
686
- expression: "Test string",
687
- location: "Test string",
688
- title: "Test string",
689
- },
690
- members: [
691
- "Test string"
692
- ],
693
- role: "Test string",
694
- }
695
- ],
696
- etag: "Test string",
697
- version: 42,
698
- },
699
- });
700
- /**
701
- * 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
702
- * 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.
703
- */
704
- await gapi.client.dataform.projects.locations.repositories.workspaces.testIamPermissions({
705
- resource: "Test string",
706
- }, {
707
- permissions: [
708
- "Test string"
709
- ],
710
- });
711
- /** Writes to a file (inside a Workspace). */
712
- await gapi.client.dataform.projects.locations.repositories.workspaces.writeFile({
713
- workspace: "Test string",
714
- }, {
715
- contents: "Test string",
716
- path: "Test string",
717
- });
718
- }
719
- });