Interface ValuedResourceOrBuilder (2.45.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
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Human-readable name of the valued resource.

string display_name = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getResource()

public abstract String getResource()

The full resource name of the valued resource.

string resource = 2;

Returns
TypeDescription
String

The resource.

getResourceBytes()

public abstract ByteString getResourceBytes()

The full resource name of the valued resource.

string resource = 2;

Returns
TypeDescription
ByteString

The bytes for resource.

getResourceType()

public abstract String getResourceType()

The resource type of the valued resource.

string resource_type = 3;

Returns
TypeDescription
String

The resourceType.

getResourceTypeBytes()

public abstract ByteString getResourceTypeBytes()

The resource type of the valued resource.

string resource_type = 3;

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for resourceValue.