Class ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource
The "cryptoKeys" collection of methods.
Inherited Members
Namespace: Google.Apis.Kmsinventory.v1
Assembly: Google.Apis.Kmsinventory.v1.dll
Syntax
public class ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource
Constructors
CryptoKeysResource(IClientService)
Constructs a new resource.
Declaration
public CryptoKeysResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
GetProtectedResourcesSummary(string)
Returns aggregate information about the resources protected by the given Cloud KMS CryptoKey. By
default, summary of resources within the same Cloud organization as the key will be returned,
which requires the KMS organization service account to be configured(refer
https://docs.cloud.google.com/kms/docs/view-key-usage#required-roles). If the KMS organization
service account is not configured or key's project is not part of an organization, set
fallback_scope to FALLBACK_SCOPE_PROJECT to retrieve a summary of protected resources within
the key's project.
Declaration
public virtual ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.GetProtectedResourcesSummaryRequest GetProtectedResourcesSummary(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the CryptoKey. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.GetProtectedResourcesSummaryRequest |