google-apis-iap_v1 0.19.0 → 0.22.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: bdf49c71a944aa8e1bc6c2b2839e754ff2d4ab193aef5d81bee43457c4e9dcce
4
- data.tar.gz: c5b8962522ebc61de5a8d62a08023d8d74a2be746c0261cb691d31492cad810c
3
+ metadata.gz: 0b67bc8c06c93520a000c453622e990e98edfe64fa92f91169492814bbab4a97
4
+ data.tar.gz: 3d54743bff295267035dd759762213d114b9985d89ef4851bed66bcb3aea6296
5
5
  SHA512:
6
- metadata.gz: c91548c655189d2d4dc2c03de390831be9be7e9f6accf902ad737801e5b09da82abb06879cc7c90960c0402b12a040cd95d6c011400a4d2ceb6ae150fa585293
7
- data.tar.gz: 990794cc4d89fde40c7c16ee45b5c9d2db75705bb58d1d4e95f5e05ddc801e64122d9bdaaad793d7d61b823bc7694102aad64aaf1667b9b570ea5b40dcd6f173
6
+ metadata.gz: c132986e6ac98b74809b2aabf1b51ab3e3a63aab66be3a2971b336909c8b72267f3ec94e3a26742e8ca3d6411964c98ca0e844548358617ba51c9c95d01ed136
7
+ data.tar.gz: 824c5980059fadd438b26e10823379c5236566835d0694d074320168687c9bf8a035fec2f33b7da84e451597c0b8a562908e47a5609439790cdcfc7c5ba3ecae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-iap_v1
2
2
 
3
+ ### v0.22.0 (2022-08-03)
4
+
5
+ * Regenerated from discovery document revision 20220729
6
+
7
+ ### v0.21.0 (2022-07-19)
8
+
9
+ * Regenerated from discovery document revision 20220715
10
+ * Regenerated using generator version 0.9.0
11
+
12
+ ### v0.20.0 (2022-06-30)
13
+
14
+ * Regenerated using generator version 0.8.0
15
+
3
16
  ### v0.19.0 (2022-06-21)
4
17
 
5
18
  * Regenerated using generator version 0.7.0
@@ -41,6 +41,13 @@ module Google
41
41
  attr_accessor :generate_troubleshooting_uri
42
42
  alias_method :generate_troubleshooting_uri?, :generate_troubleshooting_uri
43
43
 
44
+ # Whether to generate remediation token on access denied events to this
45
+ # application.
46
+ # Corresponds to the JSON property `remediationTokenGenerationEnabled`
47
+ # @return [Boolean]
48
+ attr_accessor :remediation_token_generation_enabled
49
+ alias_method :remediation_token_generation_enabled?, :remediation_token_generation_enabled
50
+
44
51
  def initialize(**args)
45
52
  update!(**args)
46
53
  end
@@ -49,6 +56,7 @@ module Google
49
56
  def update!(**args)
50
57
  @access_denied_page_uri = args[:access_denied_page_uri] if args.key?(:access_denied_page_uri)
51
58
  @generate_troubleshooting_uri = args[:generate_troubleshooting_uri] if args.key?(:generate_troubleshooting_uri)
59
+ @remediation_token_generation_enabled = args[:remediation_token_generation_enabled] if args.key?(:remediation_token_generation_enabled)
52
60
  end
53
61
  end
54
62
 
@@ -56,6 +64,12 @@ module Google
56
64
  class AccessSettings
57
65
  include Google::Apis::Core::Hashable
58
66
 
67
+ # Configuration for IAP allowed domains. Lets you to restrict access to an app
68
+ # and allow access to only the domains that you list.
69
+ # Corresponds to the JSON property `allowedDomainsSettings`
70
+ # @return [Google::Apis::IapV1::AllowedDomainsSettings]
71
+ attr_accessor :allowed_domains_settings
72
+
59
73
  # Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS
60
74
  # call to bypass authentication and authorization.
61
75
  # Corresponds to the JSON property `corsSettings`
@@ -93,6 +107,7 @@ module Google
93
107
 
94
108
  # Update properties of this object
95
109
  def update!(**args)
110
+ @allowed_domains_settings = args[:allowed_domains_settings] if args.key?(:allowed_domains_settings)
96
111
  @cors_settings = args[:cors_settings] if args.key?(:cors_settings)
97
112
  @gcip_settings = args[:gcip_settings] if args.key?(:gcip_settings)
98
113
  @oauth_settings = args[:oauth_settings] if args.key?(:oauth_settings)
@@ -101,6 +116,33 @@ module Google
101
116
  end
102
117
  end
103
118
 
