google-apis-accessapproval_v1 0.41.0 → 0.42.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e111969d787a6d124b8ab328909c3cc8a2e8d15f35a3dfda4e9c8be098b71c6a
|
4
|
+
data.tar.gz: 6e02bef7ceb8494d84fc05b726436f4149a3a7e824f802fdf91612ae0bf5eae6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4c7a70561cbc77095d26c1583447737c227bc887a36a17f1718bb35d4a8722660bb49d84b6bfe8b9fd0fbc148db49b8c688c53bd12fe1e0721ec42e885f15ff
|
7
|
+
data.tar.gz: a9351c1f706e12f53598baa1489f542c9ef7e6eeb69aa5ceaf2718cf19d73007167577fd81fe9d72f5230c10fde9a9eafa0e33f41c97380be98a0f432325e42e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-accessapproval_v1
|
2
2
|
|
3
|
+
### v0.42.0 (2025-04-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250411
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.41.0 (2024-08-25)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240820
|
@@ -71,6 +71,16 @@ module Google
|
|
71
71
|
attr_accessor :ancestor_has_active_key_version
|
72
72
|
alias_method :ancestor_has_active_key_version?, :ancestor_has_active_key_version
|
73
73
|
|
74
|
+
# Represents all the policies that can be set for Customer Approval.
|
75
|
+
# Corresponds to the JSON property `approvalPolicy`
|
76
|
+
# @return [Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy]
|
77
|
+
attr_accessor :approval_policy
|
78
|
+
|
79
|
+
# Represents all the policies that can be set for Customer Approval.
|
80
|
+
# Corresponds to the JSON property `effectiveApprovalPolicy`
|
81
|
+
# @return [Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy]
|
82
|
+
attr_accessor :effective_approval_policy
|
83
|
+
|
74
84
|
# Output only. This field is read only (not settable via
|
75
85
|
# UpdateAccessApprovalSettings method). If the field is true, that indicates
|
76
86
|
# that at least one service is enrolled for Access Approval in one or more
|
@@ -162,6 +172,8 @@ module Google
|
|
162
172
|
def update!(**args)
|
163
173
|
@active_key_version = args[:active_key_version] if args.key?(:active_key_version)
|
164
174
|
@ancestor_has_active_key_version = args[:ancestor_has_active_key_version] if args.key?(:ancestor_has_active_key_version)
|
175
|
+
@approval_policy = args[:approval_policy] if args.key?(:approval_policy)
|
176
|
+
@effective_approval_policy = args[:effective_approval_policy] if args.key?(:effective_approval_policy)
|
165
177
|
@enrolled_ancestor = args[:enrolled_ancestor] if args.key?(:enrolled_ancestor)
|
166
178
|
@enrolled_services = args[:enrolled_services] if args.key?(:enrolled_services)
|
167
179
|
@invalid_key_version = args[:invalid_key_version] if args.key?(:invalid_key_version)
|
@@ -364,6 +376,12 @@ module Google
|
|
364
376
|
# @return [String]
|
365
377
|
attr_accessor :invalidate_time
|
366
378
|
|
379
|
+
# True when the request has been approved by the customer's defined policy.
|
380
|
+
# Corresponds to the JSON property `policyApproved`
|
381
|
+
# @return [Boolean]
|
382
|
+
attr_accessor :policy_approved
|
383
|
+
alias_method :policy_approved?, :policy_approved
|
384
|
+
|
367
385
|
# Information about the digital signature of the resource.
|
368
386
|
# Corresponds to the JSON property `signatureInfo`
|
369
387
|
# @return [Google::Apis::AccessapprovalV1::SignatureInfo]
|
@@ -379,6 +397,7 @@ module Google
|
|
379
397
|
@auto_approved = args[:auto_approved] if args.key?(:auto_approved)
|
380
398
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
381
399
|
@invalidate_time = args[:invalidate_time] if args.key?(:invalidate_time)
|
400
|
+
@policy_approved = args[:policy_approved] if args.key?(:policy_approved)
|
382
401
|
@signature_info = args[:signature_info] if args.key?(:signature_info)
|
383
402
|
end
|
384
403
|
end
|
@@ -403,6 +422,25 @@ module Google
|
|
403
422
|
end
|
404
423
|
end
|
405
424
|
|
425
|
+
# Represents all the policies that can be set for Customer Approval.
|
426
|
+
class CustomerApprovalApprovalPolicy
|
427
|
+
include Google::Apis::Core::Hashable
|
428
|
+
|
429
|
+
# Optional. Policy for approval based on the justification given.
|
430
|
+
# Corresponds to the JSON property `justificationBasedApprovalPolicy`
|
431
|
+
# @return [String]
|
432
|
+
attr_accessor :justification_based_approval_policy
|
433
|
+
|
434
|
+
def initialize(**args)
|
435
|
+
update!(**args)
|
436
|
+
end
|
437
|
+
|
438
|
+
# Update properties of this object
|
439
|
+
def update!(**args)
|
440
|
+
@justification_based_approval_policy = args[:justification_based_approval_policy] if args.key?(:justification_based_approval_policy)
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
406
444
|
# Request to dismiss an approval request.
|
407
445
|
class DismissApprovalRequestMessage
|
408
446
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.42.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250411"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class CustomerApprovalApprovalPolicy
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class DismissApprovalRequestMessage
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -131,6 +137,10 @@ module Google
|
|
131
137
|
class Representation < Google::Apis::Core::JsonRepresentation
|
132
138
|
property :active_key_version, as: 'activeKeyVersion'
|
133
139
|
property :ancestor_has_active_key_version, as: 'ancestorHasActiveKeyVersion'
|
140
|
+
property :approval_policy, as: 'approvalPolicy', class: Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy, decorator: Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy::Representation
|
141
|
+
|
142
|
+
property :effective_approval_policy, as: 'effectiveApprovalPolicy', class: Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy, decorator: Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy::Representation
|
143
|
+
|
134
144
|
property :enrolled_ancestor, as: 'enrolledAncestor'
|
135
145
|
collection :enrolled_services, as: 'enrolledServices', class: Google::Apis::AccessapprovalV1::EnrolledService, decorator: Google::Apis::AccessapprovalV1::EnrolledService::Representation
|
136
146
|
|
@@ -198,6 +208,7 @@ module Google
|
|
198
208
|
property :auto_approved, as: 'autoApproved'
|
199
209
|
property :expire_time, as: 'expireTime'
|
200
210
|
property :invalidate_time, as: 'invalidateTime'
|
211
|
+
property :policy_approved, as: 'policyApproved'
|
201
212
|
property :signature_info, as: 'signatureInfo', class: Google::Apis::AccessapprovalV1::SignatureInfo, decorator: Google::Apis::AccessapprovalV1::SignatureInfo::Representation
|
202
213
|
|
203
214
|
end
|
@@ -210,6 +221,13 @@ module Google
|
|
210
221
|
end
|
211
222
|
end
|
212
223
|
|
224
|
+
class CustomerApprovalApprovalPolicy
|
225
|
+
# @private
|
226
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
227
|
+
property :justification_based_approval_policy, as: 'justificationBasedApprovalPolicy'
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
213
231
|
class DismissApprovalRequestMessage
|
214
232
|
# @private
|
215
233
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-accessapproval_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.42.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-20 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-accessapproval_v1/v0.42.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-accessapproval_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Access Approval API V1
|
82
79
|
test_files: []
|