Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::ValuedResource.
A resource that is determined to have value to a user's system
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#display_name
def display_name() -> ::String
Returns
- (::String) — Human-readable name of the valued resource.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Human-readable name of the valued resource.
Returns
- (::String) — Human-readable name of the valued resource.
#exposed_score
def exposed_score() -> ::Float
Returns
- (::Float) — Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.
#exposed_score=
def exposed_score=(value) -> ::Float
Parameter
- value (::Float) — Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.
Returns
- (::Float) — Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.
#name
def name() -> ::String
Returns
-
(::String) — Valued resource name, for example,
e.g.:
organizations/123/simulations/456/valuedResources/789
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Valued resource name, for example,
e.g.:
organizations/123/simulations/456/valuedResources/789
Returns
-
(::String) — Valued resource name, for example,
e.g.:
organizations/123/simulations/456/valuedResources/789
#resource
def resource() -> ::String
Returns
- (::String) — The full resource name of the valued resource.
#resource=
def resource=(value) -> ::String
Parameter
- value (::String) — The full resource name of the valued resource.
Returns
- (::String) — The full resource name of the valued resource.
#resource_type
def resource_type() -> ::String
Returns
- (::String) — The resource type of the valued resource.
#resource_type=
def resource_type=(value) -> ::String
Parameter
- value (::String) — The resource type of the valued resource.
Returns
- (::String) — The resource type of the valued resource.
#resource_value
def resource_value() -> ::Google::Cloud::SecurityCenter::V2::ValuedResource::ResourceValue
Returns
- (::Google::Cloud::SecurityCenter::V2::ValuedResource::ResourceValue) — How valuable this resource is.
#resource_value=
def resource_value=(value) -> ::Google::Cloud::SecurityCenter::V2::ValuedResource::ResourceValue
Parameter
- value (::Google::Cloud::SecurityCenter::V2::ValuedResource::ResourceValue) — How valuable this resource is.
Returns
- (::Google::Cloud::SecurityCenter::V2::ValuedResource::ResourceValue) — How valuable this resource is.
#resource_value_configs_used
def resource_value_configs_used() -> ::Array<::Google::Cloud::SecurityCenter::V2::ResourceValueConfigMetadata>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::ResourceValueConfigMetadata>) — List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.
#resource_value_configs_used=
def resource_value_configs_used=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::ResourceValueConfigMetadata>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V2::ResourceValueConfigMetadata>) — List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::ResourceValueConfigMetadata>) — List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.