Skip to content

Commit 6a7e959

Browse files
feat: Automated regeneration of Run client (googleapis#12267)
Auto-created at 2024-10-03 13:21:00 +0000 using the toys pull request generator.
1 parent 6236be7 commit 6a7e959

File tree

7 files changed

+9
-6
lines changed

7 files changed

+9
-6
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.37"}]
14+
[{:google_api_run, "~> 0.38"}]
1515
end
1616
```
1717

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

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

23-
@discovery_revision "20240916"
23+
@discovery_revision "20240927"
2424

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

clients/run/lib/google_api/run/v1/model/object_meta.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Run.V1.Model.ObjectMeta do
2121
2222
## Attributes
2323
24-
* `annotations` (*type:* `map()`, *default:* `nil`) - Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/base-images`: Service, Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/build-base-image`: Service. * `run.googleapis.com/build-enable-automatic-updates`: Service. * `run.googleapis.com/build-environment-variables`: Service. * `run.googleapis.com/build-function-target`: Service. * `run.googleapis.com/build-id`: Service. * `run.googleapis.com/build-image-uri`: Service. * `run.googleapis.com/build-name`: Service. * `run.googleapis.com/build-service-account`: Service. * `run.googleapis.com/build-source-location`: Service. * `run.googleapis.com/build-worker-pool`: Service. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision . * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/default-url-disabled`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/minScale`: Service (ALPHA) * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.
24+
* `annotations` (*type:* `map()`, *default:* `nil`) - Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/base-images`: Service, Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/build-base-image`: Service. * `run.googleapis.com/build-enable-automatic-updates`: Service. * `run.googleapis.com/build-environment-variables`: Service. * `run.googleapis.com/build-function-target`: Service. * `run.googleapis.com/build-id`: Service. * `run.googleapis.com/build-image-uri`: Service. * `run.googleapis.com/build-name`: Service. * `run.googleapis.com/build-service-account`: Service. * `run.googleapis.com/build-source-location`: Service. * `run.googleapis.com/build-worker-pool`: Service. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision . * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/default-url-disabled`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/minScale`: Service * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.
2525
* `clusterName` (*type:* `String.t`, *default:* `nil`) - Not supported by Cloud Run
2626
* `creationTimestamp` (*type:* `DateTime.t`, *default:* `nil`) - UTC timestamp representing the server time when this object was created.
2727
* `deletionGracePeriodSeconds` (*type:* `integer()`, *default:* `nil`) - Not supported by Cloud Run

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 "20240916"
23+
@discovery_revision "20240927"
2424

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

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2Service do
5252
* `clientVersion` (*type:* `String.t`, *default:* `nil`) - Arbitrary version identifier for the API client.
5353
* `etag` (*type:* `String.t`, *default:* `nil`) - Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
5454
* `template` (*type:* `GoogleApi.Run.V2.Model.GoogleCloudRunV2RevisionTemplate.t`, *default:* `nil`) - Required. The template used to create revisions for this Service.
55+
* `invokerIamDisabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Disables IAM permission check for run.routes.invoke for callers of this service. This setting should not be used with external ingress.
5556
* `latestReadyRevision` (*type:* `String.t`, *default:* `nil`) - Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
5657
* `trafficStatuses` (*type:* `list(GoogleApi.Run.V2.Model.GoogleCloudRunV2TrafficTargetStatus.t)`, *default:* `nil`) - Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
5758
"""
@@ -91,6 +92,7 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2Service do
9192
:clientVersion => String.t() | nil,
9293
:etag => String.t() | nil,
9394
:template => GoogleApi.Run.V2.Model.GoogleCloudRunV2RevisionTemplate.t() | nil,
95+
:invokerIamDisabled => boolean() | nil,
9496
:latestReadyRevision => String.t() | nil,
9597
:trafficStatuses =>
9698
list(GoogleApi.Run.V2.Model.GoogleCloudRunV2TrafficTargetStatus.t()) | nil
@@ -127,6 +129,7 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2Service do
127129
field(:clientVersion)
128130
field(:etag)
129131
field(:template, as: GoogleApi.Run.V2.Model.GoogleCloudRunV2RevisionTemplate)
132+
field(:invokerIamDisabled)
130133
field(:latestReadyRevision)
131134

132135
field(:trafficStatuses,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2ServiceScaling do
2121
2222
## Attributes
2323
24-
* `minInstanceCount` (*type:* `integer()`, *default:* `nil`) - Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (BETA)
24+
* `minInstanceCount` (*type:* `integer()`, *default:* `nil`) - Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
2525
* `scalingMode` (*type:* `String.t`, *default:* `nil`) - Optional. The scaling mode for the service.
2626
"""
2727

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.37.0"
21+
@version "0.38.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)