google-apis-binaryauthorization_v1 0.37.0 → 0.39.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9bbf4b6b18ea78a9967623f1c1dc95cb49479f8d20f9d12487d16548ff562b7
4
- data.tar.gz: 55870f8cced9647c7d067d32a43479fb1f088da7b880ae47a4dd23496dfee296
3
+ metadata.gz: 3ecefec77ae25cda66e71e1b9d89d11a565f22fb8e2de00980f614dd9a62ef8b
4
+ data.tar.gz: 368c06eb60b3cdfa01e07d09dcb3993b78730149dc313686a6316143dd7bf352
5
5
  SHA512:
6
- metadata.gz: db8e3858f820dafce65c41e8f93674bb865f693f8f2192e42a9c6ca9ba941642d6bfe656aae5406bb97fa915e52c0266a3315de54ad79ecdf2ffbcbded23f260
7
- data.tar.gz: 0bc0280a5cace98feb22914467e86a79ed3f95af1589c72d25d28cefe4de9d7280a8513d31a6a146215952c432b5bb70643860edc864c087419a5fe9245a0d81
6
+ metadata.gz: 218d849c02e4b82917e336db4c852fb3138d9a9b892f7585f3c31d0df7f64e6f33b9241dea15c04c57c7feb75163bc8b48d969794d799e7c16038b936b43e050
7
+ data.tar.gz: 7b666f74bf38912fac97ccf57525f0bca3966c592c6a88d89359ba5bde9655697faa64d97a06fe1aa5f6d8679e7b6ded3b4eafa3ce58b5a3a3567b96fb6d2260
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-binaryauthorization_v1
2
2
 
3
+ ### v0.39.0 (2024-11-24)
4
+
5
+ * Regenerated from discovery document revision 20241115
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.38.0 (2024-06-23)
9
+
10
+ * Regenerated from discovery document revision 20240614
11
+
3
12
  ### v0.37.0 (2024-06-16)
4
13
 
5
14
  * Regenerated from discovery document revision 20240607
@@ -40,12 +40,7 @@ module Google
40
40
  # @return [String]
41
41
  attr_accessor :evaluation_mode
42
42
 
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.
43
+ #
49
44
  # Corresponds to the JSON property `requireAttestationsBy`
50
45
  # @return [Array<String>]
51
46
  attr_accessor :require_attestations_by
@@ -1152,6 +1147,12 @@ module Google
1152
1147
  # @return [String]
1153
1148
  attr_accessor :description
1154
1149
 
1150
+ # Optional. Used to prevent updating the policy when another request has updated
1151
+ # it since it was retrieved.
1152
+ # Corresponds to the JSON property `etag`
1153
+ # @return [String]
1154
+ attr_accessor :etag
1155
+
1155
1156
  # A Binary Authorization policy for a GKE cluster. This is one type of policy
1156
1157
  # that can occur as a `PlatformPolicy`.
1157
1158
  # Corresponds to the JSON property `gkePolicy`
@@ -1176,6 +1177,7 @@ module Google
1176
1177
  # Update properties of this object
1177
1178
  def update!(**args)
1178
1179
  @description = args[:description] if args.key?(:description)
1180
+ @etag = args[:etag] if args.key?(:etag)
1179
1181
  @gke_policy = args[:gke_policy] if args.key?(:gke_policy)
1180
1182
  @name = args[:name] if args.key?(:name)
1181
1183
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -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.37.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240607"
25
+ REVISION = "20241115"
26
26
  end
27
27
  end
28
28
  end
@@ -603,6 +603,7 @@ module Google
603
603
  # @private
604
604
  class Representation < Google::Apis::Core::JsonRepresentation
605
605
  property :description, as: 'description'
606
+ property :etag, as: 'etag'
606
607
  property :gke_policy, as: 'gkePolicy', class: Google::Apis::BinaryauthorizationV1::GkePolicy, decorator: Google::Apis::BinaryauthorizationV1::GkePolicy::Representation
607
608
 
608
609
  property :name, as: 'name'
@@ -536,6 +536,9 @@ module Google
536
536
  # @param [String] name
537
537
  # Required. The name of the platform policy to delete, in the format `projects/*/
538
538
  # platforms/*/policies/*`.
539
+ # @param [String] etag
540
+ # Optional. Used to prevent deleting the policy when another request has updated
541
+ # it since it was retrieved.
539
542
  # @param [String] fields
540
543
  # Selector specifying which fields to include in a partial response.
541
544
  # @param [String] quota_user
@@ -553,11 +556,12 @@ module Google
553
556
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
554
557
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
555
558
  # @raise [Google::Apis::AuthorizationError] Authorization is required
556
- def delete_project_platform_policy(name, fields: nil, quota_user: nil, options: nil, &block)
559
+ def delete_project_platform_policy(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
557
560
  command = make_simple_command(:delete, 'v1/{+name}', options)
558
561
  command.response_representation = Google::Apis::BinaryauthorizationV1::Empty::Representation
559
562
  command.response_class = Google::Apis::BinaryauthorizationV1::Empty
560
563
  command.params['name'] = name unless name.nil?
564
+ command.query['etag'] = etag unless etag.nil?
561
565
  command.query['fields'] = fields unless fields.nil?
562
566
  command.query['quotaUser'] = quota_user unless quota_user.nil?
563
567
  execute_or_queue_command(command, &block)
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.37.0
4
+ version: 0.39.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: 2024-06-16 00:00:00.000000000 Z
11
+ date: 2024-12-04 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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/v0.39.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.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Binary Authorization API V1