Interface SetIamPolicyRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    REQUIRED: The complete policy to be applied to the `resource`.
    REQUIRED: The complete policy to be applied to the `resource`.
    REQUIRED: The resource for which the policy is being specified.
    com.google.protobuf.ByteString
    REQUIRED: The resource for which the policy is being specified.
    com.google.protobuf.FieldMask
    OPTIONAL: A FieldMask specifying which fields of the policy to modify.
    com.google.protobuf.FieldMaskOrBuilder
    OPTIONAL: A FieldMask specifying which fields of the policy to modify.
    boolean
    REQUIRED: The complete policy to be applied to the `resource`.
    boolean
    OPTIONAL: A FieldMask specifying which fields of the policy to modify.

    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 specified.
       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 specified.
       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.
    • hasPolicy

      boolean hasPolicy()
       REQUIRED: The complete policy to be applied to the `resource`. The size of
       the policy is limited to a few 10s of KB. An empty policy is a
       valid policy but certain Cloud Platform services (such as Projects)
       might reject them.
       
      .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the policy field is set.
    • getPolicy

      Policy getPolicy()
       REQUIRED: The complete policy to be applied to the `resource`. The size of
       the policy is limited to a few 10s of KB. An empty policy is a
       valid policy but certain Cloud Platform services (such as Projects)
       might reject them.
       
      .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The policy.
    • getPolicyOrBuilder

      PolicyOrBuilder getPolicyOrBuilder()
       REQUIRED: The complete policy to be applied to the `resource`. The size of
       the policy is limited to a few 10s of KB. An empty policy is a
       valid policy but certain Cloud Platform services (such as Projects)
       might reject them.
       
      .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED];
    • hasUpdateMask

      boolean hasUpdateMask()
       OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
       the fields in the mask will be modified. If no mask is provided, the
       following default mask is used:
      
       `paths: "bindings, etag"`
       
      .google.protobuf.FieldMask update_mask = 3;
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      com.google.protobuf.FieldMask getUpdateMask()
       OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
       the fields in the mask will be modified. If no mask is provided, the
       following default mask is used:
      
       `paths: "bindings, etag"`
       
      .google.protobuf.FieldMask update_mask = 3;
      Returns:
      The updateMask.
    • getUpdateMaskOrBuilder

      com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
       the fields in the mask will be modified. If no mask is provided, the
       following default mask is used:
      
       `paths: "bindings, etag"`
       
      .google.protobuf.FieldMask update_mask = 3;