public final class AuthenticationInfo extends com.google.protobuf.GeneratedMessageV3 implements AuthenticationInfoOrBuilder
Authentication information for the operation.Protobuf type
google.cloud.audit.AuthenticationInfo| Modifier and Type | Class and Description |
|---|---|
static class |
AuthenticationInfo.Builder
Authentication information for the operation.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUTHORITY_SELECTOR_FIELD_NUMBER |
static int |
PRINCIPAL_EMAIL_FIELD_NUMBER |
static int |
PRINCIPAL_SUBJECT_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_DELEGATION_INFO_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_KEY_NAME_FIELD_NUMBER |
static int |
THIRD_PARTY_PRINCIPAL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAuthoritySelector()
The authority selector specified by the requestor, if any.
|
com.google.protobuf.ByteString |
getAuthoritySelectorBytes()
The authority selector specified by the requestor, if any.
|
static AuthenticationInfo |
getDefaultInstance() |
AuthenticationInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<AuthenticationInfo> |
getParserForType() |
String |
getPrincipalEmail()
The email address of the authenticated user (or service account on behalf
of third party principal) making the request.
|
com.google.protobuf.ByteString |
getPrincipalEmailBytes()
The email address of the authenticated user (or service account on behalf
of third party principal) making the request.
|
String |
getPrincipalSubject()
String representation of identity of requesting party.
|
com.google.protobuf.ByteString |
getPrincipalSubjectBytes()
String representation of identity of requesting party.
|
int |
getSerializedSize() |
ServiceAccountDelegationInfo |
getServiceAccountDelegationInfo(int index)
Identity delegation history of an authenticated service account that makes
the request.
|
int |
getServiceAccountDelegationInfoCount()
Identity delegation history of an authenticated service account that makes
the request.
|
List<ServiceAccountDelegationInfo> |
getServiceAccountDelegationInfoList()
Identity delegation history of an authenticated service account that makes
the request.
|
ServiceAccountDelegationInfoOrBuilder |
getServiceAccountDelegationInfoOrBuilder(int index)
Identity delegation history of an authenticated service account that makes
the request.
|
List<? extends ServiceAccountDelegationInfoOrBuilder> |
getServiceAccountDelegationInfoOrBuilderList()
Identity delegation history of an authenticated service account that makes
the request.
|
String |
getServiceAccountKeyName()
The name of the service account key used to create or exchange
credentials for authenticating the service account making the request.
|
com.google.protobuf.ByteString |
getServiceAccountKeyNameBytes()
The name of the service account key used to create or exchange
credentials for authenticating the service account making the request.
|
com.google.protobuf.Struct |
getThirdPartyPrincipal()
The third party identification (if any) of the authenticated user making
the request.
|
com.google.protobuf.StructOrBuilder |
getThirdPartyPrincipalOrBuilder()
The third party identification (if any) of the authenticated user making
the request.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasThirdPartyPrincipal()
The third party identification (if any) of the authenticated user making
the request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AuthenticationInfo.Builder |
newBuilder() |
static AuthenticationInfo.Builder |
newBuilder(AuthenticationInfo prototype) |
AuthenticationInfo.Builder |
newBuilderForType() |
protected AuthenticationInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AuthenticationInfo |
parseDelimitedFrom(InputStream input) |
static AuthenticationInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthenticationInfo |
parseFrom(byte[] data) |
static AuthenticationInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthenticationInfo |
parseFrom(ByteBuffer data) |
static AuthenticationInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthenticationInfo |
parseFrom(com.google.protobuf.ByteString data) |
static AuthenticationInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthenticationInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AuthenticationInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AuthenticationInfo |
parseFrom(InputStream input) |
static AuthenticationInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AuthenticationInfo> |
parser() |
AuthenticationInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PRINCIPAL_EMAIL_FIELD_NUMBER
public static final int AUTHORITY_SELECTOR_FIELD_NUMBER
public static final int THIRD_PARTY_PRINCIPAL_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_KEY_NAME_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_DELEGATION_INFO_FIELD_NUMBER
public static final int PRINCIPAL_SUBJECT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getPrincipalEmail()
The email address of the authenticated user (or service account on behalf of third party principal) making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see https://cloud.google.com/logging/docs/audit#user-id.
string principal_email = 1;getPrincipalEmail in interface AuthenticationInfoOrBuilderpublic com.google.protobuf.ByteString getPrincipalEmailBytes()
The email address of the authenticated user (or service account on behalf of third party principal) making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see https://cloud.google.com/logging/docs/audit#user-id.
string principal_email = 1;getPrincipalEmailBytes in interface AuthenticationInfoOrBuilderpublic String getAuthoritySelector()
The authority selector specified by the requestor, if any. It is not guaranteed that the principal was allowed to use this authority.
string authority_selector = 2;getAuthoritySelector in interface AuthenticationInfoOrBuilderpublic com.google.protobuf.ByteString getAuthoritySelectorBytes()
The authority selector specified by the requestor, if any. It is not guaranteed that the principal was allowed to use this authority.
string authority_selector = 2;getAuthoritySelectorBytes in interface AuthenticationInfoOrBuilderpublic boolean hasThirdPartyPrincipal()
The third party identification (if any) of the authenticated user making the request. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `@type` property.
.google.protobuf.Struct third_party_principal = 4;hasThirdPartyPrincipal in interface AuthenticationInfoOrBuilderpublic com.google.protobuf.Struct getThirdPartyPrincipal()
The third party identification (if any) of the authenticated user making the request. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `@type` property.
.google.protobuf.Struct third_party_principal = 4;getThirdPartyPrincipal in interface AuthenticationInfoOrBuilderpublic com.google.protobuf.StructOrBuilder getThirdPartyPrincipalOrBuilder()
The third party identification (if any) of the authenticated user making the request. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the `@type` property.
.google.protobuf.Struct third_party_principal = 4;getThirdPartyPrincipalOrBuilder in interface AuthenticationInfoOrBuilderpublic String getServiceAccountKeyName()
The name of the service account key used to create or exchange
credentials for authenticating the service account making the request.
This is a scheme-less URI full resource name. For example:
"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}"
string service_account_key_name = 5;getServiceAccountKeyName in interface AuthenticationInfoOrBuilderpublic com.google.protobuf.ByteString getServiceAccountKeyNameBytes()
The name of the service account key used to create or exchange
credentials for authenticating the service account making the request.
This is a scheme-less URI full resource name. For example:
"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}"
string service_account_key_name = 5;getServiceAccountKeyNameBytes in interface AuthenticationInfoOrBuilderpublic List<ServiceAccountDelegationInfo> getServiceAccountDelegationInfoList()
Identity delegation history of an authenticated service account that makes the request. It contains information on the real authorities that try to access GCP resources by delegating on a service account. When multiple authorities present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
getServiceAccountDelegationInfoList in interface AuthenticationInfoOrBuilderpublic List<? extends ServiceAccountDelegationInfoOrBuilder> getServiceAccountDelegationInfoOrBuilderList()
Identity delegation history of an authenticated service account that makes the request. It contains information on the real authorities that try to access GCP resources by delegating on a service account. When multiple authorities present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
getServiceAccountDelegationInfoOrBuilderList in interface AuthenticationInfoOrBuilderpublic int getServiceAccountDelegationInfoCount()
Identity delegation history of an authenticated service account that makes the request. It contains information on the real authorities that try to access GCP resources by delegating on a service account. When multiple authorities present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
getServiceAccountDelegationInfoCount in interface AuthenticationInfoOrBuilderpublic ServiceAccountDelegationInfo getServiceAccountDelegationInfo(int index)
Identity delegation history of an authenticated service account that makes the request. It contains information on the real authorities that try to access GCP resources by delegating on a service account. When multiple authorities present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
getServiceAccountDelegationInfo in interface AuthenticationInfoOrBuilderpublic ServiceAccountDelegationInfoOrBuilder getServiceAccountDelegationInfoOrBuilder(int index)
Identity delegation history of an authenticated service account that makes the request. It contains information on the real authorities that try to access GCP resources by delegating on a service account. When multiple authorities present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6;
getServiceAccountDelegationInfoOrBuilder in interface AuthenticationInfoOrBuilderpublic String getPrincipalSubject()
String representation of identity of requesting party. Populated for both first and third party identities.
string principal_subject = 8;getPrincipalSubject in interface AuthenticationInfoOrBuilderpublic com.google.protobuf.ByteString getPrincipalSubjectBytes()
String representation of identity of requesting party. Populated for both first and third party identities.
string principal_subject = 8;getPrincipalSubjectBytes in interface AuthenticationInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AuthenticationInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthenticationInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthenticationInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthenticationInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthenticationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthenticationInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AuthenticationInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static AuthenticationInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AuthenticationInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AuthenticationInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AuthenticationInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AuthenticationInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AuthenticationInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AuthenticationInfo.Builder newBuilder()
public static AuthenticationInfo.Builder newBuilder(AuthenticationInfo prototype)
public AuthenticationInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AuthenticationInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AuthenticationInfo getDefaultInstance()
public static com.google.protobuf.Parser<AuthenticationInfo> parser()
public com.google.protobuf.Parser<AuthenticationInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AuthenticationInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2021 Google LLC. All rights reserved.