Skip to content

Commit 03fd80f

Browse files
feat: Automated regeneration of APIKeys client (googleapis#12365)
Auto-created at 2024-10-20 13:09:22 +0000 using the toys pull request generator.
1 parent aa3fd4d commit 03fd80f

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

clients/api_keys/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_api_keys, "~> 0.6"}]
14+
[{:google_api_api_keys, "~> 0.7"}]
1515
end
1616
```
1717

clients/api_keys/lib/google_api/api_keys/v2/metadata.ex

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

23-
@discovery_revision "20240811"
23+
@discovery_revision "20241016"
2424

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

clients/api_keys/lib/google_api/api_keys/v2/model/v2_key.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ defmodule GoogleApi.APIKeys.V2.Model.V2Key do
2929
* `keyString` (*type:* `String.t`, *default:* `nil`) - Output only. An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method.
3030
* `name` (*type:* `String.t`, *default:* `nil`) - Output only. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`.
3131
* `restrictions` (*type:* `GoogleApi.APIKeys.V2.Model.V2Restrictions.t`, *default:* `nil`) - Key restrictions.
32+
* `serviceAccountEmail` (*type:* `String.t`, *default:* `nil`) - Optional. The email address of [the service account](https://cloud.google.com/iam/docs/service-accounts) the key is bound to.
3233
* `uid` (*type:* `String.t`, *default:* `nil`) - Output only. Unique id in UUID4 format.
3334
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. A timestamp identifying the time this key was last updated.
3435
"""
@@ -44,6 +45,7 @@ defmodule GoogleApi.APIKeys.V2.Model.V2Key do
4445
:keyString => String.t() | nil,
4546
:name => String.t() | nil,
4647
:restrictions => GoogleApi.APIKeys.V2.Model.V2Restrictions.t() | nil,
48+
:serviceAccountEmail => String.t() | nil,
4749
:uid => String.t() | nil,
4850
:updateTime => DateTime.t() | nil
4951
}
@@ -56,6 +58,7 @@ defmodule GoogleApi.APIKeys.V2.Model.V2Key do
5658
field(:keyString)
5759
field(:name)
5860
field(:restrictions, as: GoogleApi.APIKeys.V2.Model.V2Restrictions)
61+
field(:serviceAccountEmail)
5962
field(:uid)
6063
field(:updateTime, as: DateTime)
6164
end

clients/api_keys/mix.exs

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

21-
@version "0.6.0"
21+
@version "0.7.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)