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 Details

    • 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

      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(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 Map<String,String> getResourceTags()
      Deprecated.
    • getResourceTagsMap

      Map<String,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

      String getResourceTagsOrDefault(String key, 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

      String getResourceTagsOrThrow(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

      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

      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];