public interface ResourceValueConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsResourceLabelsSelector(String key)
public abstract boolean containsResourceLabelsSelector(String key) List of resource labels to search for, evaluated with AND.
For example, "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;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCloudProvider()
public abstract CloudProvider getCloudProvider()Cloud provider this configuration applies to
.google.cloud.securitycenter.v1.CloudProvider cloud_provider = 10;
| Returns | |
|---|---|
| Type | Description |
CloudProvider |
The cloudProvider. |
getCloudProviderValue()
public abstract int getCloudProviderValue()Cloud provider this configuration applies to
.google.cloud.securitycenter.v1.CloudProvider cloud_provider = 10;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for cloudProvider. |
getCreateTime()
public abstract Timestamp getCreateTime()Output only. Timestamp this resource value configuration was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp this resource value configuration was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDescription()
public abstract String getDescription()Description of the resource value configuration.
string description = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Description of the resource value configuration.
string description = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getName()
public abstract String getName()Name for the resource value configuration
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Name for the resource value configuration
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getResourceLabelsSelector() (deprecated)
public abstract Map<String,String> getResourceLabelsSelector()Use #getResourceLabelsSelectorMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getResourceLabelsSelectorCount()
public abstract int getResourceLabelsSelectorCount() List of resource labels to search for, evaluated with AND.
For example, "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;
| Returns | |
|---|---|
| Type | Description |
int |
|
getResourceLabelsSelectorMap()
public abstract Map<String,String> getResourceLabelsSelectorMap() List of resource labels to search for, evaluated with AND.
For example, "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;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getResourceLabelsSelectorOrDefault(String key, String defaultValue)
public abstract String getResourceLabelsSelectorOrDefault(String key, String defaultValue) List of resource labels to search for, evaluated with AND.
For example, "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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getResourceLabelsSelectorOrThrow(String key)
public abstract String getResourceLabelsSelectorOrThrow(String key) List of resource labels to search for, evaluated with AND.
For example, "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;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getResourceType()
public abstract String getResourceType() Apply resource_value only to resources that match resource_type.
resource_type will be checked with AND of other resources.
For example, "storage.googleapis.com/Bucket" with resource_value "HIGH"
will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
string resource_type = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The resourceType. |
getResourceTypeBytes()
public abstract ByteString getResourceTypeBytes() Apply resource_value only to resources that match resource_type.
resource_type will be checked with AND of other resources.
For example, "storage.googleapis.com/Bucket" with resource_value "HIGH"
will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources.
string resource_type = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resourceType. |
getResourceValue()
public abstract ResourceValue getResourceValue()Required. Resource value level this expression represents
.google.cloud.securitycenter.v1.ResourceValue resource_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ResourceValue |
The resourceValue. |
getResourceValueValue()
public abstract int getResourceValueValue()Required. Resource value level this expression represents
.google.cloud.securitycenter.v1.ResourceValue resource_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for resourceValue. |
getScope()
public abstract String getScope() Project or folder to scope this configuration to.
For example, "project/456" would apply this configuration only to resources
in "project/456" scope will be checked with AND of other
resources.
string scope = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The scope. |
getScopeBytes()
public abstract ByteString getScopeBytes() Project or folder to scope this configuration to.
For example, "project/456" would apply this configuration only to resources
in "project/456" scope will be checked with AND of other
resources.
string scope = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for scope. |
getSensitiveDataProtectionMapping()
public abstract 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.v1.ResourceValueConfig.SensitiveDataProtectionMapping sensitive_data_protection_mapping = 11;
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.SensitiveDataProtectionMapping |
The sensitiveDataProtectionMapping. |
getSensitiveDataProtectionMappingOrBuilder()
public abstract ResourceValueConfig.SensitiveDataProtectionMappingOrBuilder getSensitiveDataProtectionMappingOrBuilder()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.v1.ResourceValueConfig.SensitiveDataProtectionMapping sensitive_data_protection_mapping = 11;
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.SensitiveDataProtectionMappingOrBuilder |
|
getTagValues(int index)
public abstract String getTagValues(int index) Required. Tag values combined with AND to check against.
Values in the form "tagValues/123"
Example: [ "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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The tagValues at the given index. |
getTagValuesBytes(int index)
public abstract ByteString getTagValuesBytes(int index) Required. Tag values combined with AND to check against.
Values in the form "tagValues/123"
Example: [ "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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the tagValues at the given index. |
getTagValuesCount()
public abstract int getTagValuesCount() Required. Tag values combined with AND to check against.
Values in the form "tagValues/123"
Example: [ "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];
| Returns | |
|---|---|
| Type | Description |
int |
The count of tagValues. |
getTagValuesList()
public abstract List<String> getTagValuesList() Required. Tag values combined with AND to check against.
Values in the form "tagValues/123"
Example: [ "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];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the tagValues. |
getUpdateTime()
public abstract Timestamp getUpdateTime()Output only. Timestamp this resource value configuration was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp this resource value configuration was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public abstract boolean hasCreateTime()Output only. Timestamp this resource value configuration was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasSensitiveDataProtectionMapping()
public abstract 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.v1.ResourceValueConfig.SensitiveDataProtectionMapping sensitive_data_protection_mapping = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sensitiveDataProtectionMapping field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()Output only. Timestamp this resource value configuration was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |