@n8n-dev/n8n-nodes-googleapis-sourcerepo 1.0.0

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.
@@ -0,0 +1,936 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.projectsDescription = void 0;
4
+ exports.projectsDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Projects"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Sourcerepo Projects Repos Delete",
20
+ "value": "Sourcerepo Projects Repos Delete",
21
+ "action": "Sourcerepo Projects Repos Delete",
22
+ "description": "Deletes a repo.",
23
+ "routing": {
24
+ "request": {
25
+ "method": "DELETE",
26
+ "url": "=/v1/{{$parameter[\"name\"]}}"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Sourcerepo Projects Repos Get",
32
+ "value": "Sourcerepo Projects Repos Get",
33
+ "action": "Sourcerepo Projects Repos Get",
34
+ "description": "Returns information about a repo.",
35
+ "routing": {
36
+ "request": {
37
+ "method": "GET",
38
+ "url": "=/v1/{{$parameter[\"name\"]}}"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "Sourcerepo Projects Repos Patch",
44
+ "value": "Sourcerepo Projects Repos Patch",
45
+ "action": "Sourcerepo Projects Repos Patch",
46
+ "description": "Updates information about a repo.",
47
+ "routing": {
48
+ "request": {
49
+ "method": "PATCH",
50
+ "url": "=/v1/{{$parameter[\"name\"]}}"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "Sourcerepo Projects Get Config",
56
+ "value": "Sourcerepo Projects Get Config",
57
+ "action": "Sourcerepo Projects Get Config",
58
+ "description": "Returns the Cloud Source Repositories configuration of the project.",
59
+ "routing": {
60
+ "request": {
61
+ "method": "GET",
62
+ "url": "=/v1/{{$parameter[\"name\"]}}/config"
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "name": "Sourcerepo Projects Update Config",
68
+ "value": "Sourcerepo Projects Update Config",
69
+ "action": "Sourcerepo Projects Update Config",
70
+ "description": "Updates the Cloud Source Repositories configuration of the project.",
71
+ "routing": {
72
+ "request": {
73
+ "method": "PATCH",
74
+ "url": "=/v1/{{$parameter[\"name\"]}}/config"
75
+ }
76
+ }
77
+ },
78
+ {
79
+ "name": "Sourcerepo Projects Repos List",
80
+ "value": "Sourcerepo Projects Repos List",
81
+ "action": "Sourcerepo Projects Repos List",
82
+ "description": "Returns all repos belonging to a project. The sizes of the repos are not set by ListRepos. To get the size of a repo, use GetRepo.",
83
+ "routing": {
84
+ "request": {
85
+ "method": "GET",
86
+ "url": "=/v1/{{$parameter[\"name\"]}}/repos"
87
+ }
88
+ }
89
+ },
90
+ {
91
+ "name": "Sourcerepo Projects Repos Sync",
92
+ "value": "Sourcerepo Projects Repos Sync",
93
+ "action": "Sourcerepo Projects Repos Sync",
94
+ "description": "Synchronize a connected repo. The response contains SyncRepoMetadata in the metadata field.",
95
+ "routing": {
96
+ "request": {
97
+ "method": "POST",
98
+ "url": "=/v1/{{$parameter[\"name\"]}}:sync"
99
+ }
100
+ }
101
+ },
102
+ {
103
+ "name": "Sourcerepo Projects Repos Create",
104
+ "value": "Sourcerepo Projects Repos Create",
105
+ "action": "Sourcerepo Projects Repos Create",
106
+ "description": "Creates a repo in the given project with the given name. If the named repository already exists, `CreateRepo` returns `ALREADY_EXISTS`.",
107
+ "routing": {
108
+ "request": {
109
+ "method": "POST",
110
+ "url": "=/v1/{{$parameter[\"parent\"]}}/repos"
111
+ }
112
+ }
113
+ },
114
+ {
115
+ "name": "Sourcerepo Projects Repos Get Iam Policy",
116
+ "value": "Sourcerepo Projects Repos Get Iam Policy",
117
+ "action": "Sourcerepo Projects Repos Get Iam Policy",
118
+ "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
119
+ "routing": {
120
+ "request": {
121
+ "method": "GET",
122
+ "url": "=/v1/{{$parameter[\"resource\"]}}:getIamPolicy"
123
+ }
124
+ }
125
+ },
126
+ {
127
+ "name": "Sourcerepo Projects Repos Set Iam Policy",
128
+ "value": "Sourcerepo Projects Repos Set Iam Policy",
129
+ "action": "Sourcerepo Projects Repos Set Iam Policy",
130
+ "description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
131
+ "routing": {
132
+ "request": {
133
+ "method": "POST",
134
+ "url": "=/v1/{{$parameter[\"resource\"]}}:setIamPolicy"
135
+ }
136
+ }
137
+ },
138
+ {
139
+ "name": "Sourcerepo Projects Repos Test Iam Permissions",
140
+ "value": "Sourcerepo Projects Repos Test Iam Permissions",
141
+ "action": "Sourcerepo Projects Repos Test Iam Permissions",
142
+ "description": "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.",
143
+ "routing": {
144
+ "request": {
145
+ "method": "POST",
146
+ "url": "=/v1/{{$parameter[\"resource\"]}}:testIamPermissions"
147
+ }
148
+ }
149
+ }
150
+ ],
151
+ "default": ""
152
+ },
153
+ {
154
+ "displayName": "DELETE /v1/{name}",
155
+ "name": "operation",
156
+ "type": "notice",
157
+ "typeOptions": {
158
+ "theme": "info"
159
+ },
160
+ "default": "",
161
+ "displayOptions": {
162
+ "show": {
163
+ "resource": [
164
+ "Projects"
165
+ ],
166
+ "operation": [
167
+ "Sourcerepo Projects Repos Delete"
168
+ ]
169
+ }
170
+ }
171
+ },
172
+ {
173
+ "displayName": "Name",
174
+ "name": "name",
175
+ "required": true,
176
+ "description": "The name of the repo to delete. Values are of the form `projects//repos/`.",
177
+ "default": "",
178
+ "type": "string",
179
+ "displayOptions": {
180
+ "show": {
181
+ "resource": [
182
+ "Projects"
183
+ ],
184
+ "operation": [
185
+ "Sourcerepo Projects Repos Delete"
186
+ ]
187
+ }
188
+ }
189
+ },
190
+ {
191
+ "displayName": "GET /v1/{name}",
192
+ "name": "operation",
193
+ "type": "notice",
194
+ "typeOptions": {
195
+ "theme": "info"
196
+ },
197
+ "default": "",
198
+ "displayOptions": {
199
+ "show": {
200
+ "resource": [
201
+ "Projects"
202
+ ],
203
+ "operation": [
204
+ "Sourcerepo Projects Repos Get"
205
+ ]
206
+ }
207
+ }
208
+ },
209
+ {
210
+ "displayName": "Name",
211
+ "name": "name",
212
+ "required": true,
213
+ "description": "The name of the requested repository. Values are of the form `projects//repos/`.",
214
+ "default": "",
215
+ "type": "string",
216
+ "displayOptions": {
217
+ "show": {
218
+ "resource": [
219
+ "Projects"
220
+ ],
221
+ "operation": [
222
+ "Sourcerepo Projects Repos Get"
223
+ ]
224
+ }
225
+ }
226
+ },
227
+ {
228
+ "displayName": "PATCH /v1/{name}",
229
+ "name": "operation",
230
+ "type": "notice",
231
+ "typeOptions": {
232
+ "theme": "info"
233
+ },
234
+ "default": "",
235
+ "displayOptions": {
236
+ "show": {
237
+ "resource": [
238
+ "Projects"
239
+ ],
240
+ "operation": [
241
+ "Sourcerepo Projects Repos Patch"
242
+ ]
243
+ }
244
+ }
245
+ },
246
+ {
247
+ "displayName": "Name",
248
+ "name": "name",
249
+ "required": true,
250
+ "description": "The name of the requested repository. Values are of the form `projects//repos/`.",
251
+ "default": "",
252
+ "type": "string",
253
+ "displayOptions": {
254
+ "show": {
255
+ "resource": [
256
+ "Projects"
257
+ ],
258
+ "operation": [
259
+ "Sourcerepo Projects Repos Patch"
260
+ ]
261
+ }
262
+ }
263
+ },
264
+ {
265
+ "displayName": "Repo",
266
+ "name": "repo",
267
+ "type": "json",
268
+ "default": "{\n \"mirrorConfig\": {}\n}",
269
+ "description": "A repository (or repo) is a Git repository storing versioned source content.",
270
+ "routing": {
271
+ "send": {
272
+ "property": "repo",
273
+ "propertyInDotNotation": false,
274
+ "type": "body",
275
+ "value": "={{ JSON.parse($value) }}"
276
+ }
277
+ },
278
+ "displayOptions": {
279
+ "show": {
280
+ "resource": [
281
+ "Projects"
282
+ ],
283
+ "operation": [
284
+ "Sourcerepo Projects Repos Patch"
285
+ ]
286
+ }
287
+ }
288
+ },
289
+ {
290
+ "displayName": "Update Mask",
291
+ "name": "updateMask",
292
+ "type": "string",
293
+ "default": "",
294
+ "description": "A FieldMask specifying which fields of the repo to modify. Only the fields in the mask will be modified. If no mask is provided, this request is no-op.",
295
+ "routing": {
296
+ "send": {
297
+ "property": "updateMask",
298
+ "propertyInDotNotation": false,
299
+ "type": "body",
300
+ "value": "={{ $value }}"
301
+ }
302
+ },
303
+ "displayOptions": {
304
+ "show": {
305
+ "resource": [
306
+ "Projects"
307
+ ],
308
+ "operation": [
309
+ "Sourcerepo Projects Repos Patch"
310
+ ]
311
+ }
312
+ }
313
+ },
314
+ {
315
+ "displayName": "GET /v1/{name}/config",
316
+ "name": "operation",
317
+ "type": "notice",
318
+ "typeOptions": {
319
+ "theme": "info"
320
+ },
321
+ "default": "",
322
+ "displayOptions": {
323
+ "show": {
324
+ "resource": [
325
+ "Projects"
326
+ ],
327
+ "operation": [
328
+ "Sourcerepo Projects Get Config"
329
+ ]
330
+ }
331
+ }
332
+ },
333
+ {
334
+ "displayName": "Name",
335
+ "name": "name",
336
+ "required": true,
337
+ "description": "The name of the requested project. Values are of the form `projects/`.",
338
+ "default": "",
339
+ "type": "string",
340
+ "displayOptions": {
341
+ "show": {
342
+ "resource": [
343
+ "Projects"
344
+ ],
345
+ "operation": [
346
+ "Sourcerepo Projects Get Config"
347
+ ]
348
+ }
349
+ }
350
+ },
351
+ {
352
+ "displayName": "PATCH /v1/{name}/config",
353
+ "name": "operation",
354
+ "type": "notice",
355
+ "typeOptions": {
356
+ "theme": "info"
357
+ },
358
+ "default": "",
359
+ "displayOptions": {
360
+ "show": {
361
+ "resource": [
362
+ "Projects"
363
+ ],
364
+ "operation": [
365
+ "Sourcerepo Projects Update Config"
366
+ ]
367
+ }
368
+ }
369
+ },
370
+ {
371
+ "displayName": "Name",
372
+ "name": "name",
373
+ "required": true,
374
+ "description": "The name of the requested project. Values are of the form `projects/`.",
375
+ "default": "",
376
+ "type": "string",
377
+ "displayOptions": {
378
+ "show": {
379
+ "resource": [
380
+ "Projects"
381
+ ],
382
+ "operation": [
383
+ "Sourcerepo Projects Update Config"
384
+ ]
385
+ }
386
+ }
387
+ },
388
+ {
389
+ "displayName": "Project Config",
390
+ "name": "projectConfig",
391
+ "type": "json",
392
+ "default": "{}",
393
+ "description": "Cloud Source Repositories configuration of a project.",
394
+ "routing": {
395
+ "send": {
396
+ "property": "projectConfig",
397
+ "propertyInDotNotation": false,
398
+ "type": "body",
399
+ "value": "={{ JSON.parse($value) }}"
400
+ }
401
+ },
402
+ "displayOptions": {
403
+ "show": {
404
+ "resource": [
405
+ "Projects"
406
+ ],
407
+ "operation": [
408
+ "Sourcerepo Projects Update Config"
409
+ ]
410
+ }
411
+ }
412
+ },
413
+ {
414
+ "displayName": "Update Mask",
415
+ "name": "updateMask",
416
+ "type": "string",
417
+ "default": "",
418
+ "description": "A FieldMask specifying which fields of the project_config to modify. Only the fields in the mask will be modified. If no mask is provided, this request is no-op.",
419
+ "routing": {
420
+ "send": {
421
+ "property": "updateMask",
422
+ "propertyInDotNotation": false,
423
+ "type": "body",
424
+ "value": "={{ $value }}"
425
+ }
426
+ },
427
+ "displayOptions": {
428
+ "show": {
429
+ "resource": [
430
+ "Projects"
431
+ ],
432
+ "operation": [
433
+ "Sourcerepo Projects Update Config"
434
+ ]
435
+ }
436
+ }
437
+ },
438
+ {
439
+ "displayName": "GET /v1/{name}/repos",
440
+ "name": "operation",
441
+ "type": "notice",
442
+ "typeOptions": {
443
+ "theme": "info"
444
+ },
445
+ "default": "",
446
+ "displayOptions": {
447
+ "show": {
448
+ "resource": [
449
+ "Projects"
450
+ ],
451
+ "operation": [
452
+ "Sourcerepo Projects Repos List"
453
+ ]
454
+ }
455
+ }
456
+ },
457
+ {
458
+ "displayName": "Name",
459
+ "name": "name",
460
+ "required": true,
461
+ "description": "The project ID whose repos should be listed. Values are of the form `projects/`.",
462
+ "default": "",
463
+ "type": "string",
464
+ "displayOptions": {
465
+ "show": {
466
+ "resource": [
467
+ "Projects"
468
+ ],
469
+ "operation": [
470
+ "Sourcerepo Projects Repos List"
471
+ ]
472
+ }
473
+ }
474
+ },
475
+ {
476
+ "displayName": "Page Size",
477
+ "name": "pageSize",
478
+ "description": "Maximum number of repositories to return; between 1 and 500. If not set or zero, defaults to 100 at the server.",
479
+ "default": 0,
480
+ "type": "number",
481
+ "routing": {
482
+ "send": {
483
+ "type": "query",
484
+ "property": "pageSize",
485
+ "value": "={{ $value }}",
486
+ "propertyInDotNotation": false
487
+ }
488
+ },
489
+ "displayOptions": {
490
+ "show": {
491
+ "resource": [
492
+ "Projects"
493
+ ],
494
+ "operation": [
495
+ "Sourcerepo Projects Repos List"
496
+ ]
497
+ }
498
+ }
499
+ },
500
+ {
501
+ "displayName": "Page Token",
502
+ "name": "pageToken",
503
+ "description": "Resume listing repositories where a prior ListReposResponse left off. This is an opaque token that must be obtained from a recent, prior ListReposResponse's next_page_token field.",
504
+ "default": "",
505
+ "type": "string",
506
+ "routing": {
507
+ "send": {
508
+ "type": "query",
509
+ "property": "pageToken",
510
+ "value": "={{ $value }}",
511
+ "propertyInDotNotation": false
512
+ }
513
+ },
514
+ "displayOptions": {
515
+ "show": {
516
+ "resource": [
517
+ "Projects"
518
+ ],
519
+ "operation": [
520
+ "Sourcerepo Projects Repos List"
521
+ ]
522
+ }
523
+ }
524
+ },
525
+ {
526
+ "displayName": "POST /v1/{name}:sync",
527
+ "name": "operation",
528
+ "type": "notice",
529
+ "typeOptions": {
530
+ "theme": "info"
531
+ },
532
+ "default": "",
533
+ "displayOptions": {
534
+ "show": {
535
+ "resource": [
536
+ "Projects"
537
+ ],
538
+ "operation": [
539
+ "Sourcerepo Projects Repos Sync"
540
+ ]
541
+ }
542
+ }
543
+ },
544
+ {
545
+ "displayName": "Name",
546
+ "name": "name",
547
+ "required": true,
548
+ "description": "The name of the repo to synchronize. Values are of the form `projects//repos/`.",
549
+ "default": "",
550
+ "type": "string",
551
+ "displayOptions": {
552
+ "show": {
553
+ "resource": [
554
+ "Projects"
555
+ ],
556
+ "operation": [
557
+ "Sourcerepo Projects Repos Sync"
558
+ ]
559
+ }
560
+ }
561
+ },
562
+ {
563
+ "displayName": "POST /v1/{parent}/repos",
564
+ "name": "operation",
565
+ "type": "notice",
566
+ "typeOptions": {
567
+ "theme": "info"
568
+ },
569
+ "default": "",
570
+ "displayOptions": {
571
+ "show": {
572
+ "resource": [
573
+ "Projects"
574
+ ],
575
+ "operation": [
576
+ "Sourcerepo Projects Repos Create"
577
+ ]
578
+ }
579
+ }
580
+ },
581
+ {
582
+ "displayName": "Parent",
583
+ "name": "parent",
584
+ "required": true,
585
+ "description": "The project in which to create the repo. Values are of the form `projects/`.",
586
+ "default": "",
587
+ "type": "string",
588
+ "displayOptions": {
589
+ "show": {
590
+ "resource": [
591
+ "Projects"
592
+ ],
593
+ "operation": [
594
+ "Sourcerepo Projects Repos Create"
595
+ ]
596
+ }
597
+ }
598
+ },
599
+ {
600
+ "displayName": "Mirror Config",
601
+ "name": "mirrorConfig",
602
+ "type": "json",
603
+ "default": "{}",
604
+ "description": "Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.",
605
+ "routing": {
606
+ "send": {
607
+ "property": "mirrorConfig",
608
+ "propertyInDotNotation": false,
609
+ "type": "body",
610
+ "value": "={{ JSON.parse($value) }}"
611
+ }
612
+ },
613
+ "displayOptions": {
614
+ "show": {
615
+ "resource": [
616
+ "Projects"
617
+ ],
618
+ "operation": [
619
+ "Sourcerepo Projects Repos Create"
620
+ ]
621
+ }
622
+ }
623
+ },
624
+ {
625
+ "displayName": "Name",
626
+ "name": "name",
627
+ "type": "string",
628
+ "default": "",
629
+ "description": "Resource name of the repository, of the form `projects//repos/`. The repo name may contain slashes. eg, `projects/myproject/repos/name/with/slash`",
630
+ "routing": {
631
+ "send": {
632
+ "property": "name",
633
+ "propertyInDotNotation": false,
634
+ "type": "body",
635
+ "value": "={{ $value }}"
636
+ }
637
+ },
638
+ "displayOptions": {
639
+ "show": {
640
+ "resource": [
641
+ "Projects"
642
+ ],
643
+ "operation": [
644
+ "Sourcerepo Projects Repos Create"
645
+ ]
646
+ }
647
+ }
648
+ },
649
+ {
650
+ "displayName": "Pubsub Configs",
651
+ "name": "pubsubConfigs",
652
+ "type": "json",
653
+ "default": "{}",
654
+ "description": "How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names.",
655
+ "routing": {
656
+ "send": {
657
+ "property": "pubsubConfigs",
658
+ "propertyInDotNotation": false,
659
+ "type": "body",
660
+ "value": "={{ JSON.parse($value) }}"
661
+ }
662
+ },
663
+ "displayOptions": {
664
+ "show": {
665
+ "resource": [
666
+ "Projects"
667
+ ],
668
+ "operation": [
669
+ "Sourcerepo Projects Repos Create"
670
+ ]
671
+ }
672
+ }
673
+ },
674
+ {
675
+ "displayName": "Size",
676
+ "name": "size",
677
+ "type": "string",
678
+ "default": "",
679
+ "description": "The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo.",
680
+ "routing": {
681
+ "send": {
682
+ "property": "size",
683
+ "propertyInDotNotation": false,
684
+ "type": "body",
685
+ "value": "={{ $value }}"
686
+ }
687
+ },
688
+ "displayOptions": {
689
+ "show": {
690
+ "resource": [
691
+ "Projects"
692
+ ],
693
+ "operation": [
694
+ "Sourcerepo Projects Repos Create"
695
+ ]
696
+ }
697
+ }
698
+ },
699
+ {
700
+ "displayName": "URL",
701
+ "name": "url",
702
+ "type": "string",
703
+ "default": "",
704
+ "description": "URL to clone the repository from Google Cloud Source Repositories. Read-only field.",
705
+ "routing": {
706
+ "send": {
707
+ "property": "url",
708
+ "propertyInDotNotation": false,
709
+ "type": "body",
710
+ "value": "={{ $value }}"
711
+ }
712
+ },
713
+ "displayOptions": {
714
+ "show": {
715
+ "resource": [
716
+ "Projects"
717
+ ],
718
+ "operation": [
719
+ "Sourcerepo Projects Repos Create"
720
+ ]
721
+ }
722
+ }
723
+ },
724
+ {
725
+ "displayName": "GET /v1/{resource}:getIamPolicy",
726
+ "name": "operation",
727
+ "type": "notice",
728
+ "typeOptions": {
729
+ "theme": "info"
730
+ },
731
+ "default": "",
732
+ "displayOptions": {
733
+ "show": {
734
+ "resource": [
735
+ "Projects"
736
+ ],
737
+ "operation": [
738
+ "Sourcerepo Projects Repos Get Iam Policy"
739
+ ]
740
+ }
741
+ }
742
+ },
743
+ {
744
+ "displayName": "Resource",
745
+ "name": "resource",
746
+ "required": true,
747
+ "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
748
+ "default": "",
749
+ "type": "string",
750
+ "displayOptions": {
751
+ "show": {
752
+ "resource": [
753
+ "Projects"
754
+ ],
755
+ "operation": [
756
+ "Sourcerepo Projects Repos Get Iam Policy"
757
+ ]
758
+ }
759
+ }
760
+ },
761
+ {
762
+ "displayName": "Options Requested Policy Version",
763
+ "name": "options-requestedPolicyVersion",
764
+ "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
765
+ "default": 0,
766
+ "type": "number",
767
+ "routing": {
768
+ "send": {
769
+ "type": "query",
770
+ "property": "options.requestedPolicyVersion",
771
+ "value": "={{ $value }}",
772
+ "propertyInDotNotation": false
773
+ }
774
+ },
775
+ "displayOptions": {
776
+ "show": {
777
+ "resource": [
778
+ "Projects"
779
+ ],
780
+ "operation": [
781
+ "Sourcerepo Projects Repos Get Iam Policy"
782
+ ]
783
+ }
784
+ }
785
+ },
786
+ {
787
+ "displayName": "POST /v1/{resource}:setIamPolicy",
788
+ "name": "operation",
789
+ "type": "notice",
790
+ "typeOptions": {
791
+ "theme": "info"
792
+ },
793
+ "default": "",
794
+ "displayOptions": {
795
+ "show": {
796
+ "resource": [
797
+ "Projects"
798
+ ],
799
+ "operation": [
800
+ "Sourcerepo Projects Repos Set Iam Policy"
801
+ ]
802
+ }
803
+ }
804
+ },
805
+ {
806
+ "displayName": "Resource",
807
+ "name": "resource",
808
+ "required": true,
809
+ "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
810
+ "default": "",
811
+ "type": "string",
812
+ "displayOptions": {
813
+ "show": {
814
+ "resource": [
815
+ "Projects"
816
+ ],
817
+ "operation": [
818
+ "Sourcerepo Projects Repos Set Iam Policy"
819
+ ]
820
+ }
821
+ }
822
+ },
823
+ {
824
+ "displayName": "Policy",
825
+ "name": "policy",
826
+ "type": "json",
827
+ "default": "{\n \"auditConfigs\": [\n {\n \"auditLogConfigs\": [\n {\n \"exemptedMembers\": [\n null\n ]\n }\n ]\n }\n ],\n \"bindings\": [\n {\n \"condition\": {},\n \"members\": [\n null\n ]\n }\n ]\n}",
828
+ "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
829
+ "routing": {
830
+ "send": {
831
+ "property": "policy",
832
+ "propertyInDotNotation": false,
833
+ "type": "body",
834
+ "value": "={{ JSON.parse($value) }}"
835
+ }
836
+ },
837
+ "displayOptions": {
838
+ "show": {
839
+ "resource": [
840
+ "Projects"
841
+ ],
842
+ "operation": [
843
+ "Sourcerepo Projects Repos Set Iam Policy"
844
+ ]
845
+ }
846
+ }
847
+ },
848
+ {
849
+ "displayName": "Update Mask",
850
+ "name": "updateMask",
851
+ "type": "string",
852
+ "default": "",
853
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`",
854
+ "routing": {
855
+ "send": {
856
+ "property": "updateMask",
857
+ "propertyInDotNotation": false,
858
+ "type": "body",
859
+ "value": "={{ $value }}"
860
+ }
861
+ },
862
+ "displayOptions": {
863
+ "show": {
864
+ "resource": [
865
+ "Projects"
866
+ ],
867
+ "operation": [
868
+ "Sourcerepo Projects Repos Set Iam Policy"
869
+ ]
870
+ }
871
+ }
872
+ },
873
+ {
874
+ "displayName": "POST /v1/{resource}:testIamPermissions",
875
+ "name": "operation",
876
+ "type": "notice",
877
+ "typeOptions": {
878
+ "theme": "info"
879
+ },
880
+ "default": "",
881
+ "displayOptions": {
882
+ "show": {
883
+ "resource": [
884
+ "Projects"
885
+ ],
886
+ "operation": [
887
+ "Sourcerepo Projects Repos Test Iam Permissions"
888
+ ]
889
+ }
890
+ }
891
+ },
892
+ {
893
+ "displayName": "Resource",
894
+ "name": "resource",
895
+ "required": true,
896
+ "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
897
+ "default": "",
898
+ "type": "string",
899
+ "displayOptions": {
900
+ "show": {
901
+ "resource": [
902
+ "Projects"
903
+ ],
904
+ "operation": [
905
+ "Sourcerepo Projects Repos Test Iam Permissions"
906
+ ]
907
+ }
908
+ }
909
+ },
910
+ {
911
+ "displayName": "Permissions",
912
+ "name": "permissions",
913
+ "type": "json",
914
+ "default": "[\n null\n]",
915
+ "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
916
+ "routing": {
917
+ "send": {
918
+ "property": "permissions",
919
+ "propertyInDotNotation": false,
920
+ "type": "body",
921
+ "value": "={{ JSON.parse($value) }}"
922
+ }
923
+ },
924
+ "displayOptions": {
925
+ "show": {
926
+ "resource": [
927
+ "Projects"
928
+ ],
929
+ "operation": [
930
+ "Sourcerepo Projects Repos Test Iam Permissions"
931
+ ]
932
+ }
933
+ }
934
+ },
935
+ ];
936
+ //# sourceMappingURL=index.js.map