Interface BinaryAuthorization.PolicyBindingOrBuilder (2.40.0)

public static interface BinaryAuthorization.PolicyBindingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.

optional string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.

optional string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

hasName()

public abstract boolean hasName()

The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.

optional string name = 1;

Returns
TypeDescription
boolean

Whether the name field is set.