Interface IAMPolicyOrBuilder (1.31.0)

public interface IAMPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPolicy()

public abstract Policy getPolicy()

Policy definition if IAM policy fetching is successful, otherwise empty.

.google.iam.v1.Policy policy = 1;

Returns
TypeDescription
com.google.iam.v1.Policy

The policy.

getPolicyOrBuilder()

public abstract PolicyOrBuilder getPolicyOrBuilder()

Policy definition if IAM policy fetching is successful, otherwise empty.

.google.iam.v1.Policy policy = 1;

Returns
TypeDescription
com.google.iam.v1.PolicyOrBuilder

getStatus()

public abstract Status getStatus()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusOrBuilder()

public abstract StatusOrBuilder getStatusOrBuilder()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

hasPolicy()

public abstract boolean hasPolicy()

Policy definition if IAM policy fetching is successful, otherwise empty.

.google.iam.v1.Policy policy = 1;

Returns
TypeDescription
boolean

Whether the policy field is set.

hasStatus()

public abstract boolean hasStatus()

Status of iam policy fetching.

.google.rpc.Status status = 2;

Returns
TypeDescription
boolean

Whether the status field is set.