protected_resources
Creates, updates, deletes, gets or lists a protected_resources
resource.
Overview
Name | protected_resources |
Type | Resource |
Id | google.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
search | exec | organizationsId | cryptoKey , pageSize , pageToken , resourceTypes | Returns metadata about the resources protected by the given Cloud KMS CryptoKey in the given Cloud organization. |
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 |
---|---|---|
organizationsId | string | |
cryptoKey | string | |
pageSize | integer (int32) | |
pageToken | string | |
resourceTypes | string |
Lifecycle Methods
- search
Returns metadata about the resources protected by the given Cloud KMS CryptoKey in the given Cloud organization.
EXEC google.kmsinventory.protected_resources.search
@organizationsId='{{ organizationsId }}' --required,
@cryptoKey='{{ cryptoKey }}',
@pageSize='{{ pageSize }}',
@pageToken='{{ pageToken }}',
@resourceTypes='{{ resourceTypes }}';