Interface ExplainedAllowPolicyOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    int
    Required.
    Details about how each role binding in the policy affects the principal's ability, or inability, to use the permission for the resource.
    int
    Details about how each role binding in the policy affects the principal's ability, or inability, to use the permission for the resource.
    Details about how each role binding in the policy affects the principal's ability, or inability, to use the permission for the resource.
    Details about how each role binding in the policy affects the principal's ability, or inability, to use the permission for the resource.
    Details about how each role binding in the policy affects the principal's ability, or inability, to use the permission for the resource.
    The full resource name that identifies the resource.
    com.google.protobuf.ByteString
    The full resource name that identifies the resource.
    The IAM allow policy attached to the resource.
    The IAM allow policy attached to the resource.
    The relevance of this policy to the overall access state in the [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
    int
    The relevance of this policy to the overall access state in the [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
    boolean
    The IAM allow policy attached to the resource.

    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

    • getAllowAccessStateValue

      int getAllowAccessStateValue()
       Required. Indicates whether _this policy_ provides the specified permission
       to the specified principal for the specified resource.
      
       This field does _not_ indicate whether the principal actually has the
       permission for the resource. There might be another policy that overrides
       this policy. To determine whether the principal actually has the
       permission, use the `overall_access_state` field in the
       [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
       
      .google.cloud.policytroubleshooter.iam.v3.AllowAccessState allow_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for allowAccessState.
    • getAllowAccessState

      AllowAccessState getAllowAccessState()
       Required. Indicates whether _this policy_ provides the specified permission
       to the specified principal for the specified resource.
      
       This field does _not_ indicate whether the principal actually has the
       permission for the resource. There might be another policy that overrides
       this policy. To determine whether the principal actually has the
       permission, use the `overall_access_state` field in the
       [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
       
      .google.cloud.policytroubleshooter.iam.v3.AllowAccessState allow_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The allowAccessState.
    • getFullResourceName

      String getFullResourceName()
       The full resource name that identifies the resource. For example,
       `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`.
      
       If the sender of the request does not have access to the policy, this field
       is omitted.
      
       For examples of full resource names for Google Cloud services, see
       https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
       
      string full_resource_name = 2;
      Returns:
      The fullResourceName.
    • getFullResourceNameBytes

      com.google.protobuf.ByteString getFullResourceNameBytes()
       The full resource name that identifies the resource. For example,
       `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`.
      
       If the sender of the request does not have access to the policy, this field
       is omitted.
      
       For examples of full resource names for Google Cloud services, see
       https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
       
      string full_resource_name = 2;
      Returns:
      The bytes for fullResourceName.
    • getBindingExplanationsList

      List<AllowBindingExplanation> getBindingExplanationsList()
       Details about how each role binding in the policy affects the principal's
       ability, or inability, to use the permission for the resource. The order of
       the role bindings matches the role binding order in the policy.
      
       If the sender of the request does not have access to the policy, this field
       is omitted.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.AllowBindingExplanation binding_explanations = 3;
    • getBindingExplanations

      AllowBindingExplanation getBindingExplanations(int index)
       Details about how each role binding in the policy affects the principal's
       ability, or inability, to use the permission for the resource. The order of
       the role bindings matches the role binding order in the policy.
      
       If the sender of the request does not have access to the policy, this field
       is omitted.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.AllowBindingExplanation binding_explanations = 3;
    • getBindingExplanationsCount

      int getBindingExplanationsCount()
       Details about how each role binding in the policy affects the principal's
       ability, or inability, to use the permission for the resource. The order of
       the role bindings matches the role binding order in the policy.
      
       If the sender of the request does not have access to the policy, this field
       is omitted.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.AllowBindingExplanation binding_explanations = 3;
    • getBindingExplanationsOrBuilderList

      List<? extends AllowBindingExplanationOrBuilder> getBindingExplanationsOrBuilderList()
       Details about how each role binding in the policy affects the principal's
       ability, or inability, to use the permission for the resource. The order of
       the role bindings matches the role binding order in the policy.
      
       If the sender of the request does not have access to the policy, this field
       is omitted.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.AllowBindingExplanation binding_explanations = 3;
    • getBindingExplanationsOrBuilder

      AllowBindingExplanationOrBuilder getBindingExplanationsOrBuilder(int index)
       Details about how each role binding in the policy affects the principal's
       ability, or inability, to use the permission for the resource. The order of
       the role bindings matches the role binding order in the policy.
      
       If the sender of the request does not have access to the policy, this field
       is omitted.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.AllowBindingExplanation binding_explanations = 3;
    • getRelevanceValue

      int getRelevanceValue()
       The relevance of this policy to the overall access state in the
       [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
      
       If the sender of the request does not have access to the policy, this field
       is omitted.
       
      .google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 4;
      Returns:
      The enum numeric value on the wire for relevance.
    • getRelevance

      HeuristicRelevance getRelevance()
       The relevance of this policy to the overall access state in the
       [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
      
       If the sender of the request does not have access to the policy, this field
       is omitted.
       
      .google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 4;
      Returns:
      The relevance.
    • hasPolicy

      boolean hasPolicy()
       The IAM allow policy attached to the resource.
      
       If the sender of the request does not have access to the policy, this field
       is empty.
       
      .google.iam.v1.Policy policy = 5;
      Returns:
      Whether the policy field is set.
    • getPolicy

      Policy getPolicy()
       The IAM allow policy attached to the resource.
      
       If the sender of the request does not have access to the policy, this field
       is empty.
       
      .google.iam.v1.Policy policy = 5;
      Returns:
      The policy.
    • getPolicyOrBuilder

      PolicyOrBuilder getPolicyOrBuilder()
       The IAM allow policy attached to the resource.
      
       If the sender of the request does not have access to the policy, this field
       is empty.
       
      .google.iam.v1.Policy policy = 5;