warningCode property

String? warningCode
getter/setter pair

The specific warning code for the displayed message. Possible string values are:

  • "WARNING_CODE_UNSPECIFIED" : Default value. This value is unused.
  • "INSUFFICIENT_PERMISSIONS_PARTIAL_DATA" : Indicates that the caller or service agent lacks necessary permissions to view some of the requested data. The response may be partial. Examples: - KMS organization service agent {service_agent_name} lacks the cloudasset.assets.searchAllResources permission on the scope.
  • "RESOURCE_LIMIT_EXCEEDED_PARTIAL_DATA" : Indicates that a resource limit has been exceeded, resulting in partial data. Examples: - The project has more than 10,000 assets (resources, crypto keys, key handles, IAM policies, etc).
  • "ORG_LESS_PROJECT_PARTIAL_DATA" : Indicates that the project is org-less. Thus the analysis is only done for the project level data and results might be partial.

Implementation

core.String? warningCode;