Class Warning (0.6.0)

Warning(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

Name Description
warning_code google.cloud.kms_inventory_v1.types.Warning.WarningCode
The specific warning code for the displayed message.
display_message str
The literal message providing context and details about the warnings.

Classes

WarningCode

WarningCode(value)

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.