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

com.google.cloud.securitycenter.v2.ResourceValueConfigOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.62.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/securitycenter/v2/resource_value_config.proto

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

public interface ResourceValueConfigOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v2.ResourceValueConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Name for the resource value config
   * 
* * string name = 1; * * @return The name. */ java.lang.String getName(); /** * * *
   * Name for the resource value config
   * 
* * string name = 1; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Resource value level this expression represents
   * Only required when there is no SDP mapping in the request
   * 
* * .google.cloud.securitycenter.v2.ResourceValue resource_value = 2; * * @return The enum numeric value on the wire for resourceValue. */ int getResourceValueValue(); /** * * *
   * Resource value level this expression represents
   * Only required when there is no SDP mapping in the request
   * 
* * .google.cloud.securitycenter.v2.ResourceValue resource_value = 2; * * @return The resourceValue. */ com.google.cloud.securitycenter.v2.ResourceValue getResourceValue(); /** * * *
   * Required. Tag values combined with AND to check against.
   * Values in the form "tagValues/123"
   * E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
   * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
   * 
* * repeated string tag_values = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return A list containing the tagValues. */ java.util.List getTagValuesList(); /** * * *
   * Required. Tag values combined with AND to check against.
   * Values in the form "tagValues/123"
   * E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
   * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
   * 
* * repeated string tag_values = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The count of tagValues. */ int getTagValuesCount(); /** * * *
   * Required. Tag values combined with AND to check against.
   * Values in the form "tagValues/123"
   * E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
   * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
   * 
* * repeated string tag_values = 3 [(.google.api.field_behavior) = REQUIRED]; * * @param index The index of the element to return. * @return The tagValues at the given index. */ java.lang.String getTagValues(int index); /** * * *
   * Required. Tag values combined with AND to check against.
   * Values in the form "tagValues/123"
   * E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
   * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
   * 
* * repeated string tag_values = 3 [(.google.api.field_behavior) = REQUIRED]; * * @param index The index of the value to return. * @return The bytes of the tagValues at the given index. */ com.google.protobuf.ByteString getTagValuesBytes(int index); /** * * *
   * Apply resource_value only to resources that match resource_type.
   * resource_type will be checked with "AND" of other resources.
   * E.g. "storage.googleapis.com/Bucket" with resource_value "HIGH" will
   * apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
   * 
* * string resource_type = 4; * * @return The resourceType. */ java.lang.String getResourceType(); /** * * *
   * Apply resource_value only to resources that match resource_type.
   * resource_type will be checked with "AND" of other resources.
   * E.g. "storage.googleapis.com/Bucket" with resource_value "HIGH" will
   * apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
   * 
* * string resource_type = 4; * * @return The bytes for resourceType. */ com.google.protobuf.ByteString getResourceTypeBytes(); /** * * *
   * Project or folder to scope this config to.
   * For example, "project/456" would apply this config only to resources in
   * "project/456"
   * scope will be checked with "AND" of other resources.
   * 
* * string scope = 5; * * @return The scope. */ java.lang.String getScope(); /** * * *
   * Project or folder to scope this config to.
   * For example, "project/456" would apply this config only to resources in
   * "project/456"
   * scope will be checked with "AND" of other resources.
   * 
* * string scope = 5; * * @return The bytes for scope. */ com.google.protobuf.ByteString getScopeBytes(); /** * * *
   * List of resource labels to search for, evaluated with AND.
   * E.g. "resource_labels_selector": {"key": "value", "env": "prod"}
   * will match resources with labels "key": "value" AND "env": "prod"
   * https://cloud.google.com/resource-manager/docs/creating-managing-labels
   * 
* * map<string, string> resource_labels_selector = 6; */ int getResourceLabelsSelectorCount(); /** * * *
   * List of resource labels to search for, evaluated with AND.
   * E.g. "resource_labels_selector": {"key": "value", "env": "prod"}
   * will match resources with labels "key": "value" AND "env": "prod"
   * https://cloud.google.com/resource-manager/docs/creating-managing-labels
   * 
* * map<string, string> resource_labels_selector = 6; */ boolean containsResourceLabelsSelector(java.lang.String key); /** Use {@link #getResourceLabelsSelectorMap()} instead. */ @java.lang.Deprecated java.util.Map getResourceLabelsSelector(); /** * * *
   * List of resource labels to search for, evaluated with AND.
   * E.g. "resource_labels_selector": {"key": "value", "env": "prod"}
   * will match resources with labels "key": "value" AND "env": "prod"
   * https://cloud.google.com/resource-manager/docs/creating-managing-labels
   * 
* * map<string, string> resource_labels_selector = 6; */ java.util.Map getResourceLabelsSelectorMap(); /** * * *
   * List of resource labels to search for, evaluated with AND.
   * E.g. "resource_labels_selector": {"key": "value", "env": "prod"}
   * will match resources with labels "key": "value" AND "env": "prod"
   * https://cloud.google.com/resource-manager/docs/creating-managing-labels
   * 
* * map<string, string> resource_labels_selector = 6; */ /* nullable */ java.lang.String getResourceLabelsSelectorOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * List of resource labels to search for, evaluated with AND.
   * E.g. "resource_labels_selector": {"key": "value", "env": "prod"}
   * will match resources with labels "key": "value" AND "env": "prod"
   * https://cloud.google.com/resource-manager/docs/creating-managing-labels
   * 
