Skip to content

Commit 03e2e2c

Browse files
feat: Automated regeneration of BinaryAuthorization client (googleapis#12846)
Auto-created at 2025-01-21 13:11:21 +0000 using the toys pull request generator.
1 parent 46c3dd6 commit 03e2e2c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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

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

23-
@discovery_revision "20241115"
23+
@discovery_revision "20250117"
2424

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

clients/binary_authorization/lib/google_api/binary_authorization/v1/model/admission_rule.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.BinaryAuthorization.V1.Model.AdmissionRule do
2323
2424
* `enforcementMode` (*type:* `String.t`, *default:* `nil`) - Required. The action when a pod creation is denied by the admission rule.
2525
* `evaluationMode` (*type:* `String.t`, *default:* `nil`) - Required. How this admission rule will be evaluated.
26-
* `requireAttestationsBy` (*type:* `list(String.t)`, *default:* `nil`) -
26+
* `requireAttestationsBy` (*type:* `list(String.t)`, *default:* `nil`) - Optional. The resource names of the attestors that must attest to a container image, in the format `projects/*/attestors/*`. Each attestor must exist before a policy can reference it. To add an attestor to a policy the principal issuing the policy change request must be able to read the attestor resource. Note: this field must be non-empty when the `evaluation_mode` field specifies `REQUIRE_ATTESTATION`, otherwise it must be empty.
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

clients/binary_authorization/lib/google_api/binary_authorization/v1/model/policy.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.BinaryAuthorization.V1.Model.Policy do
2222
## Attributes
2323
2424
* `admissionWhitelistPatterns` (*type:* `list(GoogleApi.BinaryAuthorization.V1.Model.AdmissionWhitelistPattern.t)`, *default:* `nil`) - Optional. Admission policy allowlisting. A matching admission request will always be permitted. This feature is typically used to exclude Google or third-party infrastructure images from Binary Authorization policies.
25-
* `clusterAdmissionRules` (*type:* `%{optional(String.t) => GoogleApi.BinaryAuthorization.V1.Model.AdmissionRule.t}`, *default:* `nil`) - Optional. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
25+
* `clusterAdmissionRules` (*type:* `%{optional(String.t) => GoogleApi.BinaryAuthorization.V1.Model.AdmissionRule.t}`, *default:* `nil`) - Optional. A valid policy has only one of the following rule maps non-empty, i.e. only one of `cluster_admission_rules`, `kubernetes_namespace_admission_rules`, `kubernetes_service_account_admission_rules`, or `istio_service_identity_admission_rules` can be non-empty. Per-cluster admission rules. Cluster spec format: `location.clusterId`. There can be at most one admission rule per cluster spec. A `location` is either a compute zone (e.g. us-central1-a) or a region (e.g. us-central1). For `clusterId` syntax restrictions see https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
2626
* `defaultAdmissionRule` (*type:* `GoogleApi.BinaryAuthorization.V1.Model.AdmissionRule.t`, *default:* `nil`) - Required. Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule.
2727
* `description` (*type:* `String.t`, *default:* `nil`) - Optional. A descriptive comment.
2828
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. A checksum, returned by the server, that can be sent on update requests to ensure the policy has an up-to-date value before attempting to update it. See https://google.aip.dev/154.

clients/binary_authorization/mix.exs

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

21-
@version "0.17.1"
21+
@version "0.17.2"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)