Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource

The "cryptoKeys" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
In this article
Back to top Generated by DocFX