public final class Access extends com.google.protobuf.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.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 |
static int |
USER_AGENT_FIELD_NUMBER |
static int |
USER_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCallerIp()
Caller's IP address, such as "1.1.1.1".
|
com.google.protobuf.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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMethodName()
The method that the service account called, e.g.
|
com.google.protobuf.ByteString |
getMethodNameBytes()
The method that the service account called, e.g.
|
com.google.protobuf.Parser<Access> |
getParserForType() |
String |
getPrincipalEmail()
Associated email, such as "foo@google.com".
|
com.google.protobuf.ByteString |
getPrincipalEmailBytes()
Associated email, such as "foo@google.com".
|
String |
getPrincipalSubject()
A string that represents the principal_subject that is associated with the
identity.
|
com.google.protobuf.ByteString |
getPrincipalSubjectBytes()
A string that represents the principal_subject that is associated with the
identity.
|
int |
getSerializedSize() |
ServiceAccountDelegationInfo |
getServiceAccountDelegationInfo(int index)
The identity delegation history of an authenticated service account that
made the request.
|
int |
getServiceAccountDelegationInfoCount()
The identity delegation history of an authenticated service account that
made the request.
|
List<ServiceAccountDelegationInfo> |
getServiceAccountDelegationInfoList()
The identity delegation history of an authenticated service account that
made the request.
|
ServiceAccountDelegationInfoOrBuilder |
getServiceAccountDelegationInfoOrBuilder(int index)
The identity delegation history of an authenticated service account that
made the request.
|
List<? extends ServiceAccountDelegationInfoOrBuilder> |
getServiceAccountDelegationInfoOrBuilderList()
The identity delegation history of an authenticated service account that
made the request.
|
String |
getServiceAccountKeyName()
The name of the service account key that was used to create or exchange
credentials when authenticating the service account that made the request.
|
com.google.protobuf.ByteString |
getServiceAccountKeyNameBytes()
The name of the service account key that was used to create or exchange
credentials when authenticating the service account that made the request.
|
String |
getServiceName()
This is the API service that the service account made a call to, e.g.
|
com.google.protobuf.ByteString |
getServiceNameBytes()
This is the API service that the service account made a call to, e.g.
|
String |
getUserAgent()
The caller's user agent string associated with the finding.
|
com.google.protobuf.ByteString |
getUserAgentBytes()
The caller's user agent string associated with the finding.
|
String |
getUserAgentFamily()
Type of user agent associated with the finding.
|
com.google.protobuf.ByteString |
getUserAgentFamilyBytes()
Type of user agent associated with the finding.
|
String |
getUserName()
A string that represents a username.
|
com.google.protobuf.ByteString |
getUserNameBytes()
A string that represents a username.
|
boolean |
hasCallerIpGeo()
The caller IP's geolocation, which identifies where the call came from.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Access.Builder |
newBuilder() |
static Access.Builder |
newBuilder(Access prototype) |
Access.Builder |
newBuilderForType() |
protected Access.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Access |
parseDelimitedFrom(InputStream input) |
static Access |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Access |
parseFrom(byte[] data) |
static Access |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Access |
parseFrom(ByteBuffer data) |
static Access |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Access |
parseFrom(com.google.protobuf.ByteString data) |
static Access |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Access |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Access |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Access |
parseFrom(InputStream input) |
static Access |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Access> |
parser() |
Access.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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 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 USER_AGENT_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
public static final int USER_NAME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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()
Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a 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 AccessOrBuilderpublic com.google.protobuf.ByteString getPrincipalEmailBytes()
Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a 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 AccessOrBuilderpublic String getCallerIp()
Caller's IP address, such as "1.1.1.1".
string caller_ip = 2;getCallerIp in interface AccessOrBuilderpublic com.google.protobuf.ByteString getCallerIpBytes()
Caller's IP address, such as "1.1.1.1".
string caller_ip = 2;getCallerIpBytes in interface AccessOrBuilderpublic 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 AccessOrBuilderpublic 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 AccessOrBuilderpublic 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 AccessOrBuilderpublic String getUserAgentFamily()
Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
string user_agent_family = 4;getUserAgentFamily in interface AccessOrBuilderpublic com.google.protobuf.ByteString getUserAgentFamilyBytes()
Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
string user_agent_family = 4;getUserAgentFamilyBytes in interface AccessOrBuilderpublic String getUserAgent()
The caller's user agent string associated with the finding.
string user_agent = 12;getUserAgent in interface AccessOrBuilderpublic com.google.protobuf.ByteString getUserAgentBytes()
The caller's user agent string associated with the finding.
string user_agent = 12;getUserAgentBytes in interface AccessOrBuilderpublic 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 AccessOrBuilderpublic com.google.protobuf.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 AccessOrBuilderpublic String getMethodName()
The method that the service account called, e.g. "SetIamPolicy".
string method_name = 6;getMethodName in interface AccessOrBuilderpublic com.google.protobuf.ByteString getMethodNameBytes()
The method that the service account called, e.g. "SetIamPolicy".
string method_name = 6;getMethodNameBytes in interface AccessOrBuilderpublic String getPrincipalSubject()
A string that represents the principal_subject that is associated with the
identity. Unlike `principal_email`, `principal_subject` supports principals
that aren't associated with email addresses, such as third party
principals. For most identities, the format is
`principal://iam.googleapis.com/{identity pool name}/subject/{subject}`.
Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD,
still use the legacy format `serviceAccount:{identity pool
name}[{subject}]`.
string principal_subject = 7;getPrincipalSubject in interface AccessOrBuilderpublic com.google.protobuf.ByteString getPrincipalSubjectBytes()
A string that represents the principal_subject that is associated with the
identity. Unlike `principal_email`, `principal_subject` supports principals
that aren't associated with email addresses, such as third party
principals. For most identities, the format is
`principal://iam.googleapis.com/{identity pool name}/subject/{subject}`.
Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD,
still use the legacy format `serviceAccount:{identity pool
name}[{subject}]`.
string principal_subject = 7;getPrincipalSubjectBytes in interface AccessOrBuilderpublic String getServiceAccountKeyName()
The name of the service account key that was used to create or exchange
credentials when authenticating the service account that made 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 AccessOrBuilderpublic com.google.protobuf.ByteString getServiceAccountKeyNameBytes()
The name of the service account key that was used to create or exchange
credentials when authenticating the service account that made 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 AccessOrBuilderpublic List<ServiceAccountDelegationInfo> getServiceAccountDelegationInfoList()
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud 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 AccessOrBuilderpublic List<? extends ServiceAccountDelegationInfoOrBuilder> getServiceAccountDelegationInfoOrBuilderList()
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud 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 AccessOrBuilderpublic int getServiceAccountDelegationInfoCount()
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud 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 AccessOrBuilderpublic ServiceAccountDelegationInfo getServiceAccountDelegationInfo(int index)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud 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 AccessOrBuilderpublic ServiceAccountDelegationInfoOrBuilder getServiceAccountDelegationInfoOrBuilder(int index)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud 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 AccessOrBuilderpublic String getUserName()
A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
string user_name = 11;getUserName in interface AccessOrBuilderpublic com.google.protobuf.ByteString getUserNameBytes()
A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
string user_name = 11;getUserNameBytes in interface AccessOrBuilderpublic 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 Access parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Access parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Access parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Access parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Access parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Access parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Access parseFrom(InputStream input) throws IOException
IOExceptionpublic static Access parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Access parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Access parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Access parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Access parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Access.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Access.Builder newBuilder()
public static Access.Builder newBuilder(Access prototype)
public Access.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Access.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Access getDefaultInstance()
public static com.google.protobuf.Parser<Access> parser()
public com.google.protobuf.Parser<Access> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Access getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.