Skip to main content

resource_value_configs

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

Overview

Nameresource_value_configs
TypeResource
Idgoogle.securitycenter.resource_value_configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestring
cloudProviderstring (CLOUD_PROVIDER_UNSPECIFIED, GOOGLE_CLOUD_PLATFORM, AMAZON_WEB_SERVICES, MICROSOFT_AZURE)
createTimestring (google-datetime)
descriptionstring
resourceLabelsSelectorobject
resourceTypestring
resourceValuestring (RESOURCE_VALUE_UNSPECIFIED, HIGH, MEDIUM, LOW, NONE)
scopestring
sensitiveDataProtectionMappingobject (id: GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping)
tagValuesarray
updateTimestring (google-datetime)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_resource_value_configs_getselectorganizationsId, resourceValueConfigsId
organizations_resource_value_configs_listselectorganizationsIdpageSize, pageToken
organizations_resource_value_configs_batch_createinsertorganizationsId
organizations_resource_value_configs_patchupdateorganizationsId, resourceValueConfigsIdupdateMask
organizations_resource_value_configs_deletedeleteorganizationsId, resourceValueConfigsId

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
organizationsIdstring
resourceValueConfigsIdstring
pageSizeinteger (int32)
pageTokenstring
updateMaskstring (google-fieldmask)

SELECT examples

Successful response

SELECT
name,
cloudProvider,
createTime,
description,
resourceLabelsSelector,
resourceType,
resourceValue,
scope,
sensitiveDataProtectionMapping,
tagValues,
updateTime
FROM google.securitycenter.resource_value_configs
WHERE organizationsId = '{{ organizationsId }}' -- required
AND resourceValueConfigsId = '{{ resourceValueConfigsId }}' -- required
;

INSERT examples

No description available.

INSERT INTO google.securitycenter.resource_value_configs (
data__requests,
organizationsId
)
SELECT
'{{ requests }}',
'{{ organizationsId }}'
RETURNING
resourceValueConfigs
;

UPDATE examples

No description available.

UPDATE google.securitycenter.resource_value_configs
SET
data__scope = '{{ scope }}',
data__resourceValue = '{{ resourceValue }}',
data__resourceType = '{{ resourceType }}',
data__description = '{{ description }}',
data__name = '{{ name }}',
data__cloudProvider = '{{ cloudProvider }}',
data__resourceLabelsSelector = '{{ resourceLabelsSelector }}',
data__tagValues = '{{ tagValues }}',
data__sensitiveDataProtectionMapping = '{{ sensitiveDataProtectionMapping }}'
WHERE
organizationsId = '{{ organizationsId }}' --required
AND resourceValueConfigsId = '{{ resourceValueConfigsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
cloudProvider,
createTime,
description,
resourceLabelsSelector,
resourceType,
resourceValue,
scope,
sensitiveDataProtectionMapping,
tagValues,
updateTime;

DELETE examples

No description available.

DELETE FROM google.securitycenter.resource_value_configs
WHERE organizationsId = '{{ organizationsId }}' --required
AND resourceValueConfigsId = '{{ resourceValueConfigsId }}' --required
;