public interface GetIamPolicyRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getOptions()
public abstract GetPolicyOptions getOptions() OPTIONAL: A GetPolicyOptions object for specifying options to
GetIamPolicy.
.google.iam.v1.GetPolicyOptions options = 2;
| 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;
| 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) = { ... }
| 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) = { ... }
| 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;
| Type | Description |
| boolean | Whether the options field is set. |