google-apis-binaryauthorization_v1beta1 0.12.0 → 0.15.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 +4 -4
- data/CHANGELOG.md +13 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/binaryauthorization_v1beta1/classes.rb +14 -0
- data/lib/google/apis/binaryauthorization_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/binaryauthorization_v1beta1/representations.rb +2 -0
- data/lib/google/apis/binaryauthorization_v1beta1/service.rb +3 -2
- data/lib/google/apis/binaryauthorization_v1beta1.rb +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34f0c89df5173e95b64dcb38707310d085fae873f2ad83cc55aef2637550cdcc
|
4
|
+
data.tar.gz: 9855e6faf4b2bc58b1d903698fdee709bb5511e3d53d5025109fdf2ef67ef4fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43e9236baf260f8830baf01ad8f462b7c3e0ac49509a173b06c31e2e75dd0fd134ce2460863ed02549a28ae6982cae603784bb4b5364f22ab3d5eafb9738fd28
|
7
|
+
data.tar.gz: 945eb013f77bd3607476c7ee4085453f5799f8063b67f53e1274edf3c1010b6adc2e26e7cf2d4ada1b631918c617edb3f92711227110f8d18de0561aed95610c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-binaryauthorization_v1beta1
|
2
2
|
|
3
|
+
### v0.15.0 (2022-03-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220225
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.14.0 (2021-12-14)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.13.0 (2021-11-20)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211112
|
15
|
+
|
3
16
|
### v0.12.0 (2021-11-13)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20211105
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/binaryauthorization_v1beta1"
|
|
51
51
|
client = Google::Apis::BinaryauthorizationV1beta1::BinaryAuthorizationService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -144,6 +144,12 @@ module Google
|
|
144
144
|
# @return [String]
|
145
145
|
attr_accessor :description
|
146
146
|
|
147
|
+
# Optional. Used to prevent updating the attestor when another request has
|
148
|
+
# updated it since it was retrieved.
|
149
|
+
# Corresponds to the JSON property `etag`
|
150
|
+
# @return [String]
|
151
|
+
attr_accessor :etag
|
152
|
+
|
147
153
|
# Required. The resource name, in the format: `projects/*/attestors/*`. This
|
148
154
|
# field may not be updated.
|
149
155
|
# Corresponds to the JSON property `name`
|
@@ -168,6 +174,7 @@ module Google
|
|
168
174
|
# Update properties of this object
|
169
175
|
def update!(**args)
|
170
176
|
@description = args[:description] if args.key?(:description)
|
177
|
+
@etag = args[:etag] if args.key?(:etag)
|
171
178
|
@name = args[:name] if args.key?(:name)
|
172
179
|
@update_time = args[:update_time] if args.key?(:update_time)
|
173
180
|
@user_owned_drydock_note = args[:user_owned_drydock_note] if args.key?(:user_owned_drydock_note)
|
@@ -567,6 +574,12 @@ module Google
|
|
567
574
|
# @return [String]
|
568
575
|
attr_accessor :description
|
569
576
|
|
577
|
+
# Optional. Used to prevent updating the policy when another request has updated
|
578
|
+
# it since it was retrieved.
|
579
|
+
# Corresponds to the JSON property `etag`
|
580
|
+
# @return [String]
|
581
|
+
attr_accessor :etag
|
582
|
+
|
570
583
|
# Optional. Controls the evaluation of a Google-maintained global admission
|
571
584
|
# policy for common system-level images. Images not covered by the global policy
|
572
585
|
# will be subject to the project admission policy. This setting has no effect
|
@@ -615,6 +628,7 @@ module Google
|
|
615
628
|
@cluster_admission_rules = args[:cluster_admission_rules] if args.key?(:cluster_admission_rules)
|
616
629
|
@default_admission_rule = args[:default_admission_rule] if args.key?(:default_admission_rule)
|
617
630
|
@description = args[:description] if args.key?(:description)
|
631
|
+
@etag = args[:etag] if args.key?(:etag)
|
618
632
|
@global_policy_evaluation_mode = args[:global_policy_evaluation_mode] if args.key?(:global_policy_evaluation_mode)
|
619
633
|
@istio_service_identity_admission_rules = args[:istio_service_identity_admission_rules] if args.key?(:istio_service_identity_admission_rules)
|
620
634
|
@kubernetes_namespace_admission_rules = args[:kubernetes_namespace_admission_rules] if args.key?(:kubernetes_namespace_admission_rules)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BinaryauthorizationV1beta1
|
18
18
|
# Version of the google-apis-binaryauthorization_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220225"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -173,6 +173,7 @@ module Google
|
|
173
173
|
# @private
|
174
174
|
class Representation < Google::Apis::Core::JsonRepresentation
|
175
175
|
property :description, as: 'description'
|
176
|
+
property :etag, as: 'etag'
|
176
177
|
property :name, as: 'name'
|
177
178
|
property :update_time, as: 'updateTime'
|
178
179
|
property :user_owned_drydock_note, as: 'userOwnedDrydockNote', class: Google::Apis::BinaryauthorizationV1beta1::UserOwnedDrydockNote, decorator: Google::Apis::BinaryauthorizationV1beta1::UserOwnedDrydockNote::Representation
|
@@ -261,6 +262,7 @@ module Google
|
|
261
262
|
property :default_admission_rule, as: 'defaultAdmissionRule', class: Google::Apis::BinaryauthorizationV1beta1::AdmissionRule, decorator: Google::Apis::BinaryauthorizationV1beta1::AdmissionRule::Representation
|
262
263
|
|
263
264
|
property :description, as: 'description'
|
265
|
+
property :etag, as: 'etag'
|
264
266
|
property :global_policy_evaluation_mode, as: 'globalPolicyEvaluationMode'
|
265
267
|
hash :istio_service_identity_admission_rules, as: 'istioServiceIdentityAdmissionRules', class: Google::Apis::BinaryauthorizationV1beta1::AdmissionRule, decorator: Google::Apis::BinaryauthorizationV1beta1::AdmissionRule::Representation
|
266
268
|
|
@@ -22,8 +22,9 @@ module Google
|
|
22
22
|
module BinaryauthorizationV1beta1
|
23
23
|
# Binary Authorization API
|
24
24
|
#
|
25
|
-
# The management interface for Binary Authorization, a
|
26
|
-
# control for images deployed to
|
25
|
+
# The management interface for Binary Authorization, a service that provides
|
26
|
+
# policy-based deployment validation and control for images deployed to Google
|
27
|
+
# Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run.
|
27
28
|
#
|
28
29
|
# @example
|
29
30
|
# require 'google/apis/binaryauthorization_v1beta1'
|
@@ -21,8 +21,9 @@ module Google
|
|
21
21
|
module Apis
|
22
22
|
# Binary Authorization API
|
23
23
|
#
|
24
|
-
# The management interface for Binary Authorization, a
|
25
|
-
# control for images deployed to
|
24
|
+
# The management interface for Binary Authorization, a service that provides
|
25
|
+
# policy-based deployment validation and control for images deployed to Google
|
26
|
+
# Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run.
|
26
27
|
#
|
27
28
|
# @see https://cloud.google.com/binary-authorization/
|
28
29
|
module BinaryauthorizationV1beta1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-binaryauthorization_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-binaryauthorization_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1beta1/v0.15.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-binaryauthorization_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Binary Authorization API V1beta1
|