119
+ # Configuration for IAP allowed domains. Lets you to restrict access to an app
120
+ # and allow access to only the domains that you list.
121
+ class AllowedDomainsSettings
122
+ include Google::Apis::Core::Hashable
123
+
124
+ # List of trusted domains.
125
+ # Corresponds to the JSON property `domains`
126
+ # @return [Array<String>]
127
+ attr_accessor :domains
128
+
129
+ # Configuration for customers to opt in for the feature.
130
+ # Corresponds to the JSON property `enable`
131
+ # @return [Boolean]
132
+ attr_accessor :enable
133
+ alias_method :enable?, :enable
134
+
135
+ def initialize(**args)
136
+ update!(**args)
137
+ end
138
+
139
+ # Update properties of this object
140
+ def update!(**args)
141
+ @domains = args[:domains] if args.key?(:domains)
142
+ @enable = args[:enable] if args.key?(:enable)
143
+ end
144
+ end
145
+
104
146
  # Wrapper over application specific settings for IAP.
105
147
  class ApplicationSettings
106
148
  include Google::Apis::Core::Hashable
@@ -119,10 +161,10 @@ module Google
119
161
  # @return [String]
120
162
  attr_accessor :cookie_domain
121
163
 
122
- # Configuration for RCTokens generated for service mesh workloads protected by
123
- # IAP. RCTokens are IAP generated JWTs that can be verified at the application.
164
+ # Configuration for RCToken generated for service mesh workloads protected by
165
+ # IAP. RCToken are IAP generated JWTs that can be verified at the application.
124
166
  # The RCToken is primarily used for service mesh deployments, and can be scoped
125
- # to a single mesh by configuring the audience field accordingly
167
+ # to a single mesh by configuring the audience field accordingly.
126
168
  # Corresponds to the JSON property `csmSettings`
127
169
  # @return [Google::Apis::IapV1::CsmSettings]
128
170
  attr_accessor :csm_settings
@@ -273,10 +315,10 @@ module Google
273
315
  end
274
316
  end
275
317
 
276
- # Configuration for RCTokens generated for service mesh workloads protected by
277
- # IAP. RCTokens are IAP generated JWTs that can be verified at the application.
318
+ # Configuration for RCToken generated for service mesh workloads protected by
319
+ # IAP. RCToken are IAP generated JWTs that can be verified at the application.
278
320
  # The RCToken is primarily used for service mesh deployments, and can be scoped
279
- # to a single mesh by configuring the audience field accordingly
321
+ # to a single mesh by configuring the audience field accordingly.
280
322
  class CsmSettings
281
323
  include Google::Apis::Core::Hashable
282
324
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IapV1
18
18
  # Version of the google-apis-iap_v1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220603"
25
+ REVISION = "20220729"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class AllowedDomainsSettings
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class ApplicationSettings
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -195,12 +201,15 @@ module Google
195
201
  class Representation < Google::Apis::Core::JsonRepresentation
196
202
  property :access_denied_page_uri, as: 'accessDeniedPageUri'
197
203
  property :generate_troubleshooting_uri, as: 'generateTroubleshootingUri'
204
+ property :remediation_token_generation_enabled, as: 'remediationTokenGenerationEnabled'
198
205
  end
199
206
  end
200
207
 
201
208
  class AccessSettings
202
209
  # @private
203
210
  class Representation < Google::Apis::Core::JsonRepresentation
211
+ property :allowed_domains_settings, as: 'allowedDomainsSettings', class: Google::Apis::IapV1::AllowedDomainsSettings, decorator: Google::Apis::IapV1::AllowedDomainsSettings::Representation
212
+
204
213
  property :cors_settings, as: 'corsSettings', class: Google::Apis::IapV1::CorsSettings, decorator: Google::Apis::IapV1::CorsSettings::Representation
205
214
 
206
215
  property :gcip_settings, as: 'gcipSettings', class: Google::Apis::IapV1::GcipSettings, decorator: Google::Apis::IapV1::GcipSettings::Representation
@@ -214,6 +223,14 @@ module Google
214
223
  end
215
224
  end
216
225
 
226
+ class AllowedDomainsSettings
227
+ # @private
228
+ class Representation < Google::Apis::Core::JsonRepresentation
229
+ collection :domains, as: 'domains'
230
+ property :enable, as: 'enable'
231
+ end
232
+ end
233
+
217
234
  class ApplicationSettings
218
235
  # @private
219
236
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-iap_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.22.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: 2022-06-27 00:00:00.000000000 Z
11
+ date: 2022-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.6'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-iap_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iap_v1
63
63
  post_install_message:
64
64
  rdoc_options: []