Interface BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
Enclosing class:
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy

public static interface BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.
    com.google.protobuf.ByteString
    The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.
    The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
    The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
    boolean
    The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_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

    • getAttachedResource

      String getAttachedResource()
       The full resource name the
       [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
       is directly attached to.
       
      string attached_resource = 1;
      Returns:
      The attachedResource.
    • getAttachedResourceBytes

      com.google.protobuf.ByteString getAttachedResourceBytes()
       The full resource name the
       [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
       is directly attached to.
       
      string attached_resource = 1;
      Returns:
      The bytes for attachedResource.
    • hasPolicy

      boolean hasPolicy()
       The IAM policy that's directly attached to the
       [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
       
      .google.iam.v1.Policy policy = 2;
      Returns:
      Whether the policy field is set.
    • getPolicy

      Policy getPolicy()
       The IAM policy that's directly attached to the
       [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
       
      .google.iam.v1.Policy policy = 2;
      Returns:
      The policy.
    • getPolicyOrBuilder

      PolicyOrBuilder getPolicyOrBuilder()
       The IAM policy that's directly attached to the
       [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
       
      .google.iam.v1.Policy policy = 2;