valued_resources
Creates, updates, deletes, gets or lists a valued_resources resource.
Overview
| Name | valued_resources |
| Type | Resource |
| Id | google.securitycenter.valued_resources |
Fields
The following fields are returned by SELECT queries:
- organizations_simulations_valued_resources_get
- organizations_simulations_attack_exposure_results_valued_resources_list
- organizations_simulations_valued_resources_list
- organizations_valued_resources_list
| Name | Datatype | Description |
|---|---|---|
name | string | |
displayName | string | |
exposedScore | number (double) | |
resource | string | |
resourceType | string | |
resourceValue | string | (RESOURCE_VALUE_UNSPECIFIED, RESOURCE_VALUE_LOW, RESOURCE_VALUE_MEDIUM, RESOURCE_VALUE_HIGH) |
resourceValueConfigsUsed | array |
| Name | Datatype | Description |
|---|---|---|
name | string | |
displayName | string | |
exposedScore | number (double) | |
resource | string | |
resourceType | string | |
resourceValue | string | (RESOURCE_VALUE_UNSPECIFIED, RESOURCE_VALUE_LOW, RESOURCE_VALUE_MEDIUM, RESOURCE_VALUE_HIGH) |
resourceValueConfigsUsed | array |
| Name | Datatype | Description |
|---|---|---|
name | string | |
displayName | string | |
exposedScore | number (double) | |
resource | string | |
resourceType | string | |
resourceValue | string | (RESOURCE_VALUE_UNSPECIFIED, RESOURCE_VALUE_LOW, RESOURCE_VALUE_MEDIUM, RESOURCE_VALUE_HIGH) |
resourceValueConfigsUsed | array |
| Name | Datatype | Description |
|---|---|---|
name | string | |
displayName | string | |
exposedScore | number (double) | |
resource | string | |
resourceType | string | |
resourceValue | string | (RESOURCE_VALUE_UNSPECIFIED, RESOURCE_VALUE_LOW, RESOURCE_VALUE_MEDIUM, RESOURCE_VALUE_HIGH) |
resourceValueConfigsUsed | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
organizations_simulations_valued_resources_get | select | organizationsId, simulationsId, valuedResourcesId | ||
organizations_simulations_attack_exposure_results_valued_resources_list | select | organizationsId, simulationsId, attackExposureResultsId | filter, pageSize, orderBy, pageToken | |
organizations_simulations_valued_resources_list | select | organizationsId, simulationsId | filter, pageSize, orderBy, pageToken | |
organizations_valued_resources_list | select | organizationsId | filter, pageSize, orderBy, 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.
| Name | Datatype | Description |
|---|---|---|
attackExposureResultsId | string | |
organizationsId | string | |
simulationsId | string | |
valuedResourcesId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- organizations_simulations_valued_resources_get
- organizations_simulations_attack_exposure_results_valued_resources_list
- organizations_simulations_valued_resources_list
- organizations_valued_resources_list
Successful response
SELECT
name,
displayName,
exposedScore,
resource,
resourceType,
resourceValue,
resourceValueConfigsUsed
FROM google.securitycenter.valued_resources
WHERE organizationsId = '{{ organizationsId }}' -- required
AND simulationsId = '{{ simulationsId }}' -- required
AND valuedResourcesId = '{{ valuedResourcesId }}' -- required
;
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 pageSize = '{{ pageSize }}'
AND orderBy = '{{ orderBy }}'
AND pageToken = '{{ pageToken }}'
;
Successful response
SELECT
name,
displayName,
exposedScore,
resource,
resourceType,
resourceValue,
resourceValueConfigsUsed
FROM google.securitycenter.valued_resources
WHERE organizationsId = '{{ organizationsId }}' -- required
AND simulationsId = '{{ simulationsId }}' -- required
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
AND orderBy = '{{ orderBy }}'
AND pageToken = '{{ pageToken }}'
;
Successful response
SELECT
name,
displayName,
exposedScore,
resource,
resourceType,
resourceValue,
resourceValueConfigsUsed
FROM google.securitycenter.valued_resources
WHERE organizationsId = '{{ organizationsId }}' -- required
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
AND orderBy = '{{ orderBy }}'
AND pageToken = '{{ pageToken }}'
;