public final class Access extends GeneratedMessageV3 implements AccessOrBuilder
Represents an access event.Protobuf type
google.cloud.securitycenter.v1.Access
Modifier and Type | Class and Description |
---|---|
static class |
Access.Builder
Represents an access event.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
CALLER_IP_FIELD_NUMBER |
static int |
CALLER_IP_GEO_FIELD_NUMBER |
static int |
METHOD_NAME_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 |
SERVICE_NAME_FIELD_NUMBER |
static int |
USER_AGENT_FAMILY_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCallerIp()
Caller's IP address, such as "1.1.1.1".
|
ByteString |
getCallerIpBytes()
Caller's IP address, such as "1.1.1.1".
|
Geolocation |
getCallerIpGeo()
The caller IP's geolocation, which identifies where the call came from.
|
GeolocationOrBuilder |
getCallerIpGeoOrBuilder()
The caller IP's geolocation, which identifies where the call came from.
|
static Access |
getDefaultInstance() |
Access |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
String |
getMethodName()
The method that the service account called, e.g.
|
ByteString |
getMethodNameBytes()
The method that the service account called, e.g.
|
Parser<Access> |
getParserForType() |
String |
getPrincipalEmail()
Associated email, such as "foo@google.com".
|
ByteString |
getPrincipalEmailBytes()
Associated email, such as "foo@google.com".
|
String |
getPrincipalSubject()
A string representing the principal_subject associated with the identity.
|
ByteString |
getPrincipalSubjectBytes()
A string representing the principal_subject associated with the identity.
|
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.
|
ByteString |
getServiceAccountKeyNameBytes()
The name of the service account key used to create or exchange
credentials for authenticating the service account making the request.
|
String |
getServiceName()
This is the API service that the service account made a call to, e.g.
|
ByteString |
getServiceNameBytes()
This is the API service that the service account made a call to, e.g.
|
UnknownFieldSet |
getUnknownFields() |
String |
getUserAgentFamily()
What kind of user agent is associated, e.g.
|
ByteString |
getUserAgentFamilyBytes()
What kind of user agent is associated, e.g.
|
boolean |
hasCallerIpGeo()
The caller IP's geolocation, which identifies where the call came from.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Access.Builder |
newBuilder() |
static Access.Builder |
newBuilder(Access prototype) |
Access.Builder |
newBuilderForType() |
protected Access.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static Access |
parseDelimitedFrom(InputStream input) |
static Access |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Access |
parseFrom(byte[] data) |
static Access |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Access |
parseFrom(ByteBuffer data) |
static Access |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Access |
parseFrom(ByteString data) |
static Access |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Access |
parseFrom(CodedInputStream input) |
static Access |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Access |
parseFrom(InputStream input) |
static Access |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Access> |
parser() |
Access.Builder |
toBuilder() |
void |
writeTo(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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int PRINCIPAL_EMAIL_FIELD_NUMBER
public static final int CALLER_IP_FIELD_NUMBER
public static final int CALLER_IP_GEO_FIELD_NUMBER
public static final int USER_AGENT_FAMILY_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
public static final int METHOD_NAME_FIELD_NUMBER
public static final int PRINCIPAL_SUBJECT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_KEY_NAME_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_DELEGATION_INFO_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getPrincipalEmail()
Associated email, such as "foo@google.com". 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 [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
string principal_email = 1;
getPrincipalEmail
in interface AccessOrBuilder
public ByteString getPrincipalEmailBytes()
Associated email, such as "foo@google.com". 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 [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
string principal_email = 1;
getPrincipalEmailBytes
in interface AccessOrBuilder
public String getCallerIp()
Caller's IP address, such as "1.1.1.1".
string caller_ip = 2;
getCallerIp
in interface AccessOrBuilder
public ByteString getCallerIpBytes()
Caller's IP address, such as "1.1.1.1".
string caller_ip = 2;
getCallerIpBytes
in interface AccessOrBuilder
public boolean hasCallerIpGeo()
The caller IP's geolocation, which identifies where the call came from.
.google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
hasCallerIpGeo
in interface AccessOrBuilder
public Geolocation getCallerIpGeo()
The caller IP's geolocation, which identifies where the call came from.
.google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
getCallerIpGeo
in interface AccessOrBuilder
public GeolocationOrBuilder getCallerIpGeoOrBuilder()
The caller IP's geolocation, which identifies where the call came from.
.google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
getCallerIpGeoOrBuilder
in interface AccessOrBuilder
public String getUserAgentFamily()
What kind of user agent is associated, e.g. operating system shells, embedded or stand-alone applications, etc.
string user_agent_family = 4;
getUserAgentFamily
in interface AccessOrBuilder
public ByteString getUserAgentFamilyBytes()
What kind of user agent is associated, e.g. operating system shells, embedded or stand-alone applications, etc.
string user_agent_family = 4;
getUserAgentFamilyBytes
in interface AccessOrBuilder
public String getServiceName()
This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
string service_name = 5;
getServiceName
in interface AccessOrBuilder
public ByteString getServiceNameBytes()
This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
string service_name = 5;
getServiceNameBytes
in interface AccessOrBuilder
public String getMethodName()
The method that the service account called, e.g. "SetIamPolicy".
string method_name = 6;
getMethodName
in interface AccessOrBuilder
public ByteString getMethodNameBytes()
The method that the service account called, e.g. "SetIamPolicy".
string method_name = 6;
getMethodNameBytes
in interface AccessOrBuilder
public String getPrincipalSubject()
A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`
string principal_subject = 7;
getPrincipalSubject
in interface AccessOrBuilder
public ByteString getPrincipalSubjectBytes()
A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`
string principal_subject = 7;
getPrincipalSubjectBytes
in interface AccessOrBuilder
public 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 = 8;
getServiceAccountKeyName
in interface AccessOrBuilder
public 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 = 8;
getServiceAccountKeyNameBytes
in interface AccessOrBuilder
public 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 are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
getServiceAccountDelegationInfoList
in interface AccessOrBuilder
public 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 are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
getServiceAccountDelegationInfoOrBuilderList
in interface AccessOrBuilder
public 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 are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
getServiceAccountDelegationInfoCount
in interface AccessOrBuilder
public 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 are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
getServiceAccountDelegationInfo
in interface AccessOrBuilder
public 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 are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
getServiceAccountDelegationInfoOrBuilder
in interface AccessOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Access parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Access parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Access parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Access parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Access parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Access parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Access parseFrom(InputStream input) throws IOException
IOException
public static Access parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Access parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Access parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Access parseFrom(CodedInputStream input) throws IOException
IOException
public static Access parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Access.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Access.Builder newBuilder()
public static Access.Builder newBuilder(Access prototype)
public Access.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Access.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Access getDefaultInstance()
public Parser<Access> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Access getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.