Debian Codegraph @

googleapis/cloud/gkehub/cloudauditlogging/v1alpha/cloudauditlogging.pb.go

raw
1 // Copyright 2021 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.26.0
18 // protoc v3.12.2
19 // source: google/cloud/gkehub/v1alpha/cloudauditlogging/cloudauditlogging.proto
20
21 package cloudauditlogging
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
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 // **Cloud Audit Logging**: Spec for Audit Logging Allowlisting.
39 type FeatureSpec struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Service account that should be allowlisted to send the audit logs; eg
45 // [email protected]. These accounts must
46 // already exist, but do not need to have any permissions granted to them.
47 // The customer's entitlements will be checked prior to allowlisting (i.e.
48 // the customer must be an Anthos customer.)
49 AllowlistedServiceAccounts []string `protobuf:"bytes,1,rep,name=allowlisted_service_accounts,json=allowlistedServiceAccounts,proto3" json:"allowlisted_service_accounts,omitempty"`
50 }
51
52 func (x *FeatureSpec) Reset() {
53 *x = FeatureSpec{}
54 if protoimpl.UnsafeEnabled {
55 mi := &file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_msgTypes[0]
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 ms.StoreMessageInfo(mi)
58 }
59 }
60
61 func (x *FeatureSpec) String() string {
62 return protoimpl.X.MessageStringOf(x)
63 }
64
65 func (*FeatureSpec) ProtoMessage() {}
66
67 func (x *FeatureSpec) ProtoReflect() protoreflect.Message {
68 mi := &file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_msgTypes[0]
69 if protoimpl.UnsafeEnabled && x != nil {
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 if ms.LoadMessageInfo() == nil {
72 ms.StoreMessageInfo(mi)
73 }
74 return ms
75 }
76 return mi.MessageOf(x)
77 }
78
79 // Deprecated: Use FeatureSpec.ProtoReflect.Descriptor instead.
80 func (*FeatureSpec) Descriptor() ([]byte, []int) {
81 return file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_rawDescGZIP(), []int{0}
82 }
83
84 func (x *FeatureSpec) GetAllowlistedServiceAccounts() []string {
85 if x != nil {
86 return x.AllowlistedServiceAccounts
87 }
88 return nil
89 }
90
91 var File_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto protoreflect.FileDescriptor
92
93 var file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_rawDesc = []byte{
94 0x0a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67,
95 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x6c,
96 0x6f, 0x75, 0x64, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f,
97 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e,
98 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
99 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6c, 0x6f,
100 0x75, 0x64, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76,
101 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x4f, 0x0a, 0x0b, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
102 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x40, 0x0a, 0x1c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69,
103 0x73, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63,
104 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x1a, 0x61, 0x6c, 0x6c,
105 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41,
106 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x42, 0xc1, 0x02, 0x0a, 0x31, 0x63, 0x6f, 0x6d, 0x2e,
107 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65,
108 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f,
109 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x16, 0x43,
110 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
111 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
112 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
113 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63,
114 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, 0x65, 0x68, 0x75, 0x62, 0x2f, 0x63, 0x6c, 0x6f, 0x75,
115 0x64, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31,
116 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x61, 0x75, 0x64, 0x69, 0x74,
117 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x2d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
118 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x2e, 0x43, 0x6c,
119 0x6f, 0x75, 0x64, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e,
120 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x2d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
121 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x5c, 0x43, 0x6c,
122 0x6f, 0x75, 0x64, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5c,
123 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xea, 0x02, 0x31, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
124 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x47, 0x6b, 0x65, 0x48, 0x75, 0x62, 0x3a,
125 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x67, 0x69,
126 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f,
127 0x74, 0x6f, 0x33,
128 }
129
130 var (
131 file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_rawDescOnce sync.Once
132 file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_rawDescData = file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_rawDesc
133 )
134
135 func file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_rawDescGZIP() []byte {
136 file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_rawDescOnce.Do(func() {
137 file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_rawDescData)
138 })
139 return file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_rawDescData
140 }
141
142 var file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
143 var file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_goTypes = []interface{}{
144 (*FeatureSpec)(nil), // 0: google.cloud.gkehub.cloudauditlogging.v1alpha.FeatureSpec
145 }
146 var file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_depIdxs = []int32{
147 0, // [0:0] is the sub-list for method output_type
148 0, // [0:0] is the sub-list for method input_type
149 0, // [0:0] is the sub-list for extension type_name
150 0, // [0:0] is the sub-list for extension extendee
151 0, // [0:0] is the sub-list for field type_name
152 }
153
154 func init() { file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_init() }
155 func file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_init() {
156 if File_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto != nil {
157 return
158 }
159 if !protoimpl.UnsafeEnabled {
160 file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
161 switch v := v.(*FeatureSpec); i {
162 case 0:
163 return &v.state
164 case 1:
165 return &v.sizeCache
166 case 2:
167 return &v.unknownFields
168 default:
169 return nil
170 }
171 }
172 }
173 type x struct{}
174 out := protoimpl.TypeBuilder{
175 File: protoimpl.DescBuilder{
176 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
177 RawDescriptor: file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_rawDesc,
178 NumEnums: 0,
179 NumMessages: 1,
180 NumExtensions: 0,
181 NumServices: 0,
182 },
183 GoTypes: file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_goTypes,
184 DependencyIndexes: file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_depIdxs,
185 MessageInfos: file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_msgTypes,
186 }.Build()
187 File_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto = out.File
188 file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_rawDesc = nil
189 file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_goTypes = nil
190 file_google_cloud_gkehub_v1alpha_cloudauditlogging_cloudauditlogging_proto_depIdxs = nil
191 }