[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Security Command Center V2 Client - Class ValuedResource (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-security-center/latest/V2.ValuedResource)\n- [2.2.0](/php/docs/reference/cloud-security-center/2.2.0/V2.ValuedResource)\n- [2.1.1](/php/docs/reference/cloud-security-center/2.1.1/V2.ValuedResource)\n- [2.0.4](/php/docs/reference/cloud-security-center/2.0.4/V2.ValuedResource)\n- [1.32.0](/php/docs/reference/cloud-security-center/1.32.0/V2.ValuedResource)\n- [1.31.0](/php/docs/reference/cloud-security-center/1.31.0/V2.ValuedResource)\n- [1.30.0](/php/docs/reference/cloud-security-center/1.30.0/V2.ValuedResource)\n- [1.29.0](/php/docs/reference/cloud-security-center/1.29.0/V2.ValuedResource)\n- [1.28.2](/php/docs/reference/cloud-security-center/1.28.2/V2.ValuedResource)\n- [1.21.0](/php/docs/reference/cloud-security-center/1.21.0/V2.ValuedResource)\n- [1.20.2](/php/docs/reference/cloud-security-center/1.20.2/V2.ValuedResource)\n- [1.19.1](/php/docs/reference/cloud-security-center/1.19.1/V2.ValuedResource)\n- [1.18.0](/php/docs/reference/cloud-security-center/1.18.0/V2.ValuedResource)\n- [1.17.0](/php/docs/reference/cloud-security-center/1.17.0/V2.ValuedResource)\n- [1.16.0](/php/docs/reference/cloud-security-center/1.16.0/V2.ValuedResource)\n- [1.15.1](/php/docs/reference/cloud-security-center/1.15.1/V2.ValuedResource)\n- [1.14.2](/php/docs/reference/cloud-security-center/1.14.2/V2.ValuedResource)\n- [1.13.1](/php/docs/reference/cloud-security-center/1.13.1/V2.ValuedResource) \nReference documentation and code samples for the Google Cloud Security Command Center V2 Client class ValuedResource.\n\nA resource that is determined to have value to a user's system\n\nGenerated from protobuf message `google.cloud.securitycenter.v2.ValuedResource`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenter \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nValued resource name, for example,\ne.g.:\n`organizations/123/simulations/456/valuedResources/789`\n\n### setName\n\nValued resource name, for example,\ne.g.:\n`organizations/123/simulations/456/valuedResources/789`\n\n### getResource\n\nThe\n[full resource\nname](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nof the valued resource.\n\n### setResource\n\nThe\n[full resource\nname](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nof the valued resource.\n\n### getResourceType\n\nThe [resource\ntype](https://cloud.google.com/asset-inventory/docs/supported-asset-types)\nof the valued resource.\n\n### setResourceType\n\nThe [resource\ntype](https://cloud.google.com/asset-inventory/docs/supported-asset-types)\nof the valued resource.\n\n### getDisplayName\n\nHuman-readable name of the valued resource.\n\n### setDisplayName\n\nHuman-readable name of the valued resource.\n\n### getResourceValue\n\nHow valuable this resource is.\n\n### setResourceValue\n\nHow valuable this resource is.\n\n### getExposedScore\n\nExposed score for this valued resource. A value of 0 means no exposure was\ndetected exposure.\n\n### setExposedScore\n\nExposed score for this valued resource. A value of 0 means no exposure was\ndetected exposure.\n\n### getResourceValueConfigsUsed\n\nList of resource value configurations' metadata used to determine the value\nof this resource. Maximum of 100.\n\n### setResourceValueConfigsUsed\n\nList of resource value configurations' metadata used to determine the value\nof this resource. Maximum of 100."]]