com.google.cloud.audit.AuditLogProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-common-protos Show documentation
Show all versions of proto-google-common-protos Show documentation
PROTO library for proto-google-common-protos
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/audit/audit_log.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.audit;
public final class AuditLogProto {
private AuditLogProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_audit_AuditLog_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_audit_AuditLog_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_audit_AuthenticationInfo_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_audit_AuthenticationInfo_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_audit_AuthorizationInfo_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_audit_AuthorizationInfo_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_audit_RequestMetadata_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_audit_RequestMetadata_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_audit_ResourceLocation_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_audit_ResourceLocation_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_audit_PolicyViolationInfo_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_audit_PolicyViolationInfo_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_audit_OrgPolicyViolationInfo_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_audit_ViolationInfo_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_audit_ViolationInfo_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
static {
java.lang.String[] descriptorData = {
"\n\"google/cloud/audit/audit_log.proto\022\022go"
+ "ogle.cloud.audit\032\037google/api/field_behav"
+ "ior.proto\032\031google/protobuf/any.proto\032\034go"
+ "ogle/protobuf/struct.proto\032*google/rpc/c"
+ "ontext/attribute_context.proto\032\027google/r"
+ "pc/status.proto\"\306\005\n\010AuditLog\022\024\n\014service_"
+ "name\030\007 \001(\t\022\023\n\013method_name\030\010 \001(\t\022\025\n\rresou"
+ "rce_name\030\013 \001(\t\022?\n\021resource_location\030\024 \001("
+ "\0132$.google.cloud.audit.ResourceLocation\022"
+ "8\n\027resource_original_state\030\023 \001(\0132\027.googl"
+ "e.protobuf.Struct\022\032\n\022num_response_items\030"
+ "\014 \001(\003\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Statu"
+ "s\022C\n\023authentication_info\030\003 \001(\0132&.google."
+ "cloud.audit.AuthenticationInfo\022A\n\022author"
+ "ization_info\030\t \003(\0132%.google.cloud.audit."
+ "AuthorizationInfo\022F\n\025policy_violation_in"
+ "fo\030\031 \001(\0132\'.google.cloud.audit.PolicyViol"
+ "ationInfo\022=\n\020request_metadata\030\004 \001(\0132#.go"
+ "ogle.cloud.audit.RequestMetadata\022(\n\007requ"
+ "est\030\020 \001(\0132\027.google.protobuf.Struct\022)\n\010re"
+ "sponse\030\021 \001(\0132\027.google.protobuf.Struct\022)\n"
+ "\010metadata\030\022 \001(\0132\027.google.protobuf.Struct"
+ "\022.\n\014service_data\030\017 \001(\0132\024.google.protobuf"
+ ".AnyB\002\030\001\"\231\002\n\022AuthenticationInfo\022\027\n\017princ"
+ "ipal_email\030\001 \001(\t\022\032\n\022authority_selector\030\002"
+ " \001(\t\0226\n\025third_party_principal\030\004 \001(\0132\027.go"
+ "ogle.protobuf.Struct\022 \n\030service_account_"
+ "key_name\030\005 \001(\t\022Y\n\037service_account_delega"
+ "tion_info\030\006 \003(\01320.google.cloud.audit.Ser"
+ "viceAccountDelegationInfo\022\031\n\021principal_s"
+ "ubject\030\010 \001(\t\"\226\001\n\021AuthorizationInfo\022\020\n\010re"
+ "source\030\001 \001(\t\022\022\n\npermission\030\002 \001(\t\022\017\n\007gran"
+ "ted\030\003 \001(\010\022J\n\023resource_attributes\030\005 \001(\0132-"
+ ".google.rpc.context.AttributeContext.Res"
+ "ource\"\365\001\n\017RequestMetadata\022\021\n\tcaller_ip\030\001"
+ " \001(\t\022\"\n\032caller_supplied_user_agent\030\002 \001(\t"
+ "\022\026\n\016caller_network\030\003 \001(\t\022H\n\022request_attr"
+ "ibutes\030\007 \001(\0132,.google.rpc.context.Attrib"
+ "uteContext.Request\022I\n\026destination_attrib"
+ "utes\030\010 \001(\0132).google.rpc.context.Attribut"
+ "eContext.Peer\"I\n\020ResourceLocation\022\031\n\021cur"
+ "rent_locations\030\001 \003(\t\022\032\n\022original_locatio"
+ "ns\030\002 \003(\t\"\303\003\n\034ServiceAccountDelegationInf"
+ "o\022\031\n\021principal_subject\030\003 \001(\t\022e\n\025first_pa"
+ "rty_principal\030\001 \001(\0132D.google.cloud.audit"
+ ".ServiceAccountDelegationInfo.FirstParty"
+ "PrincipalH\000\022e\n\025third_party_principal\030\002 \001"
+ "(\0132D.google.cloud.audit.ServiceAccountDe"
+ "legationInfo.ThirdPartyPrincipalH\000\032a\n\023Fi"
+ "rstPartyPrincipal\022\027\n\017principal_email\030\001 \001"
+ "(\t\0221\n\020service_metadata\030\002 \001(\0132\027.google.pr"
+ "otobuf.Struct\032J\n\023ThirdPartyPrincipal\0223\n\022"
+ "third_party_claims\030\001 \001(\0132\027.google.protob"
+ "uf.StructB\013\n\tAuthority\"d\n\023PolicyViolatio"
+ "nInfo\022M\n\031org_policy_violation_info\030\001 \001(\013"
+ "2*.google.cloud.audit.OrgPolicyViolation"
+ "Info\"\262\002\n\026OrgPolicyViolationInfo\022-\n\007paylo"
+ "ad\030\001 \001(\0132\027.google.protobuf.StructB\003\340A\001\022\032"
+ "\n\rresource_type\030\002 \001(\tB\003\340A\001\022X\n\rresource_t"
+ "ags\030\003 \003(\0132<.google.cloud.audit.OrgPolicy"
+ "ViolationInfo.ResourceTagsEntryB\003\340A\001\022>\n\016"
+ "violation_info\030\004 \003(\0132!.google.cloud.audi"
+ "t.ViolationInfoB\003\340A\001\0323\n\021ResourceTagsEntr"
+ "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\227\002\n\rVi"
+ "olationInfo\022\027\n\nconstraint\030\001 \001(\tB\003\340A\001\022\032\n\r"
+ "error_message\030\002 \001(\tB\003\340A\001\022\032\n\rchecked_valu"
+ "e\030\003 \001(\tB\003\340A\001\022F\n\013policy_type\030\004 \001(\0162,.goog"
+ "le.cloud.audit.ViolationInfo.PolicyTypeB"
+ "\003\340A\001\"m\n\nPolicyType\022\033\n\027POLICY_TYPE_UNSPEC"
+ "IFIED\020\000\022\026\n\022BOOLEAN_CONSTRAINT\020\001\022\023\n\017LIST_"
+ "CONSTRAINT\020\002\022\025\n\021CUSTOM_CONSTRAINT\020\003Be\n\026c"
+ "om.google.cloud.auditB\rAuditLogProtoP\001Z7"
+ "google.golang.org/genproto/googleapis/cl"
+ "oud/audit;audit\370\001\001b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.protobuf.AnyProto.getDescriptor(),
com.google.protobuf.StructProto.getDescriptor(),
com.google.rpc.context.AttributeContextProto.getDescriptor(),
com.google.rpc.StatusProto.getDescriptor(),
});
internal_static_google_cloud_audit_AuditLog_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_audit_AuditLog_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_audit_AuditLog_descriptor,
new java.lang.String[] {
"ServiceName",
"MethodName",
"ResourceName",
"ResourceLocation",
"ResourceOriginalState",
"NumResponseItems",
"Status",
"AuthenticationInfo",
"AuthorizationInfo",
"PolicyViolationInfo",
"RequestMetadata",
"Request",
"Response",
"Metadata",
"ServiceData",
});
internal_static_google_cloud_audit_AuthenticationInfo_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_google_cloud_audit_AuthenticationInfo_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_audit_AuthenticationInfo_descriptor,
new java.lang.String[] {
"PrincipalEmail",
"AuthoritySelector",
"ThirdPartyPrincipal",
"ServiceAccountKeyName",
"ServiceAccountDelegationInfo",
"PrincipalSubject",
});
internal_static_google_cloud_audit_AuthorizationInfo_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_google_cloud_audit_AuthorizationInfo_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_audit_AuthorizationInfo_descriptor,
new java.lang.String[] {
"Resource", "Permission", "Granted", "ResourceAttributes",
});
internal_static_google_cloud_audit_RequestMetadata_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_google_cloud_audit_RequestMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_audit_RequestMetadata_descriptor,
new java.lang.String[] {
"CallerIp",
"CallerSuppliedUserAgent",
"CallerNetwork",
"RequestAttributes",
"DestinationAttributes",
});
internal_static_google_cloud_audit_ResourceLocation_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_google_cloud_audit_ResourceLocation_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_audit_ResourceLocation_descriptor,
new java.lang.String[] {
"CurrentLocations", "OriginalLocations",
});
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor,
new java.lang.String[] {
"PrincipalSubject", "FirstPartyPrincipal", "ThirdPartyPrincipal", "Authority",
});
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor =
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor
.getNestedTypes()
.get(0);
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor,
new java.lang.String[] {
"PrincipalEmail", "ServiceMetadata",
});
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor =
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor
.getNestedTypes()
.get(1);
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor,
new java.lang.String[] {
"ThirdPartyClaims",
});
internal_static_google_cloud_audit_PolicyViolationInfo_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_google_cloud_audit_PolicyViolationInfo_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_audit_PolicyViolationInfo_descriptor,
new java.lang.String[] {
"OrgPolicyViolationInfo",
});
internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_google_cloud_audit_OrgPolicyViolationInfo_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor,
new java.lang.String[] {
"Payload", "ResourceType", "ResourceTags", "ViolationInfo",
});
internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_descriptor =
internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor
.getNestedTypes()
.get(0);
internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_descriptor,
new java.lang.String[] {
"Key", "Value",
});
internal_static_google_cloud_audit_ViolationInfo_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_google_cloud_audit_ViolationInfo_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_audit_ViolationInfo_descriptor,
new java.lang.String[] {
"Constraint", "ErrorMessage", "CheckedValue", "PolicyType",
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.protobuf.AnyProto.getDescriptor();
com.google.protobuf.StructProto.getDescriptor();
com.google.rpc.context.AttributeContextProto.getDescriptor();
com.google.rpc.StatusProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}