Debian Codegraph @

securitycenter/apiv2/securitycenterpb/resource.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/resource.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 // The cloud provider the finding pertains to.
39 type CloudProvider int32
40
41 const (
42 // The cloud provider is unspecified.
43 CloudProvider_CLOUD_PROVIDER_UNSPECIFIED CloudProvider = 0
44 // The cloud provider is Google Cloud.
45 CloudProvider_GOOGLE_CLOUD_PLATFORM CloudProvider = 1
46 // The cloud provider is Amazon Web Services.
47 CloudProvider_AMAZON_WEB_SERVICES CloudProvider = 2
48 // The cloud provider is Microsoft Azure.
49 CloudProvider_MICROSOFT_AZURE CloudProvider = 3
50 )
51
52 // Enum value maps for CloudProvider.
53 var (
54 CloudProvider_name = map[int32]string{
55 0: "CLOUD_PROVIDER_UNSPECIFIED",
56 1: "GOOGLE_CLOUD_PLATFORM",
57 2: "AMAZON_WEB_SERVICES",
58 3: "MICROSOFT_AZURE",
59 }
60 CloudProvider_value = map[string]int32{
61 "CLOUD_PROVIDER_UNSPECIFIED": 0,
62 "GOOGLE_CLOUD_PLATFORM": 1,
63 "AMAZON_WEB_SERVICES": 2,
64 "MICROSOFT_AZURE": 3,
65 }
66 )
67
68 func (x CloudProvider) Enum() *CloudProvider {
69 p := new(CloudProvider)
70 *p = x
71 return p
72 }
73
74 func (x CloudProvider) String() string {
75 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
76 }
77
78 func (CloudProvider) Descriptor() protoreflect.EnumDescriptor {
79 return file_google_cloud_securitycenter_v2_resource_proto_enumTypes[0].Descriptor()
80 }
81
82 func (CloudProvider) Type() protoreflect.EnumType {
83 return &file_google_cloud_securitycenter_v2_resource_proto_enumTypes[0]
84 }
85
86 func (x CloudProvider) Number() protoreflect.EnumNumber {
87 return protoreflect.EnumNumber(x)
88 }
89
90 // Deprecated: Use CloudProvider.Descriptor instead.
91 func (CloudProvider) EnumDescriptor() ([]byte, []int) {
92 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{0}
93 }
94
95 // The type of resource the node represents.
96 type ResourcePath_ResourcePathNodeType int32
97
98 const (
99 // Node type is unspecified.
100 ResourcePath_RESOURCE_PATH_NODE_TYPE_UNSPECIFIED ResourcePath_ResourcePathNodeType = 0
101 // The node represents a Google Cloud organization.
102 ResourcePath_GCP_ORGANIZATION ResourcePath_ResourcePathNodeType = 1
103 // The node represents a Google Cloud folder.
104 ResourcePath_GCP_FOLDER ResourcePath_ResourcePathNodeType = 2
105 // The node represents a Google Cloud project.
106 ResourcePath_GCP_PROJECT ResourcePath_ResourcePathNodeType = 3
107 // The node represents an AWS organization.
108 ResourcePath_AWS_ORGANIZATION ResourcePath_ResourcePathNodeType = 4
109 // The node represents an AWS organizational unit.
110 ResourcePath_AWS_ORGANIZATIONAL_UNIT ResourcePath_ResourcePathNodeType = 5
111 // The node represents an AWS account.
112 ResourcePath_AWS_ACCOUNT ResourcePath_ResourcePathNodeType = 6
113 // The node represents an Azure management group.
114 ResourcePath_AZURE_MANAGEMENT_GROUP ResourcePath_ResourcePathNodeType = 7
115 // The node represents an Azure subscription.
116 ResourcePath_AZURE_SUBSCRIPTION ResourcePath_ResourcePathNodeType = 8
117 // The node represents an Azure resource group.
118 ResourcePath_AZURE_RESOURCE_GROUP ResourcePath_ResourcePathNodeType = 9
119 )
120
121 // Enum value maps for ResourcePath_ResourcePathNodeType.
122 var (
123 ResourcePath_ResourcePathNodeType_name = map[int32]string{
124 0: "RESOURCE_PATH_NODE_TYPE_UNSPECIFIED",
125 1: "GCP_ORGANIZATION",
126 2: "GCP_FOLDER",
127 3: "GCP_PROJECT",
128 4: "AWS_ORGANIZATION",
129 5: "AWS_ORGANIZATIONAL_UNIT",
130 6: "AWS_ACCOUNT",
131 7: "AZURE_MANAGEMENT_GROUP",
132 8: "AZURE_SUBSCRIPTION",
133 9: "AZURE_RESOURCE_GROUP",
134 }
135 ResourcePath_ResourcePathNodeType_value = map[string]int32{
136 "RESOURCE_PATH_NODE_TYPE_UNSPECIFIED": 0,
137 "GCP_ORGANIZATION": 1,
138 "GCP_FOLDER": 2,
139 "GCP_PROJECT": 3,
140 "AWS_ORGANIZATION": 4,
141 "AWS_ORGANIZATIONAL_UNIT": 5,
142 "AWS_ACCOUNT": 6,
143 "AZURE_MANAGEMENT_GROUP": 7,
144 "AZURE_SUBSCRIPTION": 8,
145 "AZURE_RESOURCE_GROUP": 9,
146 }
147 )
148
149 func (x ResourcePath_ResourcePathNodeType) Enum() *ResourcePath_ResourcePathNodeType {
150 p := new(ResourcePath_ResourcePathNodeType)
151 *p = x
152 return p
153 }
154
155 func (x ResourcePath_ResourcePathNodeType) String() string {
156 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
157 }
158
159 func (ResourcePath_ResourcePathNodeType) Descriptor() protoreflect.EnumDescriptor {
160 return file_google_cloud_securitycenter_v2_resource_proto_enumTypes[1].Descriptor()
161 }
162
163 func (ResourcePath_ResourcePathNodeType) Type() protoreflect.EnumType {
164 return &file_google_cloud_securitycenter_v2_resource_proto_enumTypes[1]
165 }
166
167 func (x ResourcePath_ResourcePathNodeType) Number() protoreflect.EnumNumber {
168 return protoreflect.EnumNumber(x)
169 }
170
171 // Deprecated: Use ResourcePath_ResourcePathNodeType.Descriptor instead.
172 func (ResourcePath_ResourcePathNodeType) EnumDescriptor() ([]byte, []int) {
173 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{4, 0}
174 }
175
176 // Information related to the Google Cloud resource.
177 type Resource struct {
178 state protoimpl.MessageState
179 sizeCache protoimpl.SizeCache
180 unknownFields protoimpl.UnknownFields
181
182 // The full resource name of the resource. See:
183 // https://cloud.google.com/apis/design/resource_names#full_resource_name
184 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
185 // The human readable name of the resource.
186 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
187 // The full resource type of the resource.
188 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
189 // Indicates which cloud provider the finding is from.
190 CloudProvider CloudProvider `protobuf:"varint,4,opt,name=cloud_provider,json=cloudProvider,proto3,enum=google.cloud.securitycenter.v2.CloudProvider" json:"cloud_provider,omitempty"`
191 // The service or resource provider associated with the resource.
192 Service string `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"`
193 // The region or location of the service (if applicable).
194 Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
195 // The metadata associated with the cloud provider.
196 //
197 // Types that are assignable to CloudProviderMetadata:
198 //
199 // *Resource_GcpMetadata
200 // *Resource_AwsMetadata
201 // *Resource_AzureMetadata
202 CloudProviderMetadata isResource_CloudProviderMetadata `protobuf_oneof:"cloud_provider_metadata"`
203 // Provides the path to the resource within the resource hierarchy.
204 ResourcePath *ResourcePath `protobuf:"bytes,10,opt,name=resource_path,json=resourcePath,proto3" json:"resource_path,omitempty"`
205 // A string representation of the resource path.
206 // For Google Cloud, it has the format of
207 // `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}`
208 // where there can be any number of folders.
209 // For AWS, it has the format of
210 // `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}`
211 // where there can be any number of organizational units.
212 // For Azure, it has the format of
213 // `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}`
214 // where there can be any number of management groups.
215 ResourcePathString string `protobuf:"bytes,11,opt,name=resource_path_string,json=resourcePathString,proto3" json:"resource_path_string,omitempty"`
216 }
217
218 func (x *Resource) Reset() {
219 *x = Resource{}
220 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[0]
221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
222 ms.StoreMessageInfo(mi)
223 }
224
225 func (x *Resource) String() string {
226 return protoimpl.X.MessageStringOf(x)
227 }
228
229 func (*Resource) ProtoMessage() {}
230
231 func (x *Resource) ProtoReflect() protoreflect.Message {
232 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[0]
233 if x != nil {
234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235 if ms.LoadMessageInfo() == nil {
236 ms.StoreMessageInfo(mi)
237 }
238 return ms
239 }
240 return mi.MessageOf(x)
241 }
242
243 // Deprecated: Use Resource.ProtoReflect.Descriptor instead.
244 func (*Resource) Descriptor() ([]byte, []int) {
245 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{0}
246 }
247
248 func (x *Resource) GetName() string {
249 if x != nil {
250 return x.Name
251 }
252 return ""
253 }
254
255 func (x *Resource) GetDisplayName() string {
256 if x != nil {
257 return x.DisplayName
258 }
259 return ""
260 }
261
262 func (x *Resource) GetType() string {
263 if x != nil {
264 return x.Type
265 }
266 return ""
267 }
268
269 func (x *Resource) GetCloudProvider() CloudProvider {
270 if x != nil {
271 return x.CloudProvider
272 }
273 return CloudProvider_CLOUD_PROVIDER_UNSPECIFIED
274 }
275
276 func (x *Resource) GetService() string {
277 if x != nil {
278 return x.Service
279 }
280 return ""
281 }
282
283 func (x *Resource) GetLocation() string {
284 if x != nil {
285 return x.Location
286 }
287 return ""
288 }
289
290 func (m *Resource) GetCloudProviderMetadata() isResource_CloudProviderMetadata {
291 if m != nil {
292 return m.CloudProviderMetadata
293 }
294 return nil
295 }
296
297 func (x *Resource) GetGcpMetadata() *GcpMetadata {
298 if x, ok := x.GetCloudProviderMetadata().(*Resource_GcpMetadata); ok {
299 return x.GcpMetadata
300 }
301 return nil
302 }
303
304 func (x *Resource) GetAwsMetadata() *AwsMetadata {
305 if x, ok := x.GetCloudProviderMetadata().(*Resource_AwsMetadata); ok {
306 return x.AwsMetadata
307 }
308 return nil
309 }
310
311 func (x *Resource) GetAzureMetadata() *AzureMetadata {
312 if x, ok := x.GetCloudProviderMetadata().(*Resource_AzureMetadata); ok {
313 return x.AzureMetadata
314 }
315 return nil
316 }
317
318 func (x *Resource) GetResourcePath() *ResourcePath {
319 if x != nil {
320 return x.ResourcePath
321 }
322 return nil
323 }
324
325 func (x *Resource) GetResourcePathString() string {
326 if x != nil {
327 return x.ResourcePathString
328 }
329 return ""
330 }
331
332 type isResource_CloudProviderMetadata interface {
333 isResource_CloudProviderMetadata()
334 }
335
336 type Resource_GcpMetadata struct {
337 // The GCP metadata associated with the finding.
338 GcpMetadata *GcpMetadata `protobuf:"bytes,7,opt,name=gcp_metadata,json=gcpMetadata,proto3,oneof"`
339 }
340
341 type Resource_AwsMetadata struct {
342 // The AWS metadata associated with the finding.
343 AwsMetadata *AwsMetadata `protobuf:"bytes,8,opt,name=aws_metadata,json=awsMetadata,proto3,oneof"`
344 }
345
346 type Resource_AzureMetadata struct {
347 // The Azure metadata associated with the finding.
348 AzureMetadata *AzureMetadata `protobuf:"bytes,9,opt,name=azure_metadata,json=azureMetadata,proto3,oneof"`
349 }
350
351 func (*Resource_GcpMetadata) isResource_CloudProviderMetadata() {}
352
353 func (*Resource_AwsMetadata) isResource_CloudProviderMetadata() {}
354
355 func (*Resource_AzureMetadata) isResource_CloudProviderMetadata() {}
356
357 // Google Cloud metadata associated with the resource. Only applicable if the
358 // finding's cloud provider is Google Cloud.
359 type GcpMetadata struct {
360 state protoimpl.MessageState
361 sizeCache protoimpl.SizeCache
362 unknownFields protoimpl.UnknownFields
363
364 // The full resource name of project that the resource belongs to.
365 Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
366 // The project ID that the resource belongs to.
367 ProjectDisplayName string `protobuf:"bytes,2,opt,name=project_display_name,json=projectDisplayName,proto3" json:"project_display_name,omitempty"`
368 // The full resource name of resource's parent.
369 Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
370 // The human readable name of resource's parent.
371 ParentDisplayName string `protobuf:"bytes,4,opt,name=parent_display_name,json=parentDisplayName,proto3" json:"parent_display_name,omitempty"`
372 // Output only. Contains a Folder message for each folder in the assets
373 // ancestry. The first folder is the deepest nested folder, and the last
374 // folder is the folder directly under the Organization.
375 Folders []*Folder `protobuf:"bytes,5,rep,name=folders,proto3" json:"folders,omitempty"`
376 // The name of the organization that the resource belongs to.
377 Organization string `protobuf:"bytes,6,opt,name=organization,proto3" json:"organization,omitempty"`
378 }
379
380 func (x *GcpMetadata) Reset() {
381 *x = GcpMetadata{}
382 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[1]
383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
384 ms.StoreMessageInfo(mi)
385 }
386
387 func (x *GcpMetadata) String() string {
388 return protoimpl.X.MessageStringOf(x)
389 }
390
391 func (*GcpMetadata) ProtoMessage() {}
392
393 func (x *GcpMetadata) ProtoReflect() protoreflect.Message {
394 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[1]
395 if x != nil {
396 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
397 if ms.LoadMessageInfo() == nil {
398 ms.StoreMessageInfo(mi)
399 }
400 return ms
401 }
402 return mi.MessageOf(x)
403 }
404
405 // Deprecated: Use GcpMetadata.ProtoReflect.Descriptor instead.
406 func (*GcpMetadata) Descriptor() ([]byte, []int) {
407 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{1}
408 }
409
410 func (x *GcpMetadata) GetProject() string {
411 if x != nil {
412 return x.Project
413 }
414 return ""
415 }
416
417 func (x *GcpMetadata) GetProjectDisplayName() string {
418 if x != nil {
419 return x.ProjectDisplayName
420 }
421 return ""
422 }
423
424 func (x *GcpMetadata) GetParent() string {
425 if x != nil {
426 return x.Parent
427 }
428 return ""
429 }
430
431 func (x *GcpMetadata) GetParentDisplayName() string {
432 if x != nil {
433 return x.ParentDisplayName
434 }
435 return ""
436 }
437
438 func (x *GcpMetadata) GetFolders() []*Folder {
439 if x != nil {
440 return x.Folders
441 }
442 return nil
443 }
444
445 func (x *GcpMetadata) GetOrganization() string {
446 if x != nil {
447 return x.Organization
448 }
449 return ""
450 }
451
452 // AWS metadata associated with the resource, only applicable if the finding's
453 // cloud provider is Amazon Web Services.
454 type AwsMetadata struct {
455 state protoimpl.MessageState
456 sizeCache protoimpl.SizeCache
457 unknownFields protoimpl.UnknownFields
458
459 // The AWS organization associated with the resource.
460 Organization *AwsMetadata_AwsOrganization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
461 // A list of AWS organizational units associated with the resource, ordered
462 // from lowest level (closest to the account) to highest level.
463 OrganizationalUnits []*AwsMetadata_AwsOrganizationalUnit `protobuf:"bytes,2,rep,name=organizational_units,json=organizationalUnits,proto3" json:"organizational_units,omitempty"`
464 // The AWS account associated with the resource.
465 Account *AwsMetadata_AwsAccount `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
466 }
467
468 func (x *AwsMetadata) Reset() {
469 *x = AwsMetadata{}
470 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[2]
471 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
472 ms.StoreMessageInfo(mi)
473 }
474
475 func (x *AwsMetadata) String() string {
476 return protoimpl.X.MessageStringOf(x)
477 }
478
479 func (*AwsMetadata) ProtoMessage() {}
480
481 func (x *AwsMetadata) ProtoReflect() protoreflect.Message {
482 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[2]
483 if x != nil {
484 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
485 if ms.LoadMessageInfo() == nil {
486 ms.StoreMessageInfo(mi)
487 }
488 return ms
489 }
490 return mi.MessageOf(x)
491 }
492
493 // Deprecated: Use AwsMetadata.ProtoReflect.Descriptor instead.
494 func (*AwsMetadata) Descriptor() ([]byte, []int) {
495 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{2}
496 }
497
498 func (x *AwsMetadata) GetOrganization() *AwsMetadata_AwsOrganization {
499 if x != nil {
500 return x.Organization
501 }
502 return nil
503 }
504
505 func (x *AwsMetadata) GetOrganizationalUnits() []*AwsMetadata_AwsOrganizationalUnit {
506 if x != nil {
507 return x.OrganizationalUnits
508 }
509 return nil
510 }
511
512 func (x *AwsMetadata) GetAccount() *AwsMetadata_AwsAccount {
513 if x != nil {
514 return x.Account
515 }
516 return nil
517 }
518
519 // Azure metadata associated with the resource, only applicable if the finding's
520 // cloud provider is Microsoft Azure.
521 type AzureMetadata struct {
522 state protoimpl.MessageState
523 sizeCache protoimpl.SizeCache
524 unknownFields protoimpl.UnknownFields
525
526 // A list of Azure management groups associated with the resource, ordered
527 // from lowest level (closest to the subscription) to highest level.
528 ManagementGroups []*AzureMetadata_AzureManagementGroup `protobuf:"bytes,1,rep,name=management_groups,json=managementGroups,proto3" json:"management_groups,omitempty"`
529 // The Azure subscription associated with the resource.
530 Subscription *AzureMetadata_AzureSubscription `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"`
531 // The Azure resource group associated with the resource.
532 ResourceGroup *AzureMetadata_AzureResourceGroup `protobuf:"bytes,3,opt,name=resource_group,json=resourceGroup,proto3" json:"resource_group,omitempty"`
533 // The Azure Entra tenant associated with the resource.
534 Tenant *AzureMetadata_AzureTenant `protobuf:"bytes,7,opt,name=tenant,proto3" json:"tenant,omitempty"`
535 }
536
537 func (x *AzureMetadata) Reset() {
538 *x = AzureMetadata{}
539 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[3]
540 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
541 ms.StoreMessageInfo(mi)
542 }
543
544 func (x *AzureMetadata) String() string {
545 return protoimpl.X.MessageStringOf(x)
546 }
547
548 func (*AzureMetadata) ProtoMessage() {}
549
550 func (x *AzureMetadata) ProtoReflect() protoreflect.Message {
551 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[3]
552 if x != nil {
553 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
554 if ms.LoadMessageInfo() == nil {
555 ms.StoreMessageInfo(mi)
556 }
557 return ms
558 }
559 return mi.MessageOf(x)
560 }
561
562 // Deprecated: Use AzureMetadata.ProtoReflect.Descriptor instead.
563 func (*AzureMetadata) Descriptor() ([]byte, []int) {
564 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{3}
565 }
566
567 func (x *AzureMetadata) GetManagementGroups() []*AzureMetadata_AzureManagementGroup {
568 if x != nil {
569 return x.ManagementGroups
570 }
571 return nil
572 }
573
574 func (x *AzureMetadata) GetSubscription() *AzureMetadata_AzureSubscription {
575 if x != nil {
576 return x.Subscription
577 }
578 return nil
579 }
580
581 func (x *AzureMetadata) GetResourceGroup() *AzureMetadata_AzureResourceGroup {
582 if x != nil {
583 return x.ResourceGroup
584 }
585 return nil
586 }
587
588 func (x *AzureMetadata) GetTenant() *AzureMetadata_AzureTenant {
589 if x != nil {
590 return x.Tenant
591 }
592 return nil
593 }
594
595 // Represents the path of resources leading up to the resource this finding is
596 // about.
597 type ResourcePath struct {
598 state protoimpl.MessageState
599 sizeCache protoimpl.SizeCache
600 unknownFields protoimpl.UnknownFields
601
602 // The list of nodes that make the up resource path, ordered from lowest
603 // level to highest level.
604 Nodes []*ResourcePath_ResourcePathNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
605 }
606
607 func (x *ResourcePath) Reset() {
608 *x = ResourcePath{}
609 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[4]
610 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
611 ms.StoreMessageInfo(mi)
612 }
613
614 func (x *ResourcePath) String() string {
615 return protoimpl.X.MessageStringOf(x)
616 }
617
618 func (*ResourcePath) ProtoMessage() {}
619
620 func (x *ResourcePath) ProtoReflect() protoreflect.Message {
621 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[4]
622 if x != nil {
623 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
624 if ms.LoadMessageInfo() == nil {
625 ms.StoreMessageInfo(mi)
626 }
627 return ms
628 }
629 return mi.MessageOf(x)
630 }
631
632 // Deprecated: Use ResourcePath.ProtoReflect.Descriptor instead.
633 func (*ResourcePath) Descriptor() ([]byte, []int) {
634 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{4}
635 }
636
637 func (x *ResourcePath) GetNodes() []*ResourcePath_ResourcePathNode {
638 if x != nil {
639 return x.Nodes
640 }
641 return nil
642 }
643
644 // An organization is a collection of accounts that are centrally managed
645 // together using consolidated billing, organized hierarchically with
646 // organizational units (OUs), and controlled with policies.
647 type AwsMetadata_AwsOrganization struct {
648 state protoimpl.MessageState
649 sizeCache protoimpl.SizeCache
650 unknownFields protoimpl.UnknownFields
651
652 // The unique identifier (ID) for the organization. The regex pattern for an
653 // organization ID string requires "o-" followed by from 10 to 32 lowercase
654 // letters or digits.
655 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
656 }
657
658 func (x *AwsMetadata_AwsOrganization) Reset() {
659 *x = AwsMetadata_AwsOrganization{}
660 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[5]
661 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
662 ms.StoreMessageInfo(mi)
663 }
664
665 func (x *AwsMetadata_AwsOrganization) String() string {
666 return protoimpl.X.MessageStringOf(x)
667 }
668
669 func (*AwsMetadata_AwsOrganization) ProtoMessage() {}
670
671 func (x *AwsMetadata_AwsOrganization) ProtoReflect() protoreflect.Message {
672 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[5]
673 if x != nil {
674 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
675 if ms.LoadMessageInfo() == nil {
676 ms.StoreMessageInfo(mi)
677 }
678 return ms
679 }
680 return mi.MessageOf(x)
681 }
682
683 // Deprecated: Use AwsMetadata_AwsOrganization.ProtoReflect.Descriptor instead.
684 func (*AwsMetadata_AwsOrganization) Descriptor() ([]byte, []int) {
685 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{2, 0}
686 }
687
688 func (x *AwsMetadata_AwsOrganization) GetId() string {
689 if x != nil {
690 return x.Id
691 }
692 return ""
693 }
694
695 // An Organizational Unit (OU) is a container of AWS accounts within a root of
696 // an organization. Policies that are attached to an OU apply to all accounts
697 // contained in that OU and in any child OUs.
698 type AwsMetadata_AwsOrganizationalUnit struct {
699 state protoimpl.MessageState
700 sizeCache protoimpl.SizeCache
701 unknownFields protoimpl.UnknownFields
702
703 // The unique identifier (ID) associated with this OU. The regex pattern for
704 // an organizational unit ID string requires "ou-" followed by from 4 to 32
705 // lowercase letters or digits (the ID of the root that contains the OU).
706 // This string is followed by a second "-" dash and from 8 to 32 additional
707 // lowercase letters or digits. For example, "ou-ab12-cd34ef56".
708 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
709 // The friendly name of the OU.
710 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
711 }
712
713 func (x *AwsMetadata_AwsOrganizationalUnit) Reset() {
714 *x = AwsMetadata_AwsOrganizationalUnit{}
715 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[6]
716 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
717 ms.StoreMessageInfo(mi)
718 }
719
720 func (x *AwsMetadata_AwsOrganizationalUnit) String() string {
721 return protoimpl.X.MessageStringOf(x)
722 }
723
724 func (*AwsMetadata_AwsOrganizationalUnit) ProtoMessage() {}
725
726 func (x *AwsMetadata_AwsOrganizationalUnit) ProtoReflect() protoreflect.Message {
727 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[6]
728 if x != nil {
729 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
730 if ms.LoadMessageInfo() == nil {
731 ms.StoreMessageInfo(mi)
732 }
733 return ms
734 }
735 return mi.MessageOf(x)
736 }
737
738 // Deprecated: Use AwsMetadata_AwsOrganizationalUnit.ProtoReflect.Descriptor instead.
739 func (*AwsMetadata_AwsOrganizationalUnit) Descriptor() ([]byte, []int) {
740 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{2, 1}
741 }
742
743 func (x *AwsMetadata_AwsOrganizationalUnit) GetId() string {
744 if x != nil {
745 return x.Id
746 }
747 return ""
748 }
749
750 func (x *AwsMetadata_AwsOrganizationalUnit) GetName() string {
751 if x != nil {
752 return x.Name
753 }
754 return ""
755 }
756
757 // An AWS account that is a member of an organization.
758 type AwsMetadata_AwsAccount struct {
759 state protoimpl.MessageState
760 sizeCache protoimpl.SizeCache
761 unknownFields protoimpl.UnknownFields
762
763 // The unique identifier (ID) of the account, containing exactly 12 digits.
764 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
765 // The friendly name of this account.
766 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
767 }
768
769 func (x *AwsMetadata_AwsAccount) Reset() {
770 *x = AwsMetadata_AwsAccount{}
771 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[7]
772 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
773 ms.StoreMessageInfo(mi)
774 }
775
776 func (x *AwsMetadata_AwsAccount) String() string {
777 return protoimpl.X.MessageStringOf(x)
778 }
779
780 func (*AwsMetadata_AwsAccount) ProtoMessage() {}
781
782 func (x *AwsMetadata_AwsAccount) ProtoReflect() protoreflect.Message {
783 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[7]
784 if x != nil {
785 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
786 if ms.LoadMessageInfo() == nil {
787 ms.StoreMessageInfo(mi)
788 }
789 return ms
790 }
791 return mi.MessageOf(x)
792 }
793
794 // Deprecated: Use AwsMetadata_AwsAccount.ProtoReflect.Descriptor instead.
795 func (*AwsMetadata_AwsAccount) Descriptor() ([]byte, []int) {
796 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{2, 2}
797 }
798
799 func (x *AwsMetadata_AwsAccount) GetId() string {
800 if x != nil {
801 return x.Id
802 }
803 return ""
804 }
805
806 func (x *AwsMetadata_AwsAccount) GetName() string {
807 if x != nil {
808 return x.Name
809 }
810 return ""
811 }
812
813 // Represents an Azure management group.
814 type AzureMetadata_AzureManagementGroup struct {
815 state protoimpl.MessageState
816 sizeCache protoimpl.SizeCache
817 unknownFields protoimpl.UnknownFields
818
819 // The UUID of the Azure management group, for example,
820 // `20000000-0001-0000-0000-000000000000`.
821 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
822 // The display name of the Azure management group.
823 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
824 }
825
826 func (x *AzureMetadata_AzureManagementGroup) Reset() {
827 *x = AzureMetadata_AzureManagementGroup{}
828 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[8]
829 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
830 ms.StoreMessageInfo(mi)
831 }
832
833 func (x *AzureMetadata_AzureManagementGroup) String() string {
834 return protoimpl.X.MessageStringOf(x)
835 }
836
837 func (*AzureMetadata_AzureManagementGroup) ProtoMessage() {}
838
839 func (x *AzureMetadata_AzureManagementGroup) ProtoReflect() protoreflect.Message {
840 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[8]
841 if x != nil {
842 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
843 if ms.LoadMessageInfo() == nil {
844 ms.StoreMessageInfo(mi)
845 }
846 return ms
847 }
848 return mi.MessageOf(x)
849 }
850
851 // Deprecated: Use AzureMetadata_AzureManagementGroup.ProtoReflect.Descriptor instead.
852 func (*AzureMetadata_AzureManagementGroup) Descriptor() ([]byte, []int) {
853 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{3, 0}
854 }
855
856 func (x *AzureMetadata_AzureManagementGroup) GetId() string {
857 if x != nil {
858 return x.Id
859 }
860 return ""
861 }
862
863 func (x *AzureMetadata_AzureManagementGroup) GetDisplayName() string {
864 if x != nil {
865 return x.DisplayName
866 }
867 return ""
868 }
869
870 // Represents an Azure subscription.
871 type AzureMetadata_AzureSubscription struct {
872 state protoimpl.MessageState
873 sizeCache protoimpl.SizeCache
874 unknownFields protoimpl.UnknownFields
875
876 // The UUID of the Azure subscription, for example,
877 // `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.
878 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
879 // The display name of the Azure subscription.
880 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
881 }
882
883 func (x *AzureMetadata_AzureSubscription) Reset() {
884 *x = AzureMetadata_AzureSubscription{}
885 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[9]
886 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
887 ms.StoreMessageInfo(mi)
888 }
889
890 func (x *AzureMetadata_AzureSubscription) String() string {
891 return protoimpl.X.MessageStringOf(x)
892 }
893
894 func (*AzureMetadata_AzureSubscription) ProtoMessage() {}
895
896 func (x *AzureMetadata_AzureSubscription) ProtoReflect() protoreflect.Message {
897 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[9]
898 if x != nil {
899 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
900 if ms.LoadMessageInfo() == nil {
901 ms.StoreMessageInfo(mi)
902 }
903 return ms
904 }
905 return mi.MessageOf(x)
906 }
907
908 // Deprecated: Use AzureMetadata_AzureSubscription.ProtoReflect.Descriptor instead.
909 func (*AzureMetadata_AzureSubscription) Descriptor() ([]byte, []int) {
910 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{3, 1}
911 }
912
913 func (x *AzureMetadata_AzureSubscription) GetId() string {
914 if x != nil {
915 return x.Id
916 }
917 return ""
918 }
919
920 func (x *AzureMetadata_AzureSubscription) GetDisplayName() string {
921 if x != nil {
922 return x.DisplayName
923 }
924 return ""
925 }
926
927 // Represents an Azure resource group.
928 type AzureMetadata_AzureResourceGroup struct {
929 state protoimpl.MessageState
930 sizeCache protoimpl.SizeCache
931 unknownFields protoimpl.UnknownFields
932
933 // The ID of the Azure resource group.
934 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
935 // The name of the Azure resource group. This is not a UUID.
936 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
937 }
938
939 func (x *AzureMetadata_AzureResourceGroup) Reset() {
940 *x = AzureMetadata_AzureResourceGroup{}
941 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[10]
942 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
943 ms.StoreMessageInfo(mi)
944 }
945
946 func (x *AzureMetadata_AzureResourceGroup) String() string {
947 return protoimpl.X.MessageStringOf(x)
948 }
949
950 func (*AzureMetadata_AzureResourceGroup) ProtoMessage() {}
951
952 func (x *AzureMetadata_AzureResourceGroup) ProtoReflect() protoreflect.Message {
953 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[10]
954 if x != nil {
955 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
956 if ms.LoadMessageInfo() == nil {
957 ms.StoreMessageInfo(mi)
958 }
959 return ms
960 }
961 return mi.MessageOf(x)
962 }
963
964 // Deprecated: Use AzureMetadata_AzureResourceGroup.ProtoReflect.Descriptor instead.
965 func (*AzureMetadata_AzureResourceGroup) Descriptor() ([]byte, []int) {
966 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{3, 2}
967 }
968
969 func (x *AzureMetadata_AzureResourceGroup) GetId() string {
970 if x != nil {
971 return x.Id
972 }
973 return ""
974 }
975
976 func (x *AzureMetadata_AzureResourceGroup) GetName() string {
977 if x != nil {
978 return x.Name
979 }
980 return ""
981 }
982
983 // Represents a Microsoft Entra tenant.
984 type AzureMetadata_AzureTenant struct {
985 state protoimpl.MessageState
986 sizeCache protoimpl.SizeCache
987 unknownFields protoimpl.UnknownFields
988
989 // The ID of the Microsoft Entra tenant, for example,
990 // "a11aaa11-aa11-1aa1-11aa-1aaa11a".
991 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
992 // The display name of the Azure tenant.
993 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
994 }
995
996 func (x *AzureMetadata_AzureTenant) Reset() {
997 *x = AzureMetadata_AzureTenant{}
998 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[11]
999 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1000 ms.StoreMessageInfo(mi)
1001 }
1002
1003 func (x *AzureMetadata_AzureTenant) String() string {
1004 return protoimpl.X.MessageStringOf(x)
1005 }
1006
1007 func (*AzureMetadata_AzureTenant) ProtoMessage() {}
1008
1009 func (x *AzureMetadata_AzureTenant) ProtoReflect() protoreflect.Message {
1010 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[11]
1011 if x != nil {
1012 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1013 if ms.LoadMessageInfo() == nil {
1014 ms.StoreMessageInfo(mi)
1015 }
1016 return ms
1017 }
1018 return mi.MessageOf(x)
1019 }
1020
1021 // Deprecated: Use AzureMetadata_AzureTenant.ProtoReflect.Descriptor instead.
1022 func (*AzureMetadata_AzureTenant) Descriptor() ([]byte, []int) {
1023 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{3, 3}
1024 }
1025
1026 func (x *AzureMetadata_AzureTenant) GetId() string {
1027 if x != nil {
1028 return x.Id
1029 }
1030 return ""
1031 }
1032
1033 func (x *AzureMetadata_AzureTenant) GetDisplayName() string {
1034 if x != nil {
1035 return x.DisplayName
1036 }
1037 return ""
1038 }
1039
1040 // A node within the resource path. Each node represents a resource within the
1041 // resource hierarchy.
1042 type ResourcePath_ResourcePathNode struct {
1043 state protoimpl.MessageState
1044 sizeCache protoimpl.SizeCache
1045 unknownFields protoimpl.UnknownFields
1046
1047 // The type of resource this node represents.
1048 NodeType ResourcePath_ResourcePathNodeType `protobuf:"varint,1,opt,name=node_type,json=nodeType,proto3,enum=google.cloud.securitycenter.v2.ResourcePath_ResourcePathNodeType" json:"node_type,omitempty"`
1049 // The ID of the resource this node represents.
1050 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
1051 // The display name of the resource this node represents.
1052 DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
1053 }
1054
1055 func (x *ResourcePath_ResourcePathNode) Reset() {
1056 *x = ResourcePath_ResourcePathNode{}
1057 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[12]
1058 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1059 ms.StoreMessageInfo(mi)
1060 }
1061
1062 func (x *ResourcePath_ResourcePathNode) String() string {
1063 return protoimpl.X.MessageStringOf(x)
1064 }
1065
1066 func (*ResourcePath_ResourcePathNode) ProtoMessage() {}
1067
1068 func (x *ResourcePath_ResourcePathNode) ProtoReflect() protoreflect.Message {
1069 mi := &file_google_cloud_securitycenter_v2_resource_proto_msgTypes[12]
1070 if x != nil {
1071 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1072 if ms.LoadMessageInfo() == nil {
1073 ms.StoreMessageInfo(mi)
1074 }
1075 return ms
1076 }
1077 return mi.MessageOf(x)
1078 }
1079
1080 // Deprecated: Use ResourcePath_ResourcePathNode.ProtoReflect.Descriptor instead.
1081 func (*ResourcePath_ResourcePathNode) Descriptor() ([]byte, []int) {
1082 return file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP(), []int{4, 0}
1083 }
1084
1085 func (x *ResourcePath_ResourcePathNode) GetNodeType() ResourcePath_ResourcePathNodeType {
1086 if x != nil {
1087 return x.NodeType
1088 }
1089 return ResourcePath_RESOURCE_PATH_NODE_TYPE_UNSPECIFIED
1090 }
1091
1092 func (x *ResourcePath_ResourcePathNode) GetId() string {
1093 if x != nil {
1094 return x.Id
1095 }
1096 return ""
1097 }
1098
1099 func (x *ResourcePath_ResourcePathNode) GetDisplayName() string {
1100 if x != nil {
1101 return x.DisplayName
1102 }
1103 return ""
1104 }
1105
1106 var File_google_cloud_securitycenter_v2_resource_proto protoreflect.FileDescriptor
1107
1108 var file_google_cloud_securitycenter_v2_resource_proto_rawDesc = []byte{
1109 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
1110 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
1111 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
1112 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65,
1113 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x1a,
1114 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
1115 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1116 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73,
1117 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f,
1118 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
1119 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x66, 0x6f, 0x6c, 0x64,
1120 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x04, 0x0a, 0x08, 0x52, 0x65, 0x73,
1121 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
1122 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73,
1123 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
1124 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
1125 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
1126 0x12, 0x54, 0x0a, 0x0e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,
1127 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1128 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
1129 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x50,
1130 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72,
1131 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
1132 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
1133 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01,
1134 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0c,
1135 0x67, 0x63, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01,
1136 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1137 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
1138 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x63, 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48,
1139 0x00, 0x52, 0x0b, 0x67, 0x63, 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x50,
1140 0x0a, 0x0c, 0x61, 0x77, 0x73, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08,
1141 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
1142 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74,
1143 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x77, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
1144 0x61, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x77, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
1145 0x12, 0x56, 0x0a, 0x0e, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
1146 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1147 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
1148 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x4d,
1149 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x7a, 0x75, 0x72, 0x65,
1150 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x51, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f,
1151 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32,
1152 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
1153 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32,
1154 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0c, 0x72,
1155 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x30, 0x0a, 0x14, 0x72,
1156 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x73, 0x74, 0x72,
1157 0x69, 0x6e, 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x65, 0x73, 0x6f, 0x75,
1158 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x42, 0x19, 0x0a,
1159 0x17, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f,
1160 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8c, 0x02, 0x0a, 0x0b, 0x47, 0x63, 0x70,
1161 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a,
1162 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65,
1163 0x63, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x69,
1164 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1165 0x52, 0x12, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
1166 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03,
1167 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13,
1168 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e,
1169 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e,
1170 0x74, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x07,
1171 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e,
1172 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63,
1173 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x46,
1174 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64,
1175 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74,
1176 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e,
1177 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc8, 0x03, 0x0a, 0x0b, 0x41, 0x77, 0x73, 0x4d,
1178 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5f, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e,
1179 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e,
1180 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63,
1181 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x41,
1182 0x77, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x77, 0x73, 0x4f, 0x72,
1183 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61,
1184 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x74, 0x0a, 0x14, 0x6f, 0x72, 0x67, 0x61,
1185 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73,
1186 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1187 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
1188 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x77, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64,
1189 0x61, 0x74, 0x61, 0x2e, 0x41, 0x77, 0x73, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74,
1190 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x6e, 0x69, 0x74, 0x52, 0x13, 0x6f, 0x72, 0x67, 0x61, 0x6e,
1191 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x50,
1192 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
1193 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
1194 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32,
1195 0x2e, 0x41, 0x77, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x77, 0x73,
1196 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
1197 0x1a, 0x21, 0x0a, 0x0f, 0x41, 0x77, 0x73, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74,
1198 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1199 0x02, 0x69, 0x64, 0x1a, 0x3b, 0x0a, 0x15, 0x41, 0x77, 0x73, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69,
1200 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x0e, 0x0a, 0x02,
1201 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,
1202 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1203 0x1a, 0x30, 0x0a, 0x0a, 0x41, 0x77, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e,
1204 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
1205 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
1206 0x6d, 0x65, 0x22, 0xb0, 0x05, 0x0a, 0x0d, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61,
1207 0x64, 0x61, 0x74, 0x61, 0x12, 0x6f, 0x0a, 0x11, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65,
1208 0x6e, 0x74, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
1209 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
1210 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32,
1211 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41,
1212 0x7a, 0x75, 0x72, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x47, 0x72,
1213 0x6f, 0x75, 0x70, 0x52, 0x10, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x47,
1214 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x63, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
1215 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f,
1216 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72,
1217 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x7a, 0x75,
1218 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65,
1219 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x73, 0x75,
1220 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x67, 0x0a, 0x0e, 0x72, 0x65,
1221 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01,
1222 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1223 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
1224 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
1225 0x61, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47,
1226 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x72,
1227 0x6f, 0x75, 0x70, 0x12, 0x51, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x07, 0x20,
1228 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1229 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
1230 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
1231 0x74, 0x61, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x52, 0x06,
1232 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x1a, 0x49, 0x0a, 0x14, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x4d,
1233 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0e,
1234 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21,
1235 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
1236 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d,
1237 0x65, 0x1a, 0x46, 0x0a, 0x11, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
1238 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
1239 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
1240 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69,
1241 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x38, 0x0a, 0x12, 0x41, 0x7a, 0x75,
1242 0x72, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
1243 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
1244 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
1245 0x61, 0x6d, 0x65, 0x1a, 0x40, 0x0a, 0x0b, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x54, 0x65, 0x6e, 0x61,
1246 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
1247 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61,
1248 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
1249 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x96, 0x04, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
1250 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x53, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18,
1251 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1252 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
1253 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50,
1254 0x61, 0x74, 0x68, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68,
1255 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x1a, 0xa5, 0x01, 0x0a, 0x10,
1256 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65,
1257 0x12, 0x5e, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
1258 0x01, 0x28, 0x0e, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1259 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
1260 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74,
1261 0x68, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x4e, 0x6f,
1262 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65,
1263 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
1264 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
1265 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e,
1266 0x61, 0x6d, 0x65, 0x22, 0x88, 0x02, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
1267 0x50, 0x61, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x23,
1268 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x50, 0x41, 0x54, 0x48, 0x5f, 0x4e, 0x4f,
1269 0x44, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
1270 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x47, 0x43, 0x50, 0x5f, 0x4f, 0x52, 0x47,
1271 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x47,
1272 0x43, 0x50, 0x5f, 0x46, 0x4f, 0x4c, 0x44, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x47,
1273 0x43, 0x50, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10,
1274 0x41, 0x57, 0x53, 0x5f, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e,
1275 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x57, 0x53, 0x5f, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49,
1276 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x5f, 0x55, 0x4e, 0x49, 0x54, 0x10, 0x05, 0x12,
1277 0x0f, 0x0a, 0x0b, 0x41, 0x57, 0x53, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x06,
1278 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45,
1279 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x07, 0x12, 0x16, 0x0a, 0x12,
1280 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x53, 0x55, 0x42, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x49,
1281 0x4f, 0x4e, 0x10, 0x08, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x52, 0x45,
1282 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x09, 0x2a, 0x78,
1283 0x0a, 0x0d, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12,
1284 0x1e, 0x0a, 0x1a, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45,
1285 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
1286 0x19, 0x0a, 0x15, 0x47, 0x4f, 0x4f, 0x47, 0x4c, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f,
1287 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x4d,
1288 0x41, 0x5a, 0x4f, 0x4e, 0x5f, 0x57, 0x45, 0x42, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45,
1289 0x53, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x4f, 0x46, 0x54,
1290 0x5f, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x10, 0x03, 0x42, 0xe7, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d,
1291 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65,
1292 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x42,
1293 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
1294 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1295 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
1296 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72,
1297 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75,
1298 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47,
1299 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75,
1300 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x1e,
1301 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63,
1302 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x32, 0xea, 0x02,
1303 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
1304 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a,
1305 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1306 }
1307
1308 var (
1309 file_google_cloud_securitycenter_v2_resource_proto_rawDescOnce sync.Once
1310 file_google_cloud_securitycenter_v2_resource_proto_rawDescData = file_google_cloud_securitycenter_v2_resource_proto_rawDesc
1311 )
1312
1313 func file_google_cloud_securitycenter_v2_resource_proto_rawDescGZIP() []byte {
1314 file_google_cloud_securitycenter_v2_resource_proto_rawDescOnce.Do(func() {
1315 file_google_cloud_securitycenter_v2_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_resource_proto_rawDescData)
1316 })
1317 return file_google_cloud_securitycenter_v2_resource_proto_rawDescData
1318 }
1319
1320 var file_google_cloud_securitycenter_v2_resource_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1321 var file_google_cloud_securitycenter_v2_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
1322 var file_google_cloud_securitycenter_v2_resource_proto_goTypes = []any{
1323 (CloudProvider)(0), // 0: google.cloud.securitycenter.v2.CloudProvider
1324 (ResourcePath_ResourcePathNodeType)(0), // 1: google.cloud.securitycenter.v2.ResourcePath.ResourcePathNodeType
1325 (*Resource)(nil), // 2: google.cloud.securitycenter.v2.Resource
1326 (*GcpMetadata)(nil), // 3: google.cloud.securitycenter.v2.GcpMetadata
1327 (*AwsMetadata)(nil), // 4: google.cloud.securitycenter.v2.AwsMetadata
1328 (*AzureMetadata)(nil), // 5: google.cloud.securitycenter.v2.AzureMetadata
1329 (*ResourcePath)(nil), // 6: google.cloud.securitycenter.v2.ResourcePath
1330 (*AwsMetadata_AwsOrganization)(nil), // 7: google.cloud.securitycenter.v2.AwsMetadata.AwsOrganization
1331 (*AwsMetadata_AwsOrganizationalUnit)(nil), // 8: google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnit
1332 (*AwsMetadata_AwsAccount)(nil), // 9: google.cloud.securitycenter.v2.AwsMetadata.AwsAccount
1333 (*AzureMetadata_AzureManagementGroup)(nil), // 10: google.cloud.securitycenter.v2.AzureMetadata.AzureManagementGroup
1334 (*AzureMetadata_AzureSubscription)(nil), // 11: google.cloud.securitycenter.v2.AzureMetadata.AzureSubscription
1335 (*AzureMetadata_AzureResourceGroup)(nil), // 12: google.cloud.securitycenter.v2.AzureMetadata.AzureResourceGroup
1336 (*AzureMetadata_AzureTenant)(nil), // 13: google.cloud.securitycenter.v2.AzureMetadata.AzureTenant
1337 (*ResourcePath_ResourcePathNode)(nil), // 14: google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode
1338 (*Folder)(nil), // 15: google.cloud.securitycenter.v2.Folder
1339 }
1340 var file_google_cloud_securitycenter_v2_resource_proto_depIdxs = []int32{
1341 0, // 0: google.cloud.securitycenter.v2.Resource.cloud_provider:type_name -> google.cloud.securitycenter.v2.CloudProvider
1342 3, // 1: google.cloud.securitycenter.v2.Resource.gcp_metadata:type_name -> google.cloud.securitycenter.v2.GcpMetadata
1343 4, // 2: google.cloud.securitycenter.v2.Resource.aws_metadata:type_name -> google.cloud.securitycenter.v2.AwsMetadata
1344 5, // 3: google.cloud.securitycenter.v2.Resource.azure_metadata:type_name -> google.cloud.securitycenter.v2.AzureMetadata
1345 6, // 4: google.cloud.securitycenter.v2.Resource.resource_path:type_name -> google.cloud.securitycenter.v2.ResourcePath
1346 15, // 5: google.cloud.securitycenter.v2.GcpMetadata.folders:type_name -> google.cloud.securitycenter.v2.Folder
1347 7, // 6: google.cloud.securitycenter.v2.AwsMetadata.organization:type_name -> google.cloud.securitycenter.v2.AwsMetadata.AwsOrganization
1348 8, // 7: google.cloud.securitycenter.v2.AwsMetadata.organizational_units:type_name -> google.cloud.securitycenter.v2.AwsMetadata.AwsOrganizationalUnit
1349 9, // 8: google.cloud.securitycenter.v2.AwsMetadata.account:type_name -> google.cloud.securitycenter.v2.AwsMetadata.AwsAccount
1350 10, // 9: google.cloud.securitycenter.v2.AzureMetadata.management_groups:type_name -> google.cloud.securitycenter.v2.AzureMetadata.AzureManagementGroup
1351 11, // 10: google.cloud.securitycenter.v2.AzureMetadata.subscription:type_name -> google.cloud.securitycenter.v2.AzureMetadata.AzureSubscription
1352 12, // 11: google.cloud.securitycenter.v2.AzureMetadata.resource_group:type_name -> google.cloud.securitycenter.v2.AzureMetadata.AzureResourceGroup
1353 13, // 12: google.cloud.securitycenter.v2.AzureMetadata.tenant:type_name -> google.cloud.securitycenter.v2.AzureMetadata.AzureTenant
1354 14, // 13: google.cloud.securitycenter.v2.ResourcePath.nodes:type_name -> google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode
1355 1, // 14: google.cloud.securitycenter.v2.ResourcePath.ResourcePathNode.node_type:type_name -> google.cloud.securitycenter.v2.ResourcePath.ResourcePathNodeType
1356 15, // [15:15] is the sub-list for method output_type
1357 15, // [15:15] is the sub-list for method input_type
1358 15, // [15:15] is the sub-list for extension type_name
1359 15, // [15:15] is the sub-list for extension extendee
1360 0, // [0:15] is the sub-list for field type_name
1361 }
1362
1363 func init() { file_google_cloud_securitycenter_v2_resource_proto_init() }
1364 func file_google_cloud_securitycenter_v2_resource_proto_init() {
1365 if File_google_cloud_securitycenter_v2_resource_proto != nil {
1366 return
1367 }
1368 file_google_cloud_securitycenter_v2_folder_proto_init()
1369 file_google_cloud_securitycenter_v2_resource_proto_msgTypes[0].OneofWrappers = []any{
1370 (*Resource_GcpMetadata)(nil),
1371 (*Resource_AwsMetadata)(nil),
1372 (*Resource_AzureMetadata)(nil),
1373 }
1374 type x struct{}
1375 out := protoimpl.TypeBuilder{
1376 File: protoimpl.DescBuilder{
1377 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1378 RawDescriptor: file_google_cloud_securitycenter_v2_resource_proto_rawDesc,
1379 NumEnums: 2,
1380 NumMessages: 13,
1381 NumExtensions: 0,
1382 NumServices: 0,
1383 },
1384 GoTypes: file_google_cloud_securitycenter_v2_resource_proto_goTypes,
1385 DependencyIndexes: file_google_cloud_securitycenter_v2_resource_proto_depIdxs,
1386 EnumInfos: file_google_cloud_securitycenter_v2_resource_proto_enumTypes,
1387 MessageInfos: file_google_cloud_securitycenter_v2_resource_proto_msgTypes,
1388 }.Build()
1389 File_google_cloud_securitycenter_v2_resource_proto = out.File
1390 file_google_cloud_securitycenter_v2_resource_proto_rawDesc = nil
1391 file_google_cloud_securitycenter_v2_resource_proto_goTypes = nil
1392 file_google_cloud_securitycenter_v2_resource_proto_depIdxs = nil
1393 }