Skip to content

Commit e71eb38

Browse files
feat: Automated regeneration of Run client (googleapis#12531)
Auto-created at 2024-11-15 13:12:00 +0000 using the toys pull request generator.
1 parent b6f4989 commit e71eb38

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

clients/run/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_run, "~> 0.39"}]
14+
[{:google_api_run, "~> 0.40"}]
1515
end
1616
```
1717

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

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

23-
@discovery_revision "20241025"
23+
@discovery_revision "20241109"
2424

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

clients/run/lib/google_api/run/v2/model/google_cloud_run_v2_revision_template.ex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2RevisionTemplate do
2424
* `annotations` (*type:* `map()`, *default:* `nil`) - Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules.
2525
* `containers` (*type:* `list(GoogleApi.Run.V2.Model.GoogleCloudRunV2Container.t)`, *default:* `nil`) - Holds the single container that defines the unit of execution for this Revision.
2626
* `encryptionKey` (*type:* `String.t`, *default:* `nil`) - A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
27+
* `encryptionKeyRevocationAction` (*type:* `String.t`, *default:* `nil`) - Optional. The action to take if the encryption key is revoked.
28+
* `encryptionKeyShutdownDuration` (*type:* `String.t`, *default:* `nil`) - Optional. If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
2729
* `executionEnvironment` (*type:* `String.t`, *default:* `nil`) - Optional. The sandbox environment to host this Revision.
2830
* `healthCheckDisabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Disables health checking containers during deployment.
2931
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 RevisionTemplate.
@@ -45,6 +47,8 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2RevisionTemplate do
4547
:annotations => map() | nil,
4648
:containers => list(GoogleApi.Run.V2.Model.GoogleCloudRunV2Container.t()) | nil,
4749
:encryptionKey => String.t() | nil,
50+
:encryptionKeyRevocationAction => String.t() | nil,
51+
:encryptionKeyShutdownDuration => String.t() | nil,
4852
:executionEnvironment => String.t() | nil,
4953
:healthCheckDisabled => boolean() | nil,
5054
:labels => map() | nil,
@@ -63,6 +67,8 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2RevisionTemplate do
6367
field(:annotations, type: :map)
6468
field(:containers, as: GoogleApi.Run.V2.Model.GoogleCloudRunV2Container, type: :list)
6569
field(:encryptionKey)
70+
field(:encryptionKeyRevocationAction)
71+
field(:encryptionKeyShutdownDuration)
6672
field(:executionEnvironment)
6773
field(:healthCheckDisabled)
6874
field(:labels, type: :map)

clients/run/mix.exs

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

21-
@version "0.39.0"
21+
@version "0.40.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)