| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/cloud/asset/v1p4beta1/assets.proto |
| |
| package asset |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| v1 "google.golang.org/genproto/googleapis/iam/v1" |
| code "google.golang.org/genproto/googleapis/rpc/code" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // IAM Policy analysis result, consisting of one IAM policy binding and derived |
| // access control lists. |
| type IamPolicyAnalysisResult struct { |
| // The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches. |
| AttachedResourceFullName string `protobuf:"bytes,1,opt,name=attached_resource_full_name,json=attachedResourceFullName,proto3" json:"attached_resource_full_name,omitempty"` |
| // The Cloud IAM policy binding under analysis. |
| IamBinding *v1.Binding `protobuf:"bytes,2,opt,name=iam_binding,json=iamBinding,proto3" json:"iam_binding,omitempty"` |
| // The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or |
| // potentially match resource and access selectors specified in the request. |
| AccessControlLists []*IamPolicyAnalysisResult_AccessControlList `protobuf:"bytes,3,rep,name=access_control_lists,json=accessControlLists,proto3" json:"access_control_lists,omitempty"` |
| // The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or |
| // potentially match identity selector specified in the request. |
| IdentityList *IamPolicyAnalysisResult_IdentityList `protobuf:"bytes,4,opt,name=identity_list,json=identityList,proto3" json:"identity_list,omitempty"` |
| // Represents whether all nodes in the transitive closure of the |
| // [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored. |
| FullyExplored bool `protobuf:"varint,5,opt,name=fully_explored,json=fullyExplored,proto3" json:"fully_explored,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *IamPolicyAnalysisResult) Reset() { *m = IamPolicyAnalysisResult{} } |
| func (m *IamPolicyAnalysisResult) String() string { return proto.CompactTextString(m) } |
| func (*IamPolicyAnalysisResult) ProtoMessage() {} |
| func (*IamPolicyAnalysisResult) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b05965df25ab0d16, []int{0} |
| } |
| |
| func (m *IamPolicyAnalysisResult) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_IamPolicyAnalysisResult.Unmarshal(m, b) |
| } |
| func (m *IamPolicyAnalysisResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_IamPolicyAnalysisResult.Marshal(b, m, deterministic) |
| } |
| func (m *IamPolicyAnalysisResult) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_IamPolicyAnalysisResult.Merge(m, src) |
| } |
| func (m *IamPolicyAnalysisResult) XXX_Size() int { |
| return xxx_messageInfo_IamPolicyAnalysisResult.Size(m) |
| } |
| func (m *IamPolicyAnalysisResult) XXX_DiscardUnknown() { |
| xxx_messageInfo_IamPolicyAnalysisResult.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_IamPolicyAnalysisResult proto.InternalMessageInfo |
| |
| func (m *IamPolicyAnalysisResult) GetAttachedResourceFullName() string { |
| if m != nil { |
| return m.AttachedResourceFullName |
| } |
| return "" |
| } |
| |
| func (m *IamPolicyAnalysisResult) GetIamBinding() *v1.Binding { |
| if m != nil { |
| return m.IamBinding |
| } |
| return nil |
| } |
| |
| func (m *IamPolicyAnalysisResult) GetAccessControlLists() []*IamPolicyAnalysisResult_AccessControlList { |
| if m != nil { |
| return m.AccessControlLists |
| } |
| return nil |
| } |
| |
| func (m *IamPolicyAnalysisResult) GetIdentityList() *IamPolicyAnalysisResult_IdentityList { |
| if m != nil { |
| return m.IdentityList |
| } |
| return nil |
| } |
| |
| func (m *IamPolicyAnalysisResult) GetFullyExplored() bool { |
| if m != nil { |
| return m.FullyExplored |
| } |
| return false |
| } |
| |
| // Represents analysis state of each node in the result graph or non-critical |
| // errors in the response. |
| type IamPolicyAnalysisResult_AnalysisState struct { |
| // The Google standard error code that best describes the state. |
| // For example: |
| // - OK means the node has been successfully explored; |
| // - PERMISSION_DENIED means an access denied error is encountered; |
| // - DEADLINE_EXCEEDED means the node hasn't been explored in time; |
| Code code.Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.rpc.Code" json:"code,omitempty"` |
| // The human-readable description of the cause of failure. |
| Cause string `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *IamPolicyAnalysisResult_AnalysisState) Reset() { *m = IamPolicyAnalysisResult_AnalysisState{} } |
| func (m *IamPolicyAnalysisResult_AnalysisState) String() string { return proto.CompactTextString(m) } |
| func (*IamPolicyAnalysisResult_AnalysisState) ProtoMessage() {} |
| func (*IamPolicyAnalysisResult_AnalysisState) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b05965df25ab0d16, []int{0, 0} |
| } |
| |
| func (m *IamPolicyAnalysisResult_AnalysisState) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_IamPolicyAnalysisResult_AnalysisState.Unmarshal(m, b) |
| } |
| func (m *IamPolicyAnalysisResult_AnalysisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_IamPolicyAnalysisResult_AnalysisState.Marshal(b, m, deterministic) |
| } |
| func (m *IamPolicyAnalysisResult_AnalysisState) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_IamPolicyAnalysisResult_AnalysisState.Merge(m, src) |
| } |
| func (m *IamPolicyAnalysisResult_AnalysisState) XXX_Size() int { |
| return xxx_messageInfo_IamPolicyAnalysisResult_AnalysisState.Size(m) |
| } |
| func (m *IamPolicyAnalysisResult_AnalysisState) XXX_DiscardUnknown() { |
| xxx_messageInfo_IamPolicyAnalysisResult_AnalysisState.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_IamPolicyAnalysisResult_AnalysisState proto.InternalMessageInfo |
| |
| func (m *IamPolicyAnalysisResult_AnalysisState) GetCode() code.Code { |
| if m != nil { |
| return m.Code |
| } |
| return code.Code_OK |
| } |
| |
| func (m *IamPolicyAnalysisResult_AnalysisState) GetCause() string { |
| if m != nil { |
| return m.Cause |
| } |
| return "" |
| } |
| |
| // A GCP resource that appears in an access control list. |
| type IamPolicyAnalysisResult_Resource struct { |
| // The [full resource name](https://aip.dev/122#full-resource-names). |
| FullResourceName string `protobuf:"bytes,1,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"` |
| // The analysis state of this resource node. |
| AnalysisState *IamPolicyAnalysisResult_AnalysisState `protobuf:"bytes,2,opt,name=analysis_state,json=analysisState,proto3" json:"analysis_state,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *IamPolicyAnalysisResult_Resource) Reset() { *m = IamPolicyAnalysisResult_Resource{} } |
| func (m *IamPolicyAnalysisResult_Resource) String() string { return proto.CompactTextString(m) } |
| func (*IamPolicyAnalysisResult_Resource) ProtoMessage() {} |
| func (*IamPolicyAnalysisResult_Resource) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b05965df25ab0d16, []int{0, 1} |
| } |
| |
| func (m *IamPolicyAnalysisResult_Resource) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_IamPolicyAnalysisResult_Resource.Unmarshal(m, b) |
| } |
| func (m *IamPolicyAnalysisResult_Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_IamPolicyAnalysisResult_Resource.Marshal(b, m, deterministic) |
| } |
| func (m *IamPolicyAnalysisResult_Resource) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_IamPolicyAnalysisResult_Resource.Merge(m, src) |
| } |
| func (m *IamPolicyAnalysisResult_Resource) XXX_Size() int { |
| return xxx_messageInfo_IamPolicyAnalysisResult_Resource.Size(m) |
| } |
| func (m *IamPolicyAnalysisResult_Resource) XXX_DiscardUnknown() { |
| xxx_messageInfo_IamPolicyAnalysisResult_Resource.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_IamPolicyAnalysisResult_Resource proto.InternalMessageInfo |
| |
| func (m *IamPolicyAnalysisResult_Resource) GetFullResourceName() string { |
| if m != nil { |
| return m.FullResourceName |
| } |
| return "" |
| } |
| |
| func (m *IamPolicyAnalysisResult_Resource) GetAnalysisState() *IamPolicyAnalysisResult_AnalysisState { |
| if m != nil { |
| return m.AnalysisState |
| } |
| return nil |
| } |
| |
| // A role or permission that appears in an access control list. |
| type IamPolicyAnalysisResult_Access struct { |
| // Types that are valid to be assigned to OneofAccess: |
| // *IamPolicyAnalysisResult_Access_Role |
| // *IamPolicyAnalysisResult_Access_Permission |
| OneofAccess isIamPolicyAnalysisResult_Access_OneofAccess `protobuf_oneof:"oneof_access"` |
| // The analysis state of this access node. |
| AnalysisState *IamPolicyAnalysisResult_AnalysisState `protobuf:"bytes,3,opt,name=analysis_state,json=analysisState,proto3" json:"analysis_state,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *IamPolicyAnalysisResult_Access) Reset() { *m = IamPolicyAnalysisResult_Access{} } |
| func (m *IamPolicyAnalysisResult_Access) String() string { return proto.CompactTextString(m) } |
| func (*IamPolicyAnalysisResult_Access) ProtoMessage() {} |
| func (*IamPolicyAnalysisResult_Access) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b05965df25ab0d16, []int{0, 2} |
| } |
| |
| func (m *IamPolicyAnalysisResult_Access) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_IamPolicyAnalysisResult_Access.Unmarshal(m, b) |
| } |
| func (m *IamPolicyAnalysisResult_Access) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_IamPolicyAnalysisResult_Access.Marshal(b, m, deterministic) |
| } |
| func (m *IamPolicyAnalysisResult_Access) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_IamPolicyAnalysisResult_Access.Merge(m, src) |
| } |
| func (m *IamPolicyAnalysisResult_Access) XXX_Size() int { |
| return xxx_messageInfo_IamPolicyAnalysisResult_Access.Size(m) |
| } |
| func (m *IamPolicyAnalysisResult_Access) XXX_DiscardUnknown() { |
| xxx_messageInfo_IamPolicyAnalysisResult_Access.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_IamPolicyAnalysisResult_Access proto.InternalMessageInfo |
| |
| type isIamPolicyAnalysisResult_Access_OneofAccess interface { |
| isIamPolicyAnalysisResult_Access_OneofAccess() |
| } |
| |
| type IamPolicyAnalysisResult_Access_Role struct { |
| Role string `protobuf:"bytes,1,opt,name=role,proto3,oneof"` |
| } |
| |
| type IamPolicyAnalysisResult_Access_Permission struct { |
| Permission string `protobuf:"bytes,2,opt,name=permission,proto3,oneof"` |
| } |
| |
| func (*IamPolicyAnalysisResult_Access_Role) isIamPolicyAnalysisResult_Access_OneofAccess() {} |
| |
| func (*IamPolicyAnalysisResult_Access_Permission) isIamPolicyAnalysisResult_Access_OneofAccess() {} |
| |
| func (m *IamPolicyAnalysisResult_Access) GetOneofAccess() isIamPolicyAnalysisResult_Access_OneofAccess { |
| if m != nil { |
| return m.OneofAccess |
| } |
| return nil |
| } |
| |
| func (m *IamPolicyAnalysisResult_Access) GetRole() string { |
| if x, ok := m.GetOneofAccess().(*IamPolicyAnalysisResult_Access_Role); ok { |
| return x.Role |
| } |
| return "" |
| } |
| |
| func (m *IamPolicyAnalysisResult_Access) GetPermission() string { |
| if x, ok := m.GetOneofAccess().(*IamPolicyAnalysisResult_Access_Permission); ok { |
| return x.Permission |
| } |
| return "" |
| } |
| |
| func (m *IamPolicyAnalysisResult_Access) GetAnalysisState() *IamPolicyAnalysisResult_AnalysisState { |
| if m != nil { |
| return m.AnalysisState |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*IamPolicyAnalysisResult_Access) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*IamPolicyAnalysisResult_Access_Role)(nil), |
| (*IamPolicyAnalysisResult_Access_Permission)(nil), |
| } |
| } |
| |
| // A directional edge. |
| type IamPolicyAnalysisResult_Edge struct { |
| // The source node of the edge. |
| SourceNode string `protobuf:"bytes,1,opt,name=source_node,json=sourceNode,proto3" json:"source_node,omitempty"` |
| // The target node of the edge. |
| TargetNode string `protobuf:"bytes,2,opt,name=target_node,json=targetNode,proto3" json:"target_node,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *IamPolicyAnalysisResult_Edge) Reset() { *m = IamPolicyAnalysisResult_Edge{} } |
| func (m *IamPolicyAnalysisResult_Edge) String() string { return proto.CompactTextString(m) } |
| func (*IamPolicyAnalysisResult_Edge) ProtoMessage() {} |
| func (*IamPolicyAnalysisResult_Edge) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b05965df25ab0d16, []int{0, 3} |
| } |
| |
| func (m *IamPolicyAnalysisResult_Edge) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_IamPolicyAnalysisResult_Edge.Unmarshal(m, b) |
| } |
| func (m *IamPolicyAnalysisResult_Edge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_IamPolicyAnalysisResult_Edge.Marshal(b, m, deterministic) |
| } |
| func (m *IamPolicyAnalysisResult_Edge) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_IamPolicyAnalysisResult_Edge.Merge(m, src) |
| } |
| func (m *IamPolicyAnalysisResult_Edge) XXX_Size() int { |
| return xxx_messageInfo_IamPolicyAnalysisResult_Edge.Size(m) |
| } |
| func (m *IamPolicyAnalysisResult_Edge) XXX_DiscardUnknown() { |
| xxx_messageInfo_IamPolicyAnalysisResult_Edge.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_IamPolicyAnalysisResult_Edge proto.InternalMessageInfo |
| |
| func (m *IamPolicyAnalysisResult_Edge) GetSourceNode() string { |
| if m != nil { |
| return m.SourceNode |
| } |
| return "" |
| } |
| |
| func (m *IamPolicyAnalysisResult_Edge) GetTargetNode() string { |
| if m != nil { |
| return m.TargetNode |
| } |
| return "" |
| } |
| |
| // An identity that appears in an access control list. |
| type IamPolicyAnalysisResult_Identity struct { |
| // The identity name in any form of members appear in |
| // [IAM policy |
| // binding](https://cloud.google.com/iam/reference/rest/v1/Binding), such |
| // as: |
| // - user:foo@google.com |
| // - group:group1@google.com |
| // - serviceAccount:s1@prj1.iam.gserviceaccount.com |
| // - projectOwner:some_project_id |
| // - domain:google.com |
| // - allUsers |
| // - etc. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // The analysis state of this identity node. |
| AnalysisState *IamPolicyAnalysisResult_AnalysisState `protobuf:"bytes,2,opt,name=analysis_state,json=analysisState,proto3" json:"analysis_state,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *IamPolicyAnalysisResult_Identity) Reset() { *m = IamPolicyAnalysisResult_Identity{} } |
| func (m *IamPolicyAnalysisResult_Identity) String() string { return proto.CompactTextString(m) } |
| func (*IamPolicyAnalysisResult_Identity) ProtoMessage() {} |
| func (*IamPolicyAnalysisResult_Identity) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b05965df25ab0d16, []int{0, 4} |
| } |
| |
| func (m *IamPolicyAnalysisResult_Identity) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_IamPolicyAnalysisResult_Identity.Unmarshal(m, b) |
| } |
| func (m *IamPolicyAnalysisResult_Identity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_IamPolicyAnalysisResult_Identity.Marshal(b, m, deterministic) |
| } |
| func (m *IamPolicyAnalysisResult_Identity) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_IamPolicyAnalysisResult_Identity.Merge(m, src) |
| } |
| func (m *IamPolicyAnalysisResult_Identity) XXX_Size() int { |
| return xxx_messageInfo_IamPolicyAnalysisResult_Identity.Size(m) |
| } |
| func (m *IamPolicyAnalysisResult_Identity) XXX_DiscardUnknown() { |
| xxx_messageInfo_IamPolicyAnalysisResult_Identity.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_IamPolicyAnalysisResult_Identity proto.InternalMessageInfo |
| |
| func (m *IamPolicyAnalysisResult_Identity) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *IamPolicyAnalysisResult_Identity) GetAnalysisState() *IamPolicyAnalysisResult_AnalysisState { |
| if m != nil { |
| return m.AnalysisState |
| } |
| return nil |
| } |
| |
| // An access control list, derived from the above IAM policy binding, which |
| // contains a set of resources and accesses. May include one |
| // item from each set to compose an access control entry. |
| // |
| // NOTICE that there could be multiple access control lists for one IAM policy |
| // binding. The access control lists are created based on resource and access |
| // combinations. |
| // |
| // For example, assume we have the following cases in one IAM policy binding: |
| // - Permission P1 and P2 apply to resource R1 and R2; |
| // - Permission P3 applies to resource R2 and R3; |
| // |
| // This will result in the following access control lists: |
| // - AccessControlList 1: [R1, R2], [P1, P2] |
| // - AccessControlList 2: [R2, R3], [P3] |
| type IamPolicyAnalysisResult_AccessControlList struct { |
| // The resources that match one of the following conditions: |
| // - The resource_selector, if it is specified in request; |
| // - Otherwise, resources reachable from the policy attached resource. |
| Resources []*IamPolicyAnalysisResult_Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` |
| // The accesses that match one of the following conditions: |
| // - The access_selector, if it is specified in request; |
| // - Otherwise, access specifiers reachable from the policy binding's role. |
| Accesses []*IamPolicyAnalysisResult_Access `protobuf:"bytes,2,rep,name=accesses,proto3" json:"accesses,omitempty"` |
| // Resource edges of the graph starting from the policy attached |
| // resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains |
| // the full resource name of a parent resource and [Edge.target_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.target_node] |
| // contains the full resource name of a child resource. This field is |
| // present only if the output_resource_edges option is enabled in request. |
| ResourceEdges []*IamPolicyAnalysisResult_Edge `protobuf:"bytes,3,rep,name=resource_edges,json=resourceEdges,proto3" json:"resource_edges,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *IamPolicyAnalysisResult_AccessControlList) Reset() { |
| *m = IamPolicyAnalysisResult_AccessControlList{} |
| } |
| func (m *IamPolicyAnalysisResult_AccessControlList) String() string { return proto.CompactTextString(m) } |
| func (*IamPolicyAnalysisResult_AccessControlList) ProtoMessage() {} |
| func (*IamPolicyAnalysisResult_AccessControlList) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b05965df25ab0d16, []int{0, 5} |
| } |
| |
| func (m *IamPolicyAnalysisResult_AccessControlList) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_IamPolicyAnalysisResult_AccessControlList.Unmarshal(m, b) |
| } |
| func (m *IamPolicyAnalysisResult_AccessControlList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_IamPolicyAnalysisResult_AccessControlList.Marshal(b, m, deterministic) |
| } |
| func (m *IamPolicyAnalysisResult_AccessControlList) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_IamPolicyAnalysisResult_AccessControlList.Merge(m, src) |
| } |
| func (m *IamPolicyAnalysisResult_AccessControlList) XXX_Size() int { |
| return xxx_messageInfo_IamPolicyAnalysisResult_AccessControlList.Size(m) |
| } |
| func (m *IamPolicyAnalysisResult_AccessControlList) XXX_DiscardUnknown() { |
| xxx_messageInfo_IamPolicyAnalysisResult_AccessControlList.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_IamPolicyAnalysisResult_AccessControlList proto.InternalMessageInfo |
| |
| func (m *IamPolicyAnalysisResult_AccessControlList) GetResources() []*IamPolicyAnalysisResult_Resource { |
| if m != nil { |
| return m.Resources |
| } |
| return nil |
| } |
| |
| func (m *IamPolicyAnalysisResult_AccessControlList) GetAccesses() []*IamPolicyAnalysisResult_Access { |
| if m != nil { |
| return m.Accesses |
| } |
| return nil |
| } |
| |
| func (m *IamPolicyAnalysisResult_AccessControlList) GetResourceEdges() []*IamPolicyAnalysisResult_Edge { |
| if m != nil { |
| return m.ResourceEdges |
| } |
| return nil |
| } |
| |
| type IamPolicyAnalysisResult_IdentityList struct { |
| // Only the identities that match one of the following conditions will be |
| // presented: |
| // - The identity_selector, if it is specified in request; |
| // - Otherwise, identities reachable from the policy binding's members. |
| Identities []*IamPolicyAnalysisResult_Identity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty"` |
| // Group identity edges of the graph starting from the binding's |
| // 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] |
| // contains a group, such as "group:parent@google.com". The |
| // [Edge.target_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.target_node] contains a member of the group, |
| // such as "group:child@google.com" or "user:foo@google.com". |
| // This field is present only if the output_group_edges option is enabled in |
| // request. |
| GroupEdges []*IamPolicyAnalysisResult_Edge `protobuf:"bytes,2,rep,name=group_edges,json=groupEdges,proto3" json:"group_edges,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *IamPolicyAnalysisResult_IdentityList) Reset() { *m = IamPolicyAnalysisResult_IdentityList{} } |
| func (m *IamPolicyAnalysisResult_IdentityList) String() string { return proto.CompactTextString(m) } |
| func (*IamPolicyAnalysisResult_IdentityList) ProtoMessage() {} |
| func (*IamPolicyAnalysisResult_IdentityList) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b05965df25ab0d16, []int{0, 6} |
| } |
| |
| func (m *IamPolicyAnalysisResult_IdentityList) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_IamPolicyAnalysisResult_IdentityList.Unmarshal(m, b) |
| } |
| func (m *IamPolicyAnalysisResult_IdentityList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_IamPolicyAnalysisResult_IdentityList.Marshal(b, m, deterministic) |
| } |
| func (m *IamPolicyAnalysisResult_IdentityList) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_IamPolicyAnalysisResult_IdentityList.Merge(m, src) |
| } |
| func (m *IamPolicyAnalysisResult_IdentityList) XXX_Size() int { |
| return xxx_messageInfo_IamPolicyAnalysisResult_IdentityList.Size(m) |
| } |
| func (m *IamPolicyAnalysisResult_IdentityList) XXX_DiscardUnknown() { |
| xxx_messageInfo_IamPolicyAnalysisResult_IdentityList.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_IamPolicyAnalysisResult_IdentityList proto.InternalMessageInfo |
| |
| func (m *IamPolicyAnalysisResult_IdentityList) GetIdentities() []*IamPolicyAnalysisResult_Identity { |
| if m != nil { |
| return m.Identities |
| } |
| return nil |
| } |
| |
| func (m *IamPolicyAnalysisResult_IdentityList) GetGroupEdges() []*IamPolicyAnalysisResult_Edge { |
| if m != nil { |
| return m.GroupEdges |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*IamPolicyAnalysisResult)(nil), "google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult") |
| proto.RegisterType((*IamPolicyAnalysisResult_AnalysisState)(nil), "google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState") |
| proto.RegisterType((*IamPolicyAnalysisResult_Resource)(nil), "google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource") |
| proto.RegisterType((*IamPolicyAnalysisResult_Access)(nil), "google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access") |
| proto.RegisterType((*IamPolicyAnalysisResult_Edge)(nil), "google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge") |
| proto.RegisterType((*IamPolicyAnalysisResult_Identity)(nil), "google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity") |
| proto.RegisterType((*IamPolicyAnalysisResult_AccessControlList)(nil), "google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList") |
| proto.RegisterType((*IamPolicyAnalysisResult_IdentityList)(nil), "google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/cloud/asset/v1p4beta1/assets.proto", fileDescriptor_b05965df25ab0d16) |
| } |
| |
| var fileDescriptor_b05965df25ab0d16 = []byte{ |
| // 720 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xdd, 0x6a, 0xd4, 0x40, |
| 0x14, 0x6e, 0xb6, 0xdb, 0xb2, 0x7b, 0xf6, 0x87, 0x3a, 0x54, 0x0d, 0xb1, 0xd0, 0x45, 0x14, 0x56, |
| 0x90, 0x84, 0xad, 0x05, 0xc1, 0x3f, 0xd8, 0x5d, 0x6a, 0x5b, 0x14, 0x59, 0x46, 0x28, 0xa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x10, 0x1c, 0x77, 0x0c, 0x63, 0x61, 0x09, 0xe7, |
| 0xbb, 0x05, 0xed, 0xea, 0x05, 0x80, 0x5e, 0x03, 0xe8, 0x2b, 0x80, 0x5d, 0x74, 0x58, 0x86, 0x17, |
| 0x57, 0x18, 0xd1, 0x2b, 0x68, 0x45, 0x39, 0x9f, 0x65, 0xba, 0xa1, 0xda, 0x85, 0x1b, 0x02, 0x45, |
| 0xa7, 0xba, 0x19, 0x7d, 0xb1, 0xa0, 0x17, 0xf0, 0xe4, 0x5c, 0xb6, 0x11, 0x0c, 0x0b, 0xc7, 0xa4, |
| 0x78, 0x58, 0x26, 0xd6, 0xcb, 0xa1, 0xc6, 0x46, 0x3c, 0x26, 0x69, 0xe4, 0xf2, 0x3c, 0xf2, 0x22, |
| 0x9a, 0xaa, 0x67, 0xc7, 0x2b, 0x43, 0x24, 0x63, 0xe2, 0xec, 0x37, 0xf1, 0xbe, 0xb2, 0x7f, 0x58, |
| 0xd6, 0xa7, 0xda, 0xd6, 0x7e, 0x49, 0x33, 0x56, 0x29, 0x55, 0x06, 0xf7, 0x68, 0x30, 0xd9, 0x1d, |
| 0x15, 0xb8, 0x6f, 0x26, 0x3c, 0x55, 0xe1, 0xa9, 0x0a, 0x4f, 0x8f, 0x0c, 0xcd, 0xf1, 0xba, 0x4a, |
| 0x77, 0xe7, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x12, 0x05, 0x90, 0x81, 0x07, 0x00, 0x00, |
| } |