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 — docs: add Multi Region Encryption samples by rahul2393 · Pull Request #3524 · googleapis/java-spanner

This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Conversation

@rahul2393

@rahul2393 rahul2393 commented Dec 4, 2024 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Reference PRs:

  • feat[Spanner]: Add Multi Region Encryption samples GoogleCloudPlatform/dotnet-docs-samples#2832
  • feat(spanner): add MR CMEK samples GoogleCloudPlatform/php-docs-samples#2044
  • docs: allow multiple KMS keys to create CMEK database/backup python-spanner#1191
  • feat: allow multiple KMS keys to create CMEK database/backup nodejs-spanner#2099

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕️

If you write sample code, please follow the samples format.

Sorry, something went wrong.

Uh oh!

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

All reactions
@rahul2393
docs: add Multi Region Encryption samples
b5174fe
@rahul2393
rahul2393 requested a review from a team December 4, 2024 07:55
@product-auto-label product-auto-label Bot added the size: m Pull request size is medium. label Dec 4, 2024
@snippet-bot

snippet-bot Bot commented Dec 4, 2024 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Here is the summary of changes.

You are about to add 4 region tags.
  • samples/snippets/src/main/java/com/example/spanner/CopyBackupWithMultiRegionEncryptionKey.java:19, tag spanner_copy_backup_with_MR_CMEK
  • samples/snippets/src/main/java/com/example/spanner/CreateBackupWithMultiRegionEncryptionKey.java:19, tag spanner_create_backup_with_MR_CMEK
  • samples/snippets/src/main/java/com/example/spanner/CreateDatabaseWithMultiRegionEncryptionKey.java:19, tag spanner_create_database_with_MR_CMEK
  • samples/snippets/src/main/java/com/example/spanner/RestoreBackupWithMultiRegionEncryptionKey.java:19, tag spanner_restore_backup_with_MR_CMEK

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment
All reactions

Sorry, something went wrong.

Uh oh!

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

@product-auto-label product-auto-label Bot added api: spanner Issues related to the googleapis/java-spanner API. samples Issues that are directly related to samples. labels Dec 4, 2024
@blunderbuss-gcf blunderbuss-gcf Bot assigned grayside Dec 4, 2024
@cloud-java-bot
cloud-java-bot requested a review from a team December 4, 2024 07:58
@rahul2393
add create backup sample
4321f5a
@rahul2393
rahul2393 force-pushed the spanner-mr-cmek branch from f5e0650 to 4321f5a Compare December 4, 2024 08:33
cloud-java-bot and others added 2 commits December 4, 2024 08:36
@cloud-java-bot
chore: generate libraries at Wed Dec 4 08:33:54 UTC 2024
571a47e
@rahul2393
add sample for CopyBackup with multi region encryption keys
b542470
@product-auto-label product-auto-label Bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Dec 4, 2024
@rahul2393
add restore backup sample
539cee8
@rahul2393
rahul2393 force-pushed the spanner-mr-cmek branch from 3f96fe5 to 539cee8 Compare December 4, 2024 09:03
harshachinta
harshachinta approved these changes Dec 4, 2024
View reviewed changes
@rahul2393
fix sample
ae74e4a
@rahul2393
rahul2393 force-pushed the spanner-mr-cmek branch from b680dcd to ae74e4a Compare December 4, 2024 09:24
@cloud-java-bot
chore: generate libraries at Wed Dec 4 09:25:28 UTC 2024
658d098
@rahul2393
rahul2393 merged commit 316f971 into main Dec 4, 2024
@rahul2393
rahul2393 deleted the spanner-mr-cmek branch December 4, 2024 10:08
@release-please release-please Bot mentioned this pull request Dec 4, 2024
chore(main): release 6.82.0 #3525
Merged
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Dec 4, 2024
@github-cash-renovate-jvm-2 @svc-squareup-copybara
This PR contains the following updates:
be72329
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
|
[com.google.cloud:google-cloud-spanner](https://github.com/googleapis/java-spanner)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`6.81.2` -> `6.82.0` |
| [org.flywaydb:flyway-gradle-plugin](https://flywaydb.org)
([source](https://github.com/flyway/flyway)) | dependencies |
misk/gradle/libs.versions.toml | gradle | patch | `11.0.0` -> `11.0.1` |
| [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.24` -> `2.29.27` |
|
[software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.24` -> `2.29.27` |
| [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.24` -> `2.29.27` |
| [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.24` -> `2.29.27` |
| [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.24` -> `2.29.27` |
| [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.29.24` -> `2.29.27` |

---

### Release Notes

<details>
<summary>googleapis/java-spanner
(com.google.cloud:google-cloud-spanner)</summary>

###
[`v6.82.0`](https://github.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6820-2024-12-04)

##### Features

- Add option for retrying DML as PDML
([#&#8203;3480](googleapis/java-spanner#3480))
([b545557](googleapis/java-spanner@b545557))
- Add the last statement option to ExecuteSqlRequest and
ExecuteBatchDmlRequest
([76ab801](googleapis/java-spanner@76ab801))

##### Bug Fixes

- **deps:** Update the Java code generator (gapic-generator-java) to
2.50.0
([76ab801](googleapis/java-spanner@76ab801))
- Shutdown built in metrics meter provider
([#&#8203;3518](googleapis/java-spanner#3518))
([c935e2e](googleapis/java-spanner@c935e2e))
- **spanner:** GetEdition() is returning null for Instance
([#&#8203;3496](googleapis/java-spanner#3496))
([77cb585](googleapis/java-spanner@77cb585))

##### Dependencies

- Update dependency commons-io:commons-io to v2.18.0
([#&#8203;3492](googleapis/java-spanner#3492))
([5c8b3ad](googleapis/java-spanner@5c8b3ad))

##### Documentation

- Add Multi Region Encryption samples
([#&#8203;3524](googleapis/java-spanner#3524))
([316f971](googleapis/java-spanner@316f971))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am
every weekday" in timezone Australia/Melbourne, 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

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

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

GitOrigin-RevId: 20ef292c9bda52c160283aea5bcf8ed8c6a44e21
@rahul2393 rahul2393 mentioned this pull request Dec 7, 2024
feat(spanner): add samples for using multi-region encryption keys for backups and database GoogleCloudPlatform/golang-samples#4790
Merged
4 of 9 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@harshachinta harshachinta harshachinta approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

@grayside grayside

Labels

api: spanner Issues related to the googleapis/java-spanner API. samples Issues that are directly related to samples. size: l Pull request size is large.

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.

4 participants

@rahul2393 @harshachinta @grayside @cloud-java-bot
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.