google-apis-accessapproval_v1 0.32.0 → 0.34.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: 67f70eabe7c30111c25ea69300490aa722a8e559276892bf37ac07a922a1663b
4
- data.tar.gz: b145e32a1d25915dc44ee9fc274d40bf39074de5c67c9fd09edf639c8668866f
3
+ metadata.gz: 99f899222a2b92cd1d75ecaebb849d4f8b01f472c4f95d429e0d52bcf703ab95
4
+ data.tar.gz: bb20564a5924aea941eedb9c3c4cbc63a8e0a51568cedfa9c5a6a7c632320dcd
5
5
  SHA512:
6
- metadata.gz: 4cd377855a86bfa54516284c9a54cbfbbb1383a786f2c18ba76da1ac2e1cee4a51e784072efefffc979a57ed5939c827ae3cf70902205d1fc78b7a9d6eb749f9
7
- data.tar.gz: 4532cd3f86884f520814c429e413650add1be1c81bcfb758b7ac1428b053a222bf2a197c31f4bd49d6f77a792b007aa1f063f7dc78a7b5e229319baf20924131
6
+ metadata.gz: f4f6ad204aa763f8f7b21d6e7b3a6df719124190fb40d4b8f8eb2889f9edad32075c6a36a7a1b6de6443753ef739dac3088e4be90dcdfac4caf3f82a56184c23
7
+ data.tar.gz: 75da760c40f168315322323afa9450529ba7fb582642188e616eecb2ac304deed487f402a127e1cc744880b1209f5e1888f949fc346bc3c74e7e60c6ece35cc0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-accessapproval_v1
2
2
 
3
+ ### v0.34.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231110
6
+
7
+ ### v0.33.0 (2023-10-29)
8
+
9
+ * Regenerated from discovery document revision 20231020
10
+
3
11
  ### v0.32.0 (2023-09-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20230915
@@ -245,8 +245,13 @@ module Google
245
245
  # @return [String]
246
246
  attr_accessor :request_time
247
247
 
248
- # The requested expiration for the approval. If the request is approved, access
249
- # will be granted from the time of approval until the expiration time.
248
+ # The requested access duration.
249
+ # Corresponds to the JSON property `requestedDuration`
250
+ # @return [String]
251
+ attr_accessor :requested_duration
252
+
253
+ # The original requested expiration for the approval. Calculated by adding the
254
+ # requested_duration to the request_time.
250
255
  # Corresponds to the JSON property `requestedExpiration`
251
256
  # @return [String]
252
257
  attr_accessor :requested_expiration
@@ -285,6 +290,7 @@ module Google
285
290
  @dismiss = args[:dismiss] if args.key?(:dismiss)
286
291
  @name = args[:name] if args.key?(:name)
287
292
  @request_time = args[:request_time] if args.key?(:request_time)
293
+ @requested_duration = args[:requested_duration] if args.key?(:requested_duration)
288
294
  @requested_expiration = args[:requested_expiration] if args.key?(:requested_expiration)
289
295
  @requested_locations = args[:requested_locations] if args.key?(:requested_locations)
290
296
  @requested_reason = args[:requested_reason] if args.key?(:requested_reason)
@@ -527,6 +533,12 @@ module Google
527
533
  # @return [String]
528
534
  attr_accessor :customer_kms_key_version
529
535
 
536
+ # The hashing algorithm used for signature verification. It will only be present
537
+ # in the case of Google managed keys.
538
+ # Corresponds to the JSON property `googleKeyAlgorithm`
539
+ # @return [String]
540
+ attr_accessor :google_key_algorithm
541
+
530
542
  # The public key for the Google default signing, encoded in PEM format. The
531
543
  # signature was created using a private key which may be verified using this
532
544
  # public key.
@@ -534,6 +546,13 @@ module Google
534
546
  # @return [String]
535
547
  attr_accessor :google_public_key_pem
536
548
 
549
+ # The serialized ApprovalRequest message without the approve.signature_info
550
+ # field. This to allow the customer to verify signatures if they want to.
551
+ # Corresponds to the JSON property `serializedApprovalRequest`
552
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
553
+ # @return [String]
554
+ attr_accessor :serialized_approval_request
555
+
537
556
  # The digital signature.
538
557
  # Corresponds to the JSON property `signature`
539
558
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -547,7 +566,9 @@ module Google
547
566
  # Update properties of this object
548
567
  def update!(**args)
549
568
  @customer_kms_key_version = args[:customer_kms_key_version] if args.key?(:customer_kms_key_version)
569
+ @google_key_algorithm = args[:google_key_algorithm] if args.key?(:google_key_algorithm)
550
570
  @google_public_key_pem = args[:google_public_key_pem] if args.key?(:google_public_key_pem)
571
+ @serialized_approval_request = args[:serialized_approval_request] if args.key?(:serialized_approval_request)
551
572
  @signature = args[:signature] if args.key?(:signature)
552
573
  end
553
574
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AccessapprovalV1
18
18
  # Version of the google-apis-accessapproval_v1 gem
19
- GEM_VERSION = "0.32.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230915"
25
+ REVISION = "20231110"
26
26
  end
27
27
  end
28
28
  end
@@ -162,6 +162,7 @@ module Google
162
162
 
163
163
  property :name, as: 'name'
164
164
  property :request_time, as: 'requestTime'
165
+ property :requested_duration, as: 'requestedDuration'
165
166
  property :requested_expiration, as: 'requestedExpiration'
166
167
  property :requested_locations, as: 'requestedLocations', class: Google::Apis::AccessapprovalV1::AccessLocations, decorator: Google::Apis::AccessapprovalV1::AccessLocations::Representation
167
168
 
@@ -246,7 +247,9 @@ module Google
246
247
  # @private
247
248
  class Representation < Google::Apis::Core::JsonRepresentation
248
249
  property :customer_kms_key_version, as: 'customerKmsKeyVersion'
250
+ property :google_key_algorithm, as: 'googleKeyAlgorithm'
249
251
  property :google_public_key_pem, as: 'googlePublicKeyPem'
252
+ property :serialized_approval_request, :base64 => true, as: 'serializedApprovalRequest'
250
253
  property :signature, :base64 => true, as: 'signature'
251
254
  end
252
255
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-accessapproval_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.34.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: 2023-09-24 00:00:00.000000000 Z
11
+ date: 2023-11-19 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-accessapproval_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-accessapproval_v1/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-accessapproval_v1/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-accessapproval_v1
63
63
  post_install_message:
64
64
  rdoc_options: []