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

Bigquery: specify data location during dataset creation #760

Closed
noodlensk opened this issue Sep 18, 2017 · 2 comments
Closed

Bigquery: specify data location during dataset creation #760

noodlensk opened this issue Sep 18, 2017 · 2 comments
Assignees
Labels
api: bigquery Issues related to the BigQuery API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@noodlensk
Copy link

It impossible to specify data location (like EU) or labels in dataset creation func call.

@jba jba self-assigned this Sep 19, 2017
@jba jba added api: bigquery Issues related to the BigQuery API. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Sep 19, 2017
@jba
Copy link
Contributor

jba commented Sep 19, 2017

The labels you could add in a following call to update. Location is a problem.

@jba
Copy link
Contributor

jba commented Sep 26, 2017

You can now write

ds := client.Dataset("my_dataset")
err := ds.Create(ctx, &bigquery.DatasetMetadata{
    Location: "EU",
    Labels: map[string]string{"name": "value"},
})

yoshi-automation added a commit that referenced this issue Jan 24, 2023
This is an auto-generated regeneration of the gapic clients by
cloud.google.com/go/internal/gapicgen. Once the corresponding genproto PR is
submitted, genbot will update this PR with a newer dependency to the newer
version of genproto and assign reviewers to this PR.

If you have been assigned to review this PR, please:

- Ensure that the version of genproto in go.mod has been updated.
- Ensure that CI is passing. If it's failing, it requires your manual attention.
- Approve and submit this PR if you believe it's ready to ship.

Corresponding genproto PR: googleapis/go-genproto#966

Changes:

chore(orchestration/airflow/service): minor docstring formatting
  PiperOrigin-RevId: 504261496
  Source-Link: googleapis/googleapis@73b3a78

chore(oslogin): reformat protos
  PiperOrigin-RevId: 504098251
  Source-Link: googleapis/googleapis@b0cf667

feat(trace): Add Cloud Trace v2 retry defaults for BatchWriteSpans
  PiperOrigin-RevId: 504068544
  Source-Link: googleapis/googleapis@685d359

chore(oslogin): whitespace formatting
  PiperOrigin-RevId: 504040442
  Source-Link: googleapis/googleapis@110d277

docs(datacatalog/lineage): fixed formatting for several literal expressions
  PiperOrigin-RevId: 504033274
  Source-Link: googleapis/googleapis@d140569

feat(dialogflow/cx): added JSON_PACKAGE field to ExportAgentRequest
  PiperOrigin-RevId: 504031208
  Source-Link: googleapis/googleapis@c6af392

docs(dialogflow): Reformat some comments and documentation
  PiperOrigin-RevId: 504029060
  Source-Link: googleapis/googleapis@4d9606e

