GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — BigQuery: Add "managing datasets" snippets. by tswast · Pull Request #3232 · googleapis/google-cloud-java

Conversation

@tswast

@tswast tswast commented May 3, 2018

Copy link
Copy Markdown
Contributor

Add update ACLs sample. Add update dataset expiration sample. To be included in the docs at https://cloud.google.com/bigquery/docs/managing-datasets

P.S.

I had a little trouble with the javadoc snippets script not finding the method, so I added a little logic to detect possible duplicate definitions. In this case the script was catching a usage of the method rather than the definition.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tswast
BigQuery: Add "managing datasets" snippets.
3973c4d
Add update ACLs sample. Add update dataset expiration sample.
@tswast
tswast requested a review from alixhami May 3, 2018 22:16
@tswast
tswast requested a review from pongad as a code owner May 3, 2018 22:16
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 3, 2018
@tswast tswast added the api: bigquery Issues related to the BigQuery API. label May 3, 2018
@tswast
Remove unused imports.
1985805
@tswast

tswast commented May 3, 2018

Copy link
Copy Markdown
Contributor Author

Note: tests pass locally.

$ mvn -Dtest=ITDatasetInfoSnippets test
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.google.cloud:google-cloud-examples:jar:0.46.1-alpha-SNAPSHOT
[WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Google Cloud Examples 0.46.1-alpha-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce) @ google-cloud-examples ---
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle) @ google-cloud-examples ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ google-cloud-examples ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/swast/src/google-cloud-java/google-cloud-examples/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ google-cloud-examples ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 70 source files to /Users/swast/src/google-cloud-java/google-cloud-examples/target/classes
[WARNING] bootstrap class path not set in conjunction with -source 1.7
[WARNING] /Users/swast/src/google-cloud-java/google-cloud-examples/src/main/java/com/google/cloud/examples/translate/TranslateExample.java:[187,21] setApiKey(java.lang.String) in com.google.cloud.translate.TranslateOptions.Builder has been deprecated
[WARNING] /Users/swast/src/google-cloud-java/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/StorageSnippets.java:[157,24] create(com.google.cloud.storage.BlobInfo,java.io.InputStream,com.google.cloud.storage.Storage.BlobWriteOption...) in com.google.cloud.storage.Storage has been deprecated
[WARNING] /Users/swast/src/google-cloud-java/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/StorageSnippets.java:[177,24] create(com.google.cloud.storage.BlobInfo,java.io.InputStream,com.google.cloud.storage.Storage.BlobWriteOption...) in com.google.cloud.storage.Storage has been deprecated
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ google-cloud-examples ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ google-cloud-examples ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 20 source files to /Users/swast/src/google-cloud-java/google-cloud-examples/target/test-classes
[WARNING] bootstrap class path not set in conjunction with -source 1.7
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ google-cloud-examples ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.google.cloud.examples.bigquery.snippets.ITDatasetInfoSnippets
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.427 sec - in com.google.cloud.examples.bigquery.snippets.ITDatasetInfoSnippets

