| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/cloud/securitycenter/v1p1beta1/security_marks.proto |
| |
| package securitycenter |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // 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 |
| |
| // User specified security marks that are attached to the parent Cloud Security |
| // Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud |
| // SCC organization -- they can be modified and viewed by all users who have |
| // proper permissions on the organization. |
| type SecurityMarks struct { |
| // The relative resource name of the SecurityMarks. See: |
| // https://cloud.google.com/apis/design/resource_names#relative_resource_name |
| // Examples: |
| // "organizations/{organization_id}/assets/{asset_id}/securityMarks" |
| // "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // Mutable user specified security marks belonging to the parent resource. |
| // Constraints are as follows: |
| // |
| // * Keys and values are treated as case insensitive |
| // * Keys must be between 1 - 256 characters (inclusive) |
| // * Keys must be letters, numbers, underscores, or dashes |
| // * Values have leading and trailing whitespace trimmed, remaining |
| // characters must be between 1 - 4096 characters (inclusive) |
| Marks map[string]string `protobuf:"bytes,2,rep,name=marks,proto3" json:"marks,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SecurityMarks) Reset() { *m = SecurityMarks{} } |
| func (m *SecurityMarks) String() string { return proto.CompactTextString(m) } |
| func (*SecurityMarks) ProtoMessage() {} |
| func (*SecurityMarks) Descriptor() ([]byte, []int) { |
| return fileDescriptor_e4a419f3fe84f720, []int{0} |
| } |
| |
| func (m *SecurityMarks) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SecurityMarks.Unmarshal(m, b) |
| } |
| func (m *SecurityMarks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SecurityMarks.Marshal(b, m, deterministic) |
| } |
| func (m *SecurityMarks) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SecurityMarks.Merge(m, src) |
| } |
| func (m *SecurityMarks) XXX_Size() int { |
| return xxx_messageInfo_SecurityMarks.Size(m) |
| } |
| func (m *SecurityMarks) XXX_DiscardUnknown() { |
| xxx_messageInfo_SecurityMarks.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SecurityMarks proto.InternalMessageInfo |
| |
| func (m *SecurityMarks) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *SecurityMarks) GetMarks() map[string]string { |
| if m != nil { |
| return m.Marks |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*SecurityMarks)(nil), "google.cloud.securitycenter.v1p1beta1.SecurityMarks") |
| proto.RegisterMapType((map[string]string)(nil), "google.cloud.securitycenter.v1p1beta1.SecurityMarks.MarksEntry") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/cloud/securitycenter/v1p1beta1/security_marks.proto", fileDescriptor_e4a419f3fe84f720) |
| } |
| |
| var fileDescriptor_e4a419f3fe84f720 = []byte{ |
| // 393 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xcf, 0x4a, 0x23, 0x31, |
| 0x18, 0x67, 0xa6, 0xdb, 0x85, 0xcd, 0xb2, 0xb0, 0x0c, 0x7b, 0xe8, 0x16, 0x0f, 0x45, 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