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