- 2.84.0 (latest)
- 2.83.0
- 2.82.0
- 2.81.0
- 2.80.0
- 2.78.0
- 2.76.0
- 2.75.0
- 2.72.0
- 2.71.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class ResourceValueConfig.Builder extends GeneratedMessageV3.Builder<ResourceValueConfig.Builder> implements ResourceValueConfigOrBuilderA resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.
Protobuf type google.cloud.securitycenter.v1.ResourceValueConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceValueConfig.BuilderImplements
ResourceValueConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllTagValues(Iterable<String> values)
public ResourceValueConfig.Builder addAllTagValues(Iterable<String> values) 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 |
values |
Iterable<String>The tagValues to add. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceValueConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
addTagValues(String value)
public ResourceValueConfig.Builder addTagValues(String value) 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 |
value |
StringThe tagValues to add. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
addTagValuesBytes(ByteString value)
public ResourceValueConfig.Builder addTagValuesBytes(ByteString value) 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 |
value |
ByteStringThe bytes of the tagValues to add. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
build()
public ResourceValueConfig build()| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig |
|
buildPartial()
public ResourceValueConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig |
|
clear()
public ResourceValueConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
clearCloudProvider()
public ResourceValueConfig.Builder clearCloudProvider()Cloud provider this configuration applies to
.google.cloud.securitycenter.v1.CloudProvider cloud_provider = 10;
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
clearCreateTime()
public ResourceValueConfig.Builder clearCreateTime()Output only. Timestamp this resource value configuration was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
clearDescription()
public ResourceValueConfig.Builder clearDescription()Description of the resource value configuration.
string description = 7;
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResourceValueConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
clearName()
public ResourceValueConfig.Builder clearName()Name for the resource value configuration
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceValueConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
clearResourceLabelsSelector()
public ResourceValueConfig.Builder clearResourceLabelsSelector()| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
clearResourceType()
public ResourceValueConfig.Builder clearResourceType() 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 |
ResourceValueConfig.Builder |
This builder for chaining. |
clearResourceValue()
public ResourceValueConfig.Builder clearResourceValue()Required. Resource value level this expression represents
.google.cloud.securitycenter.v1.ResourceValue resource_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
clearScope()
public ResourceValueConfig.Builder clearScope() 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 |
ResourceValueConfig.Builder |
This builder for chaining. |
clearSensitiveDataProtectionMapping()
public ResourceValueConfig.Builder clearSensitiveDataProtectionMapping()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.Builder |
|
clearTagValues()
public ResourceValueConfig.Builder clearTagValues() 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 |
ResourceValueConfig.Builder |
This builder for chaining. |
clearUpdateTime()
public ResourceValueConfig.Builder clearUpdateTime()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 |
ResourceValueConfig.Builder |
|
clone()
public ResourceValueConfig.Builder clone()| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
containsResourceLabelsSelector(String key)
public 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 CloudProvider getCloudProvider()Cloud provider this configuration applies to
.google.cloud.securitycenter.v1.CloudProvider cloud_provider = 10;
| Returns | |
|---|---|
| Type | Description |
CloudProvider |
The cloudProvider. |
getCloudProviderValue()
public 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 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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Timestamp this resource value configuration was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public ResourceValueConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig |
|
getDescription()
public String getDescription()Description of the resource value configuration.
string description = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Description of the resource value configuration.
string description = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMutableResourceLabelsSelector() (deprecated)
public Map<String,String> getMutableResourceLabelsSelector()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName()Name for the resource value configuration
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Name for the resource value configuration
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getResourceLabelsSelector() (deprecated)
public Map<String,String> getResourceLabelsSelector()Use #getResourceLabelsSelectorMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getResourceLabelsSelectorCount()
public 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 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 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 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 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 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 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 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 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 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 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. |
getSensitiveDataProtectionMappingBuilder()
public ResourceValueConfig.SensitiveDataProtectionMapping.Builder getSensitiveDataProtectionMappingBuilder()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.Builder |
|
getSensitiveDataProtectionMappingOrBuilder()
public 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 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 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 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the tagValues. |
getUpdateTime()
public 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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()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 |
Builder |
|
getUpdateTimeOrBuilder()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public ResourceValueConfig.Builder mergeCreateTime(Timestamp value)Output only. Timestamp this resource value configuration was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
mergeFrom(ResourceValueConfig other)
public ResourceValueConfig.Builder mergeFrom(ResourceValueConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ResourceValueConfig |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourceValueConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ResourceValueConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
mergeSensitiveDataProtectionMapping(ResourceValueConfig.SensitiveDataProtectionMapping value)
public ResourceValueConfig.Builder mergeSensitiveDataProtectionMapping(ResourceValueConfig.SensitiveDataProtectionMapping value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ResourceValueConfig.SensitiveDataProtectionMapping |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceValueConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
mergeUpdateTime(Timestamp value)
public ResourceValueConfig.Builder mergeUpdateTime(Timestamp value)Output only. Timestamp this resource value configuration was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
putAllResourceLabelsSelector(Map<String,String> values)
public ResourceValueConfig.Builder putAllResourceLabelsSelector(Map<String,String> values) 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 |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
putResourceLabelsSelector(String key, String value)
public ResourceValueConfig.Builder putResourceLabelsSelector(String key, String value) 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 |
value |
String |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
removeResourceLabelsSelector(String key)
public ResourceValueConfig.Builder removeResourceLabelsSelector(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 |
ResourceValueConfig.Builder |
|
setCloudProvider(CloudProvider value)
public ResourceValueConfig.Builder setCloudProvider(CloudProvider value)Cloud provider this configuration applies to
.google.cloud.securitycenter.v1.CloudProvider cloud_provider = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
CloudProviderThe cloudProvider to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setCloudProviderValue(int value)
public ResourceValueConfig.Builder setCloudProviderValue(int value)Cloud provider this configuration applies to
.google.cloud.securitycenter.v1.CloudProvider cloud_provider = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for cloudProvider to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public ResourceValueConfig.Builder setCreateTime(Timestamp value)Output only. Timestamp this resource value configuration was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public ResourceValueConfig.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Timestamp this resource value configuration was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
setDescription(String value)
public ResourceValueConfig.Builder setDescription(String value)Description of the resource value configuration.
string description = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public ResourceValueConfig.Builder setDescriptionBytes(ByteString value)Description of the resource value configuration.
string description = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceValueConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
setName(String value)
public ResourceValueConfig.Builder setName(String value)Name for the resource value configuration
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ResourceValueConfig.Builder setNameBytes(ByteString value)Name for the resource value configuration
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceValueConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
setResourceType(String value)
public ResourceValueConfig.Builder setResourceType(String value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe resourceType to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setResourceTypeBytes(ByteString value)
public ResourceValueConfig.Builder setResourceTypeBytes(ByteString value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for resourceType to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setResourceValue(ResourceValue value)
public ResourceValueConfig.Builder setResourceValue(ResourceValue value)Required. Resource value level this expression represents
.google.cloud.securitycenter.v1.ResourceValue resource_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ResourceValueThe resourceValue to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setResourceValueValue(int value)
public ResourceValueConfig.Builder setResourceValueValue(int value)Required. Resource value level this expression represents
.google.cloud.securitycenter.v1.ResourceValue resource_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for resourceValue to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setScope(String value)
public ResourceValueConfig.Builder setScope(String value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe scope to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setScopeBytes(ByteString value)
public ResourceValueConfig.Builder setScopeBytes(ByteString value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for scope to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setSensitiveDataProtectionMapping(ResourceValueConfig.SensitiveDataProtectionMapping value)
public ResourceValueConfig.Builder setSensitiveDataProtectionMapping(ResourceValueConfig.SensitiveDataProtectionMapping value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ResourceValueConfig.SensitiveDataProtectionMapping |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
setSensitiveDataProtectionMapping(ResourceValueConfig.SensitiveDataProtectionMapping.Builder builderForValue)
public ResourceValueConfig.Builder setSensitiveDataProtectionMapping(ResourceValueConfig.SensitiveDataProtectionMapping.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ResourceValueConfig.SensitiveDataProtectionMapping.Builder |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
setTagValues(int index, String value)
public ResourceValueConfig.Builder setTagValues(int index, String value) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe tagValues to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceValueConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
setUpdateTime(Timestamp value)
public ResourceValueConfig.Builder setUpdateTime(Timestamp value)Output only. Timestamp this resource value configuration was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public ResourceValueConfig.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Timestamp this resource value configuration was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ResourceValueConfig.Builder |
|