Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

KMSInventory

import { KMSInventory } from "https://googleapis.deno.dev/v1/kmsinventory:v1.ts";
class KMSInventory {
constructor(client?: CredentialsClient, baseUrl?: string);
async organizationsProtectedResourcesSearch(scope: string, opts?: OrganizationsProtectedResourcesSearchOptions): Promise<GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse>;
async projectsCryptoKeysList(parent: string, opts?: ProjectsCryptoKeysListOptions): Promise<GoogleCloudKmsInventoryV1ListCryptoKeysResponse>;
async projectsLocationsKeyRingsCryptoKeysGetProtectedResourcesSummary(name: string): Promise<GoogleCloudKmsInventoryV1ProtectedResourcesSummary>;
}

§Constructors

§
new KMSInventory(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
organizationsProtectedResourcesSearch(scope: string, opts?: OrganizationsProtectedResourcesSearchOptions): Promise<GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse>
[src]

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

@param scope

Required. Resource name of the organization. Example: organizations/123

§
projectsCryptoKeysList(parent: string, opts?: ProjectsCryptoKeysListOptions): Promise<GoogleCloudKmsInventoryV1ListCryptoKeysResponse>
[src]

Returns cryptographic keys managed by Cloud KMS in a given Cloud project. Note that this data is sourced from snapshots, meaning it may not completely reflect the actual state of key metadata at call time.

@param parent

Required. The Google Cloud project for which to retrieve key metadata, in the format projects/*

§
projectsLocationsKeyRingsCryptoKeysGetProtectedResourcesSummary(name: string): Promise<GoogleCloudKmsInventoryV1ProtectedResourcesSummary>
[src]

Returns aggregate information about the resources protected by the given Cloud KMS CryptoKey. Only resources within the same Cloud organization as the key will be returned. The project that holds the key must be part of an organization in order for this call to succeed.

@param name

Required. The resource name of the CryptoKey.