Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::ValuedResource (v0.1.0)

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

#resource=

def resource=(value) -> ::String
Parameter
Returns

#resource_type

def resource_type() -> ::String
Returns

#resource_type=

def resource_type=(value) -> ::String
Parameter
Returns

#resource_value

def resource_value() -> ::Google::Cloud::SecurityCenter::V2::ValuedResource::ResourceValue
Returns

#resource_value=

def resource_value=(value) -> ::Google::Cloud::SecurityCenter::V2::ValuedResource::ResourceValue
Parameter
Returns

#resource_value_configs_used

def resource_value_configs_used() -> ::Array<::Google::Cloud::SecurityCenter::V2::ResourceValueConfigMetadata>
Returns

#resource_value_configs_used=

def resource_value_configs_used=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::ResourceValueConfigMetadata>
Parameter
Returns