Interface OrgPolicyViolationInfoOrBuilder

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

    public interface OrgPolicyViolationInfoOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasPayload

        boolean hasPayload()
         Optional. Resource payload that is currently in scope and is subjected to orgpolicy
         conditions. This payload may be the subset of the actual Resource that may
         come in the request. This payload should not contain any core content.
         
        .google.protobuf.Struct payload = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the payload field is set.
      • getPayload

        com.google.protobuf.Struct getPayload()
         Optional. Resource payload that is currently in scope and is subjected to orgpolicy
         conditions. This payload may be the subset of the actual Resource that may
         come in the request. This payload should not contain any core content.
         
        .google.protobuf.Struct payload = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The payload.
      • getPayloadOrBuilder

        com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
         Optional. Resource payload that is currently in scope and is subjected to orgpolicy
         conditions. This payload may be the subset of the actual Resource that may
         come in the request. This payload should not contain any core content.
         
        .google.protobuf.Struct payload = 1 [(.google.api.field_behavior) = OPTIONAL];
      • getResourceType

        java.lang.String getResourceType()
         Optional. Resource type that the orgpolicy is checked against.
         Example: compute.googleapis.com/Instance, store.googleapis.com/bucket
         
        string resource_type = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The resourceType.
      • getResourceTypeBytes

        com.google.protobuf.ByteString getResourceTypeBytes()
         Optional. Resource type that the orgpolicy is checked against.
         Example: compute.googleapis.com/Instance, store.googleapis.com/bucket
         
        string resource_type = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for resourceType.
      • getResourceTagsCount

        int getResourceTagsCount()
         Optional. Tags referenced on the resource at the time of evaluation. These also
         include the federated tags, if they are supplied in the CheckOrgPolicy
         or CheckCustomConstraints Requests.
        
         Optional field as of now. These tags are the Cloud tags that are
         available on the resource during the policy evaluation and will
         be available as part of the OrgPolicy check response for logging purposes.
         
        map<string, string> resource_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      • containsResourceTags

        boolean containsResourceTags​(java.lang.String key)
         Optional. Tags referenced on the resource at the time of evaluation. These also
         include the federated tags, if they are supplied in the CheckOrgPolicy
         or CheckCustomConstraints Requests.
        
         Optional field as of now. These tags are the Cloud tags that are
         available on the resource during the policy evaluation and will
         be available as part of the OrgPolicy check response for logging purposes.
         
        map<string, string> resource_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getResourceTags

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getResourceTags()
        Deprecated.
      • getResourceTagsMap

        java.util.Map<java.lang.String,​java.lang.String> getResourceTagsMap()
         Optional. Tags referenced on the resource at the time of evaluation. These also
         include the federated tags, if they are supplied in the CheckOrgPolicy
         or CheckCustomConstraints Requests.
        
         Optional field as of now. These tags are the Cloud tags that are
         available on the resource during the policy evaluation and will
         be available as part of the OrgPolicy check response for logging purposes.
         
        map<string, string> resource_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getResourceTagsOrDefault

        java.lang.String getResourceTagsOrDefault​(java.lang.String key,
                                                  java.lang.String defaultValue)
         Optional. Tags referenced on the resource at the time of evaluation. These also
         include the federated tags, if they are supplied in the CheckOrgPolicy
         or CheckCustomConstraints Requests.
        
         Optional field as of now. These tags are the Cloud tags that are
         available on the resource during the policy evaluation and will
         be available as part of the OrgPolicy check response for logging purposes.
         
        map<string, string> resource_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getResourceTagsOrThrow

        java.lang.String getResourceTagsOrThrow​(java.lang.String key)
         Optional. Tags referenced on the resource at the time of evaluation. These also
         include the federated tags, if they are supplied in the CheckOrgPolicy
         or CheckCustomConstraints Requests.
        
         Optional field as of now. These tags are the Cloud tags that are
         available on the resource during the policy evaluation and will
         be available as part of the OrgPolicy check response for logging purposes.
         
        map<string, string> resource_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      • getViolationInfoList

        java.util.List<ViolationInfo> getViolationInfoList()
         Optional. Policy violations
         
        repeated .google.cloud.audit.ViolationInfo violation_info = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getViolationInfo

        ViolationInfo getViolationInfo​(int index)
         Optional. Policy violations
         
        repeated .google.cloud.audit.ViolationInfo violation_info = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getViolationInfoCount

        int getViolationInfoCount()
         Optional. Policy violations
         
        repeated .google.cloud.audit.ViolationInfo violation_info = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getViolationInfoOrBuilderList

        java.util.List<? extends ViolationInfoOrBuilder> getViolationInfoOrBuilderList()
         Optional. Policy violations
         
        repeated .google.cloud.audit.ViolationInfo violation_info = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getViolationInfoOrBuilder

        ViolationInfoOrBuilder getViolationInfoOrBuilder​(int index)
         Optional. Policy violations
         
        repeated .google.cloud.audit.ViolationInfo violation_info = 4 [(.google.api.field_behavior) = OPTIONAL];