Skip to content

Add better javadoc and snippets for Datastore and Transaction#1355

Merged
mziccard merged 1 commit intogoogleapis:masterfrom
mziccard:datastore-better-docs
Nov 2, 2016
Merged

Add better javadoc and snippets for Datastore and Transaction#1355
mziccard merged 1 commit intogoogleapis:masterfrom
mziccard:datastore-better-docs

Conversation

@mziccard
Copy link
Contributor

This PR does the following:

  • Add better javadoc for put and add in Datastore, Batch and Transaction
  • Add snippets for Transaction's put, add, update, delete, addWithDeferredIdAllocation and putWithDeferredIdAllocation
  • Add snippets for Datastore's add
  • Add integration tests for all new snippets

Fixes #1339

@unitydynamics feel free to comment :)

/cc @lesv

@mziccard mziccard added the api: datastore Issues related to the Datastore API. label Oct 31, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 31, 2016
@coveralls
Copy link

Coverage Status

Coverage remained the same at 83.9% when pulling 14ebbf9 on mziccard:datastore-better-docs into e7063d4 on GoogleCloudPlatform:master.

* will be changed to {@link #put}.
*
* @throws DatastoreException if a given entity with the same complete key was already added to
* this writer, if writer is not active or if id allocation for an entity with an incomplete

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.


/**
* Datastore add operation. This method will also allocate id for any entity with an incomplete
* key. As opposed to {@link #add(FullEntity)} and {@link #add(FullEntity...)}, this method will

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@mziccard mziccard merged commit b74284e into googleapis:master Nov 2, 2016
meltsufin pushed a commit that referenced this pull request Dec 22, 2025
chingor13 pushed a commit that referenced this pull request Jan 6, 2026
chingor13 pushed a commit that referenced this pull request Jan 22, 2026
….37.0 (#1355)

* fix(deps): Update the Java code generator (gapic-generator-java) to 2.37.0

PiperOrigin-RevId: 611816371

Source-Link: googleapis/googleapis@2a40f63

Source-Link: https://github.com/googleapis/googleapis-gen/commit/d30ff0767777b381fb1617f67a90e3abd3bdc6dc
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
chingor13 pushed a commit that referenced this pull request Jan 22, 2026
🤖 I have created a release *beep* *boop*
---


## [2.18.6](https://togithub.com/googleapis/java-datastore/compare/v2.18.5...v2.18.6) (2024-03-18)


### Bug Fixes

* **deps:** Update the Java code generator (gapic-generator-java) to 2.37.0 ([#1355](https://togithub.com/googleapis/java-datastore/issues/1355)) ([bcc5668](https://togithub.com/googleapis/java-datastore/commit/bcc5668039d4dd2055e9666a65fcda3984fc33b5))


### Dependencies

* Update dependency com.google.cloud:sdk-platform-java-config to v3.28.0 ([#1372](https://togithub.com/googleapis/java-datastore/issues/1372)) ([09db2a7](https://togithub.com/googleapis/java-datastore/commit/09db2a75fa714a909bc6fa9b43a9213ae6467c84))
* Update dependency com.google.cloud:sdk-platform-java-config to v3.28.1 ([#1373](https://togithub.com/googleapis/java-datastore/issues/1373)) ([c6e63e5](https://togithub.com/googleapis/java-datastore/commit/c6e63e5f876fdda953935d09f0536a90a98a812c))
* Update dependency com.google.errorprone:error_prone_core to v2.26.0 ([#1361](https://togithub.com/googleapis/java-datastore/issues/1361)) ([9442766](https://togithub.com/googleapis/java-datastore/commit/9442766ad61b0c1001d36ecfc0668308838b4a83))
* Update dependency com.google.errorprone:error_prone_core to v2.26.1 ([#1363](https://togithub.com/googleapis/java-datastore/issues/1363)) ([05fe5bc](https://togithub.com/googleapis/java-datastore/commit/05fe5bccf97dae92c00f2eead98424771cb321fd))
* Update dependency com.google.guava:guava-testlib to v33.1.0-jre ([#1368](https://togithub.com/googleapis/java-datastore/issues/1368)) ([0195345](https://togithub.com/googleapis/java-datastore/commit/0195345630f404bbcaf1601ded8a8e2011fc3e6e))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
chingor13 pushed a commit that referenced this pull request Feb 24, 2026
…untAuthorizedUserCredentials (#1355)

* feat: adds universe domain to DownscopedCredentials

* feat: adds universe domain to external account authorized user creds

* fix: adds more coverage for universe domain accross tests

* fix tests

* fix: more tests

* fix: add source credential universe domain check

* fix: add source credential universe domain check

* fix: review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants