google-apis-binaryauthorization_v1 0.39.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6df6b603c3111096e188301470e0a0080d60b8eebe4acf942cea9c442a1bfe85
|
4
|
+
data.tar.gz: 7dae8db002a2b797336aa18f2ba8ff322e8fb23cf5f41f21566b622ce202c192
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3ccd9724668b1fa0f7ddf71fa3754560f074d9e00281e08d5911b0aa695f0478320aa973437c7067115129374d830232ad68c79c34543de9a98c1fc30798303
|
7
|
+
data.tar.gz: 3e06983f4db9ec3828ff297838f4f48647589c77ffa7b9b32427c819e4cbdd80d18aa3b46e045b532d4ee0c97073243d4ed2ffa24524ab14aaaf085521e9b032
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-binaryauthorization_v1
|
2
2
|
|
3
|
+
### v0.41.0 (2025-03-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250311
|
6
|
+
|
7
|
+
### v0.40.0 (2025-01-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250117
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.39.0 (2024-11-24)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241115
|
@@ -40,7 +40,12 @@ module Google
|
|
40
40
|
# @return [String]
|
41
41
|
attr_accessor :evaluation_mode
|
42
42
|
|
43
|
-
#
|
43
|
+
# Optional. The resource names of the attestors that must attest to a container
|
44
|
+
# image, in the format `projects/*/attestors/*`. Each attestor must exist before
|
45
|
+
# a policy can reference it. To add an attestor to a policy the principal
|
46
|
+
# issuing the policy change request must be able to read the attestor resource.
|
47
|
+
# Note: this field must be non-empty when the `evaluation_mode` field specifies `
|
48
|
+
# REQUIRE_ATTESTATION`, otherwise it must be empty.
|
44
49
|
# Corresponds to the JSON property `requireAttestationsBy`
|
45
50
|
# @return [Array<String>]
|
46
51
|
attr_accessor :require_attestations_by
|
@@ -1238,11 +1243,16 @@ module Google
|
|
1238
1243
|
# @return [Array<Google::Apis::BinaryauthorizationV1::AdmissionWhitelistPattern>]
|
1239
1244
|
attr_accessor :admission_whitelist_patterns
|
1240
1245
|
|
1241
|
-
# Optional.
|
1242
|
-
#
|
1243
|
-
#
|
1244
|
-
#
|
1245
|
-
#
|
1246
|
+
# Optional. A valid policy has only one of the following rule maps non-empty, i.
|
1247
|
+
# e. only one of `cluster_admission_rules`, `
|
1248
|
+
# kubernetes_namespace_admission_rules`, `
|
1249
|
+
# kubernetes_service_account_admission_rules`, or `
|
1250
|
+
# istio_service_identity_admission_rules` can be non-empty. Per-cluster
|
1251
|
+
# admission rules. Cluster spec format: `location.clusterId`. There can be at
|
1252
|
+
# most one admission rule per cluster spec. A `location` is either a compute
|
1253
|
+
# zone (e.g. us-central1-a) or a region (e.g. us-central1). For `clusterId`
|
1254
|
+
# syntax restrictions see https://cloud.google.com/container-engine/reference/
|
1255
|
+
# rest/v1/projects.zones.clusters.
|
1246
1256
|
# Corresponds to the JSON property `clusterAdmissionRules`
|
1247
1257
|
# @return [Hash<String,Google::Apis::BinaryauthorizationV1::AdmissionRule>]
|
1248
1258
|
attr_accessor :cluster_admission_rules
|
@@ -1816,6 +1826,15 @@ module Google
|
|
1816
1826
|
attr_accessor :config_based_build_required
|
1817
1827
|
alias_method :config_based_build_required?, :config_based_build_required
|
1818
1828
|
|
1829
|
+
# Optional. A CEL expression for specifying custom constraints on the provenance
|
1830
|
+
# payload. This can be used when users want to specify expectations on
|
1831
|
+
# provenance fields that are not covered by the general check. For example,
|
1832
|
+
# users can use this field to require that certain parameters should never be
|
1833
|
+
# used during the build process.
|
1834
|
+
# Corresponds to the JSON property `customConstraints`
|
1835
|
+
# @return [String]
|
1836
|
+
attr_accessor :custom_constraints
|
1837
|
+
|
1819
1838
|
# Each verification rule is used for evaluation against provenances generated by
|
1820
1839
|
# a specific builder (group). For some of the builders, such as the Google Cloud
|
1821
1840
|
# Build, users don't need to explicitly specify their roots of trust in the
|
@@ -1851,6 +1870,7 @@ module Google
|
|
1851
1870
|
def update!(**args)
|
1852
1871
|
@attestation_source = args[:attestation_source] if args.key?(:attestation_source)
|
1853
1872
|
@config_based_build_required = args[:config_based_build_required] if args.key?(:config_based_build_required)
|
1873
|
+
@custom_constraints = args[:custom_constraints] if args.key?(:custom_constraints)
|
1854
1874
|
@trusted_builder = args[:trusted_builder] if args.key?(:trusted_builder)
|
1855
1875
|
@trusted_source_repo_patterns = args[:trusted_source_repo_patterns] if args.key?(:trusted_source_repo_patterns)
|
1856
1876
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BinaryauthorizationV1
|
18
18
|
# Version of the google-apis-binaryauthorization_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.41.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250311"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -774,6 +774,7 @@ module Google
|
|
774
774
|
property :attestation_source, as: 'attestationSource', class: Google::Apis::BinaryauthorizationV1::AttestationSource, decorator: Google::Apis::BinaryauthorizationV1::AttestationSource::Representation
|
775
775
|
|
776
776
|
property :config_based_build_required, as: 'configBasedBuildRequired'
|
777
|
+
property :custom_constraints, as: 'customConstraints'
|
777
778
|
property :trusted_builder, as: 'trustedBuilder'
|
778
779
|
collection :trusted_source_repo_patterns, as: 'trustedSourceRepoPatterns'
|
779
780
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-binaryauthorization_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.41.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-16 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-binaryauthorization_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/v0.41.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-binaryauthorization_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Binary Authorization API V1
|
82
79
|
test_files: []
|