Skip to main content

protected_resources

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

Overview​

Nameprotected_resources
TypeResource
Idgoogle.kmsinventory.protected_resources

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
searchexecorganizationsIdcryptoKey, pageSize, pageToken, resourceTypesReturns metadata about the resources protected by the given Cloud KMS CryptoKey in the given Cloud organization/project.

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
cryptoKeystring
pageSizeinteger (int32)
pageTokenstring
resourceTypesstring

Lifecycle Methods​

Returns metadata about the resources protected by the given Cloud KMS CryptoKey in the given Cloud organization/project.

EXEC google.kmsinventory.protected_resources.search
@organizationsId='{{ organizationsId }}' --required,
@cryptoKey='{{ cryptoKey }}',
@pageSize='{{ pageSize }}',
@pageToken='{{ pageToken }}',
@resourceTypes='{{ resourceTypes }}'
;