Interface GetIamPolicyRequestOrBuilder (1.43.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
Type Description
GetPolicyOptions

The options.

getOptionsOrBuilder()

public abstract GetPolicyOptionsOrBuilder getOptionsOrBuilder()

OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the options field is set.