Interface UserCreds.ResourceIdentityOrBuilder (3.31.3)

public static interface UserCreds.ResourceIdentityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrincipal()

public abstract String getPrincipal()

Output only. Principal identifier string. See: https://cloud.google.com/iam/docs/principal-identifiers

string principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The principal.

getPrincipalBytes()

public abstract ByteString getPrincipalBytes()

Output only. Principal identifier string. See: https://cloud.google.com/iam/docs/principal-identifiers

string principal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for principal.