Results :

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.736 s
[INFO] Finished at: 2018-05-03T15:34:01-07:00
[INFO] Final Memory: 41M/535M
[INFO] ------------------------------------------------------------------------
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tswast
tswast requested a review from shollyman May 4, 2018 19:50
alixhami
alixhami approved these changes May 4, 2018
View reviewed changes
@tswast
tswast merged commit 4aec2bd into googleapis:master May 7, 2018
@tswast
tswast deleted the bq-dataset-samples branch May 7, 2018 17:44
suztomo pushed a commit that referenced this pull request Mar 9, 2026
@shollyman
testing: reorder test to avoid racing (#3232)
2740076
Test involves working with a source table and a job that uses the table as an input.  Reorders the cleanup until after the job is complete to avoid possible racing with deletion before completion.

Fixes: https://togithub.com/googleapis/java-bigquery/issues/3212
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
@renovate-bot
deps: update dependency watchdog to v4.0.2 (#3232)
60b7721
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [watchdog](https://redirect.github.com/gorakhargosh/watchdog)
([changelog](https://redirect.github.com/gorakhargosh/watchdog/blob/master/changelog.rst))
| `==4.0.1` -> `==4.0.2` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/watchdog/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/watchdog/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/watchdog/4.0.1/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/watchdog/4.0.1/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>gorakhargosh/watchdog (watchdog)</summary>

###
[`v4.0.2`](https://redirect.github.com/gorakhargosh/watchdog/releases/tag/v4.0.2):
4.0.2

[Compare
Source](https://redirect.github.com/gorakhargosh/watchdog/compare/v4.0.1...v4.0.2)

- Add support for Python 3.13
([#&#8203;1052](https://redirect.github.com/gorakhargosh/watchdog/issues/1052))
- \[core] Run `ruff`, apply several fixes
([#&#8203;1033](https://redirect.github.com/gorakhargosh/watchdog/issues/1033))
-   \[core] Remove execution rights from `events.py`
- \[documentation] Update `PatternMatchingEventHandler` docstrings
([#&#8203;1048](https://redirect.github.com/gorakhargosh/watchdog/issues/1048))
- \[documentation] Simplify the quickstart example
([#&#8203;1047](https://redirect.github.com/gorakhargosh/watchdog/issues/1047))
- \[fsevents] Add missing `event_filter` keyword-argument to
`FSEventsObserver.schedule()`
([#&#8203;1049](https://redirect.github.com/gorakhargosh/watchdog/issues/1049))
- \[utils] Fix a possible race condition in `AutoRestartTrick`
([#&#8203;1002](https://redirect.github.com/gorakhargosh/watchdog/issues/1002))
-   \[watchmedo] Remove execution rights from `watchmedo.py`

:heart_decoration: Thanks to our beloved contributors:
[@&#8203;BoboTiG](https://redirect.github.com/BoboTiG),
[@&#8203;nbelakovski](https://redirect.github.com/nbelakovski),
[@&#8203;ivg](https://redirect.github.com/ivg)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/sdk-platform-java).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
@release-please
chore(main): release 2.46.1 (#3238)
2b85614
🤖 I have created a release *beep* *boop*
---


<details><summary>2.46.1</summary>

##
[2.46.1](googleapis/sdk-platform-java@v2.46.0...v2.46.1)
(2024-09-25)


### Dependencies

* update dependency black to v24.8.0
([#3234](googleapis/sdk-platform-java#3234))
([e773ec3](googleapis/sdk-platform-java@e773ec3))
* update dependency lxml to v5.3.0
([#3237](googleapis/sdk-platform-java#3237))
([ac6e622](googleapis/sdk-platform-java@ac6e622))
* update dependency net.bytebuddy:byte-buddy to v1.15.2
([#3235](googleapis/sdk-platform-java#3235))
([1e72ff0](googleapis/sdk-platform-java@1e72ff0))
* update dependency pyyaml to v6.0.2
([#3231](googleapis/sdk-platform-java#3231))
([200f332](googleapis/sdk-platform-java@200f332))
* update dependency watchdog to v4.0.2
([#3232](googleapis/sdk-platform-java#3232))
([60b7721](googleapis/sdk-platform-java@60b7721))
* update google api dependencies
([#3224](googleapis/sdk-platform-java#3224))
([0de08b2](googleapis/sdk-platform-java@0de08b2))
* update google.cloud.opentelemetry.version to v0.32.0
([#3225](googleapis/sdk-platform-java#3225))
([861f188](googleapis/sdk-platform-java@861f188))
* update grpc dependencies to v1.68.0
([#3220](googleapis/sdk-platform-java#3220))
([618288c](googleapis/sdk-platform-java@618288c))
* update junit5 monorepo to v5.11.1
([#3236](googleapis/sdk-platform-java#3236))
([1550ceb](googleapis/sdk-platform-java@1550ceb))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
@diogoteles08 @diegomarquezp
fix: github workflow vulnerable to script injection (#3232)
1b76f48
* fix: github workflow vulnerable to script injection

Signed-off-by: Diogo Teles Sant'Anna <[email protected]>

* inline repo's full_name as env var

---------

Signed-off-by: Diogo Teles Sant'Anna <[email protected]>
Co-authored-by: Diego Marquez <[email protected]>
chingor13 pushed a commit that referenced this pull request Mar 30, 2026
@cloud-java-bot
chore: Update generation configuration at Wed Aug 6 02:42:05 UTC 2025 (…
8c59d9d
…#3232)

* chore: Update generation configuration at Wed Aug  6 02:42:05 UTC 2025

* chore: generate libraries at Wed Aug  6 02:42:36 UTC 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pongad pongad Awaiting requested review from pongad
@shollyman shollyman Awaiting requested review from shollyman
1 more reviewer
@alixhami alixhami alixhami approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@tswast @alixhami @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.