Skip to content

Commit

Permalink
feat: [sql] add EXTENSIONS_NOT_ENABLED_IN_REPLICA error type (googlea…
Browse files Browse the repository at this point in the history
…pis#5533)

* feat: Add `EXTENSIONS_NOT_ENABLED_IN_REPLICA` enum to `SqlExternalSyncSettingErrorType`

PiperOrigin-RevId: 650709541

Source-Link: googleapis/googleapis@229d325

Source-Link: https://github.com/googleapis/googleapis-gen/commit/a2825edb6c1550c6cd0e3fdd3353f074c3e78569
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNxbC8uT3dsQm90LnlhbWwiLCJoIjoiYTI4MjVlZGI2YzE1NTBjNmNkMGUzZmRkMzM1M2YwNzRjM2U3ODU2OSJ9

* 🦉 Updates from OwlBot post-processor

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

* 🦉 Updates from OwlBot post-processor

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

* feat: add EXTENSIONS_NOT_ENABLED_IN_REPLICA error type

PiperOrigin-RevId: 650720557

Source-Link: googleapis/googleapis@46d63dc

Source-Link: https://github.com/googleapis/googleapis-gen/commit/e66f21efb9fdf7a923b4f49df4989600f49b0457
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNxbC8uT3dsQm90LnlhbWwiLCJoIjoiZTY2ZjIxZWZiOWZkZjdhOTIzYjRmNDlkZjQ5ODk2MDBmNDliMDQ1NyJ9

* 🦉 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jul 10, 2024
1 parent 62bc6bf commit eafdb74
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1611,6 +1611,12 @@ message SqlExternalSyncSettingError {
// The error message indicates that pg_cron flags are enabled on the
// destination which is not supported during the migration.
PG_CRON_FLAG_ENABLED_IN_REPLICA = 47;

// This error message indicates that the specified extensions are not
// enabled on destination instance. For example, before you can migrate
// data to the destination instance, you must enable the PGAudit extension
// on the instance.
EXTENSIONS_NOT_ENABLED_IN_REPLICA = 48;
}

// Can be `sql#externalSyncSettingError` or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1436,6 +1436,12 @@ message SqlExternalSyncSettingError {
// The error message indicates that pg_cron flags are enabled on the
// destination which is not supported during the migration.
PG_CRON_FLAG_ENABLED_IN_REPLICA = 47;

// This error message indicates that the specified extensions are not
// enabled on destination instance. For example, before you can migrate
// data to the destination instance, you must enable the PGAudit extension
// on the instance.
EXTENSIONS_NOT_ENABLED_IN_REPLICA = 48;
}

// Can be `sql#externalSyncSettingError` or
Expand Down
6 changes: 4 additions & 2 deletions packages/google-cloud-sql/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions packages/google-cloud-sql/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions packages/google-cloud-sql/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eafdb74

Please sign in to comment.