Interface BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getAttachedResource()
      The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.
      com.google.protobuf.ByteString getAttachedResourceBytes()
      The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.
      com.google.iam.v1.Policy getPolicy()
      The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
      com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder()
      The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
      boolean hasPolicy()
      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 Detail

      • 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

        com.google.iam.v1.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

        com.google.iam.v1.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;