Class ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.GetProtectedResourcesSummaryRequest
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.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Kmsinventory.v1
Assembly: Google.Apis.Kmsinventory.v1.dll
Syntax
public class ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.GetProtectedResourcesSummaryRequest : KmsinventoryBaseServiceRequest<GoogleCloudKmsInventoryV1ProtectedResourcesSummary>, IClientServiceRequest<GoogleCloudKmsInventoryV1ProtectedResourcesSummary>, IClientServiceRequest
Constructors
GetProtectedResourcesSummaryRequest(IClientService, string)
Constructs a new GetProtectedResourcesSummary request.
Declaration
public GetProtectedResourcesSummaryRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
FallbackScope
Optional. The scope to use if the kms organization service account is not configured.
Declaration
[RequestParameter("fallbackScope", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.GetProtectedResourcesSummaryRequest.FallbackScopeEnum? FallbackScope { get; set; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.KeyRingsResource.CryptoKeysResource.GetProtectedResourcesSummaryRequest.FallbackScopeEnum? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The resource name of the CryptoKey.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes GetProtectedResourcesSummary parameter list.
Declaration
protected override void InitParameters()