Google Cloud KMS Inventory V1 Client - Class WarningCode (1.3.0)

Reference documentation and code samples for the Google Cloud KMS Inventory V1 Client class WarningCode.

Different types of warnings that can be returned to the user.

The display_message contains detailed information regarding the warning_code.

Protobuf type google.cloud.kms.inventory.v1.Warning.WarningCode

Namespace

Google \ Cloud \ Kms \ Inventory \ V1 \ Warning

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

WARNING_CODE_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum WARNING_CODE_UNSPECIFIED = 0;

INSUFFICIENT_PERMISSIONS_PARTIAL_DATA

Value: 1

Indicates that the caller or service agent lacks necessary permissions to view some of the requested data. The response may be partial.

Example:

  • KMS organization service agent {service_agent_name} lacks the cloudasset.assets.searchAllResources permission on the scope.

Generated from protobuf enum INSUFFICIENT_PERMISSIONS_PARTIAL_DATA = 1;

RESOURCE_LIMIT_EXCEEDED_PARTIAL_DATA

Value: 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).

Generated from protobuf enum RESOURCE_LIMIT_EXCEEDED_PARTIAL_DATA = 2;

ORG_LESS_PROJECT_PARTIAL_DATA

Value: 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.

Generated from protobuf enum ORG_LESS_PROJECT_PARTIAL_DATA = 3;