Debian Codegraph @

securitycenter/apiv1p1beta1/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/v1p1beta1/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_v1p1beta1_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_v1p1beta1_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_v1p1beta1_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_v1p1beta1_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_v1p1beta1_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_v1p1beta1_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/docs/reference/rest/v1/Policy for
309 // format 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_v1p1beta1_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_v1p1beta1_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_v1p1beta1_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_v1p1beta1_asset_proto protoreflect.FileDescriptor
351
352 var file_google_cloud_securitycenter_v1p1beta1_asset_proto_rawDesc = []byte{
353 0x0a, 0x31, 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 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72,
356 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
357 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
358 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67,
359 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
360 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c,
361 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74,
362 0x65, 0x72, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x66, 0x6f, 0x6c,
363 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
364 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
365 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
366 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x2e,
367 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
368 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72,
369 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
370 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
371 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfc, 0x0a, 0x0a, 0x05, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x12,
372 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
373 0x6d, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x1a, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f,
374 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65,
375 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
376 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
377 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
378 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65,
379 0x6e, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x18,
380 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x50, 0x72,
381 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x75, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f,
382 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18,
383 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
384 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
385 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x73,
386 0x73, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70,
387 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x72, 0x65, 0x73,
388 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12,
389 0x5b, 0x0a, 0x0e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61, 0x72, 0x6b,
390 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
391 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
392 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
393 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x52, 0x0d, 0x73,
394 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x3b, 0x0a, 0x0b,
395 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
396 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
397 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63,
398 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64,
399 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
400 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
401 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,
402 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x55, 0x0a, 0x0a, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f,
403 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f,
404 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
405 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74,
406 0x61, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
407 0x63, 0x79, 0x52, 0x09, 0x69, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x25, 0x0a,
408 0x0e, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
409 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c,
410 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0xe2, 0x03, 0x0a, 0x18, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
411 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65,
412 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61,
413 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
414 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
415 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72,
416 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72,
417 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03,
418 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61,
419 0x72, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
420 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f,
421 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,
422 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65,
423 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
424 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x72, 0x65, 0x73, 0x6f,
425 0x75, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d,
426 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
427 0x65, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x1c,
428 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f,
429 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01,
430 0x28, 0x09, 0x52, 0x19, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x72, 0x65,
431 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a,
432 0x1d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
433 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08,
434 0x20, 0x01, 0x28, 0x09, 0x52, 0x1a, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72,
435 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65,
436 0x12, 0x47, 0x0a, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28,
437 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
438 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
439 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72,
440 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x2c, 0x0a, 0x09, 0x49, 0x61, 0x6d,
441 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
442 0x5f, 0x62, 0x6c, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6f, 0x6c,
443 0x69, 0x63, 0x79, 0x42, 0x6c, 0x6f, 0x62, 0x1a, 0x5d, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x6f, 0x75,
444 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74,
445 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
446 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
447 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
448 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c,
449 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x9a, 0x01, 0xea, 0x41, 0x96, 0x01, 0x0a, 0x23, 0x73,
450 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x67, 0x6f,
451 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x73,
452 0x65, 0x74, 0x12, 0x2b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
453 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d,
454 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x7d, 0x12,
455 0x1f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72,
456 0x7d, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x7d,
457 0x12, 0x21, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,
458 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x73, 0x73,
459 0x65, 0x74, 0x7d, 0x42, 0xfb, 0x01, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
460 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
461 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61,
462 0x31, 0x50, 0x01, 0x5a, 0x51, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
463 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
464 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x70, 0x31, 0x62,
465 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
466 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
467 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
468 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65,
469 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0x50, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02,
470 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65,
471 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x70,
472 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a,
473 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
474 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61,
475 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
476 }
477
478 var (
479 file_google_cloud_securitycenter_v1p1beta1_asset_proto_rawDescOnce sync.Once
480 file_google_cloud_securitycenter_v1p1beta1_asset_proto_rawDescData = file_google_cloud_securitycenter_v1p1beta1_asset_proto_rawDesc
481 )
482
483 func file_google_cloud_securitycenter_v1p1beta1_asset_proto_rawDescGZIP() []byte {
484 file_google_cloud_securitycenter_v1p1beta1_asset_proto_rawDescOnce.Do(func() {
485 file_google_cloud_securitycenter_v1p1beta1_asset_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1p1beta1_asset_proto_rawDescData)
486 })
487 return file_google_cloud_securitycenter_v1p1beta1_asset_proto_rawDescData
488 }
489
490 var file_google_cloud_securitycenter_v1p1beta1_asset_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
491 var file_google_cloud_securitycenter_v1p1beta1_asset_proto_goTypes = []any{
492 (*Asset)(nil), // 0: google.cloud.securitycenter.v1p1beta1.Asset
493 (*Asset_SecurityCenterProperties)(nil), // 1: google.cloud.securitycenter.v1p1beta1.Asset.SecurityCenterProperties
494 (*Asset_IamPolicy)(nil), // 2: google.cloud.securitycenter.v1p1beta1.Asset.IamPolicy
495 nil, // 3: google.cloud.securitycenter.v1p1beta1.Asset.ResourcePropertiesEntry
496 (*SecurityMarks)(nil), // 4: google.cloud.securitycenter.v1p1beta1.SecurityMarks
497 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
498 (*Folder)(nil), // 6: google.cloud.securitycenter.v1p1beta1.Folder
499 (*structpb.Value)(nil), // 7: google.protobuf.Value
500 }
501 var file_google_cloud_securitycenter_v1p1beta1_asset_proto_depIdxs = []int32{
502 1, // 0: google.cloud.securitycenter.v1p1beta1.Asset.security_center_properties:type_name -> google.cloud.securitycenter.v1p1beta1.Asset.SecurityCenterProperties
503 3, // 1: google.cloud.securitycenter.v1p1beta1.Asset.resource_properties:type_name -> google.cloud.securitycenter.v1p1beta1.Asset.ResourcePropertiesEntry
504 4, // 2: google.cloud.securitycenter.v1p1beta1.Asset.security_marks:type_name -> google.cloud.securitycenter.v1p1beta1.SecurityMarks
505 5, // 3: google.cloud.securitycenter.v1p1beta1.Asset.create_time:type_name -> google.protobuf.Timestamp
506 5, // 4: google.cloud.securitycenter.v1p1beta1.Asset.update_time:type_name -> google.protobuf.Timestamp
507 2, // 5: google.cloud.securitycenter.v1p1beta1.Asset.iam_policy:type_name -> google.cloud.securitycenter.v1p1beta1.Asset.IamPolicy
508 6, // 6: google.cloud.securitycenter.v1p1beta1.Asset.SecurityCenterProperties.folders:type_name -> google.cloud.securitycenter.v1p1beta1.Folder
509 7, // 7: google.cloud.securitycenter.v1p1beta1.Asset.ResourcePropertiesEntry.value:type_name -> google.protobuf.Value
510 8, // [8:8] is the sub-list for method output_type
511 8, // [8:8] is the sub-list for method input_type
512 8, // [8:8] is the sub-list for extension type_name
513 8, // [8:8] is the sub-list for extension extendee
514 0, // [0:8] is the sub-list for field type_name
515 }
516
517 func init() { file_google_cloud_securitycenter_v1p1beta1_asset_proto_init() }
518 func file_google_cloud_securitycenter_v1p1beta1_asset_proto_init() {
519 if File_google_cloud_securitycenter_v1p1beta1_asset_proto != nil {
520 return
521 }
522 file_google_cloud_securitycenter_v1p1beta1_folder_proto_init()
523 file_google_cloud_securitycenter_v1p1beta1_security_marks_proto_init()
524 type x struct{}
525 out := protoimpl.TypeBuilder{
526 File: protoimpl.DescBuilder{
527 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
528 RawDescriptor: file_google_cloud_securitycenter_v1p1beta1_asset_proto_rawDesc,
529 NumEnums: 0,
530 NumMessages: 4,
531 NumExtensions: 0,
532 NumServices: 0,
533 },
534 GoTypes: file_google_cloud_securitycenter_v1p1beta1_asset_proto_goTypes,
535 DependencyIndexes: file_google_cloud_securitycenter_v1p1beta1_asset_proto_depIdxs,
536 MessageInfos: file_google_cloud_securitycenter_v1p1beta1_asset_proto_msgTypes,
537 }.Build()
538 File_google_cloud_securitycenter_v1p1beta1_asset_proto = out.File
539 file_google_cloud_securitycenter_v1p1beta1_asset_proto_rawDesc = nil
540 file_google_cloud_securitycenter_v1p1beta1_asset_proto_goTypes = nil
541 file_google_cloud_securitycenter_v1p1beta1_asset_proto_depIdxs = nil
542 }