Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class ValuedResource.
A resource that is determined to have value to a user's system
Generated from protobuf message google.cloud.securitycenter.v1.ValuedResource
Namespace
Google \ Cloud \ SecurityCenter \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Valued resource name, for example, e.g.: organizations/123/simulations/456/valuedResources/789
↳ resource
↳ resource_type
↳ display_name
string
Human-readable name of the valued resource.
↳ resource_value
int
How valuable this resource is.
↳ exposed_score
float
Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.
↳ resource_value_configs_used
array< ResourceValueConfigMetadata
>
List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.
getName
Valued resource name, for example,
e.g.: organizations/123/simulations/456/valuedResources/789
string
setName
Valued resource name, for example,
e.g.: organizations/123/simulations/456/valuedResources/789
var
string
$this
getResource
The full resource name of the valued resource.
string
setResource
The full resource name of the valued resource.
var
string
$this
getResourceType
The resource type of the valued resource.
string
setResourceType
The resource type of the valued resource.
var
string
$this
getDisplayName
Human-readable name of the valued resource.
string
setDisplayName
Human-readable name of the valued resource.
var
string
$this
getResourceValue
How valuable this resource is.
int
setResourceValue
How valuable this resource is.
var
int
$this
getExposedScore
Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.
float
setExposedScore
Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.
var
float
$this
getResourceValueConfigsUsed
List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.
setResourceValueConfigsUsed
List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.
$this