Interface WorkloadIdentityConfigOrBuilder (0.103.0)

public interface WorkloadIdentityConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIdentity()

public abstract String getIdentity()

Optional. The Revision's SPIFFE workload identity. Enables provisioning of SPIFFE workload certificates.

string identity = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The identity.

getIdentityBytes()

public abstract ByteString getIdentityBytes()

Optional. The Revision's SPIFFE workload identity. Enables provisioning of SPIFFE workload certificates.

string identity = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for identity.

getIdentityCertificateEnabled()

public abstract boolean getIdentityCertificateEnabled()

Optional. Controls whether an instance receives a MWLID certificate. Corresponds to the intention of the original --[no-]identity-certificate flag.

optional bool identity_certificate_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The identityCertificateEnabled.

getIdentityType()

public abstract IdentityType getIdentityType()

Optional. The type of identity to use.

.google.cloud.run.v2.IdentityType identity_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IdentityType

The identityType.

getIdentityTypeValue()

public abstract int getIdentityTypeValue()

Optional. The type of identity to use.

.google.cloud.run.v2.IdentityType identity_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for identityType.

hasIdentityCertificateEnabled()

public abstract boolean hasIdentityCertificateEnabled()

Optional. Controls whether an instance receives a MWLID certificate. Corresponds to the intention of the original --[no-]identity-certificate flag.

optional bool identity_certificate_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the identityCertificateEnabled field is set.