Skip to main content

valued_resources

Creates, updates, deletes, gets or lists a valued_resources resource.

Overview​

Namevalued_resources
TypeResource
Idgoogle.securitycenter.valued_resources

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestring
displayNamestring
exposedScorenumber (double)
resourcestring
resourceTypestring
resourceValuestring (RESOURCE_VALUE_UNSPECIFIED, RESOURCE_VALUE_LOW, RESOURCE_VALUE_MEDIUM, RESOURCE_VALUE_HIGH)
resourceValueConfigsUsedarray

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_simulations_attack_exposure_results_valued_resources_listselectorganizationsId, simulationsId, attackExposureResultsIdfilter, orderBy, pageSize, pageToken
organizations_simulations_valued_resources_getselectorganizationsId, simulationsId, valuedResourcesId
organizations_simulations_valued_resources_listselectorganizationsId, simulationsIdfilter, orderBy, pageSize, pageToken
organizations_valued_resources_listselectorganizationsIdfilter, orderBy, pageSize, pageToken

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
attackExposureResultsIdstring
organizationsIdstring
simulationsIdstring
valuedResourcesIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

SELECT examples​

Successful response

SELECT
name,
displayName,
exposedScore,
resource,
resourceType,
resourceValue,
resourceValueConfigsUsed
FROM google.securitycenter.valued_resources
WHERE organizationsId = '{{ organizationsId }}' -- required
AND simulationsId = '{{ simulationsId }}' -- required
AND attackExposureResultsId = '{{ attackExposureResultsId }}' -- required
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;