Debian Codegraph @

googleapis/cloud/asset/v1p4beta1/assets.pb.go

raw
1 // Copyright 2020 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.26.0
18 // protoc v3.12.2
19 // source: google/cloud/asset/v1p4beta1/assets.proto
20
21 package asset
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 v1 "google.golang.org/genproto/googleapis/iam/v1"
29 code "google.golang.org/genproto/googleapis/rpc/code"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 )
33
34 const (
35 // Verify that this generated code is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37 // Verify that runtime/protoimpl is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41 // IAM Policy analysis result, consisting of one IAM policy binding and derived
42 // access control lists.
43 type IamPolicyAnalysisResult struct {
44 state protoimpl.MessageState
45 sizeCache protoimpl.SizeCache
46 unknownFields protoimpl.UnknownFields
47
48 // The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
49 AttachedResourceFullName string `protobuf:"bytes,1,opt,name=attached_resource_full_name,json=attachedResourceFullName,proto3" json:"attached_resource_full_name,omitempty"`
50 // The Cloud IAM policy binding under analysis.
51 IamBinding *v1.Binding `protobuf:"bytes,2,opt,name=iam_binding,json=iamBinding,proto3" json:"iam_binding,omitempty"`
52 // The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
53 // potentially match resource and access selectors specified in the request.
54 AccessControlLists []*IamPolicyAnalysisResult_AccessControlList `protobuf:"bytes,3,rep,name=access_control_lists,json=accessControlLists,proto3" json:"access_control_lists,omitempty"`
55 // The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
56 // potentially match identity selector specified in the request.
57 IdentityList *IamPolicyAnalysisResult_IdentityList `protobuf:"bytes,4,opt,name=identity_list,json=identityList,proto3" json:"identity_list,omitempty"`
58 // Represents whether all nodes in the transitive closure of the
59 // [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored.
60 FullyExplored bool `protobuf:"varint,5,opt,name=fully_explored,json=fullyExplored,proto3" json:"fully_explored,omitempty"`
61 }
62
63 func (x *IamPolicyAnalysisResult) Reset() {
64 *x = IamPolicyAnalysisResult{}
65 if protoimpl.UnsafeEnabled {
66 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[0]
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 ms.StoreMessageInfo(mi)
69 }
70 }
71
72 func (x *IamPolicyAnalysisResult) String() string {
73 return protoimpl.X.MessageStringOf(x)
74 }
75
76 func (*IamPolicyAnalysisResult) ProtoMessage() {}
77
78 func (x *IamPolicyAnalysisResult) ProtoReflect() protoreflect.Message {
79 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[0]
80 if protoimpl.UnsafeEnabled && x != nil {
81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
82 if ms.LoadMessageInfo() == nil {
83 ms.StoreMessageInfo(mi)
84 }
85 return ms
86 }
87 return mi.MessageOf(x)
88 }
89
90 // Deprecated: Use IamPolicyAnalysisResult.ProtoReflect.Descriptor instead.
91 func (*IamPolicyAnalysisResult) Descriptor() ([]byte, []int) {
92 return file_google_cloud_asset_v1p4beta1_assets_proto_rawDescGZIP(), []int{0}
93 }
94
95 func (x *IamPolicyAnalysisResult) GetAttachedResourceFullName() string {
96 if x != nil {
97 return x.AttachedResourceFullName
98 }
99 return ""
100 }
101
102 func (x *IamPolicyAnalysisResult) GetIamBinding() *v1.Binding {
103 if x != nil {
104 return x.IamBinding
105 }
106 return nil
107 }
108
109 func (x *IamPolicyAnalysisResult) GetAccessControlLists() []*IamPolicyAnalysisResult_AccessControlList {
110 if x != nil {
111 return x.AccessControlLists
112 }
113 return nil
114 }
115
116 func (x *IamPolicyAnalysisResult) GetIdentityList() *IamPolicyAnalysisResult_IdentityList {
117 if x != nil {
118 return x.IdentityList
119 }
120 return nil
121 }
122
123 func (x *IamPolicyAnalysisResult) GetFullyExplored() bool {
124 if x != nil {
125 return x.FullyExplored
126 }
127 return false
128 }
129
130 // Represents analysis state of each node in the result graph or non-critical
131 // errors in the response.
132 type IamPolicyAnalysisResult_AnalysisState struct {
133 state protoimpl.MessageState
134 sizeCache protoimpl.SizeCache
135 unknownFields protoimpl.UnknownFields
136
137 // The Google standard error code that best describes the state.
138 // For example:
139 // - OK means the node has been successfully explored;
140 // - PERMISSION_DENIED means an access denied error is encountered;
141 // - DEADLINE_EXCEEDED means the node hasn't been explored in time;
142 Code code.Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.rpc.Code" json:"code,omitempty"`
143 // The human-readable description of the cause of failure.
144 Cause string `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"`
145 }
146
147 func (x *IamPolicyAnalysisResult_AnalysisState) Reset() {
148 *x = IamPolicyAnalysisResult_AnalysisState{}
149 if protoimpl.UnsafeEnabled {
150 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[1]
151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
152 ms.StoreMessageInfo(mi)
153 }
154 }
155
156 func (x *IamPolicyAnalysisResult_AnalysisState) String() string {
157 return protoimpl.X.MessageStringOf(x)
158 }
159
160 func (*IamPolicyAnalysisResult_AnalysisState) ProtoMessage() {}
161
162 func (x *IamPolicyAnalysisResult_AnalysisState) ProtoReflect() protoreflect.Message {
163 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[1]
164 if protoimpl.UnsafeEnabled && x != nil {
165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
166 if ms.LoadMessageInfo() == nil {
167 ms.StoreMessageInfo(mi)
168 }
169 return ms
170 }
171 return mi.MessageOf(x)
172 }
173
174 // Deprecated: Use IamPolicyAnalysisResult_AnalysisState.ProtoReflect.Descriptor instead.
175 func (*IamPolicyAnalysisResult_AnalysisState) Descriptor() ([]byte, []int) {
176 return file_google_cloud_asset_v1p4beta1_assets_proto_rawDescGZIP(), []int{0, 0}
177 }
178
179 func (x *IamPolicyAnalysisResult_AnalysisState) GetCode() code.Code {
180 if x != nil {
181 return x.Code
182 }
183 return code.Code_OK
184 }
185
186 func (x *IamPolicyAnalysisResult_AnalysisState) GetCause() string {
187 if x != nil {
188 return x.Cause
189 }
190 return ""
191 }
192
193 // A GCP resource that appears in an access control list.
194 type IamPolicyAnalysisResult_Resource struct {
195 state protoimpl.MessageState
196 sizeCache protoimpl.SizeCache
197 unknownFields protoimpl.UnknownFields
198
199 // The [full resource name](https://aip.dev/122#full-resource-names).
200 FullResourceName string `protobuf:"bytes,1,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"`
201 // The analysis state of this resource node.
202 AnalysisState *IamPolicyAnalysisResult_AnalysisState `protobuf:"bytes,2,opt,name=analysis_state,json=analysisState,proto3" json:"analysis_state,omitempty"`
203 }
204
205 func (x *IamPolicyAnalysisResult_Resource) Reset() {
206 *x = IamPolicyAnalysisResult_Resource{}
207 if protoimpl.UnsafeEnabled {
208 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[2]
209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
210 ms.StoreMessageInfo(mi)
211 }
212 }
213
214 func (x *IamPolicyAnalysisResult_Resource) String() string {
215 return protoimpl.X.MessageStringOf(x)
216 }
217
218 func (*IamPolicyAnalysisResult_Resource) ProtoMessage() {}
219
220 func (x *IamPolicyAnalysisResult_Resource) ProtoReflect() protoreflect.Message {
221 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[2]
222 if protoimpl.UnsafeEnabled && x != nil {
223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
224 if ms.LoadMessageInfo() == nil {
225 ms.StoreMessageInfo(mi)
226 }
227 return ms
228 }
229 return mi.MessageOf(x)
230 }
231
232 // Deprecated: Use IamPolicyAnalysisResult_Resource.ProtoReflect.Descriptor instead.
233 func (*IamPolicyAnalysisResult_Resource) Descriptor() ([]byte, []int) {
234 return file_google_cloud_asset_v1p4beta1_assets_proto_rawDescGZIP(), []int{0, 1}
235 }
236
237 func (x *IamPolicyAnalysisResult_Resource) GetFullResourceName() string {
238 if x != nil {
239 return x.FullResourceName
240 }
241 return ""
242 }
243
244 func (x *IamPolicyAnalysisResult_Resource) GetAnalysisState() *IamPolicyAnalysisResult_AnalysisState {
245 if x != nil {
246 return x.AnalysisState
247 }
248 return nil
249 }
250
251 // A role or permission that appears in an access control list.
252 type IamPolicyAnalysisResult_Access struct {
253 state protoimpl.MessageState
254 sizeCache protoimpl.SizeCache
255 unknownFields protoimpl.UnknownFields
256
257 // Types that are assignable to OneofAccess:
258 // *IamPolicyAnalysisResult_Access_Role
259 // *IamPolicyAnalysisResult_Access_Permission
260 OneofAccess isIamPolicyAnalysisResult_Access_OneofAccess `protobuf_oneof:"oneof_access"`
261 // The analysis state of this access node.
262 AnalysisState *IamPolicyAnalysisResult_AnalysisState `protobuf:"bytes,3,opt,name=analysis_state,json=analysisState,proto3" json:"analysis_state,omitempty"`
263 }
264
265 func (x *IamPolicyAnalysisResult_Access) Reset() {
266 *x = IamPolicyAnalysisResult_Access{}
267 if protoimpl.UnsafeEnabled {
268 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[3]
269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
270 ms.StoreMessageInfo(mi)
271 }
272 }
273
274 func (x *IamPolicyAnalysisResult_Access) String() string {
275 return protoimpl.X.MessageStringOf(x)
276 }
277
278 func (*IamPolicyAnalysisResult_Access) ProtoMessage() {}
279
280 func (x *IamPolicyAnalysisResult_Access) ProtoReflect() protoreflect.Message {
281 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[3]
282 if protoimpl.UnsafeEnabled && x != nil {
283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
284 if ms.LoadMessageInfo() == nil {
285 ms.StoreMessageInfo(mi)
286 }
287 return ms
288 }
289 return mi.MessageOf(x)
290 }
291
292 // Deprecated: Use IamPolicyAnalysisResult_Access.ProtoReflect.Descriptor instead.
293 func (*IamPolicyAnalysisResult_Access) Descriptor() ([]byte, []int) {
294 return file_google_cloud_asset_v1p4beta1_assets_proto_rawDescGZIP(), []int{0, 2}
295 }
296
297 func (m *IamPolicyAnalysisResult_Access) GetOneofAccess() isIamPolicyAnalysisResult_Access_OneofAccess {
298 if m != nil {
299 return m.OneofAccess
300 }
301 return nil
302 }
303
304 func (x *IamPolicyAnalysisResult_Access) GetRole() string {
305 if x, ok := x.GetOneofAccess().(*IamPolicyAnalysisResult_Access_Role); ok {
306 return x.Role
307 }
308 return ""
309 }
310
311 func (x *IamPolicyAnalysisResult_Access) GetPermission() string {
312 if x, ok := x.GetOneofAccess().(*IamPolicyAnalysisResult_Access_Permission); ok {
313 return x.Permission
314 }
315 return ""
316 }
317
318 func (x *IamPolicyAnalysisResult_Access) GetAnalysisState() *IamPolicyAnalysisResult_AnalysisState {
319 if x != nil {
320 return x.AnalysisState
321 }
322 return nil
323 }
324
325 type isIamPolicyAnalysisResult_Access_OneofAccess interface {
326 isIamPolicyAnalysisResult_Access_OneofAccess()
327 }
328
329 type IamPolicyAnalysisResult_Access_Role struct {
330 // The role.
331 Role string `protobuf:"bytes,1,opt,name=role,proto3,oneof"`
332 }
333
334 type IamPolicyAnalysisResult_Access_Permission struct {
335 // The permission.
336 Permission string `protobuf:"bytes,2,opt,name=permission,proto3,oneof"`
337 }
338
339 func (*IamPolicyAnalysisResult_Access_Role) isIamPolicyAnalysisResult_Access_OneofAccess() {}
340
341 func (*IamPolicyAnalysisResult_Access_Permission) isIamPolicyAnalysisResult_Access_OneofAccess() {}
342
343 // A directional edge.
344 type IamPolicyAnalysisResult_Edge struct {
345 state protoimpl.MessageState
346 sizeCache protoimpl.SizeCache
347 unknownFields protoimpl.UnknownFields
348
349 // The source node of the edge.
350 SourceNode string `protobuf:"bytes,1,opt,name=source_node,json=sourceNode,proto3" json:"source_node,omitempty"`
351 // The target node of the edge.
352 TargetNode string `protobuf:"bytes,2,opt,name=target_node,json=targetNode,proto3" json:"target_node,omitempty"`
353 }
354
355 func (x *IamPolicyAnalysisResult_Edge) Reset() {
356 *x = IamPolicyAnalysisResult_Edge{}
357 if protoimpl.UnsafeEnabled {
358 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[4]
359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
360 ms.StoreMessageInfo(mi)
361 }
362 }
363
364 func (x *IamPolicyAnalysisResult_Edge) String() string {
365 return protoimpl.X.MessageStringOf(x)
366 }
367
368 func (*IamPolicyAnalysisResult_Edge) ProtoMessage() {}
369
370 func (x *IamPolicyAnalysisResult_Edge) ProtoReflect() protoreflect.Message {
371 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[4]
372 if protoimpl.UnsafeEnabled && x != nil {
373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
374 if ms.LoadMessageInfo() == nil {
375 ms.StoreMessageInfo(mi)
376 }
377 return ms
378 }
379 return mi.MessageOf(x)
380 }
381
382 // Deprecated: Use IamPolicyAnalysisResult_Edge.ProtoReflect.Descriptor instead.
383 func (*IamPolicyAnalysisResult_Edge) Descriptor() ([]byte, []int) {
384 return file_google_cloud_asset_v1p4beta1_assets_proto_rawDescGZIP(), []int{0, 3}
385 }
386
387 func (x *IamPolicyAnalysisResult_Edge) GetSourceNode() string {
388 if x != nil {
389 return x.SourceNode
390 }
391 return ""
392 }
393
394 func (x *IamPolicyAnalysisResult_Edge) GetTargetNode() string {
395 if x != nil {
396 return x.TargetNode
397 }
398 return ""
399 }
400
401 // An identity that appears in an access control list.
402 type IamPolicyAnalysisResult_Identity struct {
403 state protoimpl.MessageState
404 sizeCache protoimpl.SizeCache
405 unknownFields protoimpl.UnknownFields
406
407 // The identity name in any form of members appear in
408 // [IAM policy
409 // binding](https://cloud.google.com/iam/reference/rest/v1/Binding), such
410 // as:
411 // - user:[email protected]
412 // - group:[email protected]
413 // - serviceAccount:[email protected]
414 // - projectOwner:some_project_id
415 // - domain:google.com
416 // - allUsers
417 // - etc.
418 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
419 // The analysis state of this identity node.
420 AnalysisState *IamPolicyAnalysisResult_AnalysisState `protobuf:"bytes,2,opt,name=analysis_state,json=analysisState,proto3" json:"analysis_state,omitempty"`
421 }
422
423 func (x *IamPolicyAnalysisResult_Identity) Reset() {
424 *x = IamPolicyAnalysisResult_Identity{}
425 if protoimpl.UnsafeEnabled {
426 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[5]
427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
428 ms.StoreMessageInfo(mi)
429 }
430 }
431
432 func (x *IamPolicyAnalysisResult_Identity) String() string {
433 return protoimpl.X.MessageStringOf(x)
434 }
435
436 func (*IamPolicyAnalysisResult_Identity) ProtoMessage() {}
437
438 func (x *IamPolicyAnalysisResult_Identity) ProtoReflect() protoreflect.Message {
439 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[5]
440 if protoimpl.UnsafeEnabled && x != nil {
441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
442 if ms.LoadMessageInfo() == nil {
443 ms.StoreMessageInfo(mi)
444 }
445 return ms
446 }
447 return mi.MessageOf(x)
448 }
449
450 // Deprecated: Use IamPolicyAnalysisResult_Identity.ProtoReflect.Descriptor instead.
451 func (*IamPolicyAnalysisResult_Identity) Descriptor() ([]byte, []int) {
452 return file_google_cloud_asset_v1p4beta1_assets_proto_rawDescGZIP(), []int{0, 4}
453 }
454
455 func (x *IamPolicyAnalysisResult_Identity) GetName() string {
456 if x != nil {
457 return x.Name
458 }
459 return ""
460 }
461
462 func (x *IamPolicyAnalysisResult_Identity) GetAnalysisState() *IamPolicyAnalysisResult_AnalysisState {
463 if x != nil {
464 return x.AnalysisState
465 }
466 return nil
467 }
468
469 // An access control list, derived from the above IAM policy binding, which
470 // contains a set of resources and accesses. May include one
471 // item from each set to compose an access control entry.
472 //
473 // NOTICE that there could be multiple access control lists for one IAM policy
474 // binding. The access control lists are created based on resource and access
475 // combinations.
476 //
477 // For example, assume we have the following cases in one IAM policy binding:
478 // - Permission P1 and P2 apply to resource R1 and R2;
479 // - Permission P3 applies to resource R2 and R3;
480 //
481 // This will result in the following access control lists:
482 // - AccessControlList 1: [R1, R2], [P1, P2]
483 // - AccessControlList 2: [R2, R3], [P3]
484 type IamPolicyAnalysisResult_AccessControlList struct {
485 state protoimpl.MessageState
486 sizeCache protoimpl.SizeCache
487 unknownFields protoimpl.UnknownFields
488
489 // The resources that match one of the following conditions:
490 // - The resource_selector, if it is specified in request;
491 // - Otherwise, resources reachable from the policy attached resource.
492 Resources []*IamPolicyAnalysisResult_Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
493 // The accesses that match one of the following conditions:
494 // - The access_selector, if it is specified in request;
495 // - Otherwise, access specifiers reachable from the policy binding's role.
496 Accesses []*IamPolicyAnalysisResult_Access `protobuf:"bytes,2,rep,name=accesses,proto3" json:"accesses,omitempty"`
497 // Resource edges of the graph starting from the policy attached
498 // resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
499 // the full resource name of a parent resource and [Edge.target_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.target_node]
500 // contains the full resource name of a child resource. This field is
501 // present only if the output_resource_edges option is enabled in request.
502 ResourceEdges []*IamPolicyAnalysisResult_Edge `protobuf:"bytes,3,rep,name=resource_edges,json=resourceEdges,proto3" json:"resource_edges,omitempty"`
503 }
504
505 func (x *IamPolicyAnalysisResult_AccessControlList) Reset() {
506 *x = IamPolicyAnalysisResult_AccessControlList{}
507 if protoimpl.UnsafeEnabled {
508 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[6]
509 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
510 ms.StoreMessageInfo(mi)
511 }
512 }
513
514 func (x *IamPolicyAnalysisResult_AccessControlList) String() string {
515 return protoimpl.X.MessageStringOf(x)
516 }
517
518 func (*IamPolicyAnalysisResult_AccessControlList) ProtoMessage() {}
519
520 func (x *IamPolicyAnalysisResult_AccessControlList) ProtoReflect() protoreflect.Message {
521 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[6]
522 if protoimpl.UnsafeEnabled && x != nil {
523 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
524 if ms.LoadMessageInfo() == nil {
525 ms.StoreMessageInfo(mi)
526 }
527 return ms
528 }
529 return mi.MessageOf(x)
530 }
531
532 // Deprecated: Use IamPolicyAnalysisResult_AccessControlList.ProtoReflect.Descriptor instead.
533 func (*IamPolicyAnalysisResult_AccessControlList) Descriptor() ([]byte, []int) {
534 return file_google_cloud_asset_v1p4beta1_assets_proto_rawDescGZIP(), []int{0, 5}
535 }
536
537 func (x *IamPolicyAnalysisResult_AccessControlList) GetResources() []*IamPolicyAnalysisResult_Resource {
538 if x != nil {
539 return x.Resources
540 }
541 return nil
542 }
543
544 func (x *IamPolicyAnalysisResult_AccessControlList) GetAccesses() []*IamPolicyAnalysisResult_Access {
545 if x != nil {
546 return x.Accesses
547 }
548 return nil
549 }
550
551 func (x *IamPolicyAnalysisResult_AccessControlList) GetResourceEdges() []*IamPolicyAnalysisResult_Edge {
552 if x != nil {
553 return x.ResourceEdges
554 }
555 return nil
556 }
557
558 type IamPolicyAnalysisResult_IdentityList struct {
559 state protoimpl.MessageState
560 sizeCache protoimpl.SizeCache
561 unknownFields protoimpl.UnknownFields
562
563 // Only the identities that match one of the following conditions will be
564 // presented:
565 // - The identity_selector, if it is specified in request;
566 // - Otherwise, identities reachable from the policy binding's members.
567 Identities []*IamPolicyAnalysisResult_Identity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty"`
568 // Group identity edges of the graph starting from the binding's
569 // group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
570 // contains a group, such as "group:[email protected]". The
571 // [Edge.target_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.target_node] contains a member of the group,
572 // such as "group:[email protected]" or "user:[email protected]".
573 // This field is present only if the output_group_edges option is enabled in
574 // request.
575 GroupEdges []*IamPolicyAnalysisResult_Edge `protobuf:"bytes,2,rep,name=group_edges,json=groupEdges,proto3" json:"group_edges,omitempty"`
576 }
577
578 func (x *IamPolicyAnalysisResult_IdentityList) Reset() {
579 *x = IamPolicyAnalysisResult_IdentityList{}
580 if protoimpl.UnsafeEnabled {
581 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[7]
582 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
583 ms.StoreMessageInfo(mi)
584 }
585 }
586
587 func (x *IamPolicyAnalysisResult_IdentityList) String() string {
588 return protoimpl.X.MessageStringOf(x)
589 }
590
591 func (*IamPolicyAnalysisResult_IdentityList) ProtoMessage() {}
592
593 func (x *IamPolicyAnalysisResult_IdentityList) ProtoReflect() protoreflect.Message {
594 mi := &file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[7]
595 if protoimpl.UnsafeEnabled && x != nil {
596 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
597 if ms.LoadMessageInfo() == nil {
598 ms.StoreMessageInfo(mi)
599 }
600 return ms
601 }
602 return mi.MessageOf(x)
603 }
604
605 // Deprecated: Use IamPolicyAnalysisResult_IdentityList.ProtoReflect.Descriptor instead.
606 func (*IamPolicyAnalysisResult_IdentityList) Descriptor() ([]byte, []int) {
607 return file_google_cloud_asset_v1p4beta1_assets_proto_rawDescGZIP(), []int{0, 6}
608 }
609
610 func (x *IamPolicyAnalysisResult_IdentityList) GetIdentities() []*IamPolicyAnalysisResult_Identity {
611 if x != nil {
612 return x.Identities
613 }
614 return nil
615 }
616
617 func (x *IamPolicyAnalysisResult_IdentityList) GetGroupEdges() []*IamPolicyAnalysisResult_Edge {
618 if x != nil {
619 return x.GroupEdges
620 }
621 return nil
622 }
623
624 var File_google_cloud_asset_v1p4beta1_assets_proto protoreflect.FileDescriptor
625
626 var file_google_cloud_asset_v1p4beta1_assets_proto_rawDesc = []byte{
627 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
628 0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61,
629 0x73, 0x73, 0x65, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x67, 0x6f, 0x6f,
630 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e,
631 0x76, 0x31, 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
632 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
633 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70,
634 0x63, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f,
635 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
636 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x0c, 0x0a, 0x17, 0x49,
637 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73,
638 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3d, 0x0a, 0x1b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68,
639 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x75, 0x6c, 0x6c,
640 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x61, 0x74, 0x74,
641 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x75, 0x6c,
642 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x69, 0x61, 0x6d, 0x5f, 0x62, 0x69, 0x6e,
643 0x64, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
644 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69,
645 0x6e, 0x67, 0x52, 0x0a, 0x69, 0x61, 0x6d, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x79,
646 0x0a, 0x14, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
647 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67,
648 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65,
649 0x74, 0x2e, 0x76, 0x31, 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50,
650 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73,
651 0x75, 0x6c, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
652 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x12, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e,
653 0x74, 0x72, 0x6f, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x12, 0x67, 0x0a, 0x0d, 0x69, 0x64, 0x65,
654 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
655 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
656 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
657 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69,
658 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
659 0x4c, 0x69, 0x73, 0x74, 0x52, 0x0c, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69,
660 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x5f, 0x65, 0x78, 0x70, 0x6c,
661 0x6f, 0x72, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x66, 0x75, 0x6c, 0x6c,
662 0x79, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x64, 0x1a, 0x4b, 0x0a, 0x0d, 0x41, 0x6e, 0x61,
663 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x63, 0x6f,
664 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
665 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
666 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
667 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x1a, 0xa4, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75,
668 0x72, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f,
669 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
670 0x10, 0x66, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d,
671 0x65, 0x12, 0x6a, 0x0a, 0x0e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x73, 0x74,
672 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
673 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76,
674 0x31, 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
675 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
676 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d,
677 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x1a, 0xbc, 0x01,
678 0x0a, 0x06, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65,
679 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x20,
680 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
681 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
682 0x12, 0x6a, 0x0a, 0x0e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61,
683 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
684 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31,
685 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63,
686 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e,
687 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x61,
688 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x0e, 0x0a, 0x0c,
689 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x1a, 0x48, 0x0a, 0x04,
690 0x45, 0x64, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e,
691 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63,
692 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f,
693 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67,
694 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x1a, 0x8a, 0x01, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74,
695 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
696 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x6a, 0x0a, 0x0e, 0x61, 0x6e, 0x61, 0x6c, 0x79,
697 0x73, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
698 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
699 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49,
700 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73,
701 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53,
702 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74,
703 0x61, 0x74, 0x65, 0x1a, 0xae, 0x02, 0x0a, 0x11, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f,
704 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x5c, 0x0a, 0x09, 0x72, 0x65, 0x73,
705 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67,
706 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65,
707 0x74, 0x2e, 0x76, 0x31, 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50,
708 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73,
709 0x75, 0x6c, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65,
710 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73,
711 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
712 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76,
713 0x31, 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
714 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
715 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65,
716 0x73, 0x12, 0x61, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x64,
717 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
718 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76,
719 0x31, 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
720 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
721 0x2e, 0x45, 0x64, 0x67, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45,
722 0x64, 0x67, 0x65, 0x73, 0x1a, 0xcb, 0x01, 0x0a, 0x0c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
723 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x5e, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
724 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
725 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76,
726 0x31, 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
727 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
728 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74,
729 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x5b, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x65,
730 0x64, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f,
731 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e,
732 0x76, 0x31, 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,
733 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c,
734 0x74, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x45, 0x64, 0x67,
735 0x65, 0x73, 0x42, 0xb4, 0x01, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
736 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31,
737 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0a, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x72,
738 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
739 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74,
740 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f,
741 0x75, 0x64, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x34, 0x62, 0x65, 0x74,
742 0x61, 0x31, 0x3b, 0x61, 0x73, 0x73, 0x65, 0x74, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x1c, 0x47, 0x6f,
743 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74,
744 0x2e, 0x56, 0x31, 0x50, 0x34, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1c, 0x47, 0x6f, 0x6f,
745 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x5c,
746 0x56, 0x31, 0x70, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
747 0x33,
748 }
749
750 var (
751 file_google_cloud_asset_v1p4beta1_assets_proto_rawDescOnce sync.Once
752 file_google_cloud_asset_v1p4beta1_assets_proto_rawDescData = file_google_cloud_asset_v1p4beta1_assets_proto_rawDesc
753 )
754
755 func file_google_cloud_asset_v1p4beta1_assets_proto_rawDescGZIP() []byte {
756 file_google_cloud_asset_v1p4beta1_assets_proto_rawDescOnce.Do(func() {
757 file_google_cloud_asset_v1p4beta1_assets_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_asset_v1p4beta1_assets_proto_rawDescData)
758 })
759 return file_google_cloud_asset_v1p4beta1_assets_proto_rawDescData
760 }
761
762 var file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
763 var file_google_cloud_asset_v1p4beta1_assets_proto_goTypes = []interface{}{
764 (*IamPolicyAnalysisResult)(nil), // 0: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult
765 (*IamPolicyAnalysisResult_AnalysisState)(nil), // 1: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState
766 (*IamPolicyAnalysisResult_Resource)(nil), // 2: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource
767 (*IamPolicyAnalysisResult_Access)(nil), // 3: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access
768 (*IamPolicyAnalysisResult_Edge)(nil), // 4: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge
769 (*IamPolicyAnalysisResult_Identity)(nil), // 5: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity
770 (*IamPolicyAnalysisResult_AccessControlList)(nil), // 6: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList
771 (*IamPolicyAnalysisResult_IdentityList)(nil), // 7: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList
772 (*v1.Binding)(nil), // 8: google.iam.v1.Binding
773 (code.Code)(0), // 9: google.rpc.Code
774 }
775 var file_google_cloud_asset_v1p4beta1_assets_proto_depIdxs = []int32{
776 8, // 0: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding:type_name -> google.iam.v1.Binding
777 6, // 1: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.access_control_lists:type_name -> google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList
778 7, // 2: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.identity_list:type_name -> google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList
779 9, // 3: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.code:type_name -> google.rpc.Code
780 1, // 4: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.analysis_state:type_name -> google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState
781 1, // 5: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.analysis_state:type_name -> google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState
782 1, // 6: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.analysis_state:type_name -> google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState
783 2, // 7: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.resources:type_name -> google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource
784 3, // 8: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.accesses:type_name -> google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access
785 4, // 9: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.resource_edges:type_name -> google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge
786 5, // 10: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities:type_name -> google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity
787 4, // 11: google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.group_edges:type_name -> google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge
788 12, // [12:12] is the sub-list for method output_type
789 12, // [12:12] is the sub-list for method input_type
790 12, // [12:12] is the sub-list for extension type_name
791 12, // [12:12] is the sub-list for extension extendee
792 0, // [0:12] is the sub-list for field type_name
793 }
794
795 func init() { file_google_cloud_asset_v1p4beta1_assets_proto_init() }
796 func file_google_cloud_asset_v1p4beta1_assets_proto_init() {
797 if File_google_cloud_asset_v1p4beta1_assets_proto != nil {
798 return
799 }
800 if !protoimpl.UnsafeEnabled {
801 file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
802 switch v := v.(*IamPolicyAnalysisResult); i {
803 case 0:
804 return &v.state
805 case 1:
806 return &v.sizeCache
807 case 2:
808 return &v.unknownFields
809 default:
810 return nil
811 }
812 }
813 file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
814 switch v := v.(*IamPolicyAnalysisResult_AnalysisState); i {
815 case 0:
816 return &v.state
817 case 1:
818 return &v.sizeCache
819 case 2:
820 return &v.unknownFields
821 default:
822 return nil
823 }
824 }
825 file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
826 switch v := v.(*IamPolicyAnalysisResult_Resource); i {
827 case 0:
828 return &v.state
829 case 1:
830 return &v.sizeCache
831 case 2:
832 return &v.unknownFields
833 default:
834 return nil
835 }
836 }
837 file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
838 switch v := v.(*IamPolicyAnalysisResult_Access); i {
839 case 0:
840 return &v.state
841 case 1:
842 return &v.sizeCache
843 case 2:
844 return &v.unknownFields
845 default:
846 return nil
847 }
848 }
849 file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
850 switch v := v.(*IamPolicyAnalysisResult_Edge); i {
851 case 0:
852 return &v.state
853 case 1:
854 return &v.sizeCache
855 case 2:
856 return &v.unknownFields
857 default:
858 return nil
859 }
860 }
861 file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
862 switch v := v.(*IamPolicyAnalysisResult_Identity); i {
863 case 0:
864 return &v.state
865 case 1:
866 return &v.sizeCache
867 case 2:
868 return &v.unknownFields
869 default:
870 return nil
871 }
872 }
873 file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
874 switch v := v.(*IamPolicyAnalysisResult_AccessControlList); i {
875 case 0:
876 return &v.state
877 case 1:
878 return &v.sizeCache
879 case 2:
880 return &v.unknownFields
881 default:
882 return nil
883 }
884 }
885 file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
886 switch v := v.(*IamPolicyAnalysisResult_IdentityList); i {
887 case 0:
888 return &v.state
889 case 1:
890 return &v.sizeCache
891 case 2:
892 return &v.unknownFields
893 default:
894 return nil
895 }
896 }
897 }
898 file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes[3].OneofWrappers = []interface{}{
899 (*IamPolicyAnalysisResult_Access_Role)(nil),
900 (*IamPolicyAnalysisResult_Access_Permission)(nil),
901 }
902 type x struct{}
903 out := protoimpl.TypeBuilder{
904 File: protoimpl.DescBuilder{
905 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
906 RawDescriptor: file_google_cloud_asset_v1p4beta1_assets_proto_rawDesc,
907 NumEnums: 0,
908 NumMessages: 8,
909 NumExtensions: 0,
910 NumServices: 0,
911 },
912 GoTypes: file_google_cloud_asset_v1p4beta1_assets_proto_goTypes,
913 DependencyIndexes: file_google_cloud_asset_v1p4beta1_assets_proto_depIdxs,
914 MessageInfos: file_google_cloud_asset_v1p4beta1_assets_proto_msgTypes,
915 }.Build()
916 File_google_cloud_asset_v1p4beta1_assets_proto = out.File
917 file_google_cloud_asset_v1p4beta1_assets_proto_rawDesc = nil
918 file_google_cloud_asset_v1p4beta1_assets_proto_goTypes = nil
919 file_google_cloud_asset_v1p4beta1_assets_proto_depIdxs = nil
920 }