Interface GetIamPolicyRequestOrBuilder (1.22.0)

public interface GetIamPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOptions()

public abstract GetPolicyOptions getOptions()

OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy.

.google.iam.v1.GetPolicyOptions options = 2;

Returns
TypeDescription
GetPolicyOptions

The options.

getOptionsOrBuilder()

public abstract GetPolicyOptionsOrBuilder getOptionsOrBuilder()

OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy.

.google.iam.v1.GetPolicyOptions options = 2;

Returns
TypeDescription
GetPolicyOptionsOrBuilder

getResource()

public abstract String getResource()

REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.

string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The resource.

getResourceBytes()

public abstract ByteString getResourceBytes()

REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.

string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for resource.

hasOptions()

public abstract boolean hasOptions()

OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy.

.google.iam.v1.GetPolicyOptions options = 2;

Returns
TypeDescription
boolean

Whether the options field is set.