Debian Codegraph @

securitycenter/apiv2/securitycenterpb/cloud_dlp_inspection.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/cloud/securitycenter/v2/cloud_dlp_inspection.proto
20
21 package securitycenterpb
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 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection
39 // job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced
40 // the finding.
41 type CloudDlpInspection struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46 // Name of the inspection job, for example,
47 // `projects/123/locations/europe/dlpJobs/i-8383929`.
48 InspectJob string `protobuf:"bytes,1,opt,name=inspect_job,json=inspectJob,proto3" json:"inspect_job,omitempty"`
49 // The type of information (or
50 // *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found,
51 // for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
52 InfoType string `protobuf:"bytes,2,opt,name=info_type,json=infoType,proto3" json:"info_type,omitempty"`
53 // The number of times Cloud DLP found this infoType within this job
54 // and resource.
55 InfoTypeCount int64 `protobuf:"varint,3,opt,name=info_type_count,json=infoTypeCount,proto3" json:"info_type_count,omitempty"`
56 // Whether Cloud DLP scanned the complete resource or a sampled subset.
57 FullScan bool `protobuf:"varint,4,opt,name=full_scan,json=fullScan,proto3" json:"full_scan,omitempty"`
58 }
59
60 func (x *CloudDlpInspection) Reset() {
61 *x = CloudDlpInspection{}
62 mi := &file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_msgTypes[0]
63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
64 ms.StoreMessageInfo(mi)
65 }
66
67 func (x *CloudDlpInspection) String() string {
68 return protoimpl.X.MessageStringOf(x)
69 }
70
71 func (*CloudDlpInspection) ProtoMessage() {}
72
73 func (x *CloudDlpInspection) ProtoReflect() protoreflect.Message {
74 mi := &file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_msgTypes[0]
75 if x != nil {
76 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
77 if ms.LoadMessageInfo() == nil {
78 ms.StoreMessageInfo(mi)
79 }
80 return ms
81 }
82 return mi.MessageOf(x)
83 }
84
85 // Deprecated: Use CloudDlpInspection.ProtoReflect.Descriptor instead.
86 func (*CloudDlpInspection) Descriptor() ([]byte, []int) {
87 return file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_rawDescGZIP(), []int{0}
88 }
89
90 func (x *CloudDlpInspection) GetInspectJob() string {
91 if x != nil {
92 return x.InspectJob
93 }
94 return ""
95 }
96
97 func (x *CloudDlpInspection) GetInfoType() string {
98 if x != nil {
99 return x.InfoType
100 }
101 return ""
102 }
103
104 func (x *CloudDlpInspection) GetInfoTypeCount() int64 {
105 if x != nil {
106 return x.InfoTypeCount
107 }
108 return 0
109 }
110
111 func (x *CloudDlpInspection) GetFullScan() bool {
112 if x != nil {
113 return x.FullScan
114 }
115 return false
116 }
117
118 var File_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto protoreflect.FileDescriptor
119
120 var file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_rawDesc = []byte{
121 0x0a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
122 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
123 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x64, 0x6c, 0x70, 0x5f, 0x69, 0x6e, 0x73, 0x70, 0x65,
124 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f,
125 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
126 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
127 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
128 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x01, 0x0a, 0x12, 0x43, 0x6c, 0x6f, 0x75, 0x64,
129 0x44, 0x6c, 0x70, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a,
130 0x0b, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x5f, 0x6a, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01,
131 0x28, 0x09, 0x42, 0x1e, 0xfa, 0x41, 0x1b, 0x0a, 0x19, 0x64, 0x6c, 0x70, 0x2e, 0x67, 0x6f, 0x6f,
132 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6c, 0x70, 0x4a,
133 0x6f, 0x62, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x1b,
134 0x0a, 0x09, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
135 0x09, 0x52, 0x08, 0x69, 0x6e, 0x66, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x69,
136 0x6e, 0x66, 0x6f, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
137 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x69, 0x6e, 0x66, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f,
138 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x73, 0x63, 0x61, 0x6e,
139 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x53, 0x63, 0x61, 0x6e,
140 0x42, 0xf0, 0x02, 0xea, 0x41, 0x7c, 0x0a, 0x19, 0x64, 0x6c, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
141 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6c, 0x70, 0x4a, 0x6f,
142 0x62, 0x12, 0x24, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
143 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x64, 0x6c, 0x70, 0x4a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x64,
144 0x6c, 0x70, 0x5f, 0x6a, 0x6f, 0x62, 0x7d, 0x12, 0x39, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
145 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61,
146 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d,
147 0x2f, 0x64, 0x6c, 0x70, 0x4a, 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x64, 0x6c, 0x70, 0x5f, 0x6a, 0x6f,
148 0x62, 0x7d, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
149 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
150 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x42, 0x17, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x44, 0x6c, 0x70,
151 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
152 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
153 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
154 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x63, 0x75,
155 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63,
156 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e,
157 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63,
158 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x32, 0xca, 0x02,
159 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65,
160 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x32, 0xea,
161 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
162 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a,
163 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
164 }
165
166 var (
167 file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_rawDescOnce sync.Once
168 file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_rawDescData = file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_rawDesc
169 )
170
171 func file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_rawDescGZIP() []byte {
172 file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_rawDescOnce.Do(func() {
173 file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_rawDescData)
174 })
175 return file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_rawDescData
176 }
177
178 var file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
179 var file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_goTypes = []any{
180 (*CloudDlpInspection)(nil), // 0: google.cloud.securitycenter.v2.CloudDlpInspection
181 }
182 var file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_depIdxs = []int32{
183 0, // [0:0] is the sub-list for method output_type
184 0, // [0:0] is the sub-list for method input_type
185 0, // [0:0] is the sub-list for extension type_name
186 0, // [0:0] is the sub-list for extension extendee
187 0, // [0:0] is the sub-list for field type_name
188 }
189
190 func init() { file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_init() }
191 func file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_init() {
192 if File_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto != nil {
193 return
194 }
195 type x struct{}
196 out := protoimpl.TypeBuilder{
197 File: protoimpl.DescBuilder{
198 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
199 RawDescriptor: file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_rawDesc,
200 NumEnums: 0,
201 NumMessages: 1,
202 NumExtensions: 0,
203 NumServices: 0,
204 },
205 GoTypes: file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_goTypes,
206 DependencyIndexes: file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_depIdxs,
207 MessageInfos: file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_msgTypes,
208 }.Build()
209 File_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto = out.File
210 file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_rawDesc = nil
211 file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_goTypes = nil
212 file_google_cloud_securitycenter_v2_cloud_dlp_inspection_proto_depIdxs = nil
213 }