* * map<string, string> resource_labels_selector = 6; */ java.lang.String getResourceLabelsSelectorOrThrow(java.lang.String key); /** * * *
   * Description of the resource value config.
   * 
* * string description = 7; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * Description of the resource value config.
   * 
* * string description = 7; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * Output only. Timestamp this resource value config was created.
   * 
* * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * * *
   * Output only. Timestamp this resource value config was created.
   * 
* * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** * * *
   * Output only. Timestamp this resource value config was created.
   * 
* * .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** * * *
   * Output only. Timestamp this resource value config was last updated.
   * 
* * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** * * *
   * Output only. Timestamp this resource value config was last updated.
   * 
* * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** * * *
   * Output only. Timestamp this resource value config was last updated.
   * 
* * .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** * * *
   * A mapping of the sensitivity on Sensitive Data Protection finding to
   * resource values. This mapping can only be used in combination with a
   * resource_type that is related to BigQuery, e.g.
   * "bigquery.googleapis.com/Dataset".
   * 
* * * .google.cloud.securitycenter.v2.ResourceValueConfig.SensitiveDataProtectionMapping sensitive_data_protection_mapping = 11; * * * @return Whether the sensitiveDataProtectionMapping field is set. */ boolean hasSensitiveDataProtectionMapping(); /** * * *
   * A mapping of the sensitivity on Sensitive Data Protection finding to
   * resource values. This mapping can only be used in combination with a
   * resource_type that is related to BigQuery, e.g.
   * "bigquery.googleapis.com/Dataset".
   * 
* * * .google.cloud.securitycenter.v2.ResourceValueConfig.SensitiveDataProtectionMapping sensitive_data_protection_mapping = 11; * * * @return The sensitiveDataProtectionMapping. */ com.google.cloud.securitycenter.v2.ResourceValueConfig.SensitiveDataProtectionMapping getSensitiveDataProtectionMapping(); /** * * *
   * A mapping of the sensitivity on Sensitive Data Protection finding to
   * resource values. This mapping can only be used in combination with a
   * resource_type that is related to BigQuery, e.g.
   * "bigquery.googleapis.com/Dataset".
   * 
* * * .google.cloud.securitycenter.v2.ResourceValueConfig.SensitiveDataProtectionMapping sensitive_data_protection_mapping = 11; * */ com.google.cloud.securitycenter.v2.ResourceValueConfig.SensitiveDataProtectionMappingOrBuilder getSensitiveDataProtectionMappingOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy