Debian Codegraph @

iam/apiv3/iampb/principal_access_boundary_policy_resources.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/iam/v3/principal_access_boundary_policy_resources.proto
20
21 package iampb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // An effect to describe the access relationship.
40 type PrincipalAccessBoundaryPolicyRule_Effect int32
41
42 const (
43 // Effect unspecified.
44 PrincipalAccessBoundaryPolicyRule_EFFECT_UNSPECIFIED PrincipalAccessBoundaryPolicyRule_Effect = 0
45 // Allows access to the resources in this rule.
46 PrincipalAccessBoundaryPolicyRule_ALLOW PrincipalAccessBoundaryPolicyRule_Effect = 1
47 )
48
49 // Enum value maps for PrincipalAccessBoundaryPolicyRule_Effect.
50 var (
51 PrincipalAccessBoundaryPolicyRule_Effect_name = map[int32]string{
52 0: "EFFECT_UNSPECIFIED",
53 1: "ALLOW",
54 }
55 PrincipalAccessBoundaryPolicyRule_Effect_value = map[string]int32{
56 "EFFECT_UNSPECIFIED": 0,
57 "ALLOW": 1,
58 }
59 )
60
61 func (x PrincipalAccessBoundaryPolicyRule_Effect) Enum() *PrincipalAccessBoundaryPolicyRule_Effect {
62 p := new(PrincipalAccessBoundaryPolicyRule_Effect)
63 *p = x
64 return p
65 }
66
67 func (x PrincipalAccessBoundaryPolicyRule_Effect) String() string {
68 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
69 }
70
71 func (PrincipalAccessBoundaryPolicyRule_Effect) Descriptor() protoreflect.EnumDescriptor {
72 return file_google_iam_v3_principal_access_boundary_policy_resources_proto_enumTypes[0].Descriptor()
73 }
74
75 func (PrincipalAccessBoundaryPolicyRule_Effect) Type() protoreflect.EnumType {
76 return &file_google_iam_v3_principal_access_boundary_policy_resources_proto_enumTypes[0]
77 }
78
79 func (x PrincipalAccessBoundaryPolicyRule_Effect) Number() protoreflect.EnumNumber {
80 return protoreflect.EnumNumber(x)
81 }
82
83 // Deprecated: Use PrincipalAccessBoundaryPolicyRule_Effect.Descriptor instead.
84 func (PrincipalAccessBoundaryPolicyRule_Effect) EnumDescriptor() ([]byte, []int) {
85 return file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDescGZIP(), []int{2, 0}
86 }
87
88 // An IAM principal access boundary policy resource.
89 type PrincipalAccessBoundaryPolicy struct {
90 state protoimpl.MessageState
91 sizeCache protoimpl.SizeCache
92 unknownFields protoimpl.UnknownFields
93
94 // Identifier. The resource name of the principal access boundary policy.
95 //
96 // The following format is supported:
97 // `organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{policy_id}`
98 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
99 // Output only. The globally unique ID of the principal access boundary
100 // policy.
101 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
102 // Optional. The etag for the principal access boundary.
103 // If this is provided on update, it must match the server's etag.
104 Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
105 // Optional. The description of the principal access boundary policy. Must be
106 // less than or equal to 63 characters.
107 DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
108 // Optional. User defined annotations. See
109 // https://google.aip.dev/148#annotations for more details such as format and
110 // size limitations
111 Annotations map[string]string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
112 // Output only. The time when the principal access boundary policy was
113 // created.
114 CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
115 // Output only. The time when the principal access boundary policy was most
116 // recently updated.
117 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
118 // Optional. The details for the principal access boundary policy.
119 Details *PrincipalAccessBoundaryPolicyDetails `protobuf:"bytes,8,opt,name=details,proto3" json:"details,omitempty"`
120 }
121
122 func (x *PrincipalAccessBoundaryPolicy) Reset() {
123 *x = PrincipalAccessBoundaryPolicy{}
124 mi := &file_google_iam_v3_principal_access_boundary_policy_resources_proto_msgTypes[0]
125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126 ms.StoreMessageInfo(mi)
127 }
128
129 func (x *PrincipalAccessBoundaryPolicy) String() string {
130 return protoimpl.X.MessageStringOf(x)
131 }
132
133 func (*PrincipalAccessBoundaryPolicy) ProtoMessage() {}
134
135 func (x *PrincipalAccessBoundaryPolicy) ProtoReflect() protoreflect.Message {
136 mi := &file_google_iam_v3_principal_access_boundary_policy_resources_proto_msgTypes[0]
137 if x != nil {
138 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
139 if ms.LoadMessageInfo() == nil {
140 ms.StoreMessageInfo(mi)
141 }
142 return ms
143 }
144 return mi.MessageOf(x)
145 }
146
147 // Deprecated: Use PrincipalAccessBoundaryPolicy.ProtoReflect.Descriptor instead.
148 func (*PrincipalAccessBoundaryPolicy) Descriptor() ([]byte, []int) {
149 return file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDescGZIP(), []int{0}
150 }
151
152 func (x *PrincipalAccessBoundaryPolicy) GetName() string {
153 if x != nil {
154 return x.Name
155 }
156 return ""
157 }
158
159 func (x *PrincipalAccessBoundaryPolicy) GetUid() string {
160 if x != nil {
161 return x.Uid
162 }
163 return ""
164 }
165
166 func (x *PrincipalAccessBoundaryPolicy) GetEtag() string {
167 if x != nil {
168 return x.Etag
169 }
170 return ""
171 }
172
173 func (x *PrincipalAccessBoundaryPolicy) GetDisplayName() string {
174 if x != nil {
175 return x.DisplayName
176 }
177 return ""
178 }
179
180 func (x *PrincipalAccessBoundaryPolicy) GetAnnotations() map[string]string {
181 if x != nil {
182 return x.Annotations
183 }
184 return nil
185 }
186
187 func (x *PrincipalAccessBoundaryPolicy) GetCreateTime() *timestamppb.Timestamp {
188 if x != nil {
189 return x.CreateTime
190 }
191 return nil
192 }
193
194 func (x *PrincipalAccessBoundaryPolicy) GetUpdateTime() *timestamppb.Timestamp {
195 if x != nil {
196 return x.UpdateTime
197 }
198 return nil
199 }
200
201 func (x *PrincipalAccessBoundaryPolicy) GetDetails() *PrincipalAccessBoundaryPolicyDetails {
202 if x != nil {
203 return x.Details
204 }
205 return nil
206 }
207
208 // Principal access boundary policy details
209 type PrincipalAccessBoundaryPolicyDetails struct {
210 state protoimpl.MessageState
211 sizeCache protoimpl.SizeCache
212 unknownFields protoimpl.UnknownFields
213
214 // Required. A list of principal access boundary policy rules. The number of
215 // rules in a policy is limited to 500.
216 Rules []*PrincipalAccessBoundaryPolicyRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
217 // Optional.
218 // The version number (for example, `1` or `latest`) that indicates which
219 // permissions are able to be blocked by the policy. If empty, the PAB policy
220 // version will be set to the most recent version number at the time of the
221 // policy's creation.
222 EnforcementVersion string `protobuf:"bytes,4,opt,name=enforcement_version,json=enforcementVersion,proto3" json:"enforcement_version,omitempty"`
223 }
224
225 func (x *PrincipalAccessBoundaryPolicyDetails) Reset() {
226 *x = PrincipalAccessBoundaryPolicyDetails{}
227 mi := &file_google_iam_v3_principal_access_boundary_policy_resources_proto_msgTypes[1]
228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
229 ms.StoreMessageInfo(mi)
230 }
231
232 func (x *PrincipalAccessBoundaryPolicyDetails) String() string {
233 return protoimpl.X.MessageStringOf(x)
234 }
235
236 func (*PrincipalAccessBoundaryPolicyDetails) ProtoMessage() {}
237
238 func (x *PrincipalAccessBoundaryPolicyDetails) ProtoReflect() protoreflect.Message {
239 mi := &file_google_iam_v3_principal_access_boundary_policy_resources_proto_msgTypes[1]
240 if x != nil {
241 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
242 if ms.LoadMessageInfo() == nil {
243 ms.StoreMessageInfo(mi)
244 }
245 return ms
246 }
247 return mi.MessageOf(x)
248 }
249
250 // Deprecated: Use PrincipalAccessBoundaryPolicyDetails.ProtoReflect.Descriptor instead.
251 func (*PrincipalAccessBoundaryPolicyDetails) Descriptor() ([]byte, []int) {
252 return file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDescGZIP(), []int{1}
253 }
254
255 func (x *PrincipalAccessBoundaryPolicyDetails) GetRules() []*PrincipalAccessBoundaryPolicyRule {
256 if x != nil {
257 return x.Rules
258 }
259 return nil
260 }
261
262 func (x *PrincipalAccessBoundaryPolicyDetails) GetEnforcementVersion() string {
263 if x != nil {
264 return x.EnforcementVersion
265 }
266 return ""
267 }
268
269 // Principal access boundary policy rule that defines the resource boundary.
270 type PrincipalAccessBoundaryPolicyRule struct {
271 state protoimpl.MessageState
272 sizeCache protoimpl.SizeCache
273 unknownFields protoimpl.UnknownFields
274
275 // Optional. The description of the principal access boundary policy rule.
276 // Must be less than or equal to 256 characters.
277 Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
278 // Required. A list of Resource Manager resources. If a resource is listed in
279 // the rule, then the rule applies for that resource and its descendants. The
280 // number of resources in a policy is limited to 500 across all rules in the
281 // policy.
282 //
283 // The following resource types are supported:
284 //
285 // * Organizations, such as
286 // `//cloudresourcemanager.googleapis.com/organizations/123`.
287 // - Folders, such as `//cloudresourcemanager.googleapis.com/folders/123`.
288 // - Projects, such as `//cloudresourcemanager.googleapis.com/projects/123`
289 // or `//cloudresourcemanager.googleapis.com/projects/my-project-id`.
290 Resources []string `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
291 // Required. The access relationship of principals to the resources in this
292 // rule.
293 Effect PrincipalAccessBoundaryPolicyRule_Effect `protobuf:"varint,3,opt,name=effect,proto3,enum=google.iam.v3.PrincipalAccessBoundaryPolicyRule_Effect" json:"effect,omitempty"`
294 }
295
296 func (x *PrincipalAccessBoundaryPolicyRule) Reset() {
297 *x = PrincipalAccessBoundaryPolicyRule{}
298 mi := &file_google_iam_v3_principal_access_boundary_policy_resources_proto_msgTypes[2]
299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
300 ms.StoreMessageInfo(mi)
301 }
302
303 func (x *PrincipalAccessBoundaryPolicyRule) String() string {
304 return protoimpl.X.MessageStringOf(x)
305 }
306
307 func (*PrincipalAccessBoundaryPolicyRule) ProtoMessage() {}
308
309 func (x *PrincipalAccessBoundaryPolicyRule) ProtoReflect() protoreflect.Message {
310 mi := &file_google_iam_v3_principal_access_boundary_policy_resources_proto_msgTypes[2]
311 if x != nil {
312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
313 if ms.LoadMessageInfo() == nil {
314 ms.StoreMessageInfo(mi)
315 }
316 return ms
317 }
318 return mi.MessageOf(x)
319 }
320
321 // Deprecated: Use PrincipalAccessBoundaryPolicyRule.ProtoReflect.Descriptor instead.
322 func (*PrincipalAccessBoundaryPolicyRule) Descriptor() ([]byte, []int) {
323 return file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDescGZIP(), []int{2}
324 }
325
326 func (x *PrincipalAccessBoundaryPolicyRule) GetDescription() string {
327 if x != nil {
328 return x.Description
329 }
330 return ""
331 }
332
333 func (x *PrincipalAccessBoundaryPolicyRule) GetResources() []string {
334 if x != nil {
335 return x.Resources
336 }
337 return nil
338 }
339
340 func (x *PrincipalAccessBoundaryPolicyRule) GetEffect() PrincipalAccessBoundaryPolicyRule_Effect {
341 if x != nil {
342 return x.Effect
343 }
344 return PrincipalAccessBoundaryPolicyRule_EFFECT_UNSPECIFIED
345 }
346
347 var File_google_iam_v3_principal_access_boundary_policy_resources_proto protoreflect.FileDescriptor
348
349 var file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDesc = []byte{
350 0x0a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x33, 0x2f,
351 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
352 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
353 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
354 0x12, 0x0d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x33, 0x1a,
355 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
356 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
357 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65,
358 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
359 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
360 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
361 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
362 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x06, 0x0a, 0x1d, 0x50, 0x72,
363 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6f, 0x75,
364 0x6e, 0x64, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x17, 0x0a, 0x04, 0x6e,
365 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04,
366 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
367 0x09, 0x42, 0x0b, 0xe0, 0x41, 0x03, 0xe2, 0x8c, 0xcf, 0xd7, 0x08, 0x02, 0x08, 0x01, 0x52, 0x03,
368 0x75, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28,
369 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x26, 0x0a, 0x0c,
370 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,
371 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
372 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x64, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
373 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
374 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69,
375 0x70, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72,
376 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
377 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x61,
378 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72,
379 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
380 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
381 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03,
382 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b,
383 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
384 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
385 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
386 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x52,
387 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
388 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x33, 0x2e,
389 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42,
390 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x74,
391 0x61, 0x69, 0x6c, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69,
392 0x6c, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
393 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
394 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
395 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
396 0x38, 0x01, 0x3a, 0xec, 0x01, 0xea, 0x41, 0xe8, 0x01, 0x0a, 0x30, 0x69, 0x61, 0x6d, 0x2e, 0x67,
397 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72,
398 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6f, 0x75,
399 0x6e, 0x64, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x74, 0x6f, 0x72, 0x67,
400 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61,
401 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
402 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70,
403 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6f,
404 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x7b,
405 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
406 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
407 0x7d, 0x2a, 0x1f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65,
408 0x73, 0x73, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69,
409 0x65, 0x73, 0x32, 0x1d, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x41, 0x63, 0x63,
410 0x65, 0x73, 0x73, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63,
411 0x79, 0x22, 0xa9, 0x01, 0x0a, 0x24, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x41,
412 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x6c,
413 0x69, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x4b, 0x0a, 0x05, 0x72, 0x75,
414 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
415 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69,
416 0x70, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72,
417 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02,
418 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x13, 0x65, 0x6e, 0x66, 0x6f, 0x72,
419 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04,
420 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x65, 0x6e, 0x66, 0x6f, 0x72,
421 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xf0, 0x01,
422 0x0a, 0x21, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73,
423 0x73, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
424 0x75, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
425 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64,
426 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x09, 0x72, 0x65,
427 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0,
428 0x41, 0x02, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x54, 0x0a,
429 0x06, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e,
430 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72,
431 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6f, 0x75,
432 0x6e, 0x64, 0x61, 0x72, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x2e,
433 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x65, 0x66, 0x66,
434 0x65, 0x63, 0x74, 0x22, 0x2b, 0x0a, 0x06, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a,
435 0x12, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
436 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x10, 0x01,
437 0x42, 0x99, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
438 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x33, 0x42, 0x2b, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61,
439 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x50,
440 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72,
441 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f,
442 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61,
443 0x70, 0x69, 0x76, 0x33, 0x2f, 0x69, 0x61, 0x6d, 0x70, 0x62, 0x3b, 0x69, 0x61, 0x6d, 0x70, 0x62,
444 0xaa, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
445 0x49, 0x61, 0x6d, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
446 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x49, 0x61, 0x6d, 0x5c, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72,
447 0x6f, 0x74, 0x6f, 0x33,
448 }
449
450 var (
451 file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDescOnce sync.Once
452 file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDescData = file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDesc
453 )
454
455 func file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDescGZIP() []byte {
456 file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDescOnce.Do(func() {
457 file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDescData)
458 })
459 return file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDescData
460 }
461
462 var file_google_iam_v3_principal_access_boundary_policy_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
463 var file_google_iam_v3_principal_access_boundary_policy_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
464 var file_google_iam_v3_principal_access_boundary_policy_resources_proto_goTypes = []any{
465 (PrincipalAccessBoundaryPolicyRule_Effect)(0), // 0: google.iam.v3.PrincipalAccessBoundaryPolicyRule.Effect
466 (*PrincipalAccessBoundaryPolicy)(nil), // 1: google.iam.v3.PrincipalAccessBoundaryPolicy
467 (*PrincipalAccessBoundaryPolicyDetails)(nil), // 2: google.iam.v3.PrincipalAccessBoundaryPolicyDetails
468 (*PrincipalAccessBoundaryPolicyRule)(nil), // 3: google.iam.v3.PrincipalAccessBoundaryPolicyRule
469 nil, // 4: google.iam.v3.PrincipalAccessBoundaryPolicy.AnnotationsEntry
470 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
471 }
472 var file_google_iam_v3_principal_access_boundary_policy_resources_proto_depIdxs = []int32{
473 4, // 0: google.iam.v3.PrincipalAccessBoundaryPolicy.annotations:type_name -> google.iam.v3.PrincipalAccessBoundaryPolicy.AnnotationsEntry
474 5, // 1: google.iam.v3.PrincipalAccessBoundaryPolicy.create_time:type_name -> google.protobuf.Timestamp
475 5, // 2: google.iam.v3.PrincipalAccessBoundaryPolicy.update_time:type_name -> google.protobuf.Timestamp
476 2, // 3: google.iam.v3.PrincipalAccessBoundaryPolicy.details:type_name -> google.iam.v3.PrincipalAccessBoundaryPolicyDetails
477 3, // 4: google.iam.v3.PrincipalAccessBoundaryPolicyDetails.rules:type_name -> google.iam.v3.PrincipalAccessBoundaryPolicyRule
478 0, // 5: google.iam.v3.PrincipalAccessBoundaryPolicyRule.effect:type_name -> google.iam.v3.PrincipalAccessBoundaryPolicyRule.Effect
479 6, // [6:6] is the sub-list for method output_type
480 6, // [6:6] is the sub-list for method input_type
481 6, // [6:6] is the sub-list for extension type_name
482 6, // [6:6] is the sub-list for extension extendee
483 0, // [0:6] is the sub-list for field type_name
484 }
485
486 func init() { file_google_iam_v3_principal_access_boundary_policy_resources_proto_init() }
487 func file_google_iam_v3_principal_access_boundary_policy_resources_proto_init() {
488 if File_google_iam_v3_principal_access_boundary_policy_resources_proto != nil {
489 return
490 }
491 type x struct{}
492 out := protoimpl.TypeBuilder{
493 File: protoimpl.DescBuilder{
494 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
495 RawDescriptor: file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDesc,
496 NumEnums: 1,
497 NumMessages: 4,
498 NumExtensions: 0,
499 NumServices: 0,
500 },
501 GoTypes: file_google_iam_v3_principal_access_boundary_policy_resources_proto_goTypes,
502 DependencyIndexes: file_google_iam_v3_principal_access_boundary_policy_resources_proto_depIdxs,
503 EnumInfos: file_google_iam_v3_principal_access_boundary_policy_resources_proto_enumTypes,
504 MessageInfos: file_google_iam_v3_principal_access_boundary_policy_resources_proto_msgTypes,
505 }.Build()
506 File_google_iam_v3_principal_access_boundary_policy_resources_proto = out.File
507 file_google_iam_v3_principal_access_boundary_policy_resources_proto_rawDesc = nil
508 file_google_iam_v3_principal_access_boundary_policy_resources_proto_goTypes = nil
509 file_google_iam_v3_principal_access_boundary_policy_resources_proto_depIdxs = nil
510 }