| 1 |
// Copyright 2022 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/audit/audit_log.proto |
| 20 |
|
| 21 |
package audit |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 28 |
attribute_context "google.golang.org/genproto/googleapis/rpc/context/attribute_context" |
| 29 |
status "google.golang.org/genproto/googleapis/rpc/status" |
| 30 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 31 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 32 |
anypb "google.golang.org/protobuf/types/known/anypb" |
| 33 |
structpb "google.golang.org/protobuf/types/known/structpb" |
| 34 |
) |
| 35 |
|
| 36 |
const ( |
| 37 |
// Verify that this generated code is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 39 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 41 |
) |
| 42 |
|
| 43 |
// Policy Type enum |
| 44 |
type ViolationInfo_PolicyType int32 |
| 45 |
|
| 46 |
const ( |
| 47 |
// Default value. This value should not be used. |
| 48 |
ViolationInfo_POLICY_TYPE_UNSPECIFIED ViolationInfo_PolicyType = 0 |
| 49 |
// Indicates boolean policy constraint |
| 50 |
ViolationInfo_BOOLEAN_CONSTRAINT ViolationInfo_PolicyType = 1 |
| 51 |
// Indicates list policy constraint |
| 52 |
ViolationInfo_LIST_CONSTRAINT ViolationInfo_PolicyType = 2 |
| 53 |
// Indicates custom policy constraint |
| 54 |
ViolationInfo_CUSTOM_CONSTRAINT ViolationInfo_PolicyType = 3 |
| 55 |
) |
| 56 |
|
| 57 |
// Enum value maps for ViolationInfo_PolicyType. |
| 58 |
var ( |
| 59 |
ViolationInfo_PolicyType_name = map[int32]string{ |
| 60 |
0: "POLICY_TYPE_UNSPECIFIED", |
| 61 |
1: "BOOLEAN_CONSTRAINT", |
| 62 |
2: "LIST_CONSTRAINT", |
| 63 |
3: "CUSTOM_CONSTRAINT", |
| 64 |
} |
| 65 |
ViolationInfo_PolicyType_value = map[string]int32{ |
| 66 |
"POLICY_TYPE_UNSPECIFIED": 0, |
| 67 |
"BOOLEAN_CONSTRAINT": 1, |
| 68 |
"LIST_CONSTRAINT": 2, |
| 69 |
"CUSTOM_CONSTRAINT": 3, |
| 70 |
} |
| 71 |
) |
| 72 |
|
| 73 |
func (x ViolationInfo_PolicyType) Enum() *ViolationInfo_PolicyType { |
| 74 |
p := new(ViolationInfo_PolicyType) |
| 75 |
*p = x |
| 76 |
return p |
| 77 |
} |
| 78 |
|
| 79 |
func (x ViolationInfo_PolicyType) String() string { |
| 80 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 81 |
} |
| 82 |
|
| 83 |
func (ViolationInfo_PolicyType) Descriptor() protoreflect.EnumDescriptor { |
| 84 |
return file_google_cloud_audit_audit_log_proto_enumTypes[0].Descriptor() |
| 85 |
} |
| 86 |
|
| 87 |
func (ViolationInfo_PolicyType) Type() protoreflect.EnumType { |
| 88 |
return &file_google_cloud_audit_audit_log_proto_enumTypes[0] |
| 89 |
} |
| 90 |
|
| 91 |
func (x ViolationInfo_PolicyType) Number() protoreflect.EnumNumber { |
| 92 |
return protoreflect.EnumNumber(x) |
| 93 |
} |
| 94 |
|
| 95 |
// Deprecated: Use ViolationInfo_PolicyType.Descriptor instead. |
| 96 |
func (ViolationInfo_PolicyType) EnumDescriptor() ([]byte, []int) { |
| 97 |
return file_google_cloud_audit_audit_log_proto_rawDescGZIP(), []int{8, 0} |
| 98 |
} |
| 99 |
|
| 100 |
// Common audit log format for Google Cloud Platform API operations. |
| 101 |
type AuditLog struct { |
| 102 |
state protoimpl.MessageState |
| 103 |
sizeCache protoimpl.SizeCache |
| 104 |
unknownFields protoimpl.UnknownFields |
| 105 |
|
| 106 |
// The name of the API service performing the operation. For example, |
| 107 |
// `"compute.googleapis.com"`. |
| 108 |
ServiceName string `protobuf:"bytes,7,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` |
| 109 |
// The name of the service method or operation. |
| 110 |
// For API calls, this should be the name of the API method. |
| 111 |
// For example, |
| 112 |
// |
| 113 |
// "google.cloud.bigquery.v2.TableService.InsertTable" |
| 114 |
// "google.logging.v2.ConfigServiceV2.CreateSink" |
| 115 |
MethodName string `protobuf:"bytes,8,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` |
| 116 |
// The resource or collection that is the target of the operation. |
| 117 |
// The name is a scheme-less URI, not including the API service name. |
| 118 |
// For example: |
| 119 |
// |
| 120 |
// "projects/PROJECT_ID/zones/us-central1-a/instances" |
| 121 |
// "projects/PROJECT_ID/datasets/DATASET_ID" |
| 122 |
ResourceName string `protobuf:"bytes,11,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| 123 |
// The resource location information. |
| 124 |
ResourceLocation *ResourceLocation `protobuf:"bytes,20,opt,name=resource_location,json=resourceLocation,proto3" json:"resource_location,omitempty"` |
| 125 |
// The resource's original state before mutation. Present only for |
| 126 |
// operations which have successfully modified the targeted resource(s). |
| 127 |
// In general, this field should contain all changed fields, except those |
| 128 |
// that are already been included in `request`, `response`, `metadata` or |
| 129 |
// `service_data` fields. |
| 130 |
// When the JSON object represented here has a proto equivalent, |
| 131 |
// the proto name will be indicated in the `@type` property. |
| 132 |
ResourceOriginalState *structpb.Struct `protobuf:"bytes,19,opt,name=resource_original_state,json=resourceOriginalState,proto3" json:"resource_original_state,omitempty"` |
| 133 |
// The number of items returned from a List or Query API method, |
| 134 |
// if applicable. |
| 135 |
NumResponseItems int64 `protobuf:"varint,12,opt,name=num_response_items,json=numResponseItems,proto3" json:"num_response_items,omitempty"` |
| 136 |
// The status of the overall operation. |
| 137 |
Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` |
| 138 |
// Authentication information. |
| 139 |
AuthenticationInfo *AuthenticationInfo `protobuf:"bytes,3,opt,name=authentication_info,json=authenticationInfo,proto3" json:"authentication_info,omitempty"` |
| 140 |
// Authorization information. If there are multiple |
| 141 |
// resources or permissions involved, then there is |
| 142 |
// one AuthorizationInfo element for each {resource, permission} tuple. |
| 143 |
AuthorizationInfo []*AuthorizationInfo `protobuf:"bytes,9,rep,name=authorization_info,json=authorizationInfo,proto3" json:"authorization_info,omitempty"` |
| 144 |
// Indicates the policy violations for this request. If the request |
| 145 |
// is denied by the policy, violation information will be logged |
| 146 |
// here. |
| 147 |
PolicyViolationInfo *PolicyViolationInfo `protobuf:"bytes,25,opt,name=policy_violation_info,json=policyViolationInfo,proto3" json:"policy_violation_info,omitempty"` |
| 148 |
// Metadata about the operation. |
| 149 |
RequestMetadata *RequestMetadata `protobuf:"bytes,4,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"` |
| 150 |
// The operation request. This may not include all request parameters, |
| 151 |
// such as those that are too large, privacy-sensitive, or duplicated |
| 152 |
// elsewhere in the log record. |
| 153 |
// It should never include user-generated data, such as file contents. |
| 154 |
// When the JSON object represented here has a proto equivalent, the proto |
| 155 |
// name will be indicated in the `@type` property. |
| 156 |
Request *structpb.Struct `protobuf:"bytes,16,opt,name=request,proto3" json:"request,omitempty"` |
| 157 |
// The operation response. This may not include all response elements, |
| 158 |
// such as those that are too large, privacy-sensitive, or duplicated |
| 159 |
// elsewhere in the log record. |
| 160 |
// It should never include user-generated data, such as file contents. |
| 161 |
// When the JSON object represented here has a proto equivalent, the proto |
| 162 |
// name will be indicated in the `@type` property. |
| 163 |
Response *structpb.Struct `protobuf:"bytes,17,opt,name=response,proto3" json:"response,omitempty"` |
| 164 |
// Other service-specific data about the request, response, and other |
| 165 |
// information associated with the current audited event. |
| 166 |
Metadata *structpb.Struct `protobuf:"bytes,18,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| 167 |
// Deprecated. Use the `metadata` field instead. |
| 168 |
// Other service-specific data about the request, response, and other |
| 169 |
// activities. |
| 170 |
// |
| 171 |
// Deprecated: Do not use. |
| 172 |
ServiceData *anypb.Any `protobuf:"bytes,15,opt,name=service_data,json=serviceData,proto3" json:"service_data,omitempty"` |
| 173 |
} |
| 174 |
|
| 175 |
func (x *AuditLog) Reset() { |
| 176 |
*x = AuditLog{} |
| 177 |
if protoimpl.UnsafeEnabled { |
| 178 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[0] |
| 179 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 180 |
ms.StoreMessageInfo(mi) |
| 181 |
} |
| 182 |
} |
| 183 |
|
| 184 |
func (x *AuditLog) String() string { |
| 185 |
return protoimpl.X.MessageStringOf(x) |
| 186 |
} |
| 187 |
|
| 188 |
func (*AuditLog) ProtoMessage() {} |
| 189 |
|
| 190 |
func (x *AuditLog) ProtoReflect() protoreflect.Message { |
| 191 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[0] |
| 192 |
if protoimpl.UnsafeEnabled && x != nil { |
| 193 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 194 |
if ms.LoadMessageInfo() == nil { |
| 195 |
ms.StoreMessageInfo(mi) |
| 196 |
} |
| 197 |
return ms |
| 198 |
} |
| 199 |
return mi.MessageOf(x) |
| 200 |
} |
| 201 |
|
| 202 |
// Deprecated: Use AuditLog.ProtoReflect.Descriptor instead. |
| 203 |
func (*AuditLog) Descriptor() ([]byte, []int) { |
| 204 |
return file_google_cloud_audit_audit_log_proto_rawDescGZIP(), []int{0} |
| 205 |
} |
| 206 |
|
| 207 |
func (x *AuditLog) GetServiceName() string { |
| 208 |
if x != nil { |
| 209 |
return x.ServiceName |
| 210 |
} |
| 211 |
return "" |
| 212 |
} |
| 213 |
|
| 214 |
func (x *AuditLog) GetMethodName() string { |
| 215 |
if x != nil { |
| 216 |
return x.MethodName |
| 217 |
} |
| 218 |
return "" |
| 219 |
} |
| 220 |
|
| 221 |
func (x *AuditLog) GetResourceName() string { |
| 222 |
if x != nil { |
| 223 |
return x.ResourceName |
| 224 |
} |
| 225 |
return "" |
| 226 |
} |
| 227 |
|
| 228 |
func (x *AuditLog) GetResourceLocation() *ResourceLocation { |
| 229 |
if x != nil { |
| 230 |
return x.ResourceLocation |
| 231 |
} |
| 232 |
return nil |
| 233 |
} |
| 234 |
|
| 235 |
func (x *AuditLog) GetResourceOriginalState() *structpb.Struct { |
| 236 |
if x != nil { |
| 237 |
return x.ResourceOriginalState |
| 238 |
} |
| 239 |
return nil |
| 240 |
} |
| 241 |
|
| 242 |
func (x *AuditLog) GetNumResponseItems() int64 { |
| 243 |
if x != nil { |
| 244 |
return x.NumResponseItems |
| 245 |
} |
| 246 |
return 0 |
| 247 |
} |
| 248 |
|
| 249 |
func (x *AuditLog) GetStatus() *status.Status { |
| 250 |
if x != nil { |
| 251 |
return x.Status |
| 252 |
} |
| 253 |
return nil |
| 254 |
} |
| 255 |
|
| 256 |
func (x *AuditLog) GetAuthenticationInfo() *AuthenticationInfo { |
| 257 |
if x != nil { |
| 258 |
return x.AuthenticationInfo |
| 259 |
} |
| 260 |
return nil |
| 261 |
} |
| 262 |
|
| 263 |
func (x *AuditLog) GetAuthorizationInfo() []*AuthorizationInfo { |
| 264 |
if x != nil { |
| 265 |
return x.AuthorizationInfo |
| 266 |
} |
| 267 |
return nil |
| 268 |
} |
| 269 |
|
| 270 |
func (x *AuditLog) GetPolicyViolationInfo() *PolicyViolationInfo { |
| 271 |
if x != nil { |
| 272 |
return x.PolicyViolationInfo |
| 273 |
} |
| 274 |
return nil |
| 275 |
} |
| 276 |
|
| 277 |
func (x *AuditLog) GetRequestMetadata() *RequestMetadata { |
| 278 |
if x != nil { |
| 279 |
return x.RequestMetadata |
| 280 |
} |
| 281 |
return nil |
| 282 |
} |
| 283 |
|
| 284 |
func (x *AuditLog) GetRequest() *structpb.Struct { |
| 285 |
if x != nil { |
| 286 |
return x.Request |
| 287 |
} |
| 288 |
return nil |
| 289 |
} |
| 290 |
|
| 291 |
func (x *AuditLog) GetResponse() *structpb.Struct { |
| 292 |
if x != nil { |
| 293 |
return x.Response |
| 294 |
} |
| 295 |
return nil |
| 296 |
} |
| 297 |
|
| 298 |
func (x *AuditLog) GetMetadata() *structpb.Struct { |
| 299 |
if x != nil { |
| 300 |
return x.Metadata |
| 301 |
} |
| 302 |
return nil |
| 303 |
} |
| 304 |
|
| 305 |
// Deprecated: Do not use. |
| 306 |
func (x *AuditLog) GetServiceData() *anypb.Any { |
| 307 |
if x != nil { |
| 308 |
return x.ServiceData |
| 309 |
} |
| 310 |
return nil |
| 311 |
} |
| 312 |
|
| 313 |
// Authentication information for the operation. |
| 314 |
type AuthenticationInfo struct { |
| 315 |
state protoimpl.MessageState |
| 316 |
sizeCache protoimpl.SizeCache |
| 317 |
unknownFields protoimpl.UnknownFields |
| 318 |
|
| 319 |
// The email address of the authenticated user (or service account on behalf |
| 320 |
// of third party principal) making the request. For third party identity |
| 321 |
// callers, the `principal_subject` field is populated instead of this field. |
| 322 |
// For privacy reasons, the principal email address is sometimes redacted. |
| 323 |
// For more information, see [Caller identities in audit |
| 324 |
// logs](https://cloud.google.com/logging/docs/audit#user-id). |
| 325 |
PrincipalEmail string `protobuf:"bytes,1,opt,name=principal_email,json=principalEmail,proto3" json:"principal_email,omitempty"` |
| 326 |
// The authority selector specified by the requestor, if any. |
| 327 |
// It is not guaranteed that the principal was allowed to use this authority. |
| 328 |
AuthoritySelector string `protobuf:"bytes,2,opt,name=authority_selector,json=authoritySelector,proto3" json:"authority_selector,omitempty"` |
| 329 |
// The third party identification (if any) of the authenticated user making |
| 330 |
// the request. |
| 331 |
// When the JSON object represented here has a proto equivalent, the proto |
| 332 |
// name will be indicated in the `@type` property. |
| 333 |
ThirdPartyPrincipal *structpb.Struct `protobuf:"bytes,4,opt,name=third_party_principal,json=thirdPartyPrincipal,proto3" json:"third_party_principal,omitempty"` |
| 334 |
// The name of the service account key used to create or exchange |
| 335 |
// credentials for authenticating the service account making the request. |
| 336 |
// This is a scheme-less URI full resource name. For example: |
| 337 |
// |
| 338 |
// "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" |
| 339 |
ServiceAccountKeyName string `protobuf:"bytes,5,opt,name=service_account_key_name,json=serviceAccountKeyName,proto3" json:"service_account_key_name,omitempty"` |
| 340 |
// Identity delegation history of an authenticated service account that makes |
| 341 |
// the request. It contains information on the real authorities that try to |
| 342 |
// access GCP resources by delegating on a service account. When multiple |
| 343 |
// authorities present, they are guaranteed to be sorted based on the original |
| 344 |
// ordering of the identity delegation events. |
| 345 |
ServiceAccountDelegationInfo []*ServiceAccountDelegationInfo `protobuf:"bytes,6,rep,name=service_account_delegation_info,json=serviceAccountDelegationInfo,proto3" json:"service_account_delegation_info,omitempty"` |
| 346 |
// String representation of identity of requesting party. |
| 347 |
// Populated for both first and third party identities. |
| 348 |
PrincipalSubject string `protobuf:"bytes,8,opt,name=principal_subject,json=principalSubject,proto3" json:"principal_subject,omitempty"` |
| 349 |
} |
| 350 |
|
| 351 |
func (x *AuthenticationInfo) Reset() { |
| 352 |
*x = AuthenticationInfo{} |
| 353 |
if protoimpl.UnsafeEnabled { |
| 354 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[1] |
| 355 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 356 |
ms.StoreMessageInfo(mi) |
| 357 |
} |
| 358 |
} |
| 359 |
|
| 360 |
func (x *AuthenticationInfo) String() string { |
| 361 |
return protoimpl.X.MessageStringOf(x) |
| 362 |
} |
| 363 |
|
| 364 |
func (*AuthenticationInfo) ProtoMessage() {} |
| 365 |
|
| 366 |
func (x *AuthenticationInfo) ProtoReflect() protoreflect.Message { |
| 367 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[1] |
| 368 |
if protoimpl.UnsafeEnabled && x != nil { |
| 369 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 370 |
if ms.LoadMessageInfo() == nil { |
| 371 |
ms.StoreMessageInfo(mi) |
| 372 |
} |
| 373 |
return ms |
| 374 |
} |
| 375 |
return mi.MessageOf(x) |
| 376 |
} |
| 377 |
|
| 378 |
// Deprecated: Use AuthenticationInfo.ProtoReflect.Descriptor instead. |
| 379 |
func (*AuthenticationInfo) Descriptor() ([]byte, []int) { |
| 380 |
return file_google_cloud_audit_audit_log_proto_rawDescGZIP(), []int{1} |
| 381 |
} |
| 382 |
|
| 383 |
func (x *AuthenticationInfo) GetPrincipalEmail() string { |
| 384 |
if x != nil { |
| 385 |
return x.PrincipalEmail |
| 386 |
} |
| 387 |
return "" |
| 388 |
} |
| 389 |
|
| 390 |
func (x *AuthenticationInfo) GetAuthoritySelector() string { |
| 391 |
if x != nil { |
| 392 |
return x.AuthoritySelector |
| 393 |
} |
| 394 |
return "" |
| 395 |
} |
| 396 |
|
| 397 |
func (x *AuthenticationInfo) GetThirdPartyPrincipal() *structpb.Struct { |
| 398 |
if x != nil { |
| 399 |
return x.ThirdPartyPrincipal |
| 400 |
} |
| 401 |
return nil |
| 402 |
} |
| 403 |
|
| 404 |
func (x *AuthenticationInfo) GetServiceAccountKeyName() string { |
| 405 |
if x != nil { |
| 406 |
return x.ServiceAccountKeyName |
| 407 |
} |
| 408 |
return "" |
| 409 |
} |
| 410 |
|
| 411 |
func (x *AuthenticationInfo) GetServiceAccountDelegationInfo() []*ServiceAccountDelegationInfo { |
| 412 |
if x != nil { |
| 413 |
return x.ServiceAccountDelegationInfo |
| 414 |
} |
| 415 |
return nil |
| 416 |
} |
| 417 |
|
| 418 |
func (x *AuthenticationInfo) GetPrincipalSubject() string { |
| 419 |
if x != nil { |
| 420 |
return x.PrincipalSubject |
| 421 |
} |
| 422 |
return "" |
| 423 |
} |
| 424 |
|
| 425 |
// Authorization information for the operation. |
| 426 |
type AuthorizationInfo struct { |
| 427 |
state protoimpl.MessageState |
| 428 |
sizeCache protoimpl.SizeCache |
| 429 |
unknownFields protoimpl.UnknownFields |
| 430 |
|
| 431 |
// The resource being accessed, as a REST-style or cloud resource string. |
| 432 |
// For example: |
| 433 |
// |
| 434 |
// bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID |
| 435 |
// |
| 436 |
// or |
| 437 |
// |
| 438 |
// projects/PROJECTID/datasets/DATASETID |
| 439 |
Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` |
| 440 |
// The required IAM permission. |
| 441 |
Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` |
| 442 |
// Whether or not authorization for `resource` and `permission` |
| 443 |
// was granted. |
| 444 |
Granted bool `protobuf:"varint,3,opt,name=granted,proto3" json:"granted,omitempty"` |
| 445 |
// Resource attributes used in IAM condition evaluation. This field contains |
| 446 |
// resource attributes like resource type and resource name. |
| 447 |
// |
| 448 |
// To get the whole view of the attributes used in IAM |
| 449 |
// condition evaluation, the user must also look into |
| 450 |
// `AuditLog.request_metadata.request_attributes`. |
| 451 |
ResourceAttributes *attribute_context.AttributeContext_Resource `protobuf:"bytes,5,opt,name=resource_attributes,json=resourceAttributes,proto3" json:"resource_attributes,omitempty"` |
| 452 |
} |
| 453 |
|
| 454 |
func (x *AuthorizationInfo) Reset() { |
| 455 |
*x = AuthorizationInfo{} |
| 456 |
if protoimpl.UnsafeEnabled { |
| 457 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[2] |
| 458 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 459 |
ms.StoreMessageInfo(mi) |
| 460 |
} |
| 461 |
} |
| 462 |
|
| 463 |
func (x *AuthorizationInfo) String() string { |
| 464 |
return protoimpl.X.MessageStringOf(x) |
| 465 |
} |
| 466 |
|
| 467 |
func (*AuthorizationInfo) ProtoMessage() {} |
| 468 |
|
| 469 |
func (x *AuthorizationInfo) ProtoReflect() protoreflect.Message { |
| 470 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[2] |
| 471 |
if protoimpl.UnsafeEnabled && x != nil { |
| 472 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 473 |
if ms.LoadMessageInfo() == nil { |
| 474 |
ms.StoreMessageInfo(mi) |
| 475 |
} |
| 476 |
return ms |
| 477 |
} |
| 478 |
return mi.MessageOf(x) |
| 479 |
} |
| 480 |
|
| 481 |
// Deprecated: Use AuthorizationInfo.ProtoReflect.Descriptor instead. |
| 482 |
func (*AuthorizationInfo) Descriptor() ([]byte, []int) { |
| 483 |
return file_google_cloud_audit_audit_log_proto_rawDescGZIP(), []int{2} |
| 484 |
} |
| 485 |
|
| 486 |
func (x *AuthorizationInfo) GetResource() string { |
| 487 |
if x != nil { |
| 488 |
return x.Resource |
| 489 |
} |
| 490 |
return "" |
| 491 |
} |
| 492 |
|
| 493 |
func (x *AuthorizationInfo) GetPermission() string { |
| 494 |
if x != nil { |
| 495 |
return x.Permission |
| 496 |
} |
| 497 |
return "" |
| 498 |
} |
| 499 |
|
| 500 |
func (x *AuthorizationInfo) GetGranted() bool { |
| 501 |
if x != nil { |
| 502 |
return x.Granted |
| 503 |
} |
| 504 |
return false |
| 505 |
} |
| 506 |
|
| 507 |
func (x *AuthorizationInfo) GetResourceAttributes() *attribute_context.AttributeContext_Resource { |
| 508 |
if x != nil { |
| 509 |
return x.ResourceAttributes |
| 510 |
} |
| 511 |
return nil |
| 512 |
} |
| 513 |
|
| 514 |
// Metadata about the request. |
| 515 |
type RequestMetadata struct { |
| 516 |
state protoimpl.MessageState |
| 517 |
sizeCache protoimpl.SizeCache |
| 518 |
unknownFields protoimpl.UnknownFields |
| 519 |
|
| 520 |
// The IP address of the caller. |
| 521 |
// For a caller from the internet, this will be the public IPv4 or IPv6 |
| 522 |
// address. For calls made from inside Google's internal production network |
| 523 |
// from one GCP service to another, `caller_ip` will be redacted to "private". |
| 524 |
// For a caller from a Compute Engine VM with a external IP address, |
| 525 |
// `caller_ip` will be the VM's external IP address. For a caller from a |
| 526 |
// Compute Engine VM without a external IP address, if the VM is in the same |
| 527 |
// organization (or project) as the accessed resource, `caller_ip` will be the |
| 528 |
// VM's internal IPv4 address, otherwise `caller_ip` will be redacted to |
| 529 |
// "gce-internal-ip". See https://cloud.google.com/compute/docs/vpc/ for more |
| 530 |
// information. |
| 531 |
CallerIp string `protobuf:"bytes,1,opt,name=caller_ip,json=callerIp,proto3" json:"caller_ip,omitempty"` |
| 532 |
// The user agent of the caller. |
| 533 |
// This information is not authenticated and should be treated accordingly. |
| 534 |
// For example: |
| 535 |
// |
| 536 |
// - `google-api-python-client/1.4.0`: |
| 537 |
// The request was made by the Google API client for Python. |
| 538 |
// - `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: |
| 539 |
// The request was made by the Google Cloud SDK CLI (gcloud). |
| 540 |
// - `AppEngine-Google; (+http://code.google.com/appengine; appid: |
| 541 |
// |
| 542 |
// s~my-project`: |
| 543 |
// |
| 544 |
// The request was made from the `my-project` App Engine app. |
| 545 |
CallerSuppliedUserAgent string `protobuf:"bytes,2,opt,name=caller_supplied_user_agent,json=callerSuppliedUserAgent,proto3" json:"caller_supplied_user_agent,omitempty"` |
| 546 |
// The network of the caller. |
| 547 |
// Set only if the network host project is part of the same GCP organization |
| 548 |
// (or project) as the accessed resource. |
| 549 |
// See https://cloud.google.com/compute/docs/vpc/ for more information. |
| 550 |
// This is a scheme-less URI full resource name. For example: |
| 551 |
// |
| 552 |
// "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" |
| 553 |
CallerNetwork string `protobuf:"bytes,3,opt,name=caller_network,json=callerNetwork,proto3" json:"caller_network,omitempty"` |
| 554 |
// Request attributes used in IAM condition evaluation. This field contains |
| 555 |
// request attributes like request time and access levels associated with |
| 556 |
// the request. |
| 557 |
// |
| 558 |
// To get the whole view of the attributes used in IAM |
| 559 |
// condition evaluation, the user must also look into |
| 560 |
// `AuditLog.authentication_info.resource_attributes`. |
| 561 |
RequestAttributes *attribute_context.AttributeContext_Request `protobuf:"bytes,7,opt,name=request_attributes,json=requestAttributes,proto3" json:"request_attributes,omitempty"` |
| 562 |
// The destination of a network activity, such as accepting a TCP connection. |
| 563 |
// In a multi hop network activity, the destination represents the receiver of |
| 564 |
// the last hop. Only two fields are used in this message, Peer.port and |
| 565 |
// Peer.ip. These fields are optionally populated by those services utilizing |
| 566 |
// the IAM condition feature. |
| 567 |
DestinationAttributes *attribute_context.AttributeContext_Peer `protobuf:"bytes,8,opt,name=destination_attributes,json=destinationAttributes,proto3" json:"destination_attributes,omitempty"` |
| 568 |
} |
| 569 |
|
| 570 |
func (x *RequestMetadata) Reset() { |
| 571 |
*x = RequestMetadata{} |
| 572 |
if protoimpl.UnsafeEnabled { |
| 573 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[3] |
| 574 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 575 |
ms.StoreMessageInfo(mi) |
| 576 |
} |
| 577 |
} |
| 578 |
|
| 579 |
func (x *RequestMetadata) String() string { |
| 580 |
return protoimpl.X.MessageStringOf(x) |
| 581 |
} |
| 582 |
|
| 583 |
func (*RequestMetadata) ProtoMessage() {} |
| 584 |
|
| 585 |
func (x *RequestMetadata) ProtoReflect() protoreflect.Message { |
| 586 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[3] |
| 587 |
if protoimpl.UnsafeEnabled && x != nil { |
| 588 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 589 |
if ms.LoadMessageInfo() == nil { |
| 590 |
ms.StoreMessageInfo(mi) |
| 591 |
} |
| 592 |
return ms |
| 593 |
} |
| 594 |
return mi.MessageOf(x) |
| 595 |
} |
| 596 |
|
| 597 |
// Deprecated: Use RequestMetadata.ProtoReflect.Descriptor instead. |
| 598 |
func (*RequestMetadata) Descriptor() ([]byte, []int) { |
| 599 |
return file_google_cloud_audit_audit_log_proto_rawDescGZIP(), []int{3} |
| 600 |
} |
| 601 |
|
| 602 |
func (x *RequestMetadata) GetCallerIp() string { |
| 603 |
if x != nil { |
| 604 |
return x.CallerIp |
| 605 |
} |
| 606 |
return "" |
| 607 |
} |
| 608 |
|
| 609 |
func (x *RequestMetadata) GetCallerSuppliedUserAgent() string { |
| 610 |
if x != nil { |
| 611 |
return x.CallerSuppliedUserAgent |
| 612 |
} |
| 613 |
return "" |
| 614 |
} |
| 615 |
|
| 616 |
func (x *RequestMetadata) GetCallerNetwork() string { |
| 617 |
if x != nil { |
| 618 |
return x.CallerNetwork |
| 619 |
} |
| 620 |
return "" |
| 621 |
} |
| 622 |
|
| 623 |
func (x *RequestMetadata) GetRequestAttributes() *attribute_context.AttributeContext_Request { |
| 624 |
if x != nil { |
| 625 |
return x.RequestAttributes |
| 626 |
} |
| 627 |
return nil |
| 628 |
} |
| 629 |
|
| 630 |
func (x *RequestMetadata) GetDestinationAttributes() *attribute_context.AttributeContext_Peer { |
| 631 |
if x != nil { |
| 632 |
return x.DestinationAttributes |
| 633 |
} |
| 634 |
return nil |
| 635 |
} |
| 636 |
|
| 637 |
// Location information about a resource. |
| 638 |
type ResourceLocation struct { |
| 639 |
state protoimpl.MessageState |
| 640 |
sizeCache protoimpl.SizeCache |
| 641 |
unknownFields protoimpl.UnknownFields |
| 642 |
|
| 643 |
// The locations of a resource after the execution of the operation. |
| 644 |
// Requests to create or delete a location based resource must populate |
| 645 |
// the 'current_locations' field and not the 'original_locations' field. |
| 646 |
// For example: |
| 647 |
// |
| 648 |
// "europe-west1-a" |
| 649 |
// "us-east1" |
| 650 |
// "nam3" |
| 651 |
CurrentLocations []string `protobuf:"bytes,1,rep,name=current_locations,json=currentLocations,proto3" json:"current_locations,omitempty"` |
| 652 |
// The locations of a resource prior to the execution of the operation. |
| 653 |
// Requests that mutate the resource's location must populate both the |
| 654 |
// 'original_locations' as well as the 'current_locations' fields. |
| 655 |
// For example: |
| 656 |
// |
| 657 |
// "europe-west1-a" |
| 658 |
// "us-east1" |
| 659 |
// "nam3" |
| 660 |
OriginalLocations []string `protobuf:"bytes,2,rep,name=original_locations,json=originalLocations,proto3" json:"original_locations,omitempty"` |
| 661 |
} |
| 662 |
|
| 663 |
func (x *ResourceLocation) Reset() { |
| 664 |
*x = ResourceLocation{} |
| 665 |
if protoimpl.UnsafeEnabled { |
| 666 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[4] |
| 667 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 668 |
ms.StoreMessageInfo(mi) |
| 669 |
} |
| 670 |
} |
| 671 |
|
| 672 |
func (x *ResourceLocation) String() string { |
| 673 |
return protoimpl.X.MessageStringOf(x) |
| 674 |
} |
| 675 |
|
| 676 |
func (*ResourceLocation) ProtoMessage() {} |
| 677 |
|
| 678 |
func (x *ResourceLocation) ProtoReflect() protoreflect.Message { |
| 679 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[4] |
| 680 |
if protoimpl.UnsafeEnabled && x != nil { |
| 681 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 682 |
if ms.LoadMessageInfo() == nil { |
| 683 |
ms.StoreMessageInfo(mi) |
| 684 |
} |
| 685 |
return ms |
| 686 |
} |
| 687 |
return mi.MessageOf(x) |
| 688 |
} |
| 689 |
|
| 690 |
// Deprecated: Use ResourceLocation.ProtoReflect.Descriptor instead. |
| 691 |
func (*ResourceLocation) Descriptor() ([]byte, []int) { |
| 692 |
return file_google_cloud_audit_audit_log_proto_rawDescGZIP(), []int{4} |
| 693 |
} |
| 694 |
|
| 695 |
func (x *ResourceLocation) GetCurrentLocations() []string { |
| 696 |
if x != nil { |
| 697 |
return x.CurrentLocations |
| 698 |
} |
| 699 |
return nil |
| 700 |
} |
| 701 |
|
| 702 |
func (x *ResourceLocation) GetOriginalLocations() []string { |
| 703 |
if x != nil { |
| 704 |
return x.OriginalLocations |
| 705 |
} |
| 706 |
return nil |
| 707 |
} |
| 708 |
|
| 709 |
// Identity delegation history of an authenticated service account. |
| 710 |
type ServiceAccountDelegationInfo struct { |
| 711 |
state protoimpl.MessageState |
| 712 |
sizeCache protoimpl.SizeCache |
| 713 |
unknownFields protoimpl.UnknownFields |
| 714 |
|
| 715 |
// A string representing the principal_subject associated with the identity. |
| 716 |
// For most identities, the format will be |
| 717 |
// `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` |
| 718 |
// except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) |
| 719 |
// that are still in the legacy format `serviceAccount:{identity pool |
| 720 |
// name}[{subject}]` |
| 721 |
PrincipalSubject string `protobuf:"bytes,3,opt,name=principal_subject,json=principalSubject,proto3" json:"principal_subject,omitempty"` |
| 722 |
// Entity that creates credentials for service account and assumes its |
| 723 |
// identity for authentication. |
| 724 |
// |
| 725 |
// Types that are assignable to Authority: |
| 726 |
// |
| 727 |
// *ServiceAccountDelegationInfo_FirstPartyPrincipal_ |
| 728 |
// *ServiceAccountDelegationInfo_ThirdPartyPrincipal_ |
| 729 |
Authority isServiceAccountDelegationInfo_Authority `protobuf_oneof:"Authority"` |
| 730 |
} |
| 731 |
|
| 732 |
func (x *ServiceAccountDelegationInfo) Reset() { |
| 733 |
*x = ServiceAccountDelegationInfo{} |
| 734 |
if protoimpl.UnsafeEnabled { |
| 735 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[5] |
| 736 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 737 |
ms.StoreMessageInfo(mi) |
| 738 |
} |
| 739 |
} |
| 740 |
|
| 741 |
func (x *ServiceAccountDelegationInfo) String() string { |
| 742 |
return protoimpl.X.MessageStringOf(x) |
| 743 |
} |
| 744 |
|
| 745 |
func (*ServiceAccountDelegationInfo) ProtoMessage() {} |
| 746 |
|
| 747 |
func (x *ServiceAccountDelegationInfo) ProtoReflect() protoreflect.Message { |
| 748 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[5] |
| 749 |
if protoimpl.UnsafeEnabled && x != nil { |
| 750 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 751 |
if ms.LoadMessageInfo() == nil { |
| 752 |
ms.StoreMessageInfo(mi) |
| 753 |
} |
| 754 |
return ms |
| 755 |
} |
| 756 |
return mi.MessageOf(x) |
| 757 |
} |
| 758 |
|
| 759 |
// Deprecated: Use ServiceAccountDelegationInfo.ProtoReflect.Descriptor instead. |
| 760 |
func (*ServiceAccountDelegationInfo) Descriptor() ([]byte, []int) { |
| 761 |
return file_google_cloud_audit_audit_log_proto_rawDescGZIP(), []int{5} |
| 762 |
} |
| 763 |
|
| 764 |
func (x *ServiceAccountDelegationInfo) GetPrincipalSubject() string { |
| 765 |
if x != nil { |
| 766 |
return x.PrincipalSubject |
| 767 |
} |
| 768 |
return "" |
| 769 |
} |
| 770 |
|
| 771 |
func (m *ServiceAccountDelegationInfo) GetAuthority() isServiceAccountDelegationInfo_Authority { |
| 772 |
if m != nil { |
| 773 |
return m.Authority |
| 774 |
} |
| 775 |
return nil |
| 776 |
} |
| 777 |
|
| 778 |
func (x *ServiceAccountDelegationInfo) GetFirstPartyPrincipal() *ServiceAccountDelegationInfo_FirstPartyPrincipal { |
| 779 |
if x, ok := x.GetAuthority().(*ServiceAccountDelegationInfo_FirstPartyPrincipal_); ok { |
| 780 |
return x.FirstPartyPrincipal |
| 781 |
} |
| 782 |
return nil |
| 783 |
} |
| 784 |
|
| 785 |
func (x *ServiceAccountDelegationInfo) GetThirdPartyPrincipal() *ServiceAccountDelegationInfo_ThirdPartyPrincipal { |
| 786 |
if x, ok := x.GetAuthority().(*ServiceAccountDelegationInfo_ThirdPartyPrincipal_); ok { |
| 787 |
return x.ThirdPartyPrincipal |
| 788 |
} |
| 789 |
return nil |
| 790 |
} |
| 791 |
|
| 792 |
type isServiceAccountDelegationInfo_Authority interface { |
| 793 |
isServiceAccountDelegationInfo_Authority() |
| 794 |
} |
| 795 |
|
| 796 |
type ServiceAccountDelegationInfo_FirstPartyPrincipal_ struct { |
| 797 |
// First party (Google) identity as the real authority. |
| 798 |
FirstPartyPrincipal *ServiceAccountDelegationInfo_FirstPartyPrincipal `protobuf:"bytes,1,opt,name=first_party_principal,json=firstPartyPrincipal,proto3,oneof"` |
| 799 |
} |
| 800 |
|
| 801 |
type ServiceAccountDelegationInfo_ThirdPartyPrincipal_ struct { |
| 802 |
// Third party identity as the real authority. |
| 803 |
ThirdPartyPrincipal *ServiceAccountDelegationInfo_ThirdPartyPrincipal `protobuf:"bytes,2,opt,name=third_party_principal,json=thirdPartyPrincipal,proto3,oneof"` |
| 804 |
} |
| 805 |
|
| 806 |
func (*ServiceAccountDelegationInfo_FirstPartyPrincipal_) isServiceAccountDelegationInfo_Authority() { |
| 807 |
} |
| 808 |
|
| 809 |
func (*ServiceAccountDelegationInfo_ThirdPartyPrincipal_) isServiceAccountDelegationInfo_Authority() { |
| 810 |
} |
| 811 |
|
| 812 |
// Information related to policy violations for this request. |
| 813 |
type PolicyViolationInfo struct { |
| 814 |
state protoimpl.MessageState |
| 815 |
sizeCache protoimpl.SizeCache |
| 816 |
unknownFields protoimpl.UnknownFields |
| 817 |
|
| 818 |
// Indicates the orgpolicy violations for this resource. |
| 819 |
OrgPolicyViolationInfo *OrgPolicyViolationInfo `protobuf:"bytes,1,opt,name=org_policy_violation_info,json=orgPolicyViolationInfo,proto3" json:"org_policy_violation_info,omitempty"` |
| 820 |
} |
| 821 |
|
| 822 |
func (x *PolicyViolationInfo) Reset() { |
| 823 |
*x = PolicyViolationInfo{} |
| 824 |
if protoimpl.UnsafeEnabled { |
| 825 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[6] |
| 826 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 827 |
ms.StoreMessageInfo(mi) |
| 828 |
} |
| 829 |
} |
| 830 |
|
| 831 |
func (x *PolicyViolationInfo) String() string { |
| 832 |
return protoimpl.X.MessageStringOf(x) |
| 833 |
} |
| 834 |
|
| 835 |
func (*PolicyViolationInfo) ProtoMessage() {} |
| 836 |
|
| 837 |
func (x *PolicyViolationInfo) ProtoReflect() protoreflect.Message { |
| 838 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[6] |
| 839 |
if protoimpl.UnsafeEnabled && x != nil { |
| 840 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 841 |
if ms.LoadMessageInfo() == nil { |
| 842 |
ms.StoreMessageInfo(mi) |
| 843 |
} |
| 844 |
return ms |
| 845 |
} |
| 846 |
return mi.MessageOf(x) |
| 847 |
} |
| 848 |
|
| 849 |
// Deprecated: Use PolicyViolationInfo.ProtoReflect.Descriptor instead. |
| 850 |
func (*PolicyViolationInfo) Descriptor() ([]byte, []int) { |
| 851 |
return file_google_cloud_audit_audit_log_proto_rawDescGZIP(), []int{6} |
| 852 |
} |
| 853 |
|
| 854 |
func (x *PolicyViolationInfo) GetOrgPolicyViolationInfo() *OrgPolicyViolationInfo { |
| 855 |
if x != nil { |
| 856 |
return x.OrgPolicyViolationInfo |
| 857 |
} |
| 858 |
return nil |
| 859 |
} |
| 860 |
|
| 861 |
// Represents OrgPolicy Violation information. |
| 862 |
type OrgPolicyViolationInfo struct { |
| 863 |
state protoimpl.MessageState |
| 864 |
sizeCache protoimpl.SizeCache |
| 865 |
unknownFields protoimpl.UnknownFields |
| 866 |
|
| 867 |
// Optional. Resource payload that is currently in scope and is subjected to orgpolicy |
| 868 |
// conditions. This payload may be the subset of the actual Resource that may |
| 869 |
// come in the request. This payload should not contain any core content. |
| 870 |
Payload *structpb.Struct `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` |
| 871 |
// Optional. Resource type that the orgpolicy is checked against. |
| 872 |
// Example: compute.googleapis.com/Instance, store.googleapis.com/bucket |
| 873 |
ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` |
| 874 |
// Optional. Tags referenced on the resource at the time of evaluation. These also |
| 875 |
// include the federated tags, if they are supplied in the CheckOrgPolicy |
| 876 |
// or CheckCustomConstraints Requests. |
| 877 |
// |
| 878 |
// Optional field as of now. These tags are the Cloud tags that are |
| 879 |
// available on the resource during the policy evaluation and will |
| 880 |
// be available as part of the OrgPolicy check response for logging purposes. |
| 881 |
ResourceTags map[string]string `protobuf:"bytes,3,rep,name=resource_tags,json=resourceTags,proto3" json:"resource_tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 882 |
// Optional. Policy violations |
| 883 |
ViolationInfo []*ViolationInfo `protobuf:"bytes,4,rep,name=violation_info,json=violationInfo,proto3" json:"violation_info,omitempty"` |
| 884 |
} |
| 885 |
|
| 886 |
func (x *OrgPolicyViolationInfo) Reset() { |
| 887 |
*x = OrgPolicyViolationInfo{} |
| 888 |
if protoimpl.UnsafeEnabled { |
| 889 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[7] |
| 890 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 891 |
ms.StoreMessageInfo(mi) |
| 892 |
} |
| 893 |
} |
| 894 |
|
| 895 |
func (x *OrgPolicyViolationInfo) String() string { |
| 896 |
return protoimpl.X.MessageStringOf(x) |
| 897 |
} |
| 898 |
|
| 899 |
func (*OrgPolicyViolationInfo) ProtoMessage() {} |
| 900 |
|
| 901 |
func (x *OrgPolicyViolationInfo) ProtoReflect() protoreflect.Message { |
| 902 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[7] |
| 903 |
if protoimpl.UnsafeEnabled && x != nil { |
| 904 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 905 |
if ms.LoadMessageInfo() == nil { |
| 906 |
ms.StoreMessageInfo(mi) |
| 907 |
} |
| 908 |
return ms |
| 909 |
} |
| 910 |
return mi.MessageOf(x) |
| 911 |
} |
| 912 |
|
| 913 |
// Deprecated: Use OrgPolicyViolationInfo.ProtoReflect.Descriptor instead. |
| 914 |
func (*OrgPolicyViolationInfo) Descriptor() ([]byte, []int) { |
| 915 |
return file_google_cloud_audit_audit_log_proto_rawDescGZIP(), []int{7} |
| 916 |
} |
| 917 |
|
| 918 |
func (x *OrgPolicyViolationInfo) GetPayload() *structpb.Struct { |
| 919 |
if x != nil { |
| 920 |
return x.Payload |
| 921 |
} |
| 922 |
return nil |
| 923 |
} |
| 924 |
|
| 925 |
func (x *OrgPolicyViolationInfo) GetResourceType() string { |
| 926 |
if x != nil { |
| 927 |
return x.ResourceType |
| 928 |
} |
| 929 |
return "" |
| 930 |
} |
| 931 |
|
| 932 |
func (x *OrgPolicyViolationInfo) GetResourceTags() map[string]string { |
| 933 |
if x != nil { |
| 934 |
return x.ResourceTags |
| 935 |
} |
| 936 |
return nil |
| 937 |
} |
| 938 |
|
| 939 |
func (x *OrgPolicyViolationInfo) GetViolationInfo() []*ViolationInfo { |
| 940 |
if x != nil { |
| 941 |
return x.ViolationInfo |
| 942 |
} |
| 943 |
return nil |
| 944 |
} |
| 945 |
|
| 946 |
// Provides information about the Policy violation info for this request. |
| 947 |
type ViolationInfo struct { |
| 948 |
state protoimpl.MessageState |
| 949 |
sizeCache protoimpl.SizeCache |
| 950 |
unknownFields protoimpl.UnknownFields |
| 951 |
|
| 952 |
// Optional. Constraint name |
| 953 |
Constraint string `protobuf:"bytes,1,opt,name=constraint,proto3" json:"constraint,omitempty"` |
| 954 |
// Optional. Error message that policy is indicating. |
| 955 |
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` |
| 956 |
// Optional. Value that is being checked for the policy. |
| 957 |
// This could be in encrypted form (if pii sensitive). |
| 958 |
// This field will only be emitted in LIST_POLICY types |
| 959 |
CheckedValue string `protobuf:"bytes,3,opt,name=checked_value,json=checkedValue,proto3" json:"checked_value,omitempty"` |
| 960 |
// Optional. Indicates the type of the policy. |
| 961 |
PolicyType ViolationInfo_PolicyType `protobuf:"varint,4,opt,name=policy_type,json=policyType,proto3,enum=google.cloud.audit.ViolationInfo_PolicyType" json:"policy_type,omitempty"` |
| 962 |
} |
| 963 |
|
| 964 |
func (x *ViolationInfo) Reset() { |
| 965 |
*x = ViolationInfo{} |
| 966 |
if protoimpl.UnsafeEnabled { |
| 967 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[8] |
| 968 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 969 |
ms.StoreMessageInfo(mi) |
| 970 |
} |
| 971 |
} |
| 972 |
|
| 973 |
func (x *ViolationInfo) String() string { |
| 974 |
return protoimpl.X.MessageStringOf(x) |
| 975 |
} |
| 976 |
|
| 977 |
func (*ViolationInfo) ProtoMessage() {} |
| 978 |
|
| 979 |
func (x *ViolationInfo) ProtoReflect() protoreflect.Message { |
| 980 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[8] |
| 981 |
if protoimpl.UnsafeEnabled && x != nil { |
| 982 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 983 |
if ms.LoadMessageInfo() == nil { |
| 984 |
ms.StoreMessageInfo(mi) |
| 985 |
} |
| 986 |
return ms |
| 987 |
} |
| 988 |
return mi.MessageOf(x) |
| 989 |
} |
| 990 |
|
| 991 |
// Deprecated: Use ViolationInfo.ProtoReflect.Descriptor instead. |
| 992 |
func (*ViolationInfo) Descriptor() ([]byte, []int) { |
| 993 |
return file_google_cloud_audit_audit_log_proto_rawDescGZIP(), []int{8} |
| 994 |
} |
| 995 |
|
| 996 |
func (x *ViolationInfo) GetConstraint() string { |
| 997 |
if x != nil { |
| 998 |
return x.Constraint |
| 999 |
} |
| 1000 |
return "" |
| 1001 |
} |
| 1002 |
|
| 1003 |
func (x *ViolationInfo) GetErrorMessage() string { |
| 1004 |
if x != nil { |
| 1005 |
return x.ErrorMessage |
| 1006 |
} |
| 1007 |
return "" |
| 1008 |
} |
| 1009 |
|
| 1010 |
func (x *ViolationInfo) GetCheckedValue() string { |
| 1011 |
if x != nil { |
| 1012 |
return x.CheckedValue |
| 1013 |
} |
| 1014 |
return "" |
| 1015 |
} |
| 1016 |
|
| 1017 |
func (x *ViolationInfo) GetPolicyType() ViolationInfo_PolicyType { |
| 1018 |
if x != nil { |
| 1019 |
return x.PolicyType |
| 1020 |
} |
| 1021 |
return ViolationInfo_POLICY_TYPE_UNSPECIFIED |
| 1022 |
} |
| 1023 |
|
| 1024 |
// First party identity principal. |
| 1025 |
type ServiceAccountDelegationInfo_FirstPartyPrincipal struct { |
| 1026 |
state protoimpl.MessageState |
| 1027 |
sizeCache protoimpl.SizeCache |
| 1028 |
unknownFields protoimpl.UnknownFields |
| 1029 |
|
| 1030 |
// The email address of a Google account. |
| 1031 |
PrincipalEmail string `protobuf:"bytes,1,opt,name=principal_email,json=principalEmail,proto3" json:"principal_email,omitempty"` |
| 1032 |
// Metadata about the service that uses the service account. |
| 1033 |
ServiceMetadata *structpb.Struct `protobuf:"bytes,2,opt,name=service_metadata,json=serviceMetadata,proto3" json:"service_metadata,omitempty"` |
| 1034 |
} |
| 1035 |
|
| 1036 |
func (x *ServiceAccountDelegationInfo_FirstPartyPrincipal) Reset() { |
| 1037 |
*x = ServiceAccountDelegationInfo_FirstPartyPrincipal{} |
| 1038 |
if protoimpl.UnsafeEnabled { |
| 1039 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[9] |
| 1040 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1041 |
ms.StoreMessageInfo(mi) |
| 1042 |
} |
| 1043 |
} |
| 1044 |
|
| 1045 |
func (x *ServiceAccountDelegationInfo_FirstPartyPrincipal) String() string { |
| 1046 |
return protoimpl.X.MessageStringOf(x) |
| 1047 |
} |
| 1048 |
|
| 1049 |
func (*ServiceAccountDelegationInfo_FirstPartyPrincipal) ProtoMessage() {} |
| 1050 |
|
| 1051 |
func (x *ServiceAccountDelegationInfo_FirstPartyPrincipal) ProtoReflect() protoreflect.Message { |
| 1052 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[9] |
| 1053 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1054 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1055 |
if ms.LoadMessageInfo() == nil { |
| 1056 |
ms.StoreMessageInfo(mi) |
| 1057 |
} |
| 1058 |
return ms |
| 1059 |
} |
| 1060 |
return mi.MessageOf(x) |
| 1061 |
} |
| 1062 |
|
| 1063 |
// Deprecated: Use ServiceAccountDelegationInfo_FirstPartyPrincipal.ProtoReflect.Descriptor instead. |
| 1064 |
func (*ServiceAccountDelegationInfo_FirstPartyPrincipal) Descriptor() ([]byte, []int) { |
| 1065 |
return file_google_cloud_audit_audit_log_proto_rawDescGZIP(), []int{5, 0} |
| 1066 |
} |
| 1067 |
|
| 1068 |
func (x *ServiceAccountDelegationInfo_FirstPartyPrincipal) GetPrincipalEmail() string { |
| 1069 |
if x != nil { |
| 1070 |
return x.PrincipalEmail |
| 1071 |
} |
| 1072 |
return "" |
| 1073 |
} |
| 1074 |
|
| 1075 |
func (x *ServiceAccountDelegationInfo_FirstPartyPrincipal) GetServiceMetadata() *structpb.Struct { |
| 1076 |
if x != nil { |
| 1077 |
return x.ServiceMetadata |
| 1078 |
} |
| 1079 |
return nil |
| 1080 |
} |
| 1081 |
|
| 1082 |
// Third party identity principal. |
| 1083 |
type ServiceAccountDelegationInfo_ThirdPartyPrincipal struct { |
| 1084 |
state protoimpl.MessageState |
| 1085 |
sizeCache protoimpl.SizeCache |
| 1086 |
unknownFields protoimpl.UnknownFields |
| 1087 |
|
| 1088 |
// Metadata about third party identity. |
| 1089 |
ThirdPartyClaims *structpb.Struct `protobuf:"bytes,1,opt,name=third_party_claims,json=thirdPartyClaims,proto3" json:"third_party_claims,omitempty"` |
| 1090 |
} |
| 1091 |
|
| 1092 |
func (x *ServiceAccountDelegationInfo_ThirdPartyPrincipal) Reset() { |
| 1093 |
*x = ServiceAccountDelegationInfo_ThirdPartyPrincipal{} |
| 1094 |
if protoimpl.UnsafeEnabled { |
| 1095 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[10] |
| 1096 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1097 |
ms.StoreMessageInfo(mi) |
| 1098 |
} |
| 1099 |
} |
| 1100 |
|
| 1101 |
func (x *ServiceAccountDelegationInfo_ThirdPartyPrincipal) String() string { |
| 1102 |
return protoimpl.X.MessageStringOf(x) |
| 1103 |
} |
| 1104 |
|
| 1105 |
func (*ServiceAccountDelegationInfo_ThirdPartyPrincipal) ProtoMessage() {} |
| 1106 |
|
| 1107 |
func (x *ServiceAccountDelegationInfo_ThirdPartyPrincipal) ProtoReflect() protoreflect.Message { |
| 1108 |
mi := &file_google_cloud_audit_audit_log_proto_msgTypes[10] |
| 1109 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1110 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1111 |
if ms.LoadMessageInfo() == nil { |
| 1112 |
ms.StoreMessageInfo(mi) |
| 1113 |
} |
| 1114 |
return ms |
| 1115 |
} |
| 1116 |
return mi.MessageOf(x) |
| 1117 |
} |
| 1118 |
|
| 1119 |
// Deprecated: Use ServiceAccountDelegationInfo_ThirdPartyPrincipal.ProtoReflect.Descriptor instead. |
| 1120 |
func (*ServiceAccountDelegationInfo_ThirdPartyPrincipal) Descriptor() ([]byte, []int) { |
| 1121 |
return file_google_cloud_audit_audit_log_proto_rawDescGZIP(), []int{5, 1} |
| 1122 |
} |
| 1123 |
|
| 1124 |
func (x *ServiceAccountDelegationInfo_ThirdPartyPrincipal) GetThirdPartyClaims() *structpb.Struct { |
| 1125 |
if x != nil { |
| 1126 |
return x.ThirdPartyClaims |
| 1127 |
} |
| 1128 |
return nil |
| 1129 |
} |
| 1130 |
|
| 1131 |
var File_google_cloud_audit_audit_log_proto protoreflect.FileDescriptor |
| 1132 |
|
| 1133 |
var file_google_cloud_audit_audit_log_proto_rawDesc = []byte{ |
| 1134 |
0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, |
| 1135 |
0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, |
| 1136 |
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 1137 |
0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1138 |
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, |
| 1139 |
0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1140 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, |
| 1141 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, |
| 1142 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, |
| 1143 |
0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, |
| 1144 |
0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, |
| 1145 |
0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, |
| 1146 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, |
| 1147 |
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x07, 0x0a, 0x08, 0x41, 0x75, 0x64, 0x69, |
| 1148 |
0x74, 0x4c, 0x6f, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, |
| 1149 |
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, |
| 1150 |
0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x68, 0x6f, |
| 1151 |
0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, |
| 1152 |
0x74, 0x68, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, |
| 1153 |
0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1154 |
0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x51, 0x0a, |
| 1155 |
0x11, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, |
| 1156 |
0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1157 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x52, 0x65, |
| 1158 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, |
| 1159 |
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 1160 |
0x12, 0x4f, 0x0a, 0x17, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, 0x72, 0x69, |
| 1161 |
0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, |
| 1162 |
0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 1163 |
0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x15, 0x72, 0x65, 0x73, 0x6f, |
| 1164 |
0x75, 0x72, 0x63, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, |
| 1165 |
0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 1166 |
0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6e, |
| 1167 |
0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, |
| 1168 |
0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 1169 |
0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, |
| 1170 |
0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x57, 0x0a, 0x13, 0x61, |
| 1171 |
0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, |
| 1172 |
0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1173 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x41, 0x75, |
| 1174 |
0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, |
| 1175 |
0x52, 0x12, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 1176 |
0x49, 0x6e, 0x66, 0x6f, 0x12, 0x54, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, |
| 1177 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, |
| 1178 |
0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 1179 |
0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, |
| 1180 |
0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, |
| 1181 |
0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5b, 0x0a, 0x15, 0x70, 0x6f, |
| 1182 |
0x6c, 0x69, 0x63, 0x79, 0x5f, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, |
| 1183 |
0x6e, 0x66, 0x6f, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1184 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x50, |
| 1185 |
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x56, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, |
| 1186 |
0x66, 0x6f, 0x52, 0x13, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x56, 0x69, 0x6f, 0x6c, 0x61, 0x74, |
| 1187 |
0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4e, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, |
| 1188 |
0x73, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, |
| 1189 |
0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 1190 |
0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, |
| 1191 |
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, |
| 1192 |
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, |
| 1193 |
0x73, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1194 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, |
| 1195 |
0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x08, 0x72, 0x65, |
| 1196 |
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, |
| 1197 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, |
| 1198 |
0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, |
| 1199 |
0x33, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x12, 0x20, 0x01, 0x28, |
| 1200 |
0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 1201 |
0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, |
| 1202 |
0x64, 0x61, 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, |
| 1203 |
0x64, 0x61, 0x74, 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, |
| 1204 |
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, |
| 1205 |
0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x61, 0x74, |
| 1206 |
0x61, 0x22, 0x98, 0x03, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, |
| 1207 |
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, 0x69, 0x6e, |
| 1208 |
0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 1209 |
0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x45, 0x6d, 0x61, 0x69, |
| 1210 |
0x6c, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, |
| 1211 |
0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, |
| 1212 |
0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, |
| 1213 |
0x12, 0x4b, 0x0a, 0x15, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, |
| 1214 |
0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 1215 |
0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 1216 |
0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x13, 0x74, 0x68, 0x69, 0x72, 0x64, 0x50, |
| 1217 |
0x61, 0x72, 0x74, 0x79, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x37, 0x0a, |
| 1218 |
0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 1219 |
0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1220 |
0x15, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, |
| 1221 |
0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x77, 0x0a, 0x1f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 1222 |
0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, |
| 1223 |
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 1224 |
0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, |
| 1225 |
0x75, 0x64, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, |
| 1226 |
0x75, 0x6e, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, |
| 1227 |
0x6f, 0x52, 0x1c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 1228 |
0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, |
| 1229 |
0x2b, 0x0a, 0x11, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x62, |
| 1230 |
0x6a, 0x65, 0x63, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x69, 0x6e, |
| 1231 |
0x63, 0x69, 0x70, 0x61, 0x6c, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0xc9, 0x01, 0x0a, |
| 1232 |
0x11, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, |
| 1233 |
0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, |
| 1234 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, |
| 1235 |
0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, |
| 1236 |
0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, |
| 1237 |
0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, |
| 1238 |
0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x5e, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f, |
| 1239 |
0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, |
| 1240 |
0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, |
| 1241 |
0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, |
| 1242 |
0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, |
| 1243 |
0x75, 0x72, 0x63, 0x65, 0x52, 0x12, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x74, |
| 1244 |
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0xd1, 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x71, |
| 1245 |
0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, |
| 1246 |
0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1247 |
0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x70, 0x12, 0x3b, 0x0a, 0x1a, 0x63, 0x61, 0x6c, |
| 1248 |
0x6c, 0x65, 0x72, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, |
| 1249 |
0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x63, |
| 1250 |
0x61, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x55, 0x73, 0x65, |
| 1251 |
0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, |
| 1252 |
0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, |
| 1253 |
0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x5b, 0x0a, |
| 1254 |
0x12, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, |
| 1255 |
0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1256 |
0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x41, |
| 1257 |
0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, |
| 1258 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 1259 |
0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x60, 0x0a, 0x16, 0x64, 0x65, |
| 1260 |
0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, |
| 1261 |
0x75, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, |
| 1262 |
0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, |
| 1263 |
0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, |
| 1264 |
0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x15, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, |
| 1265 |
0x6f, 0x6e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x6e, 0x0a, 0x10, |
| 1266 |
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 1267 |
0x12, 0x2b, 0x0a, 0x11, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, |
| 1268 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x63, 0x75, 0x72, |
| 1269 |
0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2d, 0x0a, |
| 1270 |
0x12, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, |
| 1271 |
0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, |
| 1272 |
0x6e, 0x61, 0x6c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb3, 0x04, 0x0a, |
| 1273 |
0x1c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, |
| 1274 |
0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x0a, |
| 1275 |
0x11, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, |
| 1276 |
0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, |
| 1277 |
0x70, 0x61, 0x6c, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x7a, 0x0a, 0x15, 0x66, 0x69, |
| 1278 |
0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, |
| 1279 |
0x70, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1280 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x53, |
| 1281 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x6c, |
| 1282 |
0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x46, 0x69, 0x72, 0x73, |
| 1283 |
0x74, 0x50, 0x61, 0x72, 0x74, 0x79, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x48, |
| 1284 |
0x00, 0x52, 0x13, 0x66, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x72, 0x74, 0x79, 0x50, 0x72, 0x69, |
| 1285 |
0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x7a, 0x0a, 0x15, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, |
| 1286 |
0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, |
| 1287 |
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 1288 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, |
| 1289 |
0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, |
| 1290 |
0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x54, 0x68, 0x69, 0x72, 0x64, 0x50, 0x61, 0x72, |
| 1291 |
0x74, 0x79, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x13, 0x74, |
| 1292 |
0x68, 0x69, 0x72, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, |
| 1293 |
0x61, 0x6c, 0x1a, 0x82, 0x01, 0x0a, 0x13, 0x46, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x72, 0x74, |
| 1294 |
0x79, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, |
| 1295 |
0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, |
| 1296 |
0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x45, 0x6d, |
| 1297 |
0x61, 0x69, 0x6c, 0x12, 0x42, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, |
| 1298 |
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, |
| 1299 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, |
| 1300 |
0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, |
| 1301 |
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x5c, 0x0a, 0x13, 0x54, 0x68, 0x69, 0x72, 0x64, |
| 1302 |
0x50, 0x61, 0x72, 0x74, 0x79, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x45, |
| 1303 |
0x0a, 0x12, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x5f, 0x63, 0x6c, |
| 1304 |
0x61, 0x69, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, |
| 1305 |
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, |
| 1306 |
0x75, 0x63, 0x74, 0x52, 0x10, 0x74, 0x68, 0x69, 0x72, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x43, |
| 1307 |
0x6c, 0x61, 0x69, 0x6d, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, |
| 1308 |
0x74, 0x79, 0x22, 0x7c, 0x0a, 0x13, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x56, 0x69, 0x6f, 0x6c, |
| 1309 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x65, 0x0a, 0x19, 0x6f, 0x72, 0x67, |
| 1310 |
0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, |
| 1311 |
0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, |
| 1312 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, |
| 1313 |
0x74, 0x2e, 0x4f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x56, 0x69, 0x6f, 0x6c, 0x61, |
| 1314 |
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x16, 0x6f, 0x72, 0x67, 0x50, 0x6f, 0x6c, |
| 1315 |
0x69, 0x63, 0x79, 0x56, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, |
| 1316 |
0x22, 0xf2, 0x02, 0x0a, 0x16, 0x4f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x56, 0x69, |
| 1317 |
0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x0a, 0x07, 0x70, |
| 1318 |
0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, |
| 1319 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, |
| 1320 |
0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, |
| 1321 |
0x6f, 0x61, 0x64, 0x12, 0x28, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, |
| 1322 |
0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, |
| 1323 |
0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x66, 0x0a, |
| 1324 |
0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, |
| 1325 |
0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 1326 |
0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x4f, 0x72, 0x67, 0x50, 0x6f, 0x6c, |
| 1327 |
0x69, 0x63, 0x79, 0x56, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, |
| 1328 |
0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, |
| 1329 |
0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 1330 |
0x65, 0x54, 0x61, 0x67, 0x73, 0x12, 0x4d, 0x0a, 0x0e, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, |
| 1331 |
0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, |
| 1332 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, |
| 1333 |
0x69, 0x74, 0x2e, 0x56, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, |
| 1334 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 1335 |
0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x3f, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 1336 |
0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, |
| 1337 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, |
| 1338 |
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, |
| 1339 |
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcb, 0x02, 0x0a, 0x0d, 0x56, 0x69, 0x6f, 0x6c, 0x61, 0x74, |
| 1340 |
0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x74, |
| 1341 |
0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, |
| 1342 |
0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0d, |
| 1343 |
0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, |
| 1344 |
0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, |
| 1345 |
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, |
| 1346 |
0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 1347 |
0x41, 0x01, 0x52, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, |
| 1348 |
0x12, 0x52, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, |
| 1349 |
0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 1350 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x56, 0x69, 0x6f, 0x6c, 0x61, |
| 1351 |
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, |
| 1352 |
0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, |
| 1353 |
0x54, 0x79, 0x70, 0x65, 0x22, 0x6d, 0x0a, 0x0a, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, |
| 1354 |
0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x54, 0x59, 0x50, |
| 1355 |
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 1356 |
0x16, 0x0a, 0x12, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x54, |
| 1357 |
0x52, 0x41, 0x49, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x49, 0x53, 0x54, 0x5f, |
| 1358 |
0x43, 0x4f, 0x4e, 0x53, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, |
| 1359 |
0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x54, 0x52, 0x41, 0x49, 0x4e, |
| 1360 |
0x54, 0x10, 0x03, 0x42, 0x65, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1361 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x42, 0x0d, 0x41, |
| 1362 |
0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, |
| 1363 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, |
| 1364 |
0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1365 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x64, 0x69, |
| 1366 |
0x74, 0x3b, 0x61, 0x75, 0x64, 0x69, 0x74, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
| 1367 |
0x6f, 0x33, |
| 1368 |
} |
| 1369 |
|
| 1370 |
var ( |
| 1371 |
file_google_cloud_audit_audit_log_proto_rawDescOnce sync.Once |
| 1372 |
file_google_cloud_audit_audit_log_proto_rawDescData = file_google_cloud_audit_audit_log_proto_rawDesc |
| 1373 |
) |
| 1374 |
|
| 1375 |
func file_google_cloud_audit_audit_log_proto_rawDescGZIP() []byte { |
| 1376 |
file_google_cloud_audit_audit_log_proto_rawDescOnce.Do(func() { |
| 1377 |
file_google_cloud_audit_audit_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_audit_audit_log_proto_rawDescData) |
| 1378 |
}) |
| 1379 |
return file_google_cloud_audit_audit_log_proto_rawDescData |
| 1380 |
} |
| 1381 |
|
| 1382 |
var file_google_cloud_audit_audit_log_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 1383 |
var file_google_cloud_audit_audit_log_proto_msgTypes = make([]protoimpl.MessageInfo, 12) |
| 1384 |
var file_google_cloud_audit_audit_log_proto_goTypes = []interface{}{ |
| 1385 |
(ViolationInfo_PolicyType)(0), // 0: google.cloud.audit.ViolationInfo.PolicyType |
| 1386 |
(*AuditLog)(nil), // 1: google.cloud.audit.AuditLog |
| 1387 |
(*AuthenticationInfo)(nil), // 2: google.cloud.audit.AuthenticationInfo |
| 1388 |
(*AuthorizationInfo)(nil), // 3: google.cloud.audit.AuthorizationInfo |
| 1389 |
(*RequestMetadata)(nil), // 4: google.cloud.audit.RequestMetadata |
| 1390 |
(*ResourceLocation)(nil), // 5: google.cloud.audit.ResourceLocation |
| 1391 |
(*ServiceAccountDelegationInfo)(nil), // 6: google.cloud.audit.ServiceAccountDelegationInfo |
| 1392 |
(*PolicyViolationInfo)(nil), // 7: google.cloud.audit.PolicyViolationInfo |
| 1393 |
(*OrgPolicyViolationInfo)(nil), // 8: google.cloud.audit.OrgPolicyViolationInfo |
| 1394 |
(*ViolationInfo)(nil), // 9: google.cloud.audit.ViolationInfo |
| 1395 |
(*ServiceAccountDelegationInfo_FirstPartyPrincipal)(nil), // 10: google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal |
| 1396 |
(*ServiceAccountDelegationInfo_ThirdPartyPrincipal)(nil), // 11: google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal |
| 1397 |
nil, // 12: google.cloud.audit.OrgPolicyViolationInfo.ResourceTagsEntry |
| 1398 |
(*structpb.Struct)(nil), // 13: google.protobuf.Struct |
| 1399 |
(*status.Status)(nil), // 14: google.rpc.Status |
| 1400 |
(*anypb.Any)(nil), // 15: google.protobuf.Any |
| 1401 |
(*attribute_context.AttributeContext_Resource)(nil), // 16: google.rpc.context.AttributeContext.Resource |
| 1402 |
(*attribute_context.AttributeContext_Request)(nil), // 17: google.rpc.context.AttributeContext.Request |
| 1403 |
(*attribute_context.AttributeContext_Peer)(nil), // 18: google.rpc.context.AttributeContext.Peer |
| 1404 |
} |
| 1405 |
var file_google_cloud_audit_audit_log_proto_depIdxs = []int32{ |
| 1406 |
5, // 0: google.cloud.audit.AuditLog.resource_location:type_name -> google.cloud.audit.ResourceLocation |
| 1407 |
13, // 1: google.cloud.audit.AuditLog.resource_original_state:type_name -> google.protobuf.Struct |
| 1408 |
14, // 2: google.cloud.audit.AuditLog.status:type_name -> google.rpc.Status |
| 1409 |
2, // 3: google.cloud.audit.AuditLog.authentication_info:type_name -> google.cloud.audit.AuthenticationInfo |
| 1410 |
3, // 4: google.cloud.audit.AuditLog.authorization_info:type_name -> google.cloud.audit.AuthorizationInfo |
| 1411 |
7, // 5: google.cloud.audit.AuditLog.policy_violation_info:type_name -> google.cloud.audit.PolicyViolationInfo |
| 1412 |
4, // 6: google.cloud.audit.AuditLog.request_metadata:type_name -> google.cloud.audit.RequestMetadata |
| 1413 |
13, // 7: google.cloud.audit.AuditLog.request:type_name -> google.protobuf.Struct |
| 1414 |
13, // 8: google.cloud.audit.AuditLog.response:type_name -> google.protobuf.Struct |
| 1415 |
13, // 9: google.cloud.audit.AuditLog.metadata:type_name -> google.protobuf.Struct |
| 1416 |
15, // 10: google.cloud.audit.AuditLog.service_data:type_name -> google.protobuf.Any |
| 1417 |
13, // 11: google.cloud.audit.AuthenticationInfo.third_party_principal:type_name -> google.protobuf.Struct |
| 1418 |
6, // 12: google.cloud.audit.AuthenticationInfo.service_account_delegation_info:type_name -> google.cloud.audit.ServiceAccountDelegationInfo |
| 1419 |
16, // 13: google.cloud.audit.AuthorizationInfo.resource_attributes:type_name -> google.rpc.context.AttributeContext.Resource |
| 1420 |
17, // 14: google.cloud.audit.RequestMetadata.request_attributes:type_name -> google.rpc.context.AttributeContext.Request |
| 1421 |
18, // 15: google.cloud.audit.RequestMetadata.destination_attributes:type_name -> google.rpc.context.AttributeContext.Peer |
| 1422 |
10, // 16: google.cloud.audit.ServiceAccountDelegationInfo.first_party_principal:type_name -> google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal |
| 1423 |
11, // 17: google.cloud.audit.ServiceAccountDelegationInfo.third_party_principal:type_name -> google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal |
| 1424 |
8, // 18: google.cloud.audit.PolicyViolationInfo.org_policy_violation_info:type_name -> google.cloud.audit.OrgPolicyViolationInfo |
| 1425 |
13, // 19: google.cloud.audit.OrgPolicyViolationInfo.payload:type_name -> google.protobuf.Struct |
| 1426 |
12, // 20: google.cloud.audit.OrgPolicyViolationInfo.resource_tags:type_name -> google.cloud.audit.OrgPolicyViolationInfo.ResourceTagsEntry |
| 1427 |
9, // 21: google.cloud.audit.OrgPolicyViolationInfo.violation_info:type_name -> google.cloud.audit.ViolationInfo |
| 1428 |
0, // 22: google.cloud.audit.ViolationInfo.policy_type:type_name -> google.cloud.audit.ViolationInfo.PolicyType |
| 1429 |
13, // 23: google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal.service_metadata:type_name -> google.protobuf.Struct |
| 1430 |
13, // 24: google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal.third_party_claims:type_name -> google.protobuf.Struct |
| 1431 |
25, // [25:25] is the sub-list for method output_type |
| 1432 |
25, // [25:25] is the sub-list for method input_type |
| 1433 |
25, // [25:25] is the sub-list for extension type_name |
| 1434 |
25, // [25:25] is the sub-list for extension extendee |
| 1435 |
0, // [0:25] is the sub-list for field type_name |
| 1436 |
} |
| 1437 |
|
| 1438 |
func init() { file_google_cloud_audit_audit_log_proto_init() } |
| 1439 |
func file_google_cloud_audit_audit_log_proto_init() { |
| 1440 |
if File_google_cloud_audit_audit_log_proto != nil { |
| 1441 |
return |
| 1442 |
} |
| 1443 |
if !protoimpl.UnsafeEnabled { |
| 1444 |
file_google_cloud_audit_audit_log_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1445 |
switch v := v.(*AuditLog); i { |
| 1446 |
case 0: |
| 1447 |
return &v.state |
| 1448 |
case 1: |
| 1449 |
return &v.sizeCache |
| 1450 |
case 2: |
| 1451 |
return &v.unknownFields |
| 1452 |
default: |
| 1453 |
return nil |
| 1454 |
} |
| 1455 |
} |
| 1456 |
file_google_cloud_audit_audit_log_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1457 |
switch v := v.(*AuthenticationInfo); i { |
| 1458 |
case 0: |
| 1459 |
return &v.state |
| 1460 |
case 1: |
| 1461 |
return &v.sizeCache |
| 1462 |
case 2: |
| 1463 |
return &v.unknownFields |
| 1464 |
default: |
| 1465 |
return nil |
| 1466 |
} |
| 1467 |
} |
| 1468 |
file_google_cloud_audit_audit_log_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 1469 |
switch v := v.(*AuthorizationInfo); i { |
| 1470 |
case 0: |
| 1471 |
return &v.state |
| 1472 |
case 1: |
| 1473 |
return &v.sizeCache |
| 1474 |
case 2: |
| 1475 |
return &v.unknownFields |
| 1476 |
default: |
| 1477 |
return nil |
| 1478 |
} |
| 1479 |
} |
| 1480 |
file_google_cloud_audit_audit_log_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1481 |
switch v := v.(*RequestMetadata); i { |
| 1482 |
case 0: |
| 1483 |
return &v.state |
| 1484 |
case 1: |
| 1485 |
return &v.sizeCache |
| 1486 |
case 2: |
| 1487 |
return &v.unknownFields |
| 1488 |
default: |
| 1489 |
return nil |
| 1490 |
} |
| 1491 |
} |
| 1492 |
file_google_cloud_audit_audit_log_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1493 |
switch v := v.(*ResourceLocation); i { |
| 1494 |
case 0: |
| 1495 |
return &v.state |
| 1496 |
case 1: |
| 1497 |
return &v.sizeCache |
| 1498 |
case 2: |
| 1499 |
return &v.unknownFields |
| 1500 |
default: |
| 1501 |
return nil |
| 1502 |
} |
| 1503 |
} |
| 1504 |
file_google_cloud_audit_audit_log_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1505 |
switch v := v.(*ServiceAccountDelegationInfo); i { |
| 1506 |
case 0: |
| 1507 |
return &v.state |
| 1508 |
case 1: |
| 1509 |
return &v.sizeCache |
| 1510 |
case 2: |
| 1511 |
return &v.unknownFields |
| 1512 |
default: |
| 1513 |
return nil |
| 1514 |
} |
| 1515 |
} |
| 1516 |
file_google_cloud_audit_audit_log_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1517 |
switch v := v.(*PolicyViolationInfo); i { |
| 1518 |
case 0: |
| 1519 |
return &v.state |
| 1520 |
case 1: |
| 1521 |
return &v.sizeCache |
| 1522 |
case 2: |
| 1523 |
return &v.unknownFields |
| 1524 |
default: |
| 1525 |
return nil |
| 1526 |
} |
| 1527 |
} |
| 1528 |
file_google_cloud_audit_audit_log_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1529 |
switch v := v.(*OrgPolicyViolationInfo); i { |
| 1530 |
case 0: |
| 1531 |
return &v.state |
| 1532 |
case 1: |
| 1533 |
return &v.sizeCache |
| 1534 |
case 2: |
| 1535 |
return &v.unknownFields |
| 1536 |
default: |
| 1537 |
return nil |
| 1538 |
} |
| 1539 |
} |
| 1540 |
file_google_cloud_audit_audit_log_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 1541 |
switch v := v.(*ViolationInfo); i { |
| 1542 |
case 0: |
| 1543 |
return &v.state |
| 1544 |
case 1: |
| 1545 |
return &v.sizeCache |
| 1546 |
case 2: |
| 1547 |
return &v.unknownFields |
| 1548 |
default: |
| 1549 |
return nil |
| 1550 |
} |
| 1551 |
} |
| 1552 |
file_google_cloud_audit_audit_log_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 1553 |
switch v := v.(*ServiceAccountDelegationInfo_FirstPartyPrincipal); i { |
| 1554 |
case 0: |
| 1555 |
return &v.state |
| 1556 |
case 1: |
| 1557 |
return &v.sizeCache |
| 1558 |
case 2: |
| 1559 |
return &v.unknownFields |
| 1560 |
default: |
| 1561 |
return nil |
| 1562 |
} |
| 1563 |
} |
| 1564 |
file_google_cloud_audit_audit_log_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| 1565 |
switch v := v.(*ServiceAccountDelegationInfo_ThirdPartyPrincipal); i { |
| 1566 |
case 0: |
| 1567 |
return &v.state |
| 1568 |
case 1: |
| 1569 |
return &v.sizeCache |
| 1570 |
case 2: |
| 1571 |
return &v.unknownFields |
| 1572 |
default: |
| 1573 |
return nil |
| 1574 |
} |
| 1575 |
} |
| 1576 |
} |
| 1577 |
file_google_cloud_audit_audit_log_proto_msgTypes[5].OneofWrappers = []interface{}{ |
| 1578 |
(*ServiceAccountDelegationInfo_FirstPartyPrincipal_)(nil), |
| 1579 |
(*ServiceAccountDelegationInfo_ThirdPartyPrincipal_)(nil), |
| 1580 |
} |
| 1581 |
type x struct{} |
| 1582 |
out := protoimpl.TypeBuilder{ |
| 1583 |
File: protoimpl.DescBuilder{ |
| 1584 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1585 |
RawDescriptor: file_google_cloud_audit_audit_log_proto_rawDesc, |
| 1586 |
NumEnums: 1, |
| 1587 |
NumMessages: 12, |
| 1588 |
NumExtensions: 0, |
| 1589 |
NumServices: 0, |
| 1590 |
}, |
| 1591 |
GoTypes: file_google_cloud_audit_audit_log_proto_goTypes, |
| 1592 |
DependencyIndexes: file_google_cloud_audit_audit_log_proto_depIdxs, |
| 1593 |
EnumInfos: file_google_cloud_audit_audit_log_proto_enumTypes, |
| 1594 |
MessageInfos: file_google_cloud_audit_audit_log_proto_msgTypes, |
| 1595 |
}.Build() |
| 1596 |
File_google_cloud_audit_audit_log_proto = out.File |
| 1597 |
file_google_cloud_audit_audit_log_proto_rawDesc = nil |
| 1598 |
file_google_cloud_audit_audit_log_proto_goTypes = nil |
| 1599 |
file_google_cloud_audit_audit_log_proto_depIdxs = nil |
| 1600 |
} |