1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package asset
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 v11 "google.golang.org/genproto/googleapis/cloud/orgpolicy/v1"
29 v1 "google.golang.org/genproto/googleapis/iam/v1"
30 v12 "google.golang.org/genproto/googleapis/identity/accesscontextmanager/v1"
31 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
33 structpb "google.golang.org/protobuf/types/known/structpb"
34 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
35 )
36
37 const (
38
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44
45
46
47
48
49
50
51
52 type Asset struct {
53 state protoimpl.MessageState
54 sizeCache protoimpl.SizeCache
55 unknownFields protoimpl.UnknownFields
56
57
58
59 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
60
61
62
63
64
65
66 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
67
68
69
70
71
72 AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
73
74 Resource *Resource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
75
76
77
78
79
80
81
82
83
84 IamPolicy *v1.Policy `protobuf:"bytes,4,opt,name=iam_policy,json=iamPolicy,proto3" json:"iam_policy,omitempty"`
85
86
87
88
89 OrgPolicy []*v11.Policy `protobuf:"bytes,6,rep,name=org_policy,json=orgPolicy,proto3" json:"org_policy,omitempty"`
90
91
92
93
94
95
96
97
98 AccessContextPolicy isAsset_AccessContextPolicy `protobuf_oneof:"access_context_policy"`
99
100
101 RelatedAssets *RelatedAssets `protobuf:"bytes,13,opt,name=related_assets,json=relatedAssets,proto3" json:"related_assets,omitempty"`
102
103
104
105
106
107
108
109
110 Ancestors []string `protobuf:"bytes,10,rep,name=ancestors,proto3" json:"ancestors,omitempty"`
111 }
112
113 func (x *Asset) Reset() {
114 *x = Asset{}
115 if protoimpl.UnsafeEnabled {
116 mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[0]
117 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
118 ms.StoreMessageInfo(mi)
119 }
120 }
121
122 func (x *Asset) String() string {
123 return protoimpl.X.MessageStringOf(x)
124 }
125
126 func (*Asset) ProtoMessage() {}
127
128 func (x *Asset) ProtoReflect() protoreflect.Message {
129 mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[0]
130 if protoimpl.UnsafeEnabled && x != nil {
131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
132 if ms.LoadMessageInfo() == nil {
133 ms.StoreMessageInfo(mi)
134 }
135 return ms
136 }
137 return mi.MessageOf(x)
138 }
139
140
141 func (*Asset) Descriptor() ([]byte, []int) {
142 return file_google_cloud_asset_v1p7beta1_assets_proto_rawDescGZIP(), []int{0}
143 }
144
145 func (x *Asset) GetUpdateTime() *timestamppb.Timestamp {
146 if x != nil {
147 return x.UpdateTime
148 }
149 return nil
150 }
151
152 func (x *Asset) GetName() string {
153 if x != nil {
154 return x.Name
155 }
156 return ""
157 }
158
159 func (x *Asset) GetAssetType() string {
160 if x != nil {
161 return x.AssetType
162 }
163 return ""
164 }
165
166 func (x *Asset) GetResource() *Resource {
167 if x != nil {
168 return x.Resource
169 }
170 return nil
171 }
172
173 func (x *Asset) GetIamPolicy() *v1.Policy {
174 if x != nil {
175 return x.IamPolicy
176 }
177 return nil
178 }
179
180 func (x *Asset) GetOrgPolicy() []*v11.Policy {
181 if x != nil {
182 return x.OrgPolicy
183 }
184 return nil
185 }
186
187 func (m *Asset) GetAccessContextPolicy() isAsset_AccessContextPolicy {
188 if m != nil {
189 return m.AccessContextPolicy
190 }
191 return nil
192 }
193
194 func (x *Asset) GetAccessPolicy() *v12.AccessPolicy {
195 if x, ok := x.GetAccessContextPolicy().(*Asset_AccessPolicy); ok {
196 return x.AccessPolicy
197 }
198 return nil
199 }
200
201 func (x *Asset) GetAccessLevel() *v12.AccessLevel {
202 if x, ok := x.GetAccessContextPolicy().(*Asset_AccessLevel); ok {
203 return x.AccessLevel
204 }
205 return nil
206 }
207
208 func (x *Asset) GetServicePerimeter() *v12.ServicePerimeter {
209 if x, ok := x.GetAccessContextPolicy().(*Asset_ServicePerimeter); ok {
210 return x.ServicePerimeter
211 }
212 return nil
213 }
214
215 func (x *Asset) GetRelatedAssets() *RelatedAssets {
216 if x != nil {
217 return x.RelatedAssets
218 }
219 return nil
220 }
221
222 func (x *Asset) GetAncestors() []string {
223 if x != nil {
224 return x.Ancestors
225 }
226 return nil
227 }
228
229 type isAsset_AccessContextPolicy interface {
230 isAsset_AccessContextPolicy()
231 }
232
233 type Asset_AccessPolicy struct {
234
235
236 AccessPolicy *v12.AccessPolicy `protobuf:"bytes,7,opt,name=access_policy,json=accessPolicy,proto3,oneof"`
237 }
238
239 type Asset_AccessLevel struct {
240
241
242 AccessLevel *v12.AccessLevel `protobuf:"bytes,8,opt,name=access_level,json=accessLevel,proto3,oneof"`
243 }
244
245 type Asset_ServicePerimeter struct {
246
247
248 ServicePerimeter *v12.ServicePerimeter `protobuf:"bytes,9,opt,name=service_perimeter,json=servicePerimeter,proto3,oneof"`
249 }
250
251 func (*Asset_AccessPolicy) isAsset_AccessContextPolicy() {}
252
253 func (*Asset_AccessLevel) isAsset_AccessContextPolicy() {}
254
255 func (*Asset_ServicePerimeter) isAsset_AccessContextPolicy() {}
256
257
258 type Resource struct {
259 state protoimpl.MessageState
260 sizeCache protoimpl.SizeCache
261 unknownFields protoimpl.UnknownFields
262
263
264 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
265
266
267
268
269
270
271 DiscoveryDocumentUri string `protobuf:"bytes,2,opt,name=discovery_document_uri,json=discoveryDocumentUri,proto3" json:"discovery_document_uri,omitempty"`
272
273
274
275
276
277 DiscoveryName string `protobuf:"bytes,3,opt,name=discovery_name,json=discoveryName,proto3" json:"discovery_name,omitempty"`
278
279
280
281
282
283 ResourceUrl string `protobuf:"bytes,4,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"`
284
285
286
287
288
289
290
291
292
293
294
295
296 Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
297
298
299 Data *structpb.Struct `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
300
301
302 Location string `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"`
303 }
304
305 func (x *Resource) Reset() {
306 *x = Resource{}
307 if protoimpl.UnsafeEnabled {
308 mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[1]
309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
310 ms.StoreMessageInfo(mi)
311 }
312 }
313
314 func (x *Resource) String() string {
315 return protoimpl.X.MessageStringOf(x)
316 }
317
318 func (*Resource) ProtoMessage() {}
319
320 func (x *Resource) ProtoReflect() protoreflect.Message {
321 mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[1]
322 if protoimpl.UnsafeEnabled && x != nil {
323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
324 if ms.LoadMessageInfo() == nil {
325 ms.StoreMessageInfo(mi)
326 }
327 return ms
328 }
329 return mi.MessageOf(x)
330 }
331
332
333 func (*Resource) Descriptor() ([]byte, []int) {
334 return file_google_cloud_asset_v1p7beta1_assets_proto_rawDescGZIP(), []int{1}
335 }
336
337 func (x *Resource) GetVersion() string {
338 if x != nil {
339 return x.Version
340 }
341 return ""
342 }
343
344 func (x *Resource) GetDiscoveryDocumentUri() string {
345 if x != nil {
346 return x.DiscoveryDocumentUri
347 }
348 return ""
349 }
350
351 func (x *Resource) GetDiscoveryName() string {
352 if x != nil {
353 return x.DiscoveryName
354 }
355 return ""
356 }
357
358 func (x *Resource) GetResourceUrl() string {
359 if x != nil {
360 return x.ResourceUrl
361 }
362 return ""
363 }
364
365 func (x *Resource) GetParent() string {
366 if x != nil {
367 return x.Parent
368 }
369 return ""
370 }
371
372 func (x *Resource) GetData() *structpb.Struct {
373 if x != nil {
374 return x.Data
375 }
376 return nil
377 }
378
379 func (x *Resource) GetLocation() string {
380 if x != nil {
381 return x.Location
382 }
383 return ""
384 }
385
386
387 type RelatedAssets struct {
388 state protoimpl.MessageState
389 sizeCache protoimpl.SizeCache
390 unknownFields protoimpl.UnknownFields
391
392
393 RelationshipAttributes *RelationshipAttributes `protobuf:"bytes,1,opt,name=relationship_attributes,json=relationshipAttributes,proto3" json:"relationship_attributes,omitempty"`
394
395 Assets []*RelatedAsset `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"`
396 }
397
398 func (x *RelatedAssets) Reset() {
399 *x = RelatedAssets{}
400 if protoimpl.UnsafeEnabled {
401 mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[2]
402 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
403 ms.StoreMessageInfo(mi)
404 }
405 }
406
407 func (x *RelatedAssets) String() string {
408 return protoimpl.X.MessageStringOf(x)
409 }
410
411 func (*RelatedAssets) ProtoMessage() {}
412
413 func (x *RelatedAssets) ProtoReflect() protoreflect.Message {
414 mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[2]
415 if protoimpl.UnsafeEnabled && x != nil {
416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
417 if ms.LoadMessageInfo() == nil {
418 ms.StoreMessageInfo(mi)
419 }
420 return ms
421 }
422 return mi.MessageOf(x)
423 }
424
425
426 func (*RelatedAssets) Descriptor() ([]byte, []int) {
427 return file_google_cloud_asset_v1p7beta1_assets_proto_rawDescGZIP(), []int{2}
428 }
429
430 func (x *RelatedAssets) GetRelationshipAttributes() *RelationshipAttributes {
431 if x != nil {
432 return x.RelationshipAttributes
433 }
434 return nil
435 }
436
437 func (x *RelatedAssets) GetAssets() []*RelatedAsset {
438 if x != nil {
439 return x.Assets
440 }
441 return nil
442 }
443
444
445
446 type RelationshipAttributes struct {
447 state protoimpl.MessageState
448 sizeCache protoimpl.SizeCache
449 unknownFields protoimpl.UnknownFields
450
451
452
453 Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
454
455 SourceResourceType string `protobuf:"bytes,1,opt,name=source_resource_type,json=sourceResourceType,proto3" json:"source_resource_type,omitempty"`
456
457 TargetResourceType string `protobuf:"bytes,2,opt,name=target_resource_type,json=targetResourceType,proto3" json:"target_resource_type,omitempty"`
458
459 Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
460 }
461
462 func (x *RelationshipAttributes) Reset() {
463 *x = RelationshipAttributes{}
464 if protoimpl.UnsafeEnabled {
465 mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[3]
466 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
467 ms.StoreMessageInfo(mi)
468 }
469 }
470
471 func (x *RelationshipAttributes) String() string {
472 return protoimpl.X.MessageStringOf(x)
473 }
474
475 func (*RelationshipAttributes) ProtoMessage() {}
476
477 func (x *RelationshipAttributes) ProtoReflect() protoreflect.Message {
478 mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[3]
479 if protoimpl.UnsafeEnabled && x != nil {
480 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
481 if ms.LoadMessageInfo() == nil {
482 ms.StoreMessageInfo(mi)
483 }
484 return ms
485 }
486 return mi.MessageOf(x)
487 }
488
489
490 func (*RelationshipAttributes) Descriptor() ([]byte, []int) {
491 return file_google_cloud_asset_v1p7beta1_assets_proto_rawDescGZIP(), []int{3}
492 }
493
494 func (x *RelationshipAttributes) GetType() string {
495 if x != nil {
496 return x.Type
497 }
498 return ""
499 }
500
501 func (x *RelationshipAttributes) GetSourceResourceType() string {
502 if x != nil {
503 return x.SourceResourceType
504 }
505 return ""
506 }
507
508 func (x *RelationshipAttributes) GetTargetResourceType() string {
509 if x != nil {
510 return x.TargetResourceType
511 }
512 return ""
513 }
514
515 func (x *RelationshipAttributes) GetAction() string {
516 if x != nil {
517 return x.Action
518 }
519 return ""
520 }
521
522
523
524
525
526
527
528
529
530 type RelatedAsset struct {
531 state protoimpl.MessageState
532 sizeCache protoimpl.SizeCache
533 unknownFields protoimpl.UnknownFields
534
535
536
537
538
539
540
541 Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
542
543
544
545
546
547 AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
548
549
550
551
552
553
554 Ancestors []string `protobuf:"bytes,3,rep,name=ancestors,proto3" json:"ancestors,omitempty"`
555 }
556
557 func (x *RelatedAsset) Reset() {
558 *x = RelatedAsset{}
559 if protoimpl.UnsafeEnabled {
560 mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[4]
561 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
562 ms.StoreMessageInfo(mi)
563 }
564 }
565
566 func (x *RelatedAsset) String() string {
567 return protoimpl.X.MessageStringOf(x)
568 }
569
570 func (*RelatedAsset) ProtoMessage() {}
571
572 func (x *RelatedAsset) ProtoReflect() protoreflect.Message {
573 mi := &file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[4]
574 if protoimpl.UnsafeEnabled && x != nil {
575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
576 if ms.LoadMessageInfo() == nil {
577 ms.StoreMessageInfo(mi)
578 }
579 return ms
580 }
581 return mi.MessageOf(x)
582 }
583
584
585 func (*RelatedAsset) Descriptor() ([]byte, []int) {
586 return file_google_cloud_asset_v1p7beta1_assets_proto_rawDescGZIP(), []int{4}
587 }
588
589 func (x *RelatedAsset) GetAsset() string {
590 if x != nil {
591 return x.Asset
592 }
593 return ""
594 }
595
596 func (x *RelatedAsset) GetAssetType() string {
597 if x != nil {
598 return x.AssetType
599 }
600 return ""
601 }
602
603 func (x *RelatedAsset) GetAncestors() []string {
604 if x != nil {
605 return x.Ancestors
606 }
607 return nil
608 }
609
610 var File_google_cloud_asset_v1p7beta1_assets_proto protoreflect.FileDescriptor
611
612 var file_google_cloud_asset_v1p7beta1_assets_proto_rawDesc = []byte{
613 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
614 0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61,
615 0x73, 0x73, 0x65, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x67, 0x6f, 0x6f,
616 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e,
617 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
618 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
619 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f,
620 0x75, 0x64, 0x2f, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2f, 0x76, 0x31, 0x2f,
621 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
622 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70,
623 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x6f, 0x6f,
624 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x61, 0x63, 0x63,
625 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
626 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x65, 0x76, 0x65,
627 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
628 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63,
629 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x76, 0x31,
630 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70,
631 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x64, 0x65,
632 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74,
633 0x65, 0x78, 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65,
634 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e,
635 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
636 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72,
637 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
638 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
639 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x06, 0x0a, 0x05, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x3b,
640 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20,
641 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
642 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
643 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
644 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
645 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
646 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x42,
647 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
648 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
649 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
650 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
651 0x63, 0x65, 0x12, 0x34, 0x0a, 0x0a, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
652 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
653 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, 0x69,
654 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x40, 0x0a, 0x0a, 0x6f, 0x72, 0x67, 0x5f,
655 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67,
656 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70,
657 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
658 0x09, 0x6f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x5c, 0x0a, 0x0d, 0x61, 0x63,
659 0x63, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28,
660 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74,
661 0x69, 0x74, 0x79, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78,
662 0x74, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65,
663 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x65,
664 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x59, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65,
665 0x73, 0x73, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34,
666 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
667 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61,
668 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c,
669 0x65, 0x76, 0x65, 0x6c, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x65,
670 0x76, 0x65, 0x6c, 0x12, 0x68, 0x0a, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70,
671 0x65, 0x72, 0x69, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39,
672 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
673 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x6d, 0x61,
674 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
675 0x50, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x10, 0x73, 0x65, 0x72,
676 0x76, 0x69, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x52, 0x0a,
677 0x0e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x18,
678 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
679 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62,
680 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65,
681 0x74, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74,
682 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x0a,
683 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x3a,
684 0x27, 0xea, 0x41, 0x24, 0x0a, 0x1f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74,
685 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
686 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x01, 0x2a, 0x42, 0x17, 0x0a, 0x15, 0x61, 0x63, 0x63, 0x65,
687 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
688 0x79, 0x22, 0x85, 0x02, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18,
689 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
690 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x69, 0x73, 0x63,
691 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x75,
692 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76,
693 0x65, 0x72, 0x79, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x72, 0x69, 0x12, 0x25,
694 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
695 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72,
696 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
697 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73,
698 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
699 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
700 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
701 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
702 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a,
703 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
704 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc2, 0x01, 0x0a, 0x0d, 0x52, 0x65,
705 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x6d, 0x0a, 0x17, 0x72,
706 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x61, 0x74, 0x74, 0x72,
707 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67,
708 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65,
709 0x74, 0x2e, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61,
710 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
711 0x65, 0x73, 0x52, 0x16, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70,
712 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x06, 0x61, 0x73,
713 0x73, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f,
714 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e,
715 0x76, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65,
716 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x22, 0xa8,
717 0x01, 0x0a, 0x16, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x41,
718 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
719 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a,
720 0x14, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
721 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x6f, 0x75,
722 0x72, 0x63, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
723 0x30, 0x0a, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
724 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x74,
725 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70,
726 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
727 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x01, 0x0a, 0x0c, 0x52, 0x65,
728 0x6c, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x3a, 0x0a, 0x05, 0x61, 0x73,
729 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xfa, 0x41, 0x21, 0x0a, 0x1f,
730 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
731 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x73, 0x73, 0x65, 0x74, 0x52,
732 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f,
733 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65,
734 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f,
735 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74,
736 0x6f, 0x72, 0x73, 0x42, 0xb4, 0x01, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
737 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76,
738 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0a, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50,
739 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
740 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
741 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c,
742 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x37, 0x62, 0x65,
743 0x74, 0x61, 0x31, 0x3b, 0x61, 0x73, 0x73, 0x65, 0x74, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x1c, 0x47,
744 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x73, 0x73, 0x65,
745 0x74, 0x2e, 0x56, 0x31, 0x50, 0x37, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1c, 0x47, 0x6f,
746 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x73, 0x73, 0x65, 0x74,
747 0x5c, 0x56, 0x31, 0x70, 0x37, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
748 0x6f, 0x33,
749 }
750
751 var (
752 file_google_cloud_asset_v1p7beta1_assets_proto_rawDescOnce sync.Once
753 file_google_cloud_asset_v1p7beta1_assets_proto_rawDescData = file_google_cloud_asset_v1p7beta1_assets_proto_rawDesc
754 )
755
756 func file_google_cloud_asset_v1p7beta1_assets_proto_rawDescGZIP() []byte {
757 file_google_cloud_asset_v1p7beta1_assets_proto_rawDescOnce.Do(func() {
758 file_google_cloud_asset_v1p7beta1_assets_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_asset_v1p7beta1_assets_proto_rawDescData)
759 })
760 return file_google_cloud_asset_v1p7beta1_assets_proto_rawDescData
761 }
762
763 var file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
764 var file_google_cloud_asset_v1p7beta1_assets_proto_goTypes = []interface{}{
765 (*Asset)(nil),
766 (*Resource)(nil),
767 (*RelatedAssets)(nil),
768 (*RelationshipAttributes)(nil),
769 (*RelatedAsset)(nil),
770 (*timestamppb.Timestamp)(nil),
771 (*v1.Policy)(nil),
772 (*v11.Policy)(nil),
773 (*v12.AccessPolicy)(nil),
774 (*v12.AccessLevel)(nil),
775 (*v12.ServicePerimeter)(nil),
776 (*structpb.Struct)(nil),
777 }
778 var file_google_cloud_asset_v1p7beta1_assets_proto_depIdxs = []int32{
779 5,
780 1,
781 6,
782 7,
783 8,
784 9,
785 10,
786 2,
787 11,
788 3,
789 4,
790 11,
791 11,
792 11,
793 11,
794 0,
795 }
796
797 func init() { file_google_cloud_asset_v1p7beta1_assets_proto_init() }
798 func file_google_cloud_asset_v1p7beta1_assets_proto_init() {
799 if File_google_cloud_asset_v1p7beta1_assets_proto != nil {
800 return
801 }
802 if !protoimpl.UnsafeEnabled {
803 file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
804 switch v := v.(*Asset); i {
805 case 0:
806 return &v.state
807 case 1:
808 return &v.sizeCache
809 case 2:
810 return &v.unknownFields
811 default:
812 return nil
813 }
814 }
815 file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
816 switch v := v.(*Resource); i {
817 case 0:
818 return &v.state
819 case 1:
820 return &v.sizeCache
821 case 2:
822 return &v.unknownFields
823 default:
824 return nil
825 }
826 }
827 file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
828 switch v := v.(*RelatedAssets); i {
829 case 0:
830 return &v.state
831 case 1:
832 return &v.sizeCache
833 case 2:
834 return &v.unknownFields
835 default:
836 return nil
837 }
838 }
839 file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
840 switch v := v.(*RelationshipAttributes); i {
841 case 0:
842 return &v.state
843 case 1:
844 return &v.sizeCache
845 case 2:
846 return &v.unknownFields
847 default:
848 return nil
849 }
850 }
851 file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
852 switch v := v.(*RelatedAsset); i {
853 case 0:
854 return &v.state
855 case 1:
856 return &v.sizeCache
857 case 2:
858 return &v.unknownFields
859 default:
860 return nil
861 }
862 }
863 }
864 file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes[0].OneofWrappers = []interface{}{
865 (*Asset_AccessPolicy)(nil),
866 (*Asset_AccessLevel)(nil),
867 (*Asset_ServicePerimeter)(nil),
868 }
869 type x struct{}
870 out := protoimpl.TypeBuilder{
871 File: protoimpl.DescBuilder{
872 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
873 RawDescriptor: file_google_cloud_asset_v1p7beta1_assets_proto_rawDesc,
874 NumEnums: 0,
875 NumMessages: 5,
876 NumExtensions: 0,
877 NumServices: 0,
878 },
879 GoTypes: file_google_cloud_asset_v1p7beta1_assets_proto_goTypes,
880 DependencyIndexes: file_google_cloud_asset_v1p7beta1_assets_proto_depIdxs,
881 MessageInfos: file_google_cloud_asset_v1p7beta1_assets_proto_msgTypes,
882 }.Build()
883 File_google_cloud_asset_v1p7beta1_assets_proto = out.File
884 file_google_cloud_asset_v1p7beta1_assets_proto_rawDesc = nil
885 file_google_cloud_asset_v1p7beta1_assets_proto_goTypes = nil
886 file_google_cloud_asset_v1p7beta1_assets_proto_depIdxs = nil
887 }
888
View as plain text