Interface ValuedResourceOrBuilder (2.53.0)

public interface ValuedResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

Human-readable name of the valued resource.

string display_name = 4;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Human-readable name of the valued resource.

string display_name = 4;

Returns
Type Description
ByteString

The bytes for displayName.

getExposedScore()

public abstract double getExposedScore()

Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.

double exposed_score = 6;

Returns
Type Description
double

The exposedScore.

getName()

public abstract String getName()

Valued resource name, for example, e.g.: organizations/123/simulations/456/valuedResources/789

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Valued resource name, for example, e.g.: organizations/123/simulations/456/valuedResources/789

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getResource()

public abstract String getResource()

The full resource name of the valued resource.

string resource = 2;

Returns
Type Description
String

The resource.

getResourceBytes()

public abstract ByteString getResourceBytes()

The full resource name of the valued resource.

string resource = 2;

Returns
Type Description
ByteString

The bytes for resource.

getResourceType()

public abstract String getResourceType()

The resource type of the valued resource.

string resource_type = 3;

Returns
Type Description
String

The resourceType.

getResourceTypeBytes()

public abstract ByteString getResourceTypeBytes()

The resource type of the valued resource.

string resource_type = 3;

Returns
Type Description
ByteString

The bytes for resourceType.

getResourceValue()

public abstract ValuedResource.ResourceValue getResourceValue()

How valuable this resource is.

.google.cloud.securitycenter.v2.ValuedResource.ResourceValue resource_value = 5;

Returns
Type Description
ValuedResource.ResourceValue

The resourceValue.

getResourceValueConfigsUsed(int index)

public abstract ResourceValueConfigMetadata getResourceValueConfigsUsed(int index)

List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.

repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_used = 7;

Parameter
Name Description
index int
Returns
Type Description
ResourceValueConfigMetadata

getResourceValueConfigsUsedCount()

public abstract int getResourceValueConfigsUsedCount()

List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.

repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_used = 7;

Returns
Type Description
int

getResourceValueConfigsUsedList()

public abstract List<ResourceValueConfigMetadata> getResourceValueConfigsUsedList()

List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.

repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_used = 7;

Returns
Type Description
List<ResourceValueConfigMetadata>

getResourceValueConfigsUsedOrBuilder(int index)

public abstract ResourceValueConfigMetadataOrBuilder getResourceValueConfigsUsedOrBuilder(int index)

List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.

repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_used = 7;

Parameter
Name Description
index int
Returns
Type Description
ResourceValueConfigMetadataOrBuilder

getResourceValueConfigsUsedOrBuilderList()

public abstract List<? extends ResourceValueConfigMetadataOrBuilder> getResourceValueConfigsUsedOrBuilderList()

List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.

repeated .google.cloud.securitycenter.v2.ResourceValueConfigMetadata resource_value_configs_used = 7;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v2.ResourceValueConfigMetadataOrBuilder>

getResourceValueValue()

public abstract int getResourceValueValue()

How valuable this resource is.

.google.cloud.securitycenter.v2.ValuedResource.ResourceValue resource_value = 5;

Returns
Type Description
int

The enum numeric value on the wire for resourceValue.