Interface PolicyRuleOrBuilder

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

@Generated public interface PolicyRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    A rule for a deny policy.
    A rule for a deny policy.
    A user-specified description of the rule.
    com.google.protobuf.ByteString
    A user-specified description of the rule.
     
    boolean
    A rule for a deny policy.

    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

    • hasDenyRule

      boolean hasDenyRule()
       A rule for a deny policy.
       
      .google.iam.v2.DenyRule deny_rule = 2;
      Returns:
      Whether the denyRule field is set.
    • getDenyRule

      DenyRule getDenyRule()
       A rule for a deny policy.
       
      .google.iam.v2.DenyRule deny_rule = 2;
      Returns:
      The denyRule.
    • getDenyRuleOrBuilder

      DenyRuleOrBuilder getDenyRuleOrBuilder()
       A rule for a deny policy.
       
      .google.iam.v2.DenyRule deny_rule = 2;
    • getDescription

      String getDescription()
       A user-specified description of the rule. This value can be up to 256
       characters.
       
      string description = 1;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       A user-specified description of the rule. This value can be up to 256
       characters.
       
      string description = 1;
      Returns:
      The bytes for description.
    • getKindCase

      PolicyRule.KindCase getKindCase()