Interface GetIamPolicyRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`.
    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

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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 [(.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 [(.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;
      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;
      Returns:
      The options.
    • getOptionsOrBuilder

      GetPolicyOptionsOrBuilder getOptionsOrBuilder()
       OPTIONAL: A `GetPolicyOptions` object for specifying options to
       `GetIamPolicy`.
       
      .google.iam.v1.GetPolicyOptions options = 2;