google-apis-binaryauthorization_v1 0.36.0 → 0.38.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: 7a17322c797ace4ee1a6e3291238d4a24dcc77c69d1b57e27d3e6d3e52423be9
4
- data.tar.gz: c276842399447bf23f40defb88da540046fc997477696c3519da1d33ec0c1f19
3
+ metadata.gz: 435cc55beb38420da6298544823b8f9c277b1716826b2cdda710a84d3014bb3b
4
+ data.tar.gz: 90f6a4a23576c45bc3e1f5969e06bb8e8fbefb96a94fdbdb52bee486a30e6f24
5
5
  SHA512:
6
- metadata.gz: f5eca75f53efe9c685b4b1ed8ef22b31f07f2971a29918f5c071e051f1a5ea9c50553f5ec5fcd06436b27a5f47e4e0e0184e887f1ce1656fc9b788fc3eae0cef
7
- data.tar.gz: 9e655a4fe5ec85a3d02e8d0c31d2039818054b8c874111f6edd6be16782012661901696103fe555d5b76be95c5b17629666aad777ea100131649856c4eb13f64
6
+ metadata.gz: ab10dd8ba7f4ee46b4ea53250cf01e9178b029ce605d11b7945d8e7dda0f5cea5dcec54f82f66845945461a79845bf91ce502d0a6766d9b3a7a73a1960d1567a
7
+ data.tar.gz: 89710df330f30c210d65134c49a0f31dcb4c469bac1b90fdde6401ebde0c1230c999fcbf77d27857b3b52f54a6d9e32d83add0f559e52abfe41d6a9ae15aaeac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-binaryauthorization_v1
2
2
 
3
+ ### v0.38.0 (2024-06-23)
4
+
5
+ * Regenerated from discovery document revision 20240614
6
+
7
+ ### v0.37.0 (2024-06-16)
8
+
9
+ * Regenerated from discovery document revision 20240607
10
+
3
11
  ### v0.36.0 (2024-06-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20240524
@@ -1082,15 +1082,15 @@ module Google
1082
1082
 
1083
1083
  # Optional. The ID of this public key. Signatures verified by Binary
1084
1084
  # Authorization must include the ID of the public key that can be used to verify
1085
- # them, and that ID must match the contents of this field exactly. This may be
1086
- # explicitly provided by the caller, but it MUST be a valid RFC3986 URI. If `
1087
- # key_id` is left blank and this `PkixPublicKey` is not used in the context of a
1088
- # wrapper (see next paragraph), a default key ID will be computed based on the
1089
- # digest of the DER encoding of the public key. If this `PkixPublicKey` is used
1090
- # in the context of a wrapper that has its own notion of key ID (e.g. `
1091
- # AttestorPublicKey`), then this field can either: * Match that value exactly. *
1092
- # Or be left blank, in which case it behaves exactly as though it is equal to
1093
- # that wrapper value.
1085
+ # them. The ID must match exactly contents of the `key_id` field exactly. The ID
1086
+ # may be explicitly provided by the caller, but it MUST be a valid RFC3986 URI.
1087
+ # If `key_id` is left blank and this `PkixPublicKey` is not used in the context
1088
+ # of a wrapper (see next paragraph), a default key ID will be computed based on
1089
+ # the digest of the DER encoding of the public key. If this `PkixPublicKey` is
1090
+ # used in the context of a wrapper that has its own notion of key ID (e.g. `
1091
+ # AttestorPublicKey`), then this field can either match that value exactly, or
1092
+ # be left blank, in which case it behaves exactly as though it is equal to that
1093
+ # wrapper value.
1094
1094
  # Corresponds to the JSON property `keyId`
1095
1095
  # @return [String]
1096
1096
  attr_accessor :key_id
@@ -1152,6 +1152,12 @@ module Google
1152
1152
  # @return [String]
1153
1153
  attr_accessor :description
1154
1154
 
1155
+ # Optional. Used to prevent updating the policy when another request has updated
1156
+ # it since it was retrieved.
1157
+ # Corresponds to the JSON property `etag`
1158
+ # @return [String]
1159
+ attr_accessor :etag
1160
+
1155
1161
  # A Binary Authorization policy for a GKE cluster. This is one type of policy
1156
1162
  # that can occur as a `PlatformPolicy`.
1157
1163
  # Corresponds to the JSON property `gkePolicy`
@@ -1176,6 +1182,7 @@ module Google
1176
1182
  # Update properties of this object
1177
1183
  def update!(**args)
1178
1184
  @description = args[:description] if args.key?(:description)
1185
+ @etag = args[:etag] if args.key?(:etag)
1179
1186
  @gke_policy = args[:gke_policy] if args.key?(:gke_policy)
1180
1187
  @name = args[:name] if args.key?(:name)
1181
1188
  @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.36.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240524"
25
+ REVISION = "20240614"
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.36.0
4
+ version: 0.38.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-02 00:00:00.000000000 Z
11
+ date: 2024-06-23 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.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/v0.38.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: []