public static final class AuthenticationInfo.Builder extends GeneratedMessageV3.Builder<AuthenticationInfo.Builder> implements AuthenticationInfoOrBuilder
Authentication information for the operation.
Protobuf type google.cloud.audit.AuthenticationInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AuthenticationInfo.BuilderImplements
AuthenticationInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllServiceAccountDelegationInfo(Iterable<? extends ServiceAccountDelegationInfo> values)
public AuthenticationInfo.Builder addAllServiceAccountDelegationInfo(Iterable<? extends ServiceAccountDelegationInfo> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.audit.ServiceAccountDelegationInfo> |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AuthenticationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
addServiceAccountDelegationInfo(ServiceAccountDelegationInfo value)
public AuthenticationInfo.Builder addServiceAccountDelegationInfo(ServiceAccountDelegationInfo value)
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;
Parameter | |
---|---|
Name | Description |
value | ServiceAccountDelegationInfo |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
addServiceAccountDelegationInfo(ServiceAccountDelegationInfo.Builder builderForValue)
public AuthenticationInfo.Builder addServiceAccountDelegationInfo(ServiceAccountDelegationInfo.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | ServiceAccountDelegationInfo.Builder |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
addServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)
public AuthenticationInfo.Builder addServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | ServiceAccountDelegationInfo |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
addServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)
public AuthenticationInfo.Builder addServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ServiceAccountDelegationInfo.Builder |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
addServiceAccountDelegationInfoBuilder()
public ServiceAccountDelegationInfo.Builder addServiceAccountDelegationInfoBuilder()
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;
Returns | |
---|---|
Type | Description |
ServiceAccountDelegationInfo.Builder |
addServiceAccountDelegationInfoBuilder(int index)
public ServiceAccountDelegationInfo.Builder addServiceAccountDelegationInfoBuilder(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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceAccountDelegationInfo.Builder |
build()
public AuthenticationInfo build()
Returns | |
---|---|
Type | Description |
AuthenticationInfo |
buildPartial()
public AuthenticationInfo buildPartial()
Returns | |
---|---|
Type | Description |
AuthenticationInfo |
clear()
public AuthenticationInfo.Builder clear()
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
clearAuthoritySelector()
public AuthenticationInfo.Builder clearAuthoritySelector()
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;
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AuthenticationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AuthenticationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
clearPrincipalEmail()
public AuthenticationInfo.Builder clearPrincipalEmail()
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.
string principal_email = 1;
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder | This builder for chaining. |
clearPrincipalSubject()
public AuthenticationInfo.Builder clearPrincipalSubject()
String representation of identity of requesting party. Populated for both first and third party identities.
string principal_subject = 8;
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder | This builder for chaining. |
clearServiceAccountDelegationInfo()
public AuthenticationInfo.Builder clearServiceAccountDelegationInfo()
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;
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
clearServiceAccountKeyName()
public AuthenticationInfo.Builder clearServiceAccountKeyName()
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;
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder | This builder for chaining. |
clearThirdPartyPrincipal()
public AuthenticationInfo.Builder clearThirdPartyPrincipal()
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;
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
clone()
public AuthenticationInfo.Builder clone()
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
getAuthoritySelector()
public 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;
Returns | |
---|---|
Type | Description |
String | The authoritySelector. |
getAuthoritySelectorBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for authoritySelector. |
getDefaultInstanceForType()
public AuthenticationInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AuthenticationInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPrincipalEmail()
public 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 Caller identities in audit
logs.
string principal_email = 1;
Returns | |
---|---|
Type | Description |
String | The principalEmail. |
getPrincipalEmailBytes()
public 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 Caller identities in audit
logs.
string principal_email = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for principalEmail. |
getPrincipalSubject()
public String getPrincipalSubject()
String representation of identity of requesting party. Populated for both first and third party identities.
string principal_subject = 8;
Returns | |
---|---|
Type | Description |
String | The principalSubject. |
getPrincipalSubjectBytes()
public ByteString getPrincipalSubjectBytes()
String representation of identity of requesting party. Populated for both first and third party identities.
string principal_subject = 8;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for principalSubject. |
getServiceAccountDelegationInfo(int index)
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 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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceAccountDelegationInfo |
getServiceAccountDelegationInfoBuilder(int index)
public ServiceAccountDelegationInfo.Builder getServiceAccountDelegationInfoBuilder(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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceAccountDelegationInfo.Builder |
getServiceAccountDelegationInfoBuilderList()
public List<ServiceAccountDelegationInfo.Builder> getServiceAccountDelegationInfoBuilderList()
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
getServiceAccountDelegationInfoCount()
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 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;
Returns | |
---|---|
Type | Description |
int |
getServiceAccountDelegationInfoList()
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 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;
Returns | |
---|---|
Type | Description |
List<ServiceAccountDelegationInfo> |
getServiceAccountDelegationInfoOrBuilder(int index)
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 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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceAccountDelegationInfoOrBuilder |
getServiceAccountDelegationInfoOrBuilderList()
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 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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.audit.ServiceAccountDelegationInfoOrBuilder> |
getServiceAccountKeyName()
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 = 5;
Returns | |
---|---|
Type | Description |
String | The serviceAccountKeyName. |
getServiceAccountKeyNameBytes()
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 = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for serviceAccountKeyName. |
getThirdPartyPrincipal()
public 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;
Returns | |
---|---|
Type | Description |
Struct | The thirdPartyPrincipal. |
getThirdPartyPrincipalBuilder()
public Struct.Builder getThirdPartyPrincipalBuilder()
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;
Returns | |
---|---|
Type | Description |
Builder |
getThirdPartyPrincipalOrBuilder()
public 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;
Returns | |
---|---|
Type | Description |
StructOrBuilder |
hasThirdPartyPrincipal()
public 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;
Returns | |
---|---|
Type | Description |
boolean | Whether the thirdPartyPrincipal field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AuthenticationInfo other)
public AuthenticationInfo.Builder mergeFrom(AuthenticationInfo other)
Parameter | |
---|---|
Name | Description |
other | AuthenticationInfo |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AuthenticationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AuthenticationInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
mergeThirdPartyPrincipal(Struct value)
public AuthenticationInfo.Builder mergeThirdPartyPrincipal(Struct value)
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;
Parameter | |
---|---|
Name | Description |
value | Struct |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AuthenticationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
removeServiceAccountDelegationInfo(int index)
public AuthenticationInfo.Builder removeServiceAccountDelegationInfo(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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
setAuthoritySelector(String value)
public AuthenticationInfo.Builder setAuthoritySelector(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The authoritySelector to set. |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder | This builder for chaining. |
setAuthoritySelectorBytes(ByteString value)
public AuthenticationInfo.Builder setAuthoritySelectorBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for authoritySelector to set. |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AuthenticationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
setPrincipalEmail(String value)
public AuthenticationInfo.Builder setPrincipalEmail(String value)
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.
string principal_email = 1;
Parameter | |
---|---|
Name | Description |
value | String The principalEmail to set. |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder | This builder for chaining. |
setPrincipalEmailBytes(ByteString value)
public AuthenticationInfo.Builder setPrincipalEmailBytes(ByteString value)
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.
string principal_email = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for principalEmail to set. |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder | This builder for chaining. |
setPrincipalSubject(String value)
public AuthenticationInfo.Builder setPrincipalSubject(String value)
String representation of identity of requesting party. Populated for both first and third party identities.
string principal_subject = 8;
Parameter | |
---|---|
Name | Description |
value | String The principalSubject to set. |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder | This builder for chaining. |
setPrincipalSubjectBytes(ByteString value)
public AuthenticationInfo.Builder setPrincipalSubjectBytes(ByteString value)
String representation of identity of requesting party. Populated for both first and third party identities.
string principal_subject = 8;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for principalSubject to set. |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AuthenticationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
setServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)
public AuthenticationInfo.Builder setServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | ServiceAccountDelegationInfo |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
setServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)
public AuthenticationInfo.Builder setServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ServiceAccountDelegationInfo.Builder |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
setServiceAccountKeyName(String value)
public AuthenticationInfo.Builder setServiceAccountKeyName(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The serviceAccountKeyName to set. |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder | This builder for chaining. |
setServiceAccountKeyNameBytes(ByteString value)
public AuthenticationInfo.Builder setServiceAccountKeyNameBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for serviceAccountKeyName to set. |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder | This builder for chaining. |
setThirdPartyPrincipal(Struct value)
public AuthenticationInfo.Builder setThirdPartyPrincipal(Struct value)
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;
Parameter | |
---|---|
Name | Description |
value | Struct |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
setThirdPartyPrincipal(Struct.Builder builderForValue)
public AuthenticationInfo.Builder setThirdPartyPrincipal(Struct.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AuthenticationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AuthenticationInfo.Builder |