google-apis-binaryauthorization_v1 0.37.0 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/binaryauthorization_v1/classes.rb +7 -0
- data/lib/google/apis/binaryauthorization_v1/gem_version.rb +2 -2
- data/lib/google/apis/binaryauthorization_v1/representations.rb +1 -0
- data/lib/google/apis/binaryauthorization_v1/service.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 435cc55beb38420da6298544823b8f9c277b1716826b2cdda710a84d3014bb3b
|
4
|
+
data.tar.gz: 90f6a4a23576c45bc3e1f5969e06bb8e8fbefb96a94fdbdb52bee486a30e6f24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab10dd8ba7f4ee46b4ea53250cf01e9178b029ce605d11b7945d8e7dda0f5cea5dcec54f82f66845945461a79845bf91ce502d0a6766d9b3a7a73a1960d1567a
|
7
|
+
data.tar.gz: 89710df330f30c210d65134c49a0f31dcb4c469bac1b90fdde6401ebde0c1230c999fcbf77d27857b3b52f54a6d9e32d83add0f559e52abfe41d6a9ae15aaeac
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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 = "
|
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.
|
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-
|
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.
|
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: []
|