Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update enum values for BigQuery dataset location #460

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

moszutij
Copy link
Contributor

@moszutij moszutij commented Jun 3, 2019

I've aligned the enum values for BigQuery dataset location with the values defined in https://cloud.google.com/bigquery/docs/locations. I've added a bunch of regional locations but also removed Asia as this is no longer a valid value. This can be seen from the error response below:

ERROR: (gcloud.deployment-manager.deployments.create) Error in Operation [operation-1559562795381-58a6a026c74b5-2b665e25-36a38bfb]: errors:
- code: RESOURCE_ERROR
  location: /deployments/enterprise-006/resources/ENTERPRISE
  message: '{"ResourceType":"bigquery.v2.dataset","ResourceErrorCode":"400","ResourceErrorMessage":{"code":400,"errors":[{"domain":"global","message":"Invalid
    value for: Asia is not a valid value","reason":"invalid"}],"message":"Invalid
    value for: Asia is not a valid value","statusMessage":"Bad Request","requestPath":"https://www.googleapis.com/bigquery/v2/projects/tactical-hydra-999999/datasets","httpMethod":"POST"}}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant