google-apis-binaryauthorization_v1 0.11.0 → 0.14.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: de7472935dfdf039428bc214173d9f71f75dcede694cfa40215cbd4be7567a06
4
- data.tar.gz: 2128d0b2f6e9d42956a911dd318b8e53290ee313ab01cded3a5586655b070974
3
+ metadata.gz: d78f0655c230e32d26801dbf7cfc7aa5773852cf8e403574a03db89e6eb4281e
4
+ data.tar.gz: bcd4a88aab65e347ac48070713de8223d2ce57a53abd3cc1a57f16ca3f424645
5
5
  SHA512:
6
- metadata.gz: 291df6626fae8522c7c67233566096c6f0eaa126e96a4d0b1b9b47806e8e1a84199aa04f84e23153203f9763dcbf3cc5263a3ca00322712ce61c53a0759b41f4
7
- data.tar.gz: 19c5743b5305311bf54a97d304974459d57b5fb18169100acae15df882a1633504d843b4f9a0c18afa87c5b0933ee1ea598099774e7e039c04db29a266512aec
6
+ metadata.gz: 4170180f306ce7ea1c25bf90affd846e324195525100ea360565bba26e0d7562e7e11d971cdbc688efd2a32d993d41249410ac8399076521e5b048155bbc2cc1
7
+ data.tar.gz: 596064cf762838ca59a2530e52bbf95dfcadda9dc2407c204a7c3c2997587aaf8e7fa0252ef510d80a45ab952c3361127f68bca2a337c0032a1408422a9f754a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-binaryauthorization_v1
2
2
 
3
+ ### v0.14.0 (2022-03-03)
4
+
5
+ * Regenerated from discovery document revision 20220225
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.13.0 (2021-12-14)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.12.0 (2021-11-20)
13
+
14
+ * Regenerated from discovery document revision 20211112
15
+
3
16
  ### v0.11.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_v1"
51
51
  client = Google::Apis::BinaryauthorizationV1::BinaryAuthorizationService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
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.
@@ -142,6 +142,12 @@ module Google
142
142
  # @return [String]
143
143
  attr_accessor :description
144
144
 
145
+ # Optional. Used to prevent updating the attestor when another request has
146
+ # updated it since it was retrieved.
147
+ # Corresponds to the JSON property `etag`
148
+ # @return [String]
149
+ attr_accessor :etag
150
+
145
151
  # Required. The resource name, in the format: `projects/*/attestors/*`. This
146
152
  # field may not be updated.
147
153
  # Corresponds to the JSON property `name`
@@ -166,6 +172,7 @@ module Google
166
172
  # Update properties of this object
167
173
  def update!(**args)
168
174
  @description = args[:description] if args.key?(:description)
175
+ @etag = args[:etag] if args.key?(:etag)
169
176
  @name = args[:name] if args.key?(:name)
170
177
  @update_time = args[:update_time] if args.key?(:update_time)
171
178
  @user_owned_grafeas_note = args[:user_owned_grafeas_note] if args.key?(:user_owned_grafeas_note)
@@ -565,6 +572,12 @@ module Google
565
572
  # @return [String]
566
573
  attr_accessor :description
567
574
 
575
+ # Optional. Used to prevent updating the policy when another request has updated
576
+ # it since it was retrieved.
577
+ # Corresponds to the JSON property `etag`
578
+ # @return [String]
579
+ attr_accessor :etag
580
+
568
581
  # Optional. Controls the evaluation of a Google-maintained global admission
569
582
  # policy for common system-level images. Images not covered by the global policy
570
583
  # will be subject to the project admission policy. This setting has no effect
@@ -613,6 +626,7 @@ module Google
613
626
  @cluster_admission_rules = args[:cluster_admission_rules] if args.key?(:cluster_admission_rules)
614
627
  @default_admission_rule = args[:default_admission_rule] if args.key?(:default_admission_rule)
615
628
  @description = args[:description] if args.key?(:description)
629
+ @etag = args[:etag] if args.key?(:etag)
616
630
  @global_policy_evaluation_mode = args[:global_policy_evaluation_mode] if args.key?(:global_policy_evaluation_mode)
617
631
  @istio_service_identity_admission_rules = args[:istio_service_identity_admission_rules] if args.key?(:istio_service_identity_admission_rules)
618
632
  @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 BinaryauthorizationV1
18
18
  # Version of the google-apis-binaryauthorization_v1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211105"
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_grafeas_note, as: 'userOwnedGrafeasNote', class: Google::Apis::BinaryauthorizationV1::UserOwnedGrafeasNote, decorator: Google::Apis::BinaryauthorizationV1::UserOwnedGrafeasNote::Representation
@@ -261,6 +262,7 @@ module Google
261
262
  property :default_admission_rule, as: 'defaultAdmissionRule', class: Google::Apis::BinaryauthorizationV1::AdmissionRule, decorator: Google::Apis::BinaryauthorizationV1::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::BinaryauthorizationV1::AdmissionRule, decorator: Google::Apis::BinaryauthorizationV1::AdmissionRule::Representation
266
268
 
@@ -22,8 +22,9 @@ module Google
22
22
  module BinaryauthorizationV1
23
23
  # Binary Authorization API
24
24
  #
25
- # The management interface for Binary Authorization, a system providing policy
26
- # control for images deployed to Kubernetes Engine clusters.
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_v1'
@@ -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 system providing policy
25
- # control for images deployed to Kubernetes Engine clusters.
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 BinaryauthorizationV1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-binaryauthorization_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.14.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: 2021-11-15 00:00:00.000000000 Z
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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-binaryauthorization_v1
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.2.17
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 V1