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 v1 "google.golang.org/genproto/googleapis/iam/v1"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40 type StandardResourceMetadata struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45
46
47
48
49
50 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
51
52
53 AssetType string `protobuf:"bytes,2,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"`
54
55
56 Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
57
58 DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
59
60
61 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
62
63
64
65 AdditionalAttributes []string `protobuf:"bytes,10,rep,name=additional_attributes,json=additionalAttributes,proto3" json:"additional_attributes,omitempty"`
66
67
68 Location string `protobuf:"bytes,11,opt,name=location,proto3" json:"location,omitempty"`
69
70
71
72
73 Labels map[string]string `protobuf:"bytes,12,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
74
75
76
77
78
79 NetworkTags []string `protobuf:"bytes,13,rep,name=network_tags,json=networkTags,proto3" json:"network_tags,omitempty"`
80 }
81
82 func (x *StandardResourceMetadata) Reset() {
83 *x = StandardResourceMetadata{}
84 if protoimpl.UnsafeEnabled {
85 mi := &file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes[0]
86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
87 ms.StoreMessageInfo(mi)
88 }
89 }
90
91 func (x *StandardResourceMetadata) String() string {
92 return protoimpl.X.MessageStringOf(x)
93 }
94
95 func (*StandardResourceMetadata) ProtoMessage() {}
96
97 func (x *StandardResourceMetadata) ProtoReflect() protoreflect.Message {
98 mi := &file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes[0]
99 if protoimpl.UnsafeEnabled && x != nil {
100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
101 if ms.LoadMessageInfo() == nil {
102 ms.StoreMessageInfo(mi)
103 }
104 return ms
105 }
106 return mi.MessageOf(x)
107 }
108
109
110 func (*StandardResourceMetadata) Descriptor() ([]byte, []int) {
111 return file_google_cloud_asset_v1p1beta1_assets_proto_rawDescGZIP(), []int{0}
112 }
113
114 func (x *StandardResourceMetadata) GetName() string {
115 if x != nil {
116 return x.Name
117 }
118 return ""
119 }
120
121 func (x *StandardResourceMetadata) GetAssetType() string {
122 if x != nil {
123 return x.AssetType
124 }
125 return ""
126 }
127
128 func (x *StandardResourceMetadata) GetProject() string {
129 if x != nil {
130 return x.Project
131 }
132 return ""
133 }
134
135 func (x *StandardResourceMetadata) GetDisplayName() string {
136 if x != nil {
137 return x.DisplayName
138 }
139 return ""
140 }
141
142 func (x *StandardResourceMetadata) GetDescription() string {
143 if x != nil {
144 return x.Description
145 }
146 return ""
147 }
148
149 func (x *StandardResourceMetadata) GetAdditionalAttributes() []string {
150 if x != nil {
151 return x.AdditionalAttributes
152 }
153 return nil
154 }
155
156 func (x *StandardResourceMetadata) GetLocation() string {
157 if x != nil {
158 return x.Location
159 }
160 return ""
161 }
162
163 func (x *StandardResourceMetadata) GetLabels() map[string]string {
164 if x != nil {
165 return x.Labels
166 }
167 return nil
168 }
169
170 func (x *StandardResourceMetadata) GetNetworkTags() []string {
171 if x != nil {
172 return x.NetworkTags
173 }
174 return nil
175 }
176
177
178 type IamPolicySearchResult struct {
179 state protoimpl.MessageState
180 sizeCache protoimpl.SizeCache
181 unknownFields protoimpl.UnknownFields
182
183
184
185
186
187 Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
188
189
190
191
192
193
194 Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
195
196
197
198
199 Policy *v1.Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
200
201
202 Explanation *IamPolicySearchResult_Explanation `protobuf:"bytes,5,opt,name=explanation,proto3" json:"explanation,omitempty"`
203 }
204
205 func (x *IamPolicySearchResult) Reset() {
206 *x = IamPolicySearchResult{}
207 if protoimpl.UnsafeEnabled {
208 mi := &file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes[1]
209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
210 ms.StoreMessageInfo(mi)
211 }
212 }
213
214 func (x *IamPolicySearchResult) String() string {
215 return protoimpl.X.MessageStringOf(x)
216 }
217
218 func (*IamPolicySearchResult) ProtoMessage() {}
219
220 func (x *IamPolicySearchResult) ProtoReflect() protoreflect.Message {
221 mi := &file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes[1]
222 if protoimpl.UnsafeEnabled && x != nil {
223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
224 if ms.LoadMessageInfo() == nil {
225 ms.StoreMessageInfo(mi)
226 }
227 return ms
228 }
229 return mi.MessageOf(x)
230 }
231
232
233 func (*IamPolicySearchResult) Descriptor() ([]byte, []int) {
234 return file_google_cloud_asset_v1p1beta1_assets_proto_rawDescGZIP(), []int{1}
235 }
236
237 func (x *IamPolicySearchResult) GetResource() string {
238 if x != nil {
239 return x.Resource
240 }
241 return ""
242 }
243
244 func (x *IamPolicySearchResult) GetProject() string {
245 if x != nil {
246 return x.Project
247 }
248 return ""
249 }
250
251 func (x *IamPolicySearchResult) GetPolicy() *v1.Policy {
252 if x != nil {
253 return x.Policy
254 }
255 return nil
256 }
257
258 func (x *IamPolicySearchResult) GetExplanation() *IamPolicySearchResult_Explanation {
259 if x != nil {
260 return x.Explanation
261 }
262 return nil
263 }
264
265
266 type Permissions struct {
267 state protoimpl.MessageState
268 sizeCache protoimpl.SizeCache
269 unknownFields protoimpl.UnknownFields
270
271
272 Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
273 }
274
275 func (x *Permissions) Reset() {
276 *x = Permissions{}
277 if protoimpl.UnsafeEnabled {
278 mi := &file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes[2]
279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
280 ms.StoreMessageInfo(mi)
281 }
282 }
283
284 func (x *Permissions) String() string {
285 return protoimpl.X.MessageStringOf(x)
286 }
287
288 func (*Permissions) ProtoMessage() {}
289
290 func (x *Permissions) ProtoReflect() protoreflect.Message {
291 mi := &file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes[2]
292 if protoimpl.UnsafeEnabled && x != nil {
293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
294 if ms.LoadMessageInfo() == nil {
295 ms.StoreMessageInfo(mi)
296 }
297 return ms
298 }
299 return mi.MessageOf(x)
300 }
301
302
303 func (*Permissions) Descriptor() ([]byte, []int) {
304 return file_google_cloud_asset_v1p1beta1_assets_proto_rawDescGZIP(), []int{2}
305 }
306
307 func (x *Permissions) GetPermissions() []string {
308 if x != nil {
309 return x.Permissions
310 }
311 return nil
312 }
313
314
315 type IamPolicySearchResult_Explanation struct {
316 state protoimpl.MessageState
317 sizeCache protoimpl.SizeCache
318 unknownFields protoimpl.UnknownFields
319
320
321
322
323
324
325 MatchedPermissions map[string]*Permissions `protobuf:"bytes,1,rep,name=matched_permissions,json=matchedPermissions,proto3" json:"matched_permissions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
326 }
327
328 func (x *IamPolicySearchResult_Explanation) Reset() {
329 *x = IamPolicySearchResult_Explanation{}
330 if protoimpl.UnsafeEnabled {
331 mi := &file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes[4]
332 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
333 ms.StoreMessageInfo(mi)
334 }
335 }
336
337 func (x *IamPolicySearchResult_Explanation) String() string {
338 return protoimpl.X.MessageStringOf(x)
339 }
340
341 func (*IamPolicySearchResult_Explanation) ProtoMessage() {}
342
343 func (x *IamPolicySearchResult_Explanation) ProtoReflect() protoreflect.Message {
344 mi := &file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes[4]
345 if protoimpl.UnsafeEnabled && x != nil {
346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
347 if ms.LoadMessageInfo() == nil {
348 ms.StoreMessageInfo(mi)
349 }
350 return ms
351 }
352 return mi.MessageOf(x)
353 }
354
355
356 func (*IamPolicySearchResult_Explanation) Descriptor() ([]byte, []int) {
357 return file_google_cloud_asset_v1p1beta1_assets_proto_rawDescGZIP(), []int{1, 0}
358 }
359
360 func (x *IamPolicySearchResult_Explanation) GetMatchedPermissions() map[string]*Permissions {
361 if x != nil {
362 return x.MatchedPermissions
363 }
364 return nil
365 }
366
367 var File_google_cloud_asset_v1p1beta1_assets_proto protoreflect.FileDescriptor
368
369 var file_google_cloud_asset_v1p1beta1_assets_proto_rawDesc = []byte{
370 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
371 0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61,
372 0x73, 0x73, 0x65, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x67, 0x6f, 0x6f,
373 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e,
374 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
375 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
376 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x03, 0x0a, 0x18, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61,
377 0x72, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
378 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
379 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f,
380 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65,
381 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
382 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,
383 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
384 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61,
385 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
386 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
387 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x15, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
388 0x61, 0x6c, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20,
389 0x03, 0x28, 0x09, 0x52, 0x14, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41,
390 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63,
391 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63,
392 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,
393 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
394 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62,
395 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73,
396 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x61,
397 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c,
398 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x74, 0x61, 0x67,
399 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
400 0x54, 0x61, 0x67, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
401 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
402 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
403 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
404 0xec, 0x03, 0x0a, 0x15, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x61,
405 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73,
406 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73,
407 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
408 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,
409 0x2d, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
410 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e,
411 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x61,
412 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20,
413 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
414 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74,
415 0x61, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x61, 0x72,
416 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61,
417 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f,
418 0x6e, 0x1a, 0x8a, 0x02, 0x0a, 0x0b, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f,
419 0x6e, 0x12, 0x88, 0x01, 0x0a, 0x13, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x70, 0x65,
420 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
421 0x57, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
422 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49,
423 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65,
424 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
425 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
426 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
427 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x70, 0x0a, 0x17,
428 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
429 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
430 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3f, 0x0a, 0x05, 0x76, 0x61, 0x6c,
431 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
432 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31,
433 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
434 0x6f, 0x6e, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2f,
435 0x0a, 0x0b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x20, 0x0a,
436 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03,
437 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42,
438 0xb4, 0x01, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
439 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62,
440 0x65, 0x74, 0x61, 0x31, 0x42, 0x0a, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
441 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
442 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
443 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
444 0x61, 0x73, 0x73, 0x65, 0x74, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b,
445 0x61, 0x73, 0x73, 0x65, 0x74, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
446 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x56, 0x31,
447 0x50, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
448 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x5c, 0x56, 0x31, 0x70,
449 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
450 }
451
452 var (
453 file_google_cloud_asset_v1p1beta1_assets_proto_rawDescOnce sync.Once
454 file_google_cloud_asset_v1p1beta1_assets_proto_rawDescData = file_google_cloud_asset_v1p1beta1_assets_proto_rawDesc
455 )
456
457 func file_google_cloud_asset_v1p1beta1_assets_proto_rawDescGZIP() []byte {
458 file_google_cloud_asset_v1p1beta1_assets_proto_rawDescOnce.Do(func() {
459 file_google_cloud_asset_v1p1beta1_assets_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_asset_v1p1beta1_assets_proto_rawDescData)
460 })
461 return file_google_cloud_asset_v1p1beta1_assets_proto_rawDescData
462 }
463
464 var file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
465 var file_google_cloud_asset_v1p1beta1_assets_proto_goTypes = []interface{}{
466 (*StandardResourceMetadata)(nil),
467 (*IamPolicySearchResult)(nil),
468 (*Permissions)(nil),
469 nil,
470 (*IamPolicySearchResult_Explanation)(nil),
471 nil,
472 (*v1.Policy)(nil),
473 }
474 var file_google_cloud_asset_v1p1beta1_assets_proto_depIdxs = []int32{
475 3,
476 6,
477 4,
478 5,
479 2,
480 5,
481 5,
482 5,
483 5,
484 0,
485 }
486
487 func init() { file_google_cloud_asset_v1p1beta1_assets_proto_init() }
488 func file_google_cloud_asset_v1p1beta1_assets_proto_init() {
489 if File_google_cloud_asset_v1p1beta1_assets_proto != nil {
490 return
491 }
492 if !protoimpl.UnsafeEnabled {
493 file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
494 switch v := v.(*StandardResourceMetadata); i {
495 case 0:
496 return &v.state
497 case 1:
498 return &v.sizeCache
499 case 2:
500 return &v.unknownFields
501 default:
502 return nil
503 }
504 }
505 file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
506 switch v := v.(*IamPolicySearchResult); i {
507 case 0:
508 return &v.state
509 case 1:
510 return &v.sizeCache
511 case 2:
512 return &v.unknownFields
513 default:
514 return nil
515 }
516 }
517 file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
518 switch v := v.(*Permissions); i {
519 case 0:
520 return &v.state
521 case 1:
522 return &v.sizeCache
523 case 2:
524 return &v.unknownFields
525 default:
526 return nil
527 }
528 }
529 file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
530 switch v := v.(*IamPolicySearchResult_Explanation); i {
531 case 0:
532 return &v.state
533 case 1:
534 return &v.sizeCache
535 case 2:
536 return &v.unknownFields
537 default:
538 return nil
539 }
540 }
541 }
542 type x struct{}
543 out := protoimpl.TypeBuilder{
544 File: protoimpl.DescBuilder{
545 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
546 RawDescriptor: file_google_cloud_asset_v1p1beta1_assets_proto_rawDesc,
547 NumEnums: 0,
548 NumMessages: 6,
549 NumExtensions: 0,
550 NumServices: 0,
551 },
552 GoTypes: file_google_cloud_asset_v1p1beta1_assets_proto_goTypes,
553 DependencyIndexes: file_google_cloud_asset_v1p1beta1_assets_proto_depIdxs,
554 MessageInfos: file_google_cloud_asset_v1p1beta1_assets_proto_msgTypes,
555 }.Build()
556 File_google_cloud_asset_v1p1beta1_assets_proto = out.File
557 file_google_cloud_asset_v1p1beta1_assets_proto_rawDesc = nil
558 file_google_cloud_asset_v1p1beta1_assets_proto_goTypes = nil
559 file_google_cloud_asset_v1p1beta1_assets_proto_depIdxs = nil
560 }
561
View as plain text