Skip to content

Commit e275c9c

Browse files
feat: Automated regeneration of AlloyDB client (googleapis#12309)
Auto-created at 2024-10-12 13:18:35 +0000 using the toys pull request generator.
1 parent 203f9f7 commit e275c9c

File tree

7 files changed

+85
-75
lines changed

7 files changed

+85
-75
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.11"}]
14+
[{:google_api_alloy_db, "~> 0.12"}]
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 "20240923"
23+
@discovery_revision "20241002"
2424

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

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ defmodule GoogleApi.AlloyDB.V1.Model.Backup do
4040
* `satisfiesPzs` (*type:* `boolean()`, *default:* `nil`) - Output only. Reserved for future use.
4141
* `sizeBytes` (*type:* `String.t`, *default:* `nil`) - Output only. The size of the backup in bytes.
4242
* `state` (*type:* `String.t`, *default:* `nil`) - Output only. The current state of the backup.
43+
* `tags` (*type:* `map()`, *default:* `nil`) - Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: ``` "123/environment": "production", "123/costCenter": "marketing" ```
4344
* `type` (*type:* `String.t`, *default:* `nil`) - The backup type, which suggests the trigger for the backup.
4445
* `uid` (*type:* `String.t`, *default:* `nil`) - Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
4546
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Update time stamp
@@ -67,6 +68,7 @@ defmodule GoogleApi.AlloyDB.V1.Model.Backup do
6768
:satisfiesPzs => boolean() | nil,
6869
:sizeBytes => String.t() | nil,
6970
:state => String.t() | nil,
71+
:tags => map() | nil,
7072
:type => String.t() | nil,
7173
:uid => String.t() | nil,
7274
:updateTime => DateTime.t() | nil
@@ -91,6 +93,7 @@ defmodule GoogleApi.AlloyDB.V1.Model.Backup do
9193
field(:satisfiesPzs)
9294
field(:sizeBytes)
9395
field(:state)
96+
field(:tags, type: :map)
9497
field(:type)
9598
field(:uid)
9699
field(:updateTime, as: DateTime)

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

Lines changed: 70 additions & 67 deletions
Large diffs are not rendered by default.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ defmodule GoogleApi.AlloyDB.V1.Model.GoogleTypeTimeOfDay do
2121
2222
## Attributes
2323
24-
* `hours` (*type:* `integer()`, *default:* `nil`) - Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
25-
* `minutes` (*type:* `integer()`, *default:* `nil`) - Minutes of hour of day. Must be from 0 to 59.
26-
* `nanos` (*type:* `integer()`, *default:* `nil`) - Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
27-
* `seconds` (*type:* `integer()`, *default:* `nil`) - Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
24+
* `hours` (*type:* `integer()`, *default:* `nil`) - Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
25+
* `minutes` (*type:* `integer()`, *default:* `nil`) - Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
26+
* `nanos` (*type:* `integer()`, *default:* `nil`) - Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
27+
* `seconds` (*type:* `integer()`, *default:* `nil`) - Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
2828
"""
2929

3030
use GoogleApi.Gax.ModelBase

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata do
1919
@moduledoc """
20-
Common model for database resource instance metadata. Next ID: 22
20+
Common model for database resource instance metadata. Next ID: 23
2121
2222
## Attributes
2323
@@ -27,6 +27,7 @@ defmodule GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainDataba
2727
* `creationTime` (*type:* `DateTime.t`, *default:* `nil`) - The creation time of the resource, i.e. the time when resource is created and recorded in partner service.
2828
* `currentState` (*type:* `String.t`, *default:* `nil`) - Current state of the instance.
2929
* `customMetadata` (*type:* `GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainCustomMetadataData.t`, *default:* `nil`) - Any custom metadata associated with the resource
30+
* `edition` (*type:* `String.t`, *default:* `nil`) - Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to identify the edition of the instance.
3031
* `entitlements` (*type:* `list(GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainEntitlement.t)`, *default:* `nil`) - Entitlements associated with the resource
3132
* `expectedState` (*type:* `String.t`, *default:* `nil`) - The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.
3233
* `id` (*type:* `GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainDatabaseResourceId.t`, *default:* `nil`) - Required. Unique identifier for a Database resource
@@ -59,6 +60,7 @@ defmodule GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainDataba
5960
:customMetadata =>
6061
GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainCustomMetadataData.t()
6162
| nil,
63+
:edition => String.t() | nil,
6264
:entitlements =>
6365
list(GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainEntitlement.t())
6466
| nil,
@@ -102,6 +104,8 @@ defmodule GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainDataba
102104
as: GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainCustomMetadataData
103105
)
104106

107+
field(:edition)
108+
105109
field(:entitlements,
106110
as: GoogleApi.AlloyDB.V1.Model.StorageDatabasecenterPartnerapiV1mainEntitlement,
107111
type: :list

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.11.0"
21+
@version "0.12.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)