| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
package policysimulatorpb |
| 22 |
|
| 23 |
import ( |
| 24 |
iampb "cloud.google.com/go/iam/apiv1/iampb" |
| 25 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 26 |
expr "google.golang.org/genproto/googleapis/type/expr" |
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
reflect "reflect" |
| 30 |
sync "sync" |
| 31 |
) |
| 32 |
|
| 33 |
const ( |
| 34 |
|
| 35 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 36 |
|
| 37 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 38 |
) |
| 39 |
|
| 40 |
|
| 41 |
type AccessState int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
|
| 45 |
AccessState_ACCESS_STATE_UNSPECIFIED AccessState = 0 |
| 46 |
|
| 47 |
AccessState_GRANTED AccessState = 1 |
| 48 |
|
| 49 |
AccessState_NOT_GRANTED AccessState = 2 |
| 50 |
|
| 51 |
|
| 52 |
AccessState_UNKNOWN_CONDITIONAL AccessState = 3 |
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
AccessState_UNKNOWN_INFO_DENIED AccessState = 4 |
| 57 |
) |
| 58 |
|
| 59 |
|
| 60 |
var ( |
| 61 |
AccessState_name = map[int32]string{ |
| 62 |
0: "ACCESS_STATE_UNSPECIFIED", |
| 63 |
1: "GRANTED", |
| 64 |
2: "NOT_GRANTED", |
| 65 |
3: "UNKNOWN_CONDITIONAL", |
| 66 |
4: "UNKNOWN_INFO_DENIED", |
| 67 |
} |
| 68 |
AccessState_value = map[string]int32{ |
| 69 |
"ACCESS_STATE_UNSPECIFIED": 0, |
| 70 |
"GRANTED": 1, |
| 71 |
"NOT_GRANTED": 2, |
| 72 |
"UNKNOWN_CONDITIONAL": 3, |
| 73 |
"UNKNOWN_INFO_DENIED": 4, |
| 74 |
} |
| 75 |
) |
| 76 |
|
| 77 |
func (x AccessState) Enum() *AccessState { |
| 78 |
p := new(AccessState) |
| 79 |
*p = x |
| 80 |
return p |
| 81 |
} |
| 82 |
|
| 83 |
func (x AccessState) String() string { |
| 84 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 85 |
} |
| 86 |
|
| 87 |
func (AccessState) Descriptor() protoreflect.EnumDescriptor { |
| 88 |
return file_google_cloud_policysimulator_v1_explanations_proto_enumTypes[0].Descriptor() |
| 89 |
} |
| 90 |
|
| 91 |
func (AccessState) Type() protoreflect.EnumType { |
| 92 |
return &file_google_cloud_policysimulator_v1_explanations_proto_enumTypes[0] |
| 93 |
} |
| 94 |
|
| 95 |
func (x AccessState) Number() protoreflect.EnumNumber { |
| 96 |
return protoreflect.EnumNumber(x) |
| 97 |
} |
| 98 |
|
| 99 |
|
| 100 |
func (AccessState) EnumDescriptor() ([]byte, []int) { |
| 101 |
return file_google_cloud_policysimulator_v1_explanations_proto_rawDescGZIP(), []int{0} |
| 102 |
} |
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
type HeuristicRelevance int32 |
| 108 |
|
| 109 |
const ( |
| 110 |
|
| 111 |
HeuristicRelevance_HEURISTIC_RELEVANCE_UNSPECIFIED HeuristicRelevance = 0 |
| 112 |
|
| 113 |
|
| 114 |
HeuristicRelevance_NORMAL HeuristicRelevance = 1 |
| 115 |
|
| 116 |
|
| 117 |
HeuristicRelevance_HIGH HeuristicRelevance = 2 |
| 118 |
) |
| 119 |
|
| 120 |
|
| 121 |
var ( |
| 122 |
HeuristicRelevance_name = map[int32]string{ |
| 123 |
0: "HEURISTIC_RELEVANCE_UNSPECIFIED", |
| 124 |
1: "NORMAL", |
| 125 |
2: "HIGH", |
| 126 |
} |
| 127 |
HeuristicRelevance_value = map[string]int32{ |
| 128 |
"HEURISTIC_RELEVANCE_UNSPECIFIED": 0, |
| 129 |
"NORMAL": 1, |
| 130 |
"HIGH": 2, |
| 131 |
} |
| 132 |
) |
| 133 |
|
| 134 |
func (x HeuristicRelevance) Enum() *HeuristicRelevance { |
| 135 |
p := new(HeuristicRelevance) |
| 136 |
*p = x |
| 137 |
return p |
| 138 |
} |
| 139 |
|
| 140 |
func (x HeuristicRelevance) String() string { |
| 141 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 142 |
} |
| 143 |
|
| 144 |
func (HeuristicRelevance) Descriptor() protoreflect.EnumDescriptor { |
| 145 |
return file_google_cloud_policysimulator_v1_explanations_proto_enumTypes[1].Descriptor() |
| 146 |
} |
| 147 |
|
| 148 |
func (HeuristicRelevance) Type() protoreflect.EnumType { |
| 149 |
return &file_google_cloud_policysimulator_v1_explanations_proto_enumTypes[1] |
| 150 |
} |
| 151 |
|
| 152 |
func (x HeuristicRelevance) Number() protoreflect.EnumNumber { |
| 153 |
return protoreflect.EnumNumber(x) |
| 154 |
} |
| 155 |
|
| 156 |
|
| 157 |
func (HeuristicRelevance) EnumDescriptor() ([]byte, []int) { |
| 158 |
return file_google_cloud_policysimulator_v1_explanations_proto_rawDescGZIP(), []int{1} |
| 159 |
} |
| 160 |
|
| 161 |
|
| 162 |
type BindingExplanation_RolePermission int32 |
| 163 |
|
| 164 |
const ( |
| 165 |
|
| 166 |
BindingExplanation_ROLE_PERMISSION_UNSPECIFIED BindingExplanation_RolePermission = 0 |
| 167 |
|
| 168 |
BindingExplanation_ROLE_PERMISSION_INCLUDED BindingExplanation_RolePermission = 1 |
| 169 |
|
| 170 |
BindingExplanation_ROLE_PERMISSION_NOT_INCLUDED BindingExplanation_RolePermission = 2 |
| 171 |
|
| 172 |
|
| 173 |
|
| 174 |
BindingExplanation_ROLE_PERMISSION_UNKNOWN_INFO_DENIED BindingExplanation_RolePermission = 3 |
| 175 |
) |
| 176 |
|
| 177 |
|
| 178 |
var ( |
| 179 |
BindingExplanation_RolePermission_name = map[int32]string{ |
| 180 |
0: "ROLE_PERMISSION_UNSPECIFIED", |
| 181 |
1: "ROLE_PERMISSION_INCLUDED", |
| 182 |
2: "ROLE_PERMISSION_NOT_INCLUDED", |
| 183 |
3: "ROLE_PERMISSION_UNKNOWN_INFO_DENIED", |
| 184 |
} |
| 185 |
BindingExplanation_RolePermission_value = map[string]int32{ |
| 186 |
"ROLE_PERMISSION_UNSPECIFIED": 0, |
| 187 |
"ROLE_PERMISSION_INCLUDED": 1, |
| 188 |
"ROLE_PERMISSION_NOT_INCLUDED": 2, |
| 189 |
"ROLE_PERMISSION_UNKNOWN_INFO_DENIED": 3, |
| 190 |
} |
| 191 |
) |
| 192 |
|
| 193 |
func (x BindingExplanation_RolePermission) Enum() *BindingExplanation_RolePermission { |
| 194 |
p := new(BindingExplanation_RolePermission) |
| 195 |
*p = x |
| 196 |
return p |
| 197 |
} |
| 198 |
|
| 199 |
func (x BindingExplanation_RolePermission) String() string { |
| 200 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 201 |
} |
| 202 |
|
| 203 |
func (BindingExplanation_RolePermission) Descriptor() protoreflect.EnumDescriptor { |
| 204 |
return file_google_cloud_policysimulator_v1_explanations_proto_enumTypes[2].Descriptor() |
| 205 |
} |
| 206 |
|
| 207 |
func (BindingExplanation_RolePermission) Type() protoreflect.EnumType { |
| 208 |
return &file_google_cloud_policysimulator_v1_explanations_proto_enumTypes[2] |
| 209 |
} |
| 210 |
|
| 211 |
func (x BindingExplanation_RolePermission) Number() protoreflect.EnumNumber { |
| 212 |
return protoreflect.EnumNumber(x) |
| 213 |
} |
| 214 |
|
| 215 |
|
| 216 |
func (BindingExplanation_RolePermission) EnumDescriptor() ([]byte, []int) { |
| 217 |
return file_google_cloud_policysimulator_v1_explanations_proto_rawDescGZIP(), []int{2, 0} |
| 218 |
} |
| 219 |
|
| 220 |
|
| 221 |
type BindingExplanation_Membership int32 |
| 222 |
|
| 223 |
const ( |
| 224 |
|
| 225 |
BindingExplanation_MEMBERSHIP_UNSPECIFIED BindingExplanation_Membership = 0 |
| 226 |
|
| 227 |
|
| 228 |
|
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
BindingExplanation_MEMBERSHIP_INCLUDED BindingExplanation_Membership = 1 |
| 234 |
|
| 235 |
BindingExplanation_MEMBERSHIP_NOT_INCLUDED BindingExplanation_Membership = 2 |
| 236 |
|
| 237 |
|
| 238 |
|
| 239 |
BindingExplanation_MEMBERSHIP_UNKNOWN_INFO_DENIED BindingExplanation_Membership = 3 |
| 240 |
|
| 241 |
|
| 242 |
BindingExplanation_MEMBERSHIP_UNKNOWN_UNSUPPORTED BindingExplanation_Membership = 4 |
| 243 |
) |
| 244 |
|
| 245 |
|
| 246 |
var ( |
| 247 |
BindingExplanation_Membership_name = map[int32]string{ |
| 248 |
0: "MEMBERSHIP_UNSPECIFIED", |
| 249 |
1: "MEMBERSHIP_INCLUDED", |
| 250 |
2: "MEMBERSHIP_NOT_INCLUDED", |
| 251 |
3: "MEMBERSHIP_UNKNOWN_INFO_DENIED", |
| 252 |
4: "MEMBERSHIP_UNKNOWN_UNSUPPORTED", |
| 253 |
} |
| 254 |
BindingExplanation_Membership_value = map[string]int32{ |
| 255 |
"MEMBERSHIP_UNSPECIFIED": 0, |
| 256 |
"MEMBERSHIP_INCLUDED": 1, |
| 257 |
"MEMBERSHIP_NOT_INCLUDED": 2, |
| 258 |
"MEMBERSHIP_UNKNOWN_INFO_DENIED": 3, |
| 259 |
"MEMBERSHIP_UNKNOWN_UNSUPPORTED": 4, |
| 260 |
} |
| 261 |
) |
| 262 |
|
| 263 |
func (x BindingExplanation_Membership) Enum() *BindingExplanation_Membership { |
| 264 |
p := new(BindingExplanation_Membership) |
| 265 |
*p = x |
| 266 |
return p |
| 267 |
} |
| 268 |
|
| 269 |
func (x BindingExplanation_Membership) String() string { |
| 270 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 271 |
} |
| 272 |
|
| 273 |
func (BindingExplanation_Membership) Descriptor() protoreflect.EnumDescriptor { |
| 274 |
return file_google_cloud_policysimulator_v1_explanations_proto_enumTypes[3].Descriptor() |
| 275 |
} |
| 276 |
|
| 277 |
func (BindingExplanation_Membership) Type() protoreflect.EnumType { |
| 278 |
return &file_google_cloud_policysimulator_v1_explanations_proto_enumTypes[3] |
| 279 |
} |
| 280 |
|
| 281 |
func (x BindingExplanation_Membership) Number() protoreflect.EnumNumber { |
| 282 |
return protoreflect.EnumNumber(x) |
| 283 |
} |
| 284 |
|
| 285 |
|
| 286 |
func (BindingExplanation_Membership) EnumDescriptor() ([]byte, []int) { |
| 287 |
return file_google_cloud_policysimulator_v1_explanations_proto_rawDescGZIP(), []int{2, 1} |
| 288 |
} |
| 289 |
|
| 290 |
|
| 291 |
type AccessTuple struct { |
| 292 |
state protoimpl.MessageState |
| 293 |
sizeCache protoimpl.SizeCache |
| 294 |
unknownFields protoimpl.UnknownFields |
| 295 |
|
| 296 |
|
| 297 |
|
| 298 |
|
| 299 |
|
| 300 |
|
| 301 |
|
| 302 |
|
| 303 |
Principal string `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"` |
| 304 |
|
| 305 |
|
| 306 |
|
| 307 |
|
| 308 |
|
| 309 |
FullResourceName string `protobuf:"bytes,2,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"` |
| 310 |
|
| 311 |
|
| 312 |
|
| 313 |
|
| 314 |
|
| 315 |
|
| 316 |
|
| 317 |
|
| 318 |
Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"` |
| 319 |
} |
| 320 |
|
| 321 |
func (x *AccessTuple) Reset() { |
| 322 |
*x = AccessTuple{} |
| 323 |
mi := &file_google_cloud_policysimulator_v1_explanations_proto_msgTypes[0] |
| 324 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 325 |
ms.StoreMessageInfo(mi) |
| 326 |
} |
| 327 |
|
| 328 |
func (x *AccessTuple) String() string { |
| 329 |
return protoimpl.X.MessageStringOf(x) |
| 330 |
} |
| 331 |
|
| 332 |
func (*AccessTuple) ProtoMessage() {} |
| 333 |
|
| 334 |
func (x *AccessTuple) ProtoReflect() protoreflect.Message { |
| 335 |
mi := &file_google_cloud_policysimulator_v1_explanations_proto_msgTypes[0] |
| 336 |
if x != nil { |
| 337 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 338 |
if ms.LoadMessageInfo() == nil { |
| 339 |
ms.StoreMessageInfo(mi) |
| 340 |
} |
| 341 |
return ms |
| 342 |
} |
| 343 |
return mi.MessageOf(x) |
| 344 |
} |
| 345 |
|
| 346 |
|
| 347 |
func (*AccessTuple) Descriptor() ([]byte, []int) { |
| 348 |
return file_google_cloud_policysimulator_v1_explanations_proto_rawDescGZIP(), []int{0} |
| 349 |
} |
| 350 |
|
| 351 |
func (x *AccessTuple) GetPrincipal() string { |
| 352 |
if x != nil { |
| 353 |
return x.Principal |
| 354 |
} |
| 355 |
return "" |
| 356 |
} |
| 357 |
|
| 358 |
func (x *AccessTuple) GetFullResourceName() string { |
| 359 |
if x != nil { |
| 360 |
return x.FullResourceName |
| 361 |
} |
| 362 |
return "" |
| 363 |
} |
| 364 |
|
| 365 |
func (x *AccessTuple) GetPermission() string { |
| 366 |
if x != nil { |
| 367 |
return x.Permission |
| 368 |
} |
| 369 |
return "" |
| 370 |
} |
| 371 |
|
| 372 |
|
| 373 |
|
| 374 |
type ExplainedPolicy struct { |
| 375 |
state protoimpl.MessageState |
| 376 |
sizeCache protoimpl.SizeCache |
| 377 |
unknownFields protoimpl.UnknownFields |
| 378 |
|
| 379 |
|
| 380 |
|
| 381 |
|
| 382 |
|
| 383 |
|
| 384 |
|
| 385 |
|
| 386 |
|
| 387 |
Access AccessState `protobuf:"varint,1,opt,name=access,proto3,enum=google.cloud.policysimulator.v1.AccessState" json:"access,omitempty"` |
| 388 |
|
| 389 |
|
| 390 |
|
| 391 |
|
| 392 |
|
| 393 |
|
| 394 |
|
| 395 |
|
| 396 |
|
| 397 |
FullResourceName string `protobuf:"bytes,2,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"` |
| 398 |
|
| 399 |
|
| 400 |
|
| 401 |
|
| 402 |
|
| 403 |
Policy *iampb.Policy `protobuf:"bytes,3,opt,name=policy,proto3" json:"policy,omitempty"` |
| 404 |
|
| 405 |
|
| 406 |
|
| 407 |
|
| 408 |
|
| 409 |
|
| 410 |
BindingExplanations []*BindingExplanation `protobuf:"bytes,4,rep,name=binding_explanations,json=bindingExplanations,proto3" json:"binding_explanations,omitempty"` |
| 411 |
|
| 412 |
|
| 413 |
|
| 414 |
|
| 415 |
|
| 416 |
|
| 417 |
Relevance HeuristicRelevance `protobuf:"varint,5,opt,name=relevance,proto3,enum=google.cloud.policysimulator.v1.HeuristicRelevance" json:"relevance,omitempty"` |
| 418 |
} |
| 419 |
|
| 420 |
func (x *ExplainedPolicy) Reset() { |
| 421 |
*x = ExplainedPolicy{} |
| 422 |
mi := &file_google_cloud_policysimulator_v1_explanations_proto_msgTypes[1] |
| 423 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 424 |
ms.StoreMessageInfo(mi) |
| 425 |
} |
| 426 |
|
| 427 |
func (x *ExplainedPolicy) String() string { |
| 428 |
return protoimpl.X.MessageStringOf(x) |
| 429 |
} |
| 430 |
|
| 431 |
func (*ExplainedPolicy) ProtoMessage() {} |
| 432 |
|
| 433 |
func (x *ExplainedPolicy) ProtoReflect() protoreflect.Message { |
| 434 |
mi := &file_google_cloud_policysimulator_v1_explanations_proto_msgTypes[1] |
| 435 |
if x != nil { |
| 436 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 437 |
if ms.LoadMessageInfo() == nil { |
| 438 |
ms.StoreMessageInfo(mi) |
| 439 |
} |
| 440 |
return ms |
| 441 |
} |
| 442 |
return mi.MessageOf(x) |
| 443 |
} |
| 444 |
|
| 445 |
|
| 446 |
func (*ExplainedPolicy) Descriptor() ([]byte, []int) { |
| 447 |
return file_google_cloud_policysimulator_v1_explanations_proto_rawDescGZIP(), []int{1} |
| 448 |
} |
| 449 |
|
| 450 |
func (x *ExplainedPolicy) GetAccess() AccessState { |
| 451 |
if x != nil { |
| 452 |
return x.Access |
| 453 |
} |
| 454 |
return AccessState_ACCESS_STATE_UNSPECIFIED |
| 455 |
} |
| 456 |
|
| 457 |
func (x *ExplainedPolicy) GetFullResourceName() string { |
| 458 |
if x != nil { |
| 459 |
return x.FullResourceName |
| 460 |
} |
| 461 |
return "" |
| 462 |
} |
| 463 |
|
| 464 |
func (x *ExplainedPolicy) GetPolicy() *iampb.Policy { |
| 465 |
if x != nil { |
| 466 |
return x.Policy |
| 467 |
} |
| 468 |
return nil |
| 469 |
} |
| 470 |
|
| 471 |
func (x *ExplainedPolicy) GetBindingExplanations() []*BindingExplanation { |
| 472 |
if x != nil { |
| 473 |
return x.BindingExplanations |
| 474 |
} |
| 475 |
return nil |
| 476 |
} |
| 477 |
|
| 478 |
func (x *ExplainedPolicy) GetRelevance() HeuristicRelevance { |
| 479 |
if x != nil { |
| 480 |
return x.Relevance |
| 481 |
} |
| 482 |
return HeuristicRelevance_HEURISTIC_RELEVANCE_UNSPECIFIED |
| 483 |
} |
| 484 |
|
| 485 |
|
| 486 |
|
| 487 |
type BindingExplanation struct { |
| 488 |
state protoimpl.MessageState |
| 489 |
sizeCache protoimpl.SizeCache |
| 490 |
unknownFields protoimpl.UnknownFields |
| 491 |
|
| 492 |
|
| 493 |
|
| 494 |
|
| 495 |
|
| 496 |
|
| 497 |
|
| 498 |
|
| 499 |
|
| 500 |
Access AccessState `protobuf:"varint,1,opt,name=access,proto3,enum=google.cloud.policysimulator.v1.AccessState" json:"access,omitempty"` |
| 501 |
|
| 502 |
|
| 503 |
|
| 504 |
|
| 505 |
|
| 506 |
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` |
| 507 |
|
| 508 |
|
| 509 |
RolePermission BindingExplanation_RolePermission `protobuf:"varint,3,opt,name=role_permission,json=rolePermission,proto3,enum=google.cloud.policysimulator.v1.BindingExplanation_RolePermission" json:"role_permission,omitempty"` |
| 510 |
|
| 511 |
|
| 512 |
RolePermissionRelevance HeuristicRelevance `protobuf:"varint,4,opt,name=role_permission_relevance,json=rolePermissionRelevance,proto3,enum=google.cloud.policysimulator.v1.HeuristicRelevance" json:"role_permission_relevance,omitempty"` |
| 513 |
|
| 514 |
|
| 515 |
|
| 516 |
|
| 517 |
|
| 518 |
|
| 519 |
|
| 520 |
|
| 521 |
|
| 522 |
|
| 523 |
|
| 524 |
|
| 525 |
|
| 526 |
|
| 527 |
|
| 528 |
|
| 529 |
|
| 530 |
|
| 531 |
|
| 532 |
|
| 533 |
Memberships map[string]*BindingExplanation_AnnotatedMembership `protobuf:"bytes,5,rep,name=memberships,proto3" json:"memberships,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 534 |
|
| 535 |
|
| 536 |
Relevance HeuristicRelevance `protobuf:"varint,6,opt,name=relevance,proto3,enum=google.cloud.policysimulator.v1.HeuristicRelevance" json:"relevance,omitempty"` |
| 537 |
|
| 538 |
|
| 539 |
|
| 540 |
|
| 541 |
|
| 542 |
Condition *expr.Expr `protobuf:"bytes,7,opt,name=condition,proto3" json:"condition,omitempty"` |
| 543 |
} |
| 544 |
|
| 545 |
func (x *BindingExplanation) Reset() { |
| 546 |
*x = BindingExplanation{} |
| 547 |
mi := &file_google_cloud_policysimulator_v1_explanations_proto_msgTypes[2] |
| 548 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 549 |
ms.StoreMessageInfo(mi) |
| 550 |
} |
| 551 |
|
| 552 |
func (x *BindingExplanation) String() string { |
| 553 |
return protoimpl.X.MessageStringOf(x) |
| 554 |
} |
| 555 |
|
| 556 |
func (*BindingExplanation) ProtoMessage() {} |
| 557 |
|
| 558 |
func (x *BindingExplanation) ProtoReflect() protoreflect.Message { |
| 559 |
mi := &file_google_cloud_policysimulator_v1_explanations_proto_msgTypes[2] |
| 560 |
if x != nil { |
| 561 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 562 |
if ms.LoadMessageInfo() == nil { |
| 563 |
ms.StoreMessageInfo(mi) |
| 564 |
} |
| 565 |
return ms |
| 566 |
} |
| 567 |
return mi.MessageOf(x) |
| 568 |
} |
| 569 |
|
| 570 |
|
| 571 |
func (*BindingExplanation) Descriptor() ([]byte, []int) { |
| 572 |
return file_google_cloud_policysimulator_v1_explanations_proto_rawDescGZIP(), []int{2} |
| 573 |
} |
| 574 |
|
| 575 |
func (x *BindingExplanation) GetAccess() AccessState { |
| 576 |
if x != nil { |
| 577 |
return x.Access |
| 578 |
} |
| 579 |
return AccessState_ACCESS_STATE_UNSPECIFIED |
| 580 |
} |
| 581 |
|
| 582 |
func (x *BindingExplanation) GetRole() string { |
| 583 |
if x != nil { |
| 584 |
return x.Role |
| 585 |
} |
| 586 |
return "" |
| 587 |
} |
| 588 |
|
| 589 |
func (x *BindingExplanation) GetRolePermission() BindingExplanation_RolePermission { |
| 590 |
if x != nil { |
| 591 |
return x.RolePermission |
| 592 |
} |
| 593 |
return BindingExplanation_ROLE_PERMISSION_UNSPECIFIED |
| 594 |
} |
| 595 |
|
| 596 |
func (x *BindingExplanation) GetRolePermissionRelevance() HeuristicRelevance { |
| 597 |
if x != nil { |
| 598 |
return x.RolePermissionRelevance |
| 599 |
} |
| 600 |
return HeuristicRelevance_HEURISTIC_RELEVANCE_UNSPECIFIED |
| 601 |
} |
| 602 |
|
| 603 |
func (x *BindingExplanation) GetMemberships() map[string]*BindingExplanation_AnnotatedMembership { |
| 604 |
if x != nil { |
| 605 |
return x.Memberships |
| 606 |
} |
| 607 |
return nil |
| 608 |
} |
| 609 |
|
| 610 |
func (x *BindingExplanation) GetRelevance() HeuristicRelevance { |
| 611 |
if x != nil { |
| 612 |
return x.Relevance |
| 613 |
} |
| 614 |
return HeuristicRelevance_HEURISTIC_RELEVANCE_UNSPECIFIED |
| 615 |
} |
| 616 |
|
| 617 |
func (x *BindingExplanation) GetCondition() *expr.Expr { |
| 618 |
if x != nil { |
| 619 |
return x.Condition |
| 620 |
} |
| 621 |
return nil |
| 622 |
} |
| 623 |
|
| 624 |
|
| 625 |
type BindingExplanation_AnnotatedMembership struct { |
| 626 |
state protoimpl.MessageState |
| 627 |
sizeCache protoimpl.SizeCache |
| 628 |
unknownFields protoimpl.UnknownFields |
| 629 |
|
| 630 |
|
| 631 |
Membership BindingExplanation_Membership `protobuf:"varint,1,opt,name=membership,proto3,enum=google.cloud.policysimulator.v1.BindingExplanation_Membership" json:"membership,omitempty"` |
| 632 |
|
| 633 |
|
| 634 |
Relevance HeuristicRelevance `protobuf:"varint,2,opt,name=relevance,proto3,enum=google.cloud.policysimulator.v1.HeuristicRelevance" json:"relevance,omitempty"` |
| 635 |
} |
| 636 |
|
| 637 |
func (x *BindingExplanation_AnnotatedMembership) Reset() { |
| 638 |
*x = BindingExplanation_AnnotatedMembership{} |
| 639 |
mi := &file_google_cloud_policysimulator_v1_explanations_proto_msgTypes[3] |
| 640 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 641 |
ms.StoreMessageInfo(mi) |
| 642 |
} |
| 643 |
|
| 644 |
func (x *BindingExplanation_AnnotatedMembership) String() string { |
| 645 |
return protoimpl.X.MessageStringOf(x) |
| 646 |
} |
| 647 |
|
| 648 |
func (*BindingExplanation_AnnotatedMembership) ProtoMessage() {} |
| 649 |
|
| 650 |
func (x *BindingExplanation_AnnotatedMembership) ProtoReflect() protoreflect.Message { |
| 651 |
mi := &file_google_cloud_policysimulator_v1_explanations_proto_msgTypes[3] |
| 652 |
if x != nil { |
| 653 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 654 |
if ms.LoadMessageInfo() == nil { |
| 655 |
ms.StoreMessageInfo(mi) |
| 656 |
} |
| 657 |
return ms |
| 658 |
} |
| 659 |
return mi.MessageOf(x) |
| 660 |
} |
| 661 |
|
| 662 |
|
| 663 |
func (*BindingExplanation_AnnotatedMembership) Descriptor() ([]byte, []int) { |
| 664 |
return file_google_cloud_policysimulator_v1_explanations_proto_rawDescGZIP(), []int{2, 0} |
| 665 |
} |
| 666 |
|
| 667 |
func (x *BindingExplanation_AnnotatedMembership) GetMembership() BindingExplanation_Membership { |
| 668 |
if x != nil { |
| 669 |
return x.Membership |
| 670 |
} |
| 671 |
return BindingExplanation_MEMBERSHIP_UNSPECIFIED |
| 672 |
} |
| 673 |
|
| 674 |
func (x *BindingExplanation_AnnotatedMembership) GetRelevance() HeuristicRelevance { |
| 675 |
if x != nil { |
| 676 |
return x.Relevance |
| 677 |
} |
| 678 |
return HeuristicRelevance_HEURISTIC_RELEVANCE_UNSPECIFIED |
| 679 |
} |
| 680 |
|
| 681 |
var File_google_cloud_policysimulator_v1_explanations_proto protoreflect.FileDescriptor |
| 682 |
|
| 683 |
var file_google_cloud_policysimulator_v1_explanations_proto_rawDesc = []byte{ |
| 684 |
0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x70, |
| 685 |
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x76, |
| 686 |
0x31, 0x2f, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, |
| 687 |
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 688 |
0x75, 0x64, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, |
| 689 |
0x6f, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
| 690 |
0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, |
| 691 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, |
| 692 |
0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, |
| 693 |
0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, |
| 694 |
0x65, 0x78, 0x70, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x0b, 0x41, |
| 695 |
0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x09, 0x70, 0x72, |
| 696 |
0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 697 |
0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x31, 0x0a, |
| 698 |
0x12, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, |
| 699 |
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, |
| 700 |
0x66, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, |
| 701 |
0x12, 0x23, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, |
| 702 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, |
| 703 |
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xef, 0x02, 0x0a, 0x0f, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, |
| 704 |
0x6e, 0x65, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x44, 0x0a, 0x06, 0x61, 0x63, 0x63, |
| 705 |
0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 706 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, |
| 707 |
0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, |
| 708 |
0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, |
| 709 |
0x2c, 0x0a, 0x12, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 710 |
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x75, 0x6c, |
| 711 |
0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, |
| 712 |
0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, |
| 713 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, |
| 714 |
0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x66, 0x0a, 0x14, |
| 715 |
0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, |
| 716 |
0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, |
| 717 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, |
| 718 |
0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6e, |
| 719 |
0x64, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, |
| 720 |
0x13, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, |
| 721 |
0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x6e, 0x63, |
| 722 |
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 723 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, 0x69, 0x6d, |
| 724 |
0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x75, 0x72, 0x69, 0x73, |
| 725 |
0x74, 0x69, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, |
| 726 |
0x6c, 0x65, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x22, 0xd8, 0x09, 0x0a, 0x12, 0x42, 0x69, 0x6e, 0x64, |
| 727 |
0x69, 0x6e, 0x67, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, |
| 728 |
0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, |
| 729 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x6f, |
| 730 |
0x6c, 0x69, 0x63, 0x79, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, |
| 731 |
0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, |
| 732 |
0x02, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, |
| 733 |
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x6b, 0x0a, |
| 734 |
0x0f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, |
| 735 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 736 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, 0x69, 0x6d, 0x75, |
| 737 |
0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, |
| 738 |
0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x6f, 0x6c, 0x65, |
| 739 |
0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x72, 0x6f, 0x6c, 0x65, |
| 740 |
0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x6f, 0x0a, 0x19, 0x72, 0x6f, |
| 741 |
0x6c, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, |
| 742 |
0x6c, 0x65, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, |
| 743 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x6f, 0x6c, |
| 744 |
0x69, 0x63, 0x79, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, |
| 745 |
0x48, 0x65, 0x75, 0x72, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x6e, |
| 746 |
0x63, 0x65, 0x52, 0x17, 0x72, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, |
| 747 |
0x6f, 0x6e, 0x52, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x0b, 0x6d, |
| 748 |
0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, |
| 749 |
0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 750 |
0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2e, |
| 751 |
0x76, 0x31, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, |
| 752 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, |
| 753 |
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, |
| 754 |
0x69, 0x70, 0x73, 0x12, 0x51, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x6e, 0x63, 0x65, |
| 755 |
0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 756 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, 0x69, 0x6d, 0x75, |
| 757 |
0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x75, 0x72, 0x69, 0x73, 0x74, |
| 758 |
0x69, 0x63, 0x52, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x6c, |
| 759 |
0x65, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, |
| 760 |
0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 761 |
0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x52, 0x09, 0x63, 0x6f, |
| 762 |
0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xc8, 0x01, 0x0a, 0x13, 0x41, 0x6e, 0x6e, 0x6f, |
| 763 |
0x74, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, |
| 764 |
0x5e, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x18, 0x01, 0x20, |
| 765 |
0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 766 |
0x75, 0x64, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, |
| 767 |
0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x70, |
| 768 |
0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, |
| 769 |
0x68, 0x69, 0x70, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, |
| 770 |
0x51, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, |
| 771 |
0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 772 |
0x64, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, |
| 773 |
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x75, 0x72, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x65, |
| 774 |
0x6c, 0x65, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x65, 0x76, 0x61, 0x6e, |
| 775 |
0x63, 0x65, 0x1a, 0x87, 0x01, 0x0a, 0x10, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, |
| 776 |
0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, |
| 777 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x5d, 0x0a, 0x05, 0x76, 0x61, 0x6c, |
| 778 |
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 779 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, 0x69, |
| 780 |
0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, |
| 781 |
0x6e, 0x67, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, |
| 782 |
0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, |
| 783 |
0x70, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9a, 0x01, 0x0a, |
| 784 |
0x0e, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, |
| 785 |
0x1f, 0x0a, 0x1b, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, |
| 786 |
0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, |
| 787 |
0x12, 0x1c, 0x0a, 0x18, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, |
| 788 |
0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x43, 0x4c, 0x55, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x20, |
| 789 |
0x0a, 0x1c, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, |
| 790 |
0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x43, 0x4c, 0x55, 0x44, 0x45, 0x44, 0x10, 0x02, |
| 791 |
0x12, 0x27, 0x0a, 0x23, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, |
| 792 |
0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x49, 0x4e, 0x46, 0x4f, |
| 793 |
0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x03, 0x22, 0xa6, 0x01, 0x0a, 0x0a, 0x4d, 0x65, |
| 794 |
0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x45, 0x4d, 0x42, |
| 795 |
0x45, 0x52, 0x53, 0x48, 0x49, 0x50, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, |
| 796 |
0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x48, |
| 797 |
0x49, 0x50, 0x5f, 0x49, 0x4e, 0x43, 0x4c, 0x55, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x1b, 0x0a, |
| 798 |
0x17, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x48, 0x49, 0x50, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, |
| 799 |
0x49, 0x4e, 0x43, 0x4c, 0x55, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x22, 0x0a, 0x1e, 0x4d, 0x45, |
| 800 |
0x4d, 0x42, 0x45, 0x52, 0x53, 0x48, 0x49, 0x50, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, |
| 801 |
0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x03, 0x12, 0x22, |
| 802 |
0x0a, 0x1e, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x53, 0x48, 0x49, 0x50, 0x5f, 0x55, 0x4e, 0x4b, |
| 803 |
0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, |
| 804 |
0x10, 0x04, 0x2a, 0x7b, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, |
| 805 |
0x65, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, 0x54, 0x41, 0x54, |
| 806 |
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 807 |
0x0b, 0x0a, 0x07, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, |
| 808 |
0x4e, 0x4f, 0x54, 0x5f, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x17, 0x0a, |
| 809 |
0x13, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, |
| 810 |
0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, |
| 811 |
0x4e, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x04, 0x2a, |
| 812 |
0x4f, 0x0a, 0x12, 0x48, 0x65, 0x75, 0x72, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, 0x65, 0x6c, 0x65, |
| 813 |
0x76, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x48, 0x45, 0x55, 0x52, 0x49, 0x53, 0x54, |
| 814 |
0x49, 0x43, 0x5f, 0x52, 0x45, 0x4c, 0x45, 0x56, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, |
| 815 |
0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, |
| 816 |
0x52, 0x4d, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49, 0x47, 0x48, 0x10, 0x02, |
| 817 |
0x42, 0xf2, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 818 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, 0x69, 0x6d, 0x75, |
| 819 |
0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, |
| 820 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x63, |
| 821 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 822 |
0x67, 0x6f, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, |
| 823 |
0x6f, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x73, |
| 824 |
0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x70, 0x62, 0x3b, 0x70, 0x6f, 0x6c, 0x69, 0x63, |
| 825 |
0x79, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1f, 0x47, |
| 826 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x50, 0x6f, 0x6c, 0x69, |
| 827 |
0x63, 0x79, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, |
| 828 |
0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x50, 0x6f, |
| 829 |
0x6c, 0x69, 0x63, 0x79, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, 0x5c, 0x56, 0x31, |
| 830 |
0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 831 |
0x3a, 0x3a, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, |
| 832 |
0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 833 |
} |
| 834 |
|
| 835 |
var ( |
| 836 |
file_google_cloud_policysimulator_v1_explanations_proto_rawDescOnce sync.Once |
| 837 |
file_google_cloud_policysimulator_v1_explanations_proto_rawDescData = file_google_cloud_policysimulator_v1_explanations_proto_rawDesc |
| 838 |
) |
| 839 |
|
| 840 |
func file_google_cloud_policysimulator_v1_explanations_proto_rawDescGZIP() []byte { |
| 841 |
file_google_cloud_policysimulator_v1_explanations_proto_rawDescOnce.Do(func() { |
| 842 |
file_google_cloud_policysimulator_v1_explanations_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_policysimulator_v1_explanations_proto_rawDescData) |
| 843 |
}) |
| 844 |
return file_google_cloud_policysimulator_v1_explanations_proto_rawDescData |
| 845 |
} |
| 846 |
|
| 847 |
var file_google_cloud_policysimulator_v1_explanations_proto_enumTypes = make([]protoimpl.EnumInfo, 4) |
| 848 |
var file_google_cloud_policysimulator_v1_explanations_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 849 |
var file_google_cloud_policysimulator_v1_explanations_proto_goTypes = []any{ |
| 850 |
(AccessState)(0), |
| 851 |
(HeuristicRelevance)(0), |
| 852 |
(BindingExplanation_RolePermission)(0), |
| 853 |
(BindingExplanation_Membership)(0), |
| 854 |
(*AccessTuple)(nil), |
| 855 |
(*ExplainedPolicy)(nil), |
| 856 |
(*BindingExplanation)(nil), |
| 857 |
(*BindingExplanation_AnnotatedMembership)(nil), |
| 858 |
nil, |
| 859 |
(*iampb.Policy)(nil), |
| 860 |
(*expr.Expr)(nil), |
| 861 |
} |
| 862 |
var file_google_cloud_policysimulator_v1_explanations_proto_depIdxs = []int32{ |
| 863 |
0, |
| 864 |
9, |
| 865 |
6, |
| 866 |
1, |
| 867 |
0, |
| 868 |
2, |
| 869 |
1, |
| 870 |
8, |
| 871 |
1, |
| 872 |
10, |
| 873 |
3, |
| 874 |
1, |
| 875 |
7, |
| 876 |
13, |
| 877 |
13, |
| 878 |
13, |
| 879 |
13, |
| 880 |
0, |
| 881 |
} |
| 882 |
|
| 883 |
func init() { file_google_cloud_policysimulator_v1_explanations_proto_init() } |
| 884 |
func file_google_cloud_policysimulator_v1_explanations_proto_init() { |
| 885 |
if File_google_cloud_policysimulator_v1_explanations_proto != nil { |
| 886 |
return |
| 887 |
} |
| 888 |
type x struct{} |
| 889 |
out := protoimpl.TypeBuilder{ |
| 890 |
File: protoimpl.DescBuilder{ |
| 891 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 892 |
RawDescriptor: file_google_cloud_policysimulator_v1_explanations_proto_rawDesc, |
| 893 |
NumEnums: 4, |
| 894 |
NumMessages: 5, |
| 895 |
NumExtensions: 0, |
| 896 |
NumServices: 0, |
| 897 |
}, |
| 898 |
GoTypes: file_google_cloud_policysimulator_v1_explanations_proto_goTypes, |
| 899 |
DependencyIndexes: file_google_cloud_policysimulator_v1_explanations_proto_depIdxs, |
| 900 |
EnumInfos: file_google_cloud_policysimulator_v1_explanations_proto_enumTypes, |
| 901 |
MessageInfos: file_google_cloud_policysimulator_v1_explanations_proto_msgTypes, |
| 902 |
}.Build() |
| 903 |
File_google_cloud_policysimulator_v1_explanations_proto = out.File |
| 904 |
file_google_cloud_policysimulator_v1_explanations_proto_rawDesc = nil |
| 905 |
file_google_cloud_policysimulator_v1_explanations_proto_goTypes = nil |
| 906 |
file_google_cloud_policysimulator_v1_explanations_proto_depIdxs = nil |
| 907 |
} |