public virtual Task<ProtectedResourcesSummary> GetProtectedResourcesSummary(GetProtectedResourcesSummaryRequest request, ServerCallContext context)
Returns aggregate information about the resources protected by the given
Cloud KMS [CryptoKey][google.cloud.kms.v1.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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eKeyTrackingService.KeyTrackingServiceBase\u003c/code\u003e class is the base for server-side implementations of the KeyTrackingService within the Google Cloud KMS Inventory v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides methods such as \u003ccode\u003eGetProtectedResourcesSummary\u003c/code\u003e, which returns aggregate information about resources protected by a Cloud KMS CryptoKey within the same Cloud organization.\u003c/p\u003e\n"],["\u003cp\u003eAnother method, \u003ccode\u003eSearchProtectedResources\u003c/code\u003e, allows users to retrieve metadata about resources protected by a specific Cloud KMS CryptoKey within a given Cloud organization.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version for this class is 1.4.0, and previous versions such as 1.3.0, 1.2.0, 1.1.0 and 1.0.0 are available to be referenced.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the object class, and further contains the methods to get the hash code, type, make a memberwise clone and return a string representation.\u003c/p\u003e\n"]]],[],null,["# KMS Inventory v1 API - Class KeyTrackingService.KeyTrackingServiceBase (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Kms.Inventory.V1/latest/Google.Cloud.Kms.Inventory.V1.KeyTrackingService.KeyTrackingServiceBase)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Kms.Inventory.V1/1.3.0/Google.Cloud.Kms.Inventory.V1.KeyTrackingService.KeyTrackingServiceBase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Kms.Inventory.V1/1.2.0/Google.Cloud.Kms.Inventory.V1.KeyTrackingService.KeyTrackingServiceBase)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Kms.Inventory.V1/1.1.0/Google.Cloud.Kms.Inventory.V1.KeyTrackingService.KeyTrackingServiceBase)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Kms.Inventory.V1/1.0.0/Google.Cloud.Kms.Inventory.V1.KeyTrackingService.KeyTrackingServiceBase) \n\n [BindServiceMethod(typeof(KeyTrackingService), \"BindService\")]\n public abstract class KeyTrackingService.KeyTrackingServiceBase\n\nReference documentation and code samples for the KMS Inventory v1 API class KeyTrackingService.KeyTrackingServiceBase.\n\nBase class for server-side implementations of KeyTrackingService \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e KeyTrackingService.KeyTrackingServiceBase \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Kms.Inventory.V1](/dotnet/docs/reference/Google.Cloud.Kms.Inventory.V1/latest/Google.Cloud.Kms.Inventory.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Kms.Inventory.V1.dll\n\nMethods\n-------\n\n### GetProtectedResourcesSummary(GetProtectedResourcesSummaryRequest, ServerCallContext)\n\n public virtual Task\u003cProtectedResourcesSummary\u003e GetProtectedResourcesSummary(GetProtectedResourcesSummaryRequest request, ServerCallContext context)\n\nReturns aggregate information about the resources protected by the given\nCloud KMS \\[CryptoKey\\]\\[google.cloud.kms.v1.CryptoKey\\]. Only resources within\nthe same Cloud organization as the key will be returned. The project that\nholds the key must be part of an organization in order for this call to\nsucceed.\n\n### SearchProtectedResources(SearchProtectedResourcesRequest, ServerCallContext)\n\n public virtual Task\u003cSearchProtectedResourcesResponse\u003e SearchProtectedResources(SearchProtectedResourcesRequest request, ServerCallContext context)\n\nReturns metadata about the resources protected by the given Cloud KMS\n\\[CryptoKey\\]\\[google.cloud.kms.v1.CryptoKey\\] in the given Cloud organization."]]