Debian Codegraph @

securitycenter/apiv1/securitycenterpb/asset.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/v1/asset.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 structpb "google.golang.org/protobuf/types/known/structpb"
28 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // Security Command Center representation of a Google Cloud
41 // resource.
42 //
43 // The Asset is a Security Command Center resource that captures information
44 // about a single Google Cloud resource. All modifications to an Asset are only
45 // within the context of Security Command Center and don't affect the referenced
46 // Google Cloud resource.
47 type Asset struct {
48 state protoimpl.MessageState
49 sizeCache protoimpl.SizeCache
50 unknownFields protoimpl.UnknownFields
51
52 // The relative resource name of this asset. See:
53 // https://cloud.google.com/apis/design/resource_names#relative_resource_name
54 // Example:
55 // "organizations/{organization_id}/assets/{asset_id}".
56 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
57 // Security Command Center managed properties. These properties are managed by
58 // Security Command Center and cannot be modified by the user.
59 SecurityCenterProperties *Asset_SecurityCenterProperties `protobuf:"bytes,2,opt,name=security_center_properties,json=securityCenterProperties,proto3" json:"security_center_properties,omitempty"`
60 // Resource managed properties. These properties are managed and defined by
61 // the Google Cloud resource and cannot be modified by the user.
62 ResourceProperties map[string]*structpb.Value `protobuf:"bytes,7,rep,name=resource_properties,json=resourceProperties,proto3" json:"resource_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
63 // User specified security marks. These marks are entirely managed by the user
64 // and come from the SecurityMarks resource that belongs to the asset.
65 SecurityMarks *SecurityMarks `protobuf:"bytes,8,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"`
66 // The time at which the asset was created in Security Command Center.
67 CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
68 // The time at which the asset was last updated or added in Cloud SCC.
69 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
70 // Cloud IAM Policy information associated with the Google Cloud resource
71 // described by the Security Command Center asset. This information is managed
72 // and defined by the Google Cloud resource and cannot be modified by the
73 // user.
74 IamPolicy *Asset_IamPolicy `protobuf:"bytes,11,opt,name=iam_policy,json=iamPolicy,proto3" json:"iam_policy,omitempty"`
75 // The canonical name of the resource. It's either
76 // "organizations/{organization_id}/assets/{asset_id}",
77 // "folders/{folder_id}/assets/{asset_id}" or
78 // "projects/{project_number}/assets/{asset_id}", depending on the closest CRM
79 // ancestor of the resource.
80 CanonicalName string `protobuf:"bytes,13,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,omitempty"`
81 }
82
83 func (x *Asset) Reset() {
84 *x = Asset{}
85 mi := &file_google_cloud_securitycenter_v1_asset_proto_msgTypes[0]
86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
87 ms.StoreMessageInfo(mi)
88 }
89
90 func (x *Asset) String() string {
91 return protoimpl.X.MessageStringOf(x)
92 }
93
94 func (*Asset) ProtoMessage() {}
95
96 func (x *Asset) ProtoReflect() protoreflect.Message {
97 mi := &file_google_cloud_securitycenter_v1_asset_proto_msgTypes[0]
98 if x != nil {
99 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
100 if ms.LoadMessageInfo() == nil {
101 ms.StoreMessageInfo(mi)
102 }
103 return ms
104 }
105 return mi.MessageOf(x)
106 }
107
108 // Deprecated: Use Asset.ProtoReflect.Descriptor instead.
109 func (*Asset) Descriptor() ([]byte, []int) {
110 return file_google_cloud_securitycenter_v1_asset_proto_rawDescGZIP(), []int{0}
111 }
112
113 func (x *Asset) GetName() string {
114 if x != nil {
115 return x.Name
116 }
117 return ""
118 }
119
120 func (x *Asset) GetSecurityCenterProperties() *Asset_SecurityCenterProperties {
121 if x != nil {
122 return x.SecurityCenterProperties
123 }
124 return nil
125 }
126
127 func (x *Asset) GetResourceProperties() map[string]*structpb.Value {
128 if x != nil {
129 return x.ResourceProperties
130 }
131 return nil
132 }
133
134 func (x *Asset) GetSecurityMarks() *SecurityMarks {
135 if x != nil {
136 return x.SecurityMarks
137 }
138 return nil
139 }
140
141 func (x *Asset) GetCreateTime() *timestamppb.Timestamp {
142 if x != nil {
143 return x.CreateTime
144 }
145 return nil
146 }
147
148 func (x *Asset) GetUpdateTime() *timestamppb.Timestamp {
149 if x != nil {
150 return x.UpdateTime
151 }
152 return nil
153 }
154
155 func (x *Asset) GetIamPolicy() *Asset_IamPolicy {
156 if x != nil {
157 return x.IamPolicy
158 }
159 return nil
160 }
161
162 func (x *Asset) GetCanonicalName() string {
163 if x != nil {
164 return x.CanonicalName
165 }
166 return ""
167 }
168
169 // Security Command Center managed properties. These properties are managed by
170 // Security Command Center and cannot be modified by the user.
171 type Asset_SecurityCenterProperties struct {
172 state protoimpl.MessageState
173 sizeCache protoimpl.SizeCache
174 unknownFields protoimpl.UnknownFields
175
176 // The full resource name of the Google Cloud resource this asset
177 // represents. This field is immutable after create time. See:
178 // https://cloud.google.com/apis/design/resource_names#full_resource_name
179 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
180 // The type of the Google Cloud resource. Examples include: APPLICATION,
181 // PROJECT, and ORGANIZATION. This is a case insensitive field defined by
182 // Security Command Center and/or the producer of the resource and is
183 // immutable after create time.
184 ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
185 // The full resource name of the immediate parent of the resource. See:
186 // https://cloud.google.com/apis/design/resource_names#full_resource_name
187 ResourceParent string `protobuf:"bytes,3,opt,name=resource_parent,json=resourceParent,proto3" json:"resource_parent,omitempty"`
188 // The full resource name of the project the resource belongs to. See:
189 // https://cloud.google.com/apis/design/resource_names#full_resource_name
190 ResourceProject string `protobuf:"bytes,4,opt,name=resource_project,json=resourceProject,proto3" json:"resource_project,omitempty"`
191 // Owners of the Google Cloud resource.
192 ResourceOwners []string `protobuf:"bytes,5,rep,name=resource_owners,json=resourceOwners,proto3" json:"resource_owners,omitempty"`
193 // The user defined display name for this resource.
194 ResourceDisplayName string `protobuf:"bytes,6,opt,name=resource_display_name,json=resourceDisplayName,proto3" json:"resource_display_name,omitempty"`
195 // The user defined display name for the parent of this resource.
196 ResourceParentDisplayName string `protobuf:"bytes,7,opt,name=resource_parent_display_name,json=resourceParentDisplayName,proto3" json:"resource_parent_display_name,omitempty"`
197 // The user defined display name for the project of this resource.
198 ResourceProjectDisplayName string `protobuf:"bytes,8,opt,name=resource_project_display_name,json=resourceProjectDisplayName,proto3" json:"resource_project_display_name,omitempty"`
199 // Contains a Folder message for each folder in the assets ancestry.
200 // The first folder is the deepest nested folder, and the last folder is the
201 // folder directly under the Organization.
202 Folders []*Folder `protobuf:"bytes,10,rep,name=folders,proto3" json:"folders,omitempty"`
203 }
204
205 func (x *Asset_SecurityCenterProperties) Reset() {
206 *x = Asset_SecurityCenterProperties{}
207 mi := &file_google_cloud_securitycenter_v1_asset_proto_msgTypes[1]
208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
209 ms.StoreMessageInfo(mi)
210 }
211
212 func (x *Asset_SecurityCenterProperties) String() string {
213 return protoimpl.X.MessageStringOf(x)
214 }
215
216 func (*Asset_SecurityCenterProperties) ProtoMessage() {}
217
218 func (x *Asset_SecurityCenterProperties) ProtoReflect() protoreflect.Message {
219 mi := &file_google_cloud_securitycenter_v1_asset_proto_msgTypes[1]
220 if x != nil {
221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
222 if ms.LoadMessageInfo() == nil {
223 ms.StoreMessageInfo(mi)
224 }
225 return ms
226 }
227 return mi.MessageOf(x)
228 }
229
230 // Deprecated: Use Asset_SecurityCenterProperties.ProtoReflect.Descriptor instead.
231 func (*Asset_SecurityCenterProperties) Descriptor() ([]byte, []int) {
232 return file_google_cloud_securitycenter_v1_asset_proto_rawDescGZIP(), []int{0, 0}
233 }
234
235 func (x *Asset_SecurityCenterProperties) GetResourceName() string {
236 if x != nil {
237 return x.ResourceName
238 }
239 return ""
240 }
241
242 func (x *Asset_SecurityCenterProperties) GetResourceType() string {
243 if x != nil {
244 return x.ResourceType
245 }
246 return ""
247 }
248
249 func (x *Asset_SecurityCenterProperties) GetResourceParent() string {
250 if x != nil {
251 return x.ResourceParent
252 }
253 return ""
254 }
255
256 func (x *Asset_SecurityCenterProperties) GetResourceProject() string {
257 if x != nil {
258 return x.ResourceProject
259 }
260 return ""
261 }
262
263 func (x *Asset_SecurityCenterProperties) GetResourceOwners() []string {
264 if x != nil {
265 return x.ResourceOwners
266 }
267 return nil
268 }
269
270 func (x *Asset_SecurityCenterProperties) GetResourceDisplayName() string {
271 if x != nil {
272 return x.ResourceDisplayName
273 }
274 return ""
275 }
276
277 func (x *Asset_SecurityCenterProperties) GetResourceParentDisplayName() string {
278 if x != nil {
279 return x.ResourceParentDisplayName
280 }
281 return ""
282 }
283
284 func (x *Asset_SecurityCenterProperties) GetResourceProjectDisplayName() string {
285 if x != nil {
286 return x.ResourceProjectDisplayName
287 }
288 return ""
289 }
290
291 func (x *Asset_SecurityCenterProperties) GetFolders() []*Folder {
292 if x != nil {
293 return x.Folders
294 }
295 return nil
296 }
297
298 // Cloud IAM Policy information associated with the Google Cloud resource
299 // described by the Security Command Center asset. This information is managed
300 // and defined by the Google Cloud resource and cannot be modified by the
301 // user.
302 type Asset_IamPolicy struct {
303 state protoimpl.MessageState
304 sizeCache protoimpl.SizeCache
305 unknownFields protoimpl.UnknownFields
306
307 // The JSON representation of the Policy associated with the asset.
308 // See https://cloud.google.com/iam/reference/rest/v1/Policy for format
309 // details.
310 PolicyBlob string `protobuf:"bytes,1,opt,name=policy_blob,json=policyBlob,proto3" json:"policy_blob,omitempty"`
311 }
312
313 func (x *Asset_IamPolicy) Reset() {
314 *x = Asset_IamPolicy{}
315 mi := &file_google_cloud_securitycenter_v1_asset_proto_msgTypes[2]
316 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
317 ms.StoreMessageInfo(mi)
318 }
319
320 func (x *Asset_IamPolicy) String() string {
321 return protoimpl.X.MessageStringOf(x)
322 }
323
324 func (*Asset_IamPolicy) ProtoMessage() {}
325
326 func (x *Asset_IamPolicy) ProtoReflect() protoreflect.Message {
327 mi := &file_google_cloud_securitycenter_v1_asset_proto_msgTypes[2]
328 if x != nil {
329 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
330 if ms.LoadMessageInfo() == nil {
331 ms.StoreMessageInfo(mi)
332 }
333 return ms
334 }
335 return mi.MessageOf(x)
336 }
337
338 // Deprecated: Use Asset_IamPolicy.ProtoReflect.Descriptor instead.
339 func (*Asset_IamPolicy) Descriptor() ([]byte, []int) {
340 return file_google_cloud_securitycenter_v1_asset_proto_rawDescGZIP(), []int{0, 1}
341 }
342
343 func (x *Asset_IamPolicy) GetPolicyBlob() string {
344 if x != nil {
345 return x.PolicyBlob
346 }
347 return ""
348 }
349
350 var File_google_cloud_securitycenter_v1_asset_proto protoreflect.FileDescriptor
351
352 var file_google_cloud_securitycenter_v1_asset_proto_rawDesc = []byte{
353 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
354 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
355 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f,
356 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72,
357 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f,
358 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
359 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
360 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
361 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x70,
362 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f,
363 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
364 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61,
365 0x72, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
366 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63,
367 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
368 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
369 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7, 0x0a, 0x0a, 0x05, 0x41, 0x73, 0x73,
370 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
371 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x7c, 0x0a, 0x1a, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
372 0x74, 0x79, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
373 0x74, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f,
374 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
375 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65,
376 0x74, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72,
377 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x18, 0x73, 0x65, 0x63, 0x75,
378 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72,
379 0x74, 0x69, 0x65, 0x73, 0x12, 0x6e, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
380 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
381 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
382 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
383 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
384 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
385 0x52, 0x12, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72,
386 0x74, 0x69, 0x65, 0x73, 0x12, 0x54, 0x0a, 0x0e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
387 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67,
388 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75,
389 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
390 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x52, 0x0d, 0x73, 0x65, 0x63,
391 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72,
392 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32,
393 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
394 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65,
395 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74,
396 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
397 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
398 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
399 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x0a, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69,
400 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
401 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
402 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e,
403 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x69, 0x61, 0x6d, 0x50, 0x6f,
404 0x6c, 0x69, 0x63, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61,
405 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x61,
406 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0xdb, 0x03, 0x0a, 0x18,
407 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x50, 0x72,
408 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f,
409 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
410 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a,
411 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
412 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79,
413 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70,
414 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x73,
415 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x72,
416 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18,
417 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50,
418 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
419 0x63, 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52,
420 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12,
421 0x32, 0x0a, 0x15, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x70,
422 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13,
423 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e,
424 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x1c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f,
425 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e,
426 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x72, 0x65, 0x73, 0x6f, 0x75,
427 0x72, 0x63, 0x65, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
428 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x1d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
429 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
430 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1a, 0x72, 0x65, 0x73,
431 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x73, 0x70,
432 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65,
433 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
434 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
435 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72,
436 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x2c, 0x0a, 0x09, 0x49, 0x61, 0x6d,
437 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
438 0x5f, 0x62, 0x6c, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6f, 0x6c,
439 0x69, 0x63, 0x79, 0x42, 0x6c, 0x6f, 0x62, 0x1a, 0x5d, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x6f, 0x75,
440 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74,
441 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
442 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
443 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
444 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c,
445 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0xa9, 0x01, 0xea, 0x41, 0xa5, 0x01, 0x0a, 0x23, 0x73,
446 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x67, 0x6f,
447 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x73,
448 0x65, 0x74, 0x12, 0x2b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
449 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d,
450 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x7d, 0x12,
451 0x1f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72,
452 0x7d, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x7d,
453 0x12, 0x21, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,
454 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x73, 0x73,
455 0x65, 0x74, 0x7d, 0x2a, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x32, 0x05, 0x61, 0x73, 0x73,
456 0x65, 0x74, 0x42, 0xd8, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
457 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
458 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f,
459 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
460 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f,
461 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
462 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
463 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
464 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43,
465 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
466 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
467 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67,
468 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72,
469 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
470 0x72, 0x6f, 0x74, 0x6f, 0x33,
471 }
472
473 var (
474 file_google_cloud_securitycenter_v1_asset_proto_rawDescOnce sync.Once
475 file_google_cloud_securitycenter_v1_asset_proto_rawDescData = file_google_cloud_securitycenter_v1_asset_proto_rawDesc
476 )
477
478 func file_google_cloud_securitycenter_v1_asset_proto_rawDescGZIP() []byte {
479 file_google_cloud_securitycenter_v1_asset_proto_rawDescOnce.Do(func() {
480 file_google_cloud_securitycenter_v1_asset_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_asset_proto_rawDescData)
481 })
482 return file_google_cloud_securitycenter_v1_asset_proto_rawDescData
483 }
484
485 var file_google_cloud_securitycenter_v1_asset_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
486 var file_google_cloud_securitycenter_v1_asset_proto_goTypes = []any{
487 (*Asset)(nil), // 0: google.cloud.securitycenter.v1.Asset
488 (*Asset_SecurityCenterProperties)(nil), // 1: google.cloud.securitycenter.v1.Asset.SecurityCenterProperties
489 (*Asset_IamPolicy)(nil), // 2: google.cloud.securitycenter.v1.Asset.IamPolicy
490 nil, // 3: google.cloud.securitycenter.v1.Asset.ResourcePropertiesEntry
491 (*SecurityMarks)(nil), // 4: google.cloud.securitycenter.v1.SecurityMarks
492 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
493 (*Folder)(nil), // 6: google.cloud.securitycenter.v1.Folder
494 (*structpb.Value)(nil), // 7: google.protobuf.Value
495 }
496 var file_google_cloud_securitycenter_v1_asset_proto_depIdxs = []int32{
497 1, // 0: google.cloud.securitycenter.v1.Asset.security_center_properties:type_name -> google.cloud.securitycenter.v1.Asset.SecurityCenterProperties
498 3, // 1: google.cloud.securitycenter.v1.Asset.resource_properties:type_name -> google.cloud.securitycenter.v1.Asset.ResourcePropertiesEntry
499 4, // 2: google.cloud.securitycenter.v1.Asset.security_marks:type_name -> google.cloud.securitycenter.v1.SecurityMarks
500 5, // 3: google.cloud.securitycenter.v1.Asset.create_time:type_name -> google.protobuf.Timestamp
501 5, // 4: google.cloud.securitycenter.v1.Asset.update_time:type_name -> google.protobuf.Timestamp
502 2, // 5: google.cloud.securitycenter.v1.Asset.iam_policy:type_name -> google.cloud.securitycenter.v1.Asset.IamPolicy
503 6, // 6: google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.folders:type_name -> google.cloud.securitycenter.v1.Folder
504 7, // 7: google.cloud.securitycenter.v1.Asset.ResourcePropertiesEntry.value:type_name -> google.protobuf.Value
505 8, // [8:8] is the sub-list for method output_type
506 8, // [8:8] is the sub-list for method input_type
507 8, // [8:8] is the sub-list for extension type_name
508 8, // [8:8] is the sub-list for extension extendee
509 0, // [0:8] is the sub-list for field type_name
510 }
511
512 func init() { file_google_cloud_securitycenter_v1_asset_proto_init() }
513 func file_google_cloud_securitycenter_v1_asset_proto_init() {
514 if File_google_cloud_securitycenter_v1_asset_proto != nil {
515 return
516 }
517 file_google_cloud_securitycenter_v1_folder_proto_init()
518 file_google_cloud_securitycenter_v1_security_marks_proto_init()
519 type x struct{}
520 out := protoimpl.TypeBuilder{
521 File: protoimpl.DescBuilder{
522 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
523 RawDescriptor: file_google_cloud_securitycenter_v1_asset_proto_rawDesc,
524 NumEnums: 0,
525 NumMessages: 4,
526 NumExtensions: 0,
527 NumServices: 0,
528 },
529 GoTypes: file_google_cloud_securitycenter_v1_asset_proto_goTypes,
530 DependencyIndexes: file_google_cloud_securitycenter_v1_asset_proto_depIdxs,
531 MessageInfos: file_google_cloud_securitycenter_v1_asset_proto_msgTypes,
532 }.Build()
533 File_google_cloud_securitycenter_v1_asset_proto = out.File
534 file_google_cloud_securitycenter_v1_asset_proto_rawDesc = nil
535 file_google_cloud_securitycenter_v1_asset_proto_goTypes = nil
536 file_google_cloud_securitycenter_v1_asset_proto_depIdxs = nil
537 }