locationTaxPolicyViolated constant

ErrorReason const locationTaxPolicyViolated

The request whose associated billing account address is in a tax restricted location, violates the local tax restrictions when creating resources in the restricted region.

Example of an ErrorInfo when creating the Cloud Storage Bucket in the container "projects/123" under a tax restricted region "locations/asia-northeast3":

{ "reason": "LOCATION_TAX_POLICY_VIOLATED",
  "domain": "googleapis.com",
  "metadata": {
    "consumer": "projects/123",
    "service": "storage.googleapis.com",
    "location": "locations/asia-northeast3"
  }
}

This response indicates creating the Cloud Storage Bucket in "locations/asia-northeast3" violates the location tax restriction.

Implementation

static const locationTaxPolicyViolated = ErrorReason(
  'LOCATION_TAX_POLICY_VIOLATED',
);