All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.audit.OrgPolicyViolationInfoOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/audit/audit_log.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.audit;

public interface OrgPolicyViolationInfoOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.audit.OrgPolicyViolationInfo)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * 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]; * @return Whether the payload field is set. */ 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]; * @return The payload. */ 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]; */ com.google.protobuf.StructOrBuilder getPayloadOrBuilder(); /** *
   * 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]; * @return The resourceType. */ 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]; * @return The bytes for resourceType. */ com.google.protobuf.ByteString getResourceTypeBytes(); /** *
   * 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]; */ 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]; */ boolean containsResourceTags( java.lang.String key); /** * Use {@link #getResourceTagsMap()} instead. */ @java.lang.Deprecated java.util.Map getResourceTags(); /** *
   * 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]; */ java.util.Map 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]; */ /* nullable */ java.lang.String getResourceTagsOrDefault( java.lang.String key, /* nullable */ 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]; */ java.lang.String getResourceTagsOrThrow( java.lang.String key); /** *
   * Optional. Policy violations
   * 
* * repeated .google.cloud.audit.ViolationInfo violation_info = 4 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.List getViolationInfoList(); /** *
   * Optional. Policy violations
   * 
* * repeated .google.cloud.audit.ViolationInfo violation_info = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.audit.ViolationInfo getViolationInfo(int index); /** *
   * Optional. Policy violations
   * 
* * repeated .google.cloud.audit.ViolationInfo violation_info = 4 [(.google.api.field_behavior) = OPTIONAL]; */ int getViolationInfoCount(); /** *
   * Optional. Policy violations
   * 
* * repeated .google.cloud.audit.ViolationInfo violation_info = 4 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.List getViolationInfoOrBuilderList(); /** *
   * Optional. Policy violations
   * 
* * repeated .google.cloud.audit.ViolationInfo violation_info = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.audit.ViolationInfoOrBuilder getViolationInfoOrBuilder( int index); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy