Interface GetIamPolicyRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
GetIamPolicyRequest, GetIamPolicyRequest.Builder

public interface GetIamPolicyRequestOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`.
    REQUIRED: The resource for which the policy is being requested.
    com.google.protobuf.ByteString
    REQUIRED: The resource for which the policy is being requested.
    boolean
    OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getResource

      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 [json_name = "resource", (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The resource.
    • getResourceBytes

      com.google.protobuf.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 [json_name = "resource", (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for resource.
    • hasOptions

      boolean hasOptions()
       OPTIONAL: A `GetPolicyOptions` object for specifying options to
       `GetIamPolicy`.
       
      .google.iam.v1.GetPolicyOptions options = 2 [json_name = "options"];
      Returns:
      Whether the options field is set.
    • getOptions

      GetPolicyOptions getOptions()
       OPTIONAL: A `GetPolicyOptions` object for specifying options to
       `GetIamPolicy`.
       
      .google.iam.v1.GetPolicyOptions options = 2 [json_name = "options"];
      Returns:
      The options.