google-apis-binaryauthorization_v1 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9d45ebbeaab17e65f3a6bc0ac911674b3232932c4d66a5655bc0aebd61261f6
4
- data.tar.gz: 062ab03558e7d0b8003f5e4d1614ff68c7d237213107d684a6d7fdc3aa5f4b93
3
+ metadata.gz: fc22bacc98d55b892b4fdde346e944a22a42e16c8b42efe93ae61213d85d3879
4
+ data.tar.gz: 10a8ae7747d87cd8333969700d110b56c6e2891923ae9e24c2e7617fb8ec8fec
5
5
  SHA512:
6
- metadata.gz: 1471652ecd13888cb0ded34a687a8e169995248bbded4c2b9482fd1a291a4fe389fd5bf0d30ddc1292c5e1ce5f6cb88dc2e8ddc0ade3dd4ff7b4edf42e85462a
7
- data.tar.gz: 13e353acad1dbf79e71ecff2170ea7f795ca955342f38b97f89d40c9020f707fb2e177ba51fd5fa84198a7d218db751ce41bf744ab7d0e5d3b9255433316c28a
6
+ metadata.gz: 19a36afefdb0e5b0a0cdfe799ee7de6b67d65169b5c1b930f82438636a42725b9e6600aa957317d9db2478845cddc013c889296ef2b774f11bf3d198c09f8030
7
+ data.tar.gz: 5612b4a551112b1c1102575402f44e21b3fa0e50bc6d41dd7511a32f15e65dd82226e9ea6063b8d466e7a590c7a61623963df35a75d257b687794f7f5f19ec4f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-binaryauthorization_v1
2
2
 
3
+ ### v0.15.0 (2022-03-24)
4
+
5
+ * Regenerated from discovery document revision 20220318
6
+
7
+ ### v0.14.0 (2022-03-03)
8
+
9
+ * Regenerated from discovery document revision 20220225
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.13.0 (2021-12-14)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.12.0 (2021-11-20)
4
17
 
5
18
  * Regenerated from discovery document revision 20211112
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)
@@ -295,8 +302,7 @@ module Google
295
302
  # A generic empty message that you can re-use to avoid defining duplicated empty
296
303
  # messages in your APIs. A typical example is to use it as the request or the
297
304
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
298
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
299
- # `Empty` is empty JSON object ````.
305
+ # protobuf.Empty) returns (google.protobuf.Empty); `
300
306
  class Empty
301
307
  include Google::Apis::Core::Hashable
302
308
 
@@ -565,6 +571,12 @@ module Google
565
571
  # @return [String]
566
572
  attr_accessor :description
567
573
 
574
+ # Optional. Used to prevent updating the policy when another request has updated
575
+ # it since it was retrieved.
576
+ # Corresponds to the JSON property `etag`
577
+ # @return [String]
578
+ attr_accessor :etag
579
+
568
580
  # Optional. Controls the evaluation of a Google-maintained global admission
569
581
  # policy for common system-level images. Images not covered by the global policy
570
582
  # will be subject to the project admission policy. This setting has no effect
@@ -613,6 +625,7 @@ module Google
613
625
  @cluster_admission_rules = args[:cluster_admission_rules] if args.key?(:cluster_admission_rules)
614
626
  @default_admission_rule = args[:default_admission_rule] if args.key?(:default_admission_rule)
615
627
  @description = args[:description] if args.key?(:description)
628
+ @etag = args[:etag] if args.key?(:etag)
616
629
  @global_policy_evaluation_mode = args[:global_policy_evaluation_mode] if args.key?(:global_policy_evaluation_mode)
617
630
  @istio_service_identity_admission_rules = args[:istio_service_identity_admission_rules] if args.key?(:istio_service_identity_admission_rules)
618
631
  @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.12.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.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211112"
25
+ REVISION = "20220318"
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
 
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.12.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: 2021-12-06 00:00:00.000000000 Z
11
+ date: 2022-03-28 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.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/v0.15.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