1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package iampb
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 expr "google.golang.org/genproto/googleapis/type/expr"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40
41 type AuditLogConfig_LogType int32
42
43 const (
44
45 AuditLogConfig_LOG_TYPE_UNSPECIFIED AuditLogConfig_LogType = 0
46
47 AuditLogConfig_ADMIN_READ AuditLogConfig_LogType = 1
48
49 AuditLogConfig_DATA_WRITE AuditLogConfig_LogType = 2
50
51 AuditLogConfig_DATA_READ AuditLogConfig_LogType = 3
52 )
53
54
55 var (
56 AuditLogConfig_LogType_name = map[int32]string{
57 0: "LOG_TYPE_UNSPECIFIED",
58 1: "ADMIN_READ",
59 2: "DATA_WRITE",
60 3: "DATA_READ",
61 }
62 AuditLogConfig_LogType_value = map[string]int32{
63 "LOG_TYPE_UNSPECIFIED": 0,
64 "ADMIN_READ": 1,
65 "DATA_WRITE": 2,
66 "DATA_READ": 3,
67 }
68 )
69
70 func (x AuditLogConfig_LogType) Enum() *AuditLogConfig_LogType {
71 p := new(AuditLogConfig_LogType)
72 *p = x
73 return p
74 }
75
76 func (x AuditLogConfig_LogType) String() string {
77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
78 }
79
80 func (AuditLogConfig_LogType) Descriptor() protoreflect.EnumDescriptor {
81 return file_google_iam_v1_policy_proto_enumTypes[0].Descriptor()
82 }
83
84 func (AuditLogConfig_LogType) Type() protoreflect.EnumType {
85 return &file_google_iam_v1_policy_proto_enumTypes[0]
86 }
87
88 func (x AuditLogConfig_LogType) Number() protoreflect.EnumNumber {
89 return protoreflect.EnumNumber(x)
90 }
91
92
93 func (AuditLogConfig_LogType) EnumDescriptor() ([]byte, []int) {
94 return file_google_iam_v1_policy_proto_rawDescGZIP(), []int{3, 0}
95 }
96
97
98 type BindingDelta_Action int32
99
100 const (
101
102 BindingDelta_ACTION_UNSPECIFIED BindingDelta_Action = 0
103
104 BindingDelta_ADD BindingDelta_Action = 1
105
106 BindingDelta_REMOVE BindingDelta_Action = 2
107 )
108
109
110 var (
111 BindingDelta_Action_name = map[int32]string{
112 0: "ACTION_UNSPECIFIED",
113 1: "ADD",
114 2: "REMOVE",
115 }
116 BindingDelta_Action_value = map[string]int32{
117 "ACTION_UNSPECIFIED": 0,
118 "ADD": 1,
119 "REMOVE": 2,
120 }
121 )
122
123 func (x BindingDelta_Action) Enum() *BindingDelta_Action {
124 p := new(BindingDelta_Action)
125 *p = x
126 return p
127 }
128
129 func (x BindingDelta_Action) String() string {
130 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
131 }
132
133 func (BindingDelta_Action) Descriptor() protoreflect.EnumDescriptor {
134 return file_google_iam_v1_policy_proto_enumTypes[1].Descriptor()
135 }
136
137 func (BindingDelta_Action) Type() protoreflect.EnumType {
138 return &file_google_iam_v1_policy_proto_enumTypes[1]
139 }
140
141 func (x BindingDelta_Action) Number() protoreflect.EnumNumber {
142 return protoreflect.EnumNumber(x)
143 }
144
145
146 func (BindingDelta_Action) EnumDescriptor() ([]byte, []int) {
147 return file_google_iam_v1_policy_proto_rawDescGZIP(), []int{5, 0}
148 }
149
150
151 type AuditConfigDelta_Action int32
152
153 const (
154
155 AuditConfigDelta_ACTION_UNSPECIFIED AuditConfigDelta_Action = 0
156
157 AuditConfigDelta_ADD AuditConfigDelta_Action = 1
158
159 AuditConfigDelta_REMOVE AuditConfigDelta_Action = 2
160 )
161
162
163 var (
164 AuditConfigDelta_Action_name = map[int32]string{
165 0: "ACTION_UNSPECIFIED",
166 1: "ADD",
167 2: "REMOVE",
168 }
169 AuditConfigDelta_Action_value = map[string]int32{
170 "ACTION_UNSPECIFIED": 0,
171 "ADD": 1,
172 "REMOVE": 2,
173 }
174 )
175
176 func (x AuditConfigDelta_Action) Enum() *AuditConfigDelta_Action {
177 p := new(AuditConfigDelta_Action)
178 *p = x
179 return p
180 }
181
182 func (x AuditConfigDelta_Action) String() string {
183 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
184 }
185
186 func (AuditConfigDelta_Action) Descriptor() protoreflect.EnumDescriptor {
187 return file_google_iam_v1_policy_proto_enumTypes[2].Descriptor()
188 }
189
190 func (AuditConfigDelta_Action) Type() protoreflect.EnumType {
191 return &file_google_iam_v1_policy_proto_enumTypes[2]
192 }
193
194 func (x AuditConfigDelta_Action) Number() protoreflect.EnumNumber {
195 return protoreflect.EnumNumber(x)
196 }
197
198
199 func (AuditConfigDelta_Action) EnumDescriptor() ([]byte, []int) {
200 return file_google_iam_v1_policy_proto_rawDescGZIP(), []int{6, 0}
201 }
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279 type Policy struct {
280 state protoimpl.MessageState
281 sizeCache protoimpl.SizeCache
282 unknownFields protoimpl.UnknownFields
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309 Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
310
311
312
313
314
315
316
317
318
319
320 Bindings []*Binding `protobuf:"bytes,4,rep,name=bindings,proto3" json:"bindings,omitempty"`
321
322 AuditConfigs []*AuditConfig `protobuf:"bytes,6,rep,name=audit_configs,json=auditConfigs,proto3" json:"audit_configs,omitempty"`
323
324
325
326
327
328
329
330
331
332
333
334
335 Etag []byte `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
336 }
337
338 func (x *Policy) Reset() {
339 *x = Policy{}
340 if protoimpl.UnsafeEnabled {
341 mi := &file_google_iam_v1_policy_proto_msgTypes[0]
342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
343 ms.StoreMessageInfo(mi)
344 }
345 }
346
347 func (x *Policy) String() string {
348 return protoimpl.X.MessageStringOf(x)
349 }
350
351 func (*Policy) ProtoMessage() {}
352
353 func (x *Policy) ProtoReflect() protoreflect.Message {
354 mi := &file_google_iam_v1_policy_proto_msgTypes[0]
355 if protoimpl.UnsafeEnabled && x != nil {
356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
357 if ms.LoadMessageInfo() == nil {
358 ms.StoreMessageInfo(mi)
359 }
360 return ms
361 }
362 return mi.MessageOf(x)
363 }
364
365
366 func (*Policy) Descriptor() ([]byte, []int) {
367 return file_google_iam_v1_policy_proto_rawDescGZIP(), []int{0}
368 }
369
370 func (x *Policy) GetVersion() int32 {
371 if x != nil {
372 return x.Version
373 }
374 return 0
375 }
376
377 func (x *Policy) GetBindings() []*Binding {
378 if x != nil {
379 return x.Bindings
380 }
381 return nil
382 }
383
384 func (x *Policy) GetAuditConfigs() []*AuditConfig {
385 if x != nil {
386 return x.AuditConfigs
387 }
388 return nil
389 }
390
391 func (x *Policy) GetEtag() []byte {
392 if x != nil {
393 return x.Etag
394 }
395 return nil
396 }
397
398
399 type Binding struct {
400 state protoimpl.MessageState
401 sizeCache protoimpl.SizeCache
402 unknownFields protoimpl.UnknownFields
403
404
405
406 Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447 Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
448
449
450
451
452
453
454
455
456
457
458
459
460 Condition *expr.Expr `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
461 }
462
463 func (x *Binding) Reset() {
464 *x = Binding{}
465 if protoimpl.UnsafeEnabled {
466 mi := &file_google_iam_v1_policy_proto_msgTypes[1]
467 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
468 ms.StoreMessageInfo(mi)
469 }
470 }
471
472 func (x *Binding) String() string {
473 return protoimpl.X.MessageStringOf(x)
474 }
475
476 func (*Binding) ProtoMessage() {}
477
478 func (x *Binding) ProtoReflect() protoreflect.Message {
479 mi := &file_google_iam_v1_policy_proto_msgTypes[1]
480 if protoimpl.UnsafeEnabled && x != nil {
481 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
482 if ms.LoadMessageInfo() == nil {
483 ms.StoreMessageInfo(mi)
484 }
485 return ms
486 }
487 return mi.MessageOf(x)
488 }
489
490
491 func (*Binding) Descriptor() ([]byte, []int) {
492 return file_google_iam_v1_policy_proto_rawDescGZIP(), []int{1}
493 }
494
495 func (x *Binding) GetRole() string {
496 if x != nil {
497 return x.Role
498 }
499 return ""
500 }
501
502 func (x *Binding) GetMembers() []string {
503 if x != nil {
504 return x.Members
505 }
506 return nil
507 }
508
509 func (x *Binding) GetCondition() *expr.Expr {
510 if x != nil {
511 return x.Condition
512 }
513 return nil
514 }
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567 type AuditConfig struct {
568 state protoimpl.MessageState
569 sizeCache protoimpl.SizeCache
570 unknownFields protoimpl.UnknownFields
571
572
573
574
575 Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
576
577 AuditLogConfigs []*AuditLogConfig `protobuf:"bytes,3,rep,name=audit_log_configs,json=auditLogConfigs,proto3" json:"audit_log_configs,omitempty"`
578 }
579
580 func (x *AuditConfig) Reset() {
581 *x = AuditConfig{}
582 if protoimpl.UnsafeEnabled {
583 mi := &file_google_iam_v1_policy_proto_msgTypes[2]
584 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
585 ms.StoreMessageInfo(mi)
586 }
587 }
588
589 func (x *AuditConfig) String() string {
590 return protoimpl.X.MessageStringOf(x)
591 }
592
593 func (*AuditConfig) ProtoMessage() {}
594
595 func (x *AuditConfig) ProtoReflect() protoreflect.Message {
596 mi := &file_google_iam_v1_policy_proto_msgTypes[2]
597 if protoimpl.UnsafeEnabled && x != nil {
598 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
599 if ms.LoadMessageInfo() == nil {
600 ms.StoreMessageInfo(mi)
601 }
602 return ms
603 }
604 return mi.MessageOf(x)
605 }
606
607
608 func (*AuditConfig) Descriptor() ([]byte, []int) {
609 return file_google_iam_v1_policy_proto_rawDescGZIP(), []int{2}
610 }
611
612 func (x *AuditConfig) GetService() string {
613 if x != nil {
614 return x.Service
615 }
616 return ""
617 }
618
619 func (x *AuditConfig) GetAuditLogConfigs() []*AuditLogConfig {
620 if x != nil {
621 return x.AuditLogConfigs
622 }
623 return nil
624 }
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645 type AuditLogConfig struct {
646 state protoimpl.MessageState
647 sizeCache protoimpl.SizeCache
648 unknownFields protoimpl.UnknownFields
649
650
651 LogType AuditLogConfig_LogType `protobuf:"varint,1,opt,name=log_type,json=logType,proto3,enum=google.iam.v1.AuditLogConfig_LogType" json:"log_type,omitempty"`
652
653
654
655
656 ExemptedMembers []string `protobuf:"bytes,2,rep,name=exempted_members,json=exemptedMembers,proto3" json:"exempted_members,omitempty"`
657 }
658
659 func (x *AuditLogConfig) Reset() {
660 *x = AuditLogConfig{}
661 if protoimpl.UnsafeEnabled {
662 mi := &file_google_iam_v1_policy_proto_msgTypes[3]
663 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
664 ms.StoreMessageInfo(mi)
665 }
666 }
667
668 func (x *AuditLogConfig) String() string {
669 return protoimpl.X.MessageStringOf(x)
670 }
671
672 func (*AuditLogConfig) ProtoMessage() {}
673
674 func (x *AuditLogConfig) ProtoReflect() protoreflect.Message {
675 mi := &file_google_iam_v1_policy_proto_msgTypes[3]
676 if protoimpl.UnsafeEnabled && x != nil {
677 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
678 if ms.LoadMessageInfo() == nil {
679 ms.StoreMessageInfo(mi)
680 }
681 return ms
682 }
683 return mi.MessageOf(x)
684 }
685
686
687 func (*AuditLogConfig) Descriptor() ([]byte, []int) {
688 return file_google_iam_v1_policy_proto_rawDescGZIP(), []int{3}
689 }
690
691 func (x *AuditLogConfig) GetLogType() AuditLogConfig_LogType {
692 if x != nil {
693 return x.LogType
694 }
695 return AuditLogConfig_LOG_TYPE_UNSPECIFIED
696 }
697
698 func (x *AuditLogConfig) GetExemptedMembers() []string {
699 if x != nil {
700 return x.ExemptedMembers
701 }
702 return nil
703 }
704
705
706 type PolicyDelta struct {
707 state protoimpl.MessageState
708 sizeCache protoimpl.SizeCache
709 unknownFields protoimpl.UnknownFields
710
711
712 BindingDeltas []*BindingDelta `protobuf:"bytes,1,rep,name=binding_deltas,json=bindingDeltas,proto3" json:"binding_deltas,omitempty"`
713
714 AuditConfigDeltas []*AuditConfigDelta `protobuf:"bytes,2,rep,name=audit_config_deltas,json=auditConfigDeltas,proto3" json:"audit_config_deltas,omitempty"`
715 }
716
717 func (x *PolicyDelta) Reset() {
718 *x = PolicyDelta{}
719 if protoimpl.UnsafeEnabled {
720 mi := &file_google_iam_v1_policy_proto_msgTypes[4]
721 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
722 ms.StoreMessageInfo(mi)
723 }
724 }
725
726 func (x *PolicyDelta) String() string {
727 return protoimpl.X.MessageStringOf(x)
728 }
729
730 func (*PolicyDelta) ProtoMessage() {}
731
732 func (x *PolicyDelta) ProtoReflect() protoreflect.Message {
733 mi := &file_google_iam_v1_policy_proto_msgTypes[4]
734 if protoimpl.UnsafeEnabled && x != nil {
735 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
736 if ms.LoadMessageInfo() == nil {
737 ms.StoreMessageInfo(mi)
738 }
739 return ms
740 }
741 return mi.MessageOf(x)
742 }
743
744
745 func (*PolicyDelta) Descriptor() ([]byte, []int) {
746 return file_google_iam_v1_policy_proto_rawDescGZIP(), []int{4}
747 }
748
749 func (x *PolicyDelta) GetBindingDeltas() []*BindingDelta {
750 if x != nil {
751 return x.BindingDeltas
752 }
753 return nil
754 }
755
756 func (x *PolicyDelta) GetAuditConfigDeltas() []*AuditConfigDelta {
757 if x != nil {
758 return x.AuditConfigDeltas
759 }
760 return nil
761 }
762
763
764
765 type BindingDelta struct {
766 state protoimpl.MessageState
767 sizeCache protoimpl.SizeCache
768 unknownFields protoimpl.UnknownFields
769
770
771
772 Action BindingDelta_Action `protobuf:"varint,1,opt,name=action,proto3,enum=google.iam.v1.BindingDelta_Action" json:"action,omitempty"`
773
774
775
776 Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
777
778
779
780 Member string `protobuf:"bytes,3,opt,name=member,proto3" json:"member,omitempty"`
781
782 Condition *expr.Expr `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"`
783 }
784
785 func (x *BindingDelta) Reset() {
786 *x = BindingDelta{}
787 if protoimpl.UnsafeEnabled {
788 mi := &file_google_iam_v1_policy_proto_msgTypes[5]
789 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
790 ms.StoreMessageInfo(mi)
791 }
792 }
793
794 func (x *BindingDelta) String() string {
795 return protoimpl.X.MessageStringOf(x)
796 }
797
798 func (*BindingDelta) ProtoMessage() {}
799
800 func (x *BindingDelta) ProtoReflect() protoreflect.Message {
801 mi := &file_google_iam_v1_policy_proto_msgTypes[5]
802 if protoimpl.UnsafeEnabled && x != nil {
803 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
804 if ms.LoadMessageInfo() == nil {
805 ms.StoreMessageInfo(mi)
806 }
807 return ms
808 }
809 return mi.MessageOf(x)
810 }
811
812
813 func (*BindingDelta) Descriptor() ([]byte, []int) {
814 return file_google_iam_v1_policy_proto_rawDescGZIP(), []int{5}
815 }
816
817 func (x *BindingDelta) GetAction() BindingDelta_Action {
818 if x != nil {
819 return x.Action
820 }
821 return BindingDelta_ACTION_UNSPECIFIED
822 }
823
824 func (x *BindingDelta) GetRole() string {
825 if x != nil {
826 return x.Role
827 }
828 return ""
829 }
830
831 func (x *BindingDelta) GetMember() string {
832 if x != nil {
833 return x.Member
834 }
835 return ""
836 }
837
838 func (x *BindingDelta) GetCondition() *expr.Expr {
839 if x != nil {
840 return x.Condition
841 }
842 return nil
843 }
844
845
846
847 type AuditConfigDelta struct {
848 state protoimpl.MessageState
849 sizeCache protoimpl.SizeCache
850 unknownFields protoimpl.UnknownFields
851
852
853
854 Action AuditConfigDelta_Action `protobuf:"varint,1,opt,name=action,proto3,enum=google.iam.v1.AuditConfigDelta_Action" json:"action,omitempty"`
855
856
857
858
859 Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
860
861
862
863 ExemptedMember string `protobuf:"bytes,3,opt,name=exempted_member,json=exemptedMember,proto3" json:"exempted_member,omitempty"`
864
865
866
867 LogType string `protobuf:"bytes,4,opt,name=log_type,json=logType,proto3" json:"log_type,omitempty"`
868 }
869
870 func (x *AuditConfigDelta) Reset() {
871 *x = AuditConfigDelta{}
872 if protoimpl.UnsafeEnabled {
873 mi := &file_google_iam_v1_policy_proto_msgTypes[6]
874 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
875 ms.StoreMessageInfo(mi)
876 }
877 }
878
879 func (x *AuditConfigDelta) String() string {
880 return protoimpl.X.MessageStringOf(x)
881 }
882
883 func (*AuditConfigDelta) ProtoMessage() {}
884
885 func (x *AuditConfigDelta) ProtoReflect() protoreflect.Message {
886 mi := &file_google_iam_v1_policy_proto_msgTypes[6]
887 if protoimpl.UnsafeEnabled && x != nil {
888 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
889 if ms.LoadMessageInfo() == nil {
890 ms.StoreMessageInfo(mi)
891 }
892 return ms
893 }
894 return mi.MessageOf(x)
895 }
896
897
898 func (*AuditConfigDelta) Descriptor() ([]byte, []int) {
899 return file_google_iam_v1_policy_proto_rawDescGZIP(), []int{6}
900 }
901
902 func (x *AuditConfigDelta) GetAction() AuditConfigDelta_Action {
903 if x != nil {
904 return x.Action
905 }
906 return AuditConfigDelta_ACTION_UNSPECIFIED
907 }
908
909 func (x *AuditConfigDelta) GetService() string {
910 if x != nil {
911 return x.Service
912 }
913 return ""
914 }
915
916 func (x *AuditConfigDelta) GetExemptedMember() string {
917 if x != nil {
918 return x.ExemptedMember
919 }
920 return ""
921 }
922
923 func (x *AuditConfigDelta) GetLogType() string {
924 if x != nil {
925 return x.LogType
926 }
927 return ""
928 }
929
930 var File_google_iam_v1_policy_proto protoreflect.FileDescriptor
931
932 var file_google_iam_v1_policy_proto_rawDesc = []byte{
933 0x0a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f,
934 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x67, 0x6f,
935 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x16, 0x67, 0x6f, 0x6f,
936 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, 0x72,
937 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x01, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x18,
938 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
939 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x08, 0x62, 0x69, 0x6e, 0x64,
940 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
941 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69,
942 0x6e, 0x67, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3f, 0x0a, 0x0d,
943 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x06, 0x20,
944 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d,
945 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
946 0x0c, 0x61, 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x12, 0x0a,
947 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x65, 0x74, 0x61,
948 0x67, 0x22, 0x68, 0x0a, 0x07, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04,
949 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65,
950 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
951 0x09, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x6f,
952 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
953 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x72,
954 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x72, 0x0a, 0x0b, 0x41,
955 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65,
956 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72,
957 0x76, 0x69, 0x63, 0x65, 0x12, 0x49, 0x0a, 0x11, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f,
958 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
959 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e,
960 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0f,
961 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22,
962 0xd1, 0x01, 0x0a, 0x0e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66,
963 0x69, 0x67, 0x12, 0x40, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
964 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61,
965 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e,
966 0x66, 0x69, 0x67, 0x2e, 0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6c, 0x6f, 0x67,
967 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x74, 0x65, 0x64,
968 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f,
969 0x65, 0x78, 0x65, 0x6d, 0x70, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22,
970 0x52, 0x0a, 0x07, 0x4c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x4f,
971 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
972 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x5f, 0x52, 0x45,
973 0x41, 0x44, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x57, 0x52, 0x49,
974 0x54, 0x45, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x52, 0x45, 0x41,
975 0x44, 0x10, 0x03, 0x22, 0xa2, 0x01, 0x0a, 0x0b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65,
976 0x6c, 0x74, 0x61, 0x12, 0x42, 0x0a, 0x0e, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64,
977 0x65, 0x6c, 0x74, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
978 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6e, 0x64,
979 0x69, 0x6e, 0x67, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x0d, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e,
980 0x67, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x12, 0x4f, 0x0a, 0x13, 0x61, 0x75, 0x64, 0x69, 0x74,
981 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x18, 0x02,
982 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61,
983 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
984 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x11, 0x61, 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66,
985 0x69, 0x67, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x22, 0xde, 0x01, 0x0a, 0x0c, 0x42, 0x69, 0x6e,
986 0x64, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x06, 0x61, 0x63, 0x74,
987 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
988 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e,
989 0x67, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61,
990 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20,
991 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d,
992 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65,
993 0x72, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
994 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79,
995 0x70, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69,
996 0x6f, 0x6e, 0x22, 0x35, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12,
997 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
998 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a,
999 0x06, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x02, 0x22, 0xe7, 0x01, 0x0a, 0x10, 0x41, 0x75,
1000 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x3e,
1001 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26,
1002 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x41,
1003 0x75, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x2e,
1004 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18,
1005 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
1006 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x6d,
1007 0x70, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
1008 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65,
1009 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20,
1010 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x35, 0x0a, 0x06,
1011 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e,
1012 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07,
1013 0x0a, 0x03, 0x41, 0x44, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4d, 0x4f, 0x56,
1014 0x45, 0x10, 0x02, 0x42, 0x7c, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1015 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1016 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
1017 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x69, 0x61, 0x6d,
1018 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x69, 0x61, 0x6d, 0x70, 0x62, 0x3b, 0x69, 0x61, 0x6d,
1019 0x70, 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
1020 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x49, 0x61, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x47, 0x6f,
1021 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x49, 0x61, 0x6d, 0x5c, 0x56,
1022 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1023 }
1024
1025 var (
1026 file_google_iam_v1_policy_proto_rawDescOnce sync.Once
1027 file_google_iam_v1_policy_proto_rawDescData = file_google_iam_v1_policy_proto_rawDesc
1028 )
1029
1030 func file_google_iam_v1_policy_proto_rawDescGZIP() []byte {
1031 file_google_iam_v1_policy_proto_rawDescOnce.Do(func() {
1032 file_google_iam_v1_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_iam_v1_policy_proto_rawDescData)
1033 })
1034 return file_google_iam_v1_policy_proto_rawDescData
1035 }
1036
1037 var file_google_iam_v1_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
1038 var file_google_iam_v1_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
1039 var file_google_iam_v1_policy_proto_goTypes = []interface{}{
1040 (AuditLogConfig_LogType)(0),
1041 (BindingDelta_Action)(0),
1042 (AuditConfigDelta_Action)(0),
1043 (*Policy)(nil),
1044 (*Binding)(nil),
1045 (*AuditConfig)(nil),
1046 (*AuditLogConfig)(nil),
1047 (*PolicyDelta)(nil),
1048 (*BindingDelta)(nil),
1049 (*AuditConfigDelta)(nil),
1050 (*expr.Expr)(nil),
1051 }
1052 var file_google_iam_v1_policy_proto_depIdxs = []int32{
1053 4,
1054 5,
1055 10,
1056 6,
1057 0,
1058 8,
1059 9,
1060 1,
1061 10,
1062 2,
1063 10,
1064 10,
1065 10,
1066 10,
1067 0,
1068 }
1069
1070 func init() { file_google_iam_v1_policy_proto_init() }
1071 func file_google_iam_v1_policy_proto_init() {
1072 if File_google_iam_v1_policy_proto != nil {
1073 return
1074 }
1075 if !protoimpl.UnsafeEnabled {
1076 file_google_iam_v1_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1077 switch v := v.(*Policy); i {
1078 case 0:
1079 return &v.state
1080 case 1:
1081 return &v.sizeCache
1082 case 2:
1083 return &v.unknownFields
1084 default:
1085 return nil
1086 }
1087 }
1088 file_google_iam_v1_policy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1089 switch v := v.(*Binding); i {
1090 case 0:
1091 return &v.state
1092 case 1:
1093 return &v.sizeCache
1094 case 2:
1095 return &v.unknownFields
1096 default:
1097 return nil
1098 }
1099 }
1100 file_google_iam_v1_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1101 switch v := v.(*AuditConfig); i {
1102 case 0:
1103 return &v.state
1104 case 1:
1105 return &v.sizeCache
1106 case 2:
1107 return &v.unknownFields
1108 default:
1109 return nil
1110 }
1111 }
1112 file_google_iam_v1_policy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1113 switch v := v.(*AuditLogConfig); i {
1114 case 0:
1115 return &v.state
1116 case 1:
1117 return &v.sizeCache
1118 case 2:
1119 return &v.unknownFields
1120 default:
1121 return nil
1122 }
1123 }
1124 file_google_iam_v1_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1125 switch v := v.(*PolicyDelta); i {
1126 case 0:
1127 return &v.state
1128 case 1:
1129 return &v.sizeCache
1130 case 2:
1131 return &v.unknownFields
1132 default:
1133 return nil
1134 }
1135 }
1136 file_google_iam_v1_policy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1137 switch v := v.(*BindingDelta); i {
1138 case 0:
1139 return &v.state
1140 case 1:
1141 return &v.sizeCache
1142 case 2:
1143 return &v.unknownFields
1144 default:
1145 return nil
1146 }
1147 }
1148 file_google_iam_v1_policy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1149 switch v := v.(*AuditConfigDelta); i {
1150 case 0:
1151 return &v.state
1152 case 1:
1153 return &v.sizeCache
1154 case 2:
1155 return &v.unknownFields
1156 default:
1157 return nil
1158 }
1159 }
1160 }
1161 type x struct{}
1162 out := protoimpl.TypeBuilder{
1163 File: protoimpl.DescBuilder{
1164 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1165 RawDescriptor: file_google_iam_v1_policy_proto_rawDesc,
1166 NumEnums: 3,
1167 NumMessages: 7,
1168 NumExtensions: 0,
1169 NumServices: 0,
1170 },
1171 GoTypes: file_google_iam_v1_policy_proto_goTypes,
1172 DependencyIndexes: file_google_iam_v1_policy_proto_depIdxs,
1173 EnumInfos: file_google_iam_v1_policy_proto_enumTypes,
1174 MessageInfos: file_google_iam_v1_policy_proto_msgTypes,
1175 }.Build()
1176 File_google_iam_v1_policy_proto = out.File
1177 file_google_iam_v1_policy_proto_rawDesc = nil
1178 file_google_iam_v1_policy_proto_goTypes = nil
1179 file_google_iam_v1_policy_proto_depIdxs = nil
1180 }
1181
View as plain text