Skip to content

Commit 2b824b7

Browse files
feat: Automated regeneration of AlloyDB client (googleapis#12413)
Auto-created at 2024-10-26 13:12:38 +0000 using the toys pull request generator.
1 parent 6911a3e commit 2b824b7

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

clients/alloy_db/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_alloy_db, "~> 0.12"}]
14+
[{:google_api_alloy_db, "~> 0.13"}]
1515
end
1616
```
1717

clients/alloy_db/lib/google_api/alloy_db/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.AlloyDB.V1 do
2020
API client metadata for GoogleApi.AlloyDB.V1.
2121
"""
2222

23-
@discovery_revision "20241002"
23+
@discovery_revision "20241015"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/alloy_db/lib/google_api/alloy_db/v1/model/storage_databasecenter_partnerapi_v1main_retention_settings.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ defmodule GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainRetent
2525
* `quantityBasedRetention` (*type:* `integer()`, *default:* `nil`) -
2626
* `retentionUnit` (*type:* `String.t`, *default:* `nil`) - The unit that 'retained_backups' represents.
2727
* `timeBasedRetention` (*type:* `String.t`, *default:* `nil`) -
28+
* `timestampBasedRetentionTime` (*type:* `DateTime.t`, *default:* `nil`) - Timestamp based retention period i.e. 2024-05-01T00:00:00Z
2829
"""
2930

3031
use GoogleApi.Gax.ModelBase
@@ -33,13 +34,15 @@ defmodule GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainRetent
3334
:durationBasedRetention => String.t() | nil,
3435
:quantityBasedRetention => integer() | nil,
3536
:retentionUnit => String.t() | nil,
36-
:timeBasedRetention => String.t() | nil
37+
:timeBasedRetention => String.t() | nil,
38+
:timestampBasedRetentionTime => DateTime.t() | nil
3739
}
3840

3941
field(:durationBasedRetention)
4042
field(:quantityBasedRetention)
4143
field(:retentionUnit)
4244
field(:timeBasedRetention)
45+
field(:timestampBasedRetentionTime, as: DateTime)
4346
end
4447

4548
defimpl Poison.Decoder,

clients/alloy_db/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.AlloyDB.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.12.0"
21+
@version "0.13.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)