feat(compute): Update Compute Engine API to revision 20230103 (#769)

  Source-Link: googleapis/googleapis@9fac84a

fix(maps/addressvalidation): Return to grpc-only transport for C#
  PiperOrigin-RevId: 503381161
  Source-Link: googleapis/googleapis@31bb0c8

feat(run): Adding support for encryption_key_revocation_action and encryption_key_shutdown_duration for RevisionTemplate and ExecutionTemplate docs: Documentation improvements, including clarification that v1 labels/annotations are rejected in v2 API
  PiperOrigin-RevId: 503293343
  Source-Link: googleapis/googleapis@e3d3d63

feat(compute): Update Compute Engine API to revision 20221224 (#760)

  Source-Link: googleapis/googleapis@17d5613

chore(talent): fix proto formatting
  PiperOrigin-RevId: 503230949
  Source-Link: googleapis/googleapis@55dd4d7
yoshi-automation added a commit that referenced this issue Jan 24, 2023
This is an auto-generated regeneration of the gapic clients by
cloud.google.com/go/internal/gapicgen. Once the corresponding genproto PR is
submitted, genbot will update this PR with a newer dependency to the newer
version of genproto and assign reviewers to this PR.

If you have been assigned to review this PR, please:

- Ensure that the version of genproto in go.mod has been updated.
- Ensure that CI is passing. If it's failing, it requires your manual attention.
- Approve and submit this PR if you believe it's ready to ship.

Corresponding genproto PR: googleapis/go-genproto#966

Changes:

chore(orchestration/airflow/service): minor docstring formatting
  PiperOrigin-RevId: 504261496
  Source-Link: googleapis/googleapis@73b3a78

chore(oslogin): reformat protos
  PiperOrigin-RevId: 504098251
  Source-Link: googleapis/googleapis@b0cf667

feat(trace): Add Cloud Trace v2 retry defaults for BatchWriteSpans
  PiperOrigin-RevId: 504068544
  Source-Link: googleapis/googleapis@685d359

chore(oslogin): whitespace formatting
  PiperOrigin-RevId: 504040442
  Source-Link: googleapis/googleapis@110d277

docs(datacatalog/lineage): fixed formatting for several literal expressions
  PiperOrigin-RevId: 504033274
  Source-Link: googleapis/googleapis@d140569

feat(dialogflow/cx): added JSON_PACKAGE field to ExportAgentRequest
  PiperOrigin-RevId: 504031208
  Source-Link: googleapis/googleapis@c6af392

docs(dialogflow): Reformat some comments and documentation
  PiperOrigin-RevId: 504029060
  Source-Link: googleapis/googleapis@4d9606e

feat(compute): Update Compute Engine API to revision 20230103 (#769)

  Source-Link: googleapis/googleapis@9fac84a

fix(maps/addressvalidation): Return to grpc-only transport for C#
  PiperOrigin-RevId: 503381161
  Source-Link: googleapis/googleapis@31bb0c8

feat(run): Adding support for encryption_key_revocation_action and encryption_key_shutdown_duration for RevisionTemplate and ExecutionTemplate docs: Documentation improvements, including clarification that v1 labels/annotations are rejected in v2 API
  PiperOrigin-RevId: 503293343
  Source-Link: googleapis/googleapis@e3d3d63

feat(compute): Update Compute Engine API to revision 20221224 (#760)

  Source-Link: googleapis/googleapis@17d5613

chore(talent): fix proto formatting
  PiperOrigin-RevId: 503230949
  Source-Link: googleapis/googleapis@55dd4d7
gcf-merge-on-green bot pushed a commit that referenced this issue Jan 24, 2023
This is an auto-generated regeneration of the gapic clients by
cloud.google.com/go/internal/gapicgen. Once the corresponding genproto PR is
submitted, genbot will update this PR with a newer dependency to the newer
version of genproto and assign reviewers to this PR.

If you have been assigned to review this PR, please:

- Ensure that the version of genproto in go.mod has been updated.
- Ensure that CI is passing. If it's failing, it requires your manual attention.
- Approve and submit this PR if you believe it's ready to ship.


Corresponding genproto PR: https://togithub.com/googleapis/go-genproto/pull/966

Changes:

chore(orchestration/airflow/service): minor docstring formatting
  PiperOrigin-RevId: 504261496
  Source-Link: https://togithub.com/googleapis/googleapis/commit/73b3a78f2d36e537856d9552511235a91ed2cd1c

chore(oslogin): reformat protos
  PiperOrigin-RevId: 504098251
  Source-Link: https://togithub.com/googleapis/googleapis/commit/b0cf667c88b71f1507d289120a582bf31cb0493a

feat(trace): Add Cloud Trace v2 retry defaults for BatchWriteSpans
  PiperOrigin-RevId: 504068544
  Source-Link: https://togithub.com/googleapis/googleapis/commit/685d3599bb907ced432c0cc392ebcba2c04250e7

chore(oslogin): whitespace formatting
  PiperOrigin-RevId: 504040442
  Source-Link: https://togithub.com/googleapis/googleapis/commit/110d277b372cb2a70f580e8bd06eb5eb7276dab3

docs(datacatalog/lineage): fixed formatting for several literal expressions
  PiperOrigin-RevId: 504033274
  Source-Link: https://togithub.com/googleapis/googleapis/commit/d14056956f251fe2b7fb7e0e53c369ab0b746775

feat(dialogflow/cx): added JSON_PACKAGE field to ExportAgentRequest
  PiperOrigin-RevId: 504031208
  Source-Link: https://togithub.com/googleapis/googleapis/commit/c6af392b613b435757358fac555628d84e443abd

docs(dialogflow): Reformat some comments and documentation
  PiperOrigin-RevId: 504029060
  Source-Link: https://togithub.com/googleapis/googleapis/commit/4d9606ecc1415ccab14796dc74ba2ffdd0633bf0

feat(compute): Update Compute Engine API to revision 20230103 (#769)
  
  Source-Link: https://togithub.com/googleapis/googleapis/commit/9fac84a6942bd3e95fca1ffe87018adbf560c514

fix(maps/addressvalidation): Return to grpc-only transport for C#
  PiperOrigin-RevId: 503381161
  Source-Link: https://togithub.com/googleapis/googleapis/commit/31bb0c8990d3f16529787f9661eaf5550c71204a

feat(run): Adding support for encryption_key_revocation_action and encryption_key_shutdown_duration for RevisionTemplate and ExecutionTemplate docs: Documentation improvements, including clarification that v1 labels/annotations are rejected in v2 API
  PiperOrigin-RevId: 503293343
  Source-Link: https://togithub.com/googleapis/googleapis/commit/e3d3d63275d13364cc986e100faff16b2cf510f5

feat(compute): Update Compute Engine API to revision 20221224 (#760)
  
  Source-Link: https://togithub.com/googleapis/googleapis/commit/17d56133af13ea8e541f646095f3621b61ac4948

chore(talent): fix proto formatting
  PiperOrigin-RevId: 503230949
  Source-Link: https://togithub.com/googleapis/googleapis/commit/55dd4d748cbc34f2d6059143d0267a1f34797d18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants