|
17 | 17 | # Generated by the protocol buffer compiler. DO NOT EDIT!
|
18 | 18 | # source: google/iam/v1/policy.proto
|
19 | 19 | """Generated protocol buffer code."""
|
| 20 | +from google.protobuf.internal import builder as _builder |
20 | 21 | from google.protobuf import descriptor as _descriptor
|
21 | 22 | from google.protobuf import descriptor_pool as _descriptor_pool
|
22 |
| -from google.protobuf import message as _message |
23 |
| -from google.protobuf import reflection as _reflection |
24 | 23 | from google.protobuf import symbol_database as _symbol_database
|
25 | 24 |
|
26 | 25 | # @@protoc_insertion_point(imports)
|
|
35 | 34 | b'\n\x1agoogle/iam/v1/policy.proto\x12\rgoogle.iam.v1\x1a\x16google/type/expr.proto"\x84\x01\n\x06Policy\x12\x0f\n\x07version\x18\x01 \x01(\x05\x12(\n\x08\x62indings\x18\x04 \x03(\x0b\x32\x16.google.iam.v1.Binding\x12\x31\n\raudit_configs\x18\x06 \x03(\x0b\x32\x1a.google.iam.v1.AuditConfig\x12\x0c\n\x04\x65tag\x18\x03 \x01(\x0c"N\n\x07\x42inding\x12\x0c\n\x04role\x18\x01 \x01(\t\x12\x0f\n\x07members\x18\x02 \x03(\t\x12$\n\tcondition\x18\x03 \x01(\x0b\x32\x11.google.type.Expr"X\n\x0b\x41uditConfig\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x38\n\x11\x61udit_log_configs\x18\x03 \x03(\x0b\x32\x1d.google.iam.v1.AuditLogConfig"\xb7\x01\n\x0e\x41uditLogConfig\x12\x37\n\x08log_type\x18\x01 \x01(\x0e\x32%.google.iam.v1.AuditLogConfig.LogType\x12\x18\n\x10\x65xempted_members\x18\x02 \x03(\t"R\n\x07LogType\x12\x18\n\x14LOG_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nADMIN_READ\x10\x01\x12\x0e\n\nDATA_WRITE\x10\x02\x12\r\n\tDATA_READ\x10\x03"\x80\x01\n\x0bPolicyDelta\x12\x33\n\x0e\x62inding_deltas\x18\x01 \x03(\x0b\x32\x1b.google.iam.v1.BindingDelta\x12<\n\x13\x61udit_config_deltas\x18\x02 \x03(\x0b\x32\x1f.google.iam.v1.AuditConfigDelta"\xbd\x01\n\x0c\x42indingDelta\x12\x32\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32".google.iam.v1.BindingDelta.Action\x12\x0c\n\x04role\x18\x02 \x01(\t\x12\x0e\n\x06member\x18\x03 \x01(\t\x12$\n\tcondition\x18\x04 \x01(\x0b\x32\x11.google.type.Expr"5\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06REMOVE\x10\x02"\xbd\x01\n\x10\x41uditConfigDelta\x12\x36\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32&.google.iam.v1.AuditConfigDelta.Action\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x17\n\x0f\x65xempted_member\x18\x03 \x01(\t\x12\x10\n\x08log_type\x18\x04 \x01(\t"5\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06REMOVE\x10\x02\x42\x83\x01\n\x11\x63om.google.iam.v1B\x0bPolicyProtoP\x01Z0google.golang.org/genproto/googleapis/iam/v1;iam\xf8\x01\x01\xaa\x02\x13Google.Cloud.Iam.V1\xca\x02\x13Google\\Cloud\\Iam\\V1b\x06proto3'
|
36 | 35 | )
|
37 | 36 |
|
38 |
| - |
39 |
| -_POLICY = DESCRIPTOR.message_types_by_name["Policy"] |
40 |
| -_BINDING = DESCRIPTOR.message_types_by_name["Binding"] |
41 |
| -_AUDITCONFIG = DESCRIPTOR.message_types_by_name["AuditConfig"] |
42 |
| -_AUDITLOGCONFIG = DESCRIPTOR.message_types_by_name["AuditLogConfig"] |
43 |
| -_POLICYDELTA = DESCRIPTOR.message_types_by_name["PolicyDelta"] |
44 |
| -_BINDINGDELTA = DESCRIPTOR.message_types_by_name["BindingDelta"] |
45 |
| -_AUDITCONFIGDELTA = DESCRIPTOR.message_types_by_name["AuditConfigDelta"] |
46 |
| -_AUDITLOGCONFIG_LOGTYPE = _AUDITLOGCONFIG.enum_types_by_name["LogType"] |
47 |
| -_BINDINGDELTA_ACTION = _BINDINGDELTA.enum_types_by_name["Action"] |
48 |
| -_AUDITCONFIGDELTA_ACTION = _AUDITCONFIGDELTA.enum_types_by_name["Action"] |
49 |
| -Policy = _reflection.GeneratedProtocolMessageType( |
50 |
| - "Policy", |
51 |
| - (_message.Message,), |
52 |
| - { |
53 |
| - "DESCRIPTOR": _POLICY, |
54 |
| - "__module__": "google.iam.v1.policy_pb2" |
55 |
| - # @@protoc_insertion_point(class_scope:google.iam.v1.Policy) |
56 |
| - }, |
57 |
| -) |
58 |
| -_sym_db.RegisterMessage(Policy) |
59 |
| - |
60 |
| -Binding = _reflection.GeneratedProtocolMessageType( |
61 |
| - "Binding", |
62 |
| - (_message.Message,), |
63 |
| - { |
64 |
| - "DESCRIPTOR": _BINDING, |
65 |
| - "__module__": "google.iam.v1.policy_pb2" |
66 |
| - # @@protoc_insertion_point(class_scope:google.iam.v1.Binding) |
67 |
| - }, |
68 |
| -) |
69 |
| -_sym_db.RegisterMessage(Binding) |
70 |
| - |
71 |
| -AuditConfig = _reflection.GeneratedProtocolMessageType( |
72 |
| - "AuditConfig", |
73 |
| - (_message.Message,), |
74 |
| - { |
75 |
| - "DESCRIPTOR": _AUDITCONFIG, |
76 |
| - "__module__": "google.iam.v1.policy_pb2" |
77 |
| - # @@protoc_insertion_point(class_scope:google.iam.v1.AuditConfig) |
78 |
| - }, |
79 |
| -) |
80 |
| -_sym_db.RegisterMessage(AuditConfig) |
81 |
| - |
82 |
| -AuditLogConfig = _reflection.GeneratedProtocolMessageType( |
83 |
| - "AuditLogConfig", |
84 |
| - (_message.Message,), |
85 |
| - { |
86 |
| - "DESCRIPTOR": _AUDITLOGCONFIG, |
87 |
| - "__module__": "google.iam.v1.policy_pb2" |
88 |
| - # @@protoc_insertion_point(class_scope:google.iam.v1.AuditLogConfig) |
89 |
| - }, |
| 37 | +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) |
| 38 | +_builder.BuildTopDescriptorsAndMessages( |
| 39 | + DESCRIPTOR, "google.iam.v1.policy_pb2", globals() |
90 | 40 | )
|
91 |
| -_sym_db.RegisterMessage(AuditLogConfig) |
92 |
| - |
93 |
| -PolicyDelta = _reflection.GeneratedProtocolMessageType( |
94 |
| - "PolicyDelta", |
95 |
| - (_message.Message,), |
96 |
| - { |
97 |
| - "DESCRIPTOR": _POLICYDELTA, |
98 |
| - "__module__": "google.iam.v1.policy_pb2" |
99 |
| - # @@protoc_insertion_point(class_scope:google.iam.v1.PolicyDelta) |
100 |
| - }, |
101 |
| -) |
102 |
| -_sym_db.RegisterMessage(PolicyDelta) |
103 |
| - |
104 |
| -BindingDelta = _reflection.GeneratedProtocolMessageType( |
105 |
| - "BindingDelta", |
106 |
| - (_message.Message,), |
107 |
| - { |
108 |
| - "DESCRIPTOR": _BINDINGDELTA, |
109 |
| - "__module__": "google.iam.v1.policy_pb2" |
110 |
| - # @@protoc_insertion_point(class_scope:google.iam.v1.BindingDelta) |
111 |
| - }, |
112 |
| -) |
113 |
| -_sym_db.RegisterMessage(BindingDelta) |
114 |
| - |
115 |
| -AuditConfigDelta = _reflection.GeneratedProtocolMessageType( |
116 |
| - "AuditConfigDelta", |
117 |
| - (_message.Message,), |
118 |
| - { |
119 |
| - "DESCRIPTOR": _AUDITCONFIGDELTA, |
120 |
| - "__module__": "google.iam.v1.policy_pb2" |
121 |
| - # @@protoc_insertion_point(class_scope:google.iam.v1.AuditConfigDelta) |
122 |
| - }, |
123 |
| -) |
124 |
| -_sym_db.RegisterMessage(AuditConfigDelta) |
125 |
| - |
126 | 41 | if _descriptor._USE_C_DESCRIPTORS == False:
|
127 | 42 |
|
128 | 43 | DESCRIPTOR._options = None
|
|
0 commit comments