# Package Classes (0.6.1)

0.6.1 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.15 0.1.1 Summary of entries of Classes for inventory.

## Classes

### [KeyDashboardServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.services.key_dashboard_service.KeyDashboardServiceAsyncClient)

Provides a cross-region view of all Cloud KMS keys in a given
Cloud project.

### [KeyDashboardServiceClient](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.services.key_dashboard_service.KeyDashboardServiceClient)

Provides a cross-region view of all Cloud KMS keys in a given
Cloud project.

### [ListCryptoKeysAsyncPager](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.services.key_dashboard_service.pagers.ListCryptoKeysAsyncPager)

A pager for iterating through `list_crypto_keys` requests.

This class thinly wraps an initial
[ListCryptoKeysResponse](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.ListCryptoKeysResponse) object, and
provides an `__aiter__` method to iterate through its
`crypto_keys` field.

If there are more pages, the `__aiter__` method will make additional
`ListCryptoKeys` requests and continue to iterate
through the `crypto_keys` field on the
corresponding responses.

All the usual [ListCryptoKeysResponse](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.ListCryptoKeysResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListCryptoKeysPager](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.services.key_dashboard_service.pagers.ListCryptoKeysPager)

A pager for iterating through `list_crypto_keys` requests.

This class thinly wraps an initial
[ListCryptoKeysResponse](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.ListCryptoKeysResponse) object, and
provides an `__iter__` method to iterate through its
`crypto_keys` field.

If there are more pages, the `__iter__` method will make additional
`ListCryptoKeys` requests and continue to iterate
through the `crypto_keys` field on the
corresponding responses.

All the usual [ListCryptoKeysResponse](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.ListCryptoKeysResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [KeyTrackingServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.services.key_tracking_service.KeyTrackingServiceAsyncClient)

Returns information about the resources in an org that are
protected by a given Cloud KMS key via CMEK.

### [KeyTrackingServiceClient](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.services.key_tracking_service.KeyTrackingServiceClient)

Returns information about the resources in an org that are
protected by a given Cloud KMS key via CMEK.

### [SearchProtectedResourcesAsyncPager](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.services.key_tracking_service.pagers.SearchProtectedResourcesAsyncPager)

A pager for iterating through `search_protected_resources` requests.

This class thinly wraps an initial
[SearchProtectedResourcesResponse](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.SearchProtectedResourcesResponse) object, and
provides an `__aiter__` method to iterate through its
`protected_resources` field.

If there are more pages, the `__aiter__` method will make additional
`SearchProtectedResources` requests and continue to iterate
through the `protected_resources` field on the
corresponding responses.

All the usual [SearchProtectedResourcesResponse](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.SearchProtectedResourcesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [SearchProtectedResourcesPager](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.services.key_tracking_service.pagers.SearchProtectedResourcesPager)

A pager for iterating through `search_protected_resources` requests.

This class thinly wraps an initial
[SearchProtectedResourcesResponse](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.SearchProtectedResourcesResponse) object, and
provides an `__iter__` method to iterate through its
`protected_resources` field.

If there are more pages, the `__iter__` method will make additional
`SearchProtectedResources` requests and continue to iterate
through the `protected_resources` field on the
corresponding responses.

All the usual [SearchProtectedResourcesResponse](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.SearchProtectedResourcesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [FallbackScope](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.FallbackScope)

Specifies the scope to use if the organization service agent
is not configured.

### [GetProtectedResourcesSummaryRequest](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.GetProtectedResourcesSummaryRequest)

Request message for
KeyTrackingService.GetProtectedResourcesSummary.

### [ListCryptoKeysRequest](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.ListCryptoKeysRequest)

Request message for
KeyDashboardService.ListCryptoKeys.

### [ListCryptoKeysResponse](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.ListCryptoKeysResponse)

Response message for
KeyDashboardService.ListCryptoKeys.

### [ProtectedResource](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.ProtectedResource)

Metadata about a resource protected by a Cloud KMS key.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.ProtectedResource.LabelsEntry)

The abstract base class for a message.

### [ProtectedResourcesSummary](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.ProtectedResourcesSummary)

Aggregate information about the resources protected by a
Cloud KMS key in the same Cloud organization/project as the key.

### [CloudProductsEntry](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.ProtectedResourcesSummary.CloudProductsEntry)

The abstract base class for a message.

### [LocationsEntry](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.ProtectedResourcesSummary.LocationsEntry)

The abstract base class for a message.

### [ResourceTypesEntry](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.ProtectedResourcesSummary.ResourceTypesEntry)

The abstract base class for a message.

### [SearchProtectedResourcesRequest](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.SearchProtectedResourcesRequest)

Request message for
KeyTrackingService.SearchProtectedResources.

### [SearchProtectedResourcesResponse](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.SearchProtectedResourcesResponse)

Response message for
KeyTrackingService.SearchProtectedResources.

### [Warning](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.Warning)

A warning message that indicates potential problems with the
response data.

### [WarningCode](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.types.Warning.WarningCode)

Different types of warnings that can be returned to the user. The
display_message contains detailed information regarding the
warning_code.

        - KMS organization service agent {service_agent_name} lacks
          the `cloudasset.assets.searchAllResources` permission on
          the scope.
    RESOURCE_LIMIT_EXCEEDED_PARTIAL_DATA (2):
        Indicates that a resource limit has been
        exceeded, resulting in partial data. Example:

        - The project has more than 10,000 assets
          (resources,   crypto keys, key handles, IAM
          policies, etc).
    ORG_LESS_PROJECT_PARTIAL_DATA (3):
        Indicates that the project exists outside of
        an organization resource. Thus the analysis is
        only done for the project level data and results
        might be partial.

## Modules

### [pagers](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.services.key_dashboard_service.pagers)

API documentation for `kms_inventory_v1.services.key_dashboard_service.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/inventory/latest/google.cloud.kms_inventory_v1.services.key_tracking_service.pagers)

API documentation for `kms_inventory_v1.services.key_tracking_service.pagers` module.