google-apis-iap_v1 0.23.0 → 0.24.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: 9b413b23b7f7c1eeee9db78c639f4e613a4a99587e5e044eab7582004b03be5e
4
- data.tar.gz: f4a3ad517177d6badb7a72575807620baade37a363c95c6738183d14aea3a112
3
+ metadata.gz: c96a10df7809a553e6d86efe14a3b24e84e2d7a917d82719d6e71950171370b7
4
+ data.tar.gz: '09ea79b60e2be18d6762b7c2d533a782e33aeb14506170d08e87ecc3cc657cea'
5
5
  SHA512:
6
- metadata.gz: 7b201df548f00e8af8e78c67f7227670a70c35299cf56a7185a005168d9aa2ea5659ff506a49fab43f7c49fa6f8b4570769d322e091c09b3460a25182d1a9d51
7
- data.tar.gz: 157685fad3fc955b2c7878e677efa33d7f3612b02c07e100d79eb1a17c963b365a84da420d453626c4ada28da1243ce1f57cdea6c6b13ec4e663026d0e5fd34a
6
+ metadata.gz: 8605a91f018538c69e48bb21273e91bbbc7cec4d8d9fd252d31ce3044ff3113d894cb9092887a09e70d65f29d899d5b53fa813a67953a5f6245559383bf65c46
7
+ data.tar.gz: b75bc8369c7d0b37d4fa55c1440a4235bfba238b82bd1cf77d8c40f1f001fab0d4be95ef1e6368e51138f7de692ef724b02150aa5fcabf13be7280ea6f861446
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-iap_v1
2
2
 
3
+ ### v0.24.0 (2022-08-24)
4
+
5
+ * Regenerated from discovery document revision 20220822
6
+
3
7
  ### v0.23.0 (2022-08-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20220805
@@ -155,6 +155,13 @@ module Google
155
155
  # @return [Google::Apis::IapV1::AccessDeniedPageSettings]
156
156
  attr_accessor :access_denied_page_settings
157
157
 
158
+ # Configuration for propagating attributes to customer applications protected by
159
+ # IAP. These attributes may be SAML attributes from a 3rd party IdP, or
160
+ # potentially other sources in the future.
161
+ # Corresponds to the JSON property `attributePropagationSettings`
162
+ # @return [Google::Apis::IapV1::AttributePropagationSettings]
163
+ attr_accessor :attribute_propagation_settings
164
+
158
165
  # The Domain value to set for cookies generated by IAP. This value is not
159
166
  # validated by the API, but will be ignored at runtime if invalid.
160
167
  # Corresponds to the JSON property `cookieDomain`
@@ -176,11 +183,54 @@ module Google
176
183
  # Update properties of this object
177
184
  def update!(**args)
178
185
  @access_denied_page_settings = args[:access_denied_page_settings] if args.key?(:access_denied_page_settings)
186
+ @attribute_propagation_settings = args[:attribute_propagation_settings] if args.key?(:attribute_propagation_settings)
179
187
  @cookie_domain = args[:cookie_domain] if args.key?(:cookie_domain)
180
188
  @csm_settings = args[:csm_settings] if args.key?(:csm_settings)
181
189
  end
182
190
  end
183
191
 
192
+ # Configuration for propagating attributes to customer applications protected by
193
+ # IAP. These attributes may be SAML attributes from a 3rd party IdP, or
194
+ # potentially other sources in the future.
195
+ class AttributePropagationSettings
196
+ include Google::Apis::Core::Hashable
197
+
198
+ # Whether the provided attribute propagation settings should be evaluated on
199
+ # user requests. If set to true, attributes returned from the expression will be
200
+ # propagated in the set output credentials.
201
+ # Corresponds to the JSON property `enable`
202
+ # @return [Boolean]
203
+ attr_accessor :enable
204
+ alias_method :enable?, :enable
205
+
206
+ # Raw string CEL expression. Expression should be of the form attributes.
207
+ # saml_attributes.filter(attribute, attribute.name in [`attribute_list`]). An
208
+ # example expression to select the attributes "my_attr" and "other_attr":
209
+ # attributes.saml_attributes.filter(attribute, attribute.name in ["my_attr", "
210
+ # other_attr"])
211
+ # Corresponds to the JSON property `expression`
212
+ # @return [String]
213
+ attr_accessor :expression
214
+
215
+ # Which output credentials attributes selected by the CEL expression should be
216
+ # propagated in. All attributes will be fully duplicated in each selected output
217
+ # credential.
218
+ # Corresponds to the JSON property `outputCredentials`
219
+ # @return [Array<String>]
220
+ attr_accessor :output_credentials
221
+
222
+ def initialize(**args)
223
+ update!(**args)
224
+ end
225
+
226
+ # Update properties of this object
227
+ def update!(**args)
228
+ @enable = args[:enable] if args.key?(:enable)
229
+ @expression = args[:expression] if args.key?(:expression)
230
+ @output_credentials = args[:output_credentials] if args.key?(:output_credentials)
231
+ end
232
+ end
233
+
184
234
  # Associates `members`, or principals, with a `role`.
185
235
  class Binding
186
236
  include Google::Apis::Core::Hashable
@@ -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.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220805"
25
+ REVISION = "20220822"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class AttributePropagationSettings
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Binding
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -236,12 +242,23 @@ module Google
236
242
  class Representation < Google::Apis::Core::JsonRepresentation
237
243
  property :access_denied_page_settings, as: 'accessDeniedPageSettings', class: Google::Apis::IapV1::AccessDeniedPageSettings, decorator: Google::Apis::IapV1::AccessDeniedPageSettings::Representation
238
244
 
245
+ property :attribute_propagation_settings, as: 'attributePropagationSettings', class: Google::Apis::IapV1::AttributePropagationSettings, decorator: Google::Apis::IapV1::AttributePropagationSettings::Representation
246
+
239
247
  property :cookie_domain, as: 'cookieDomain'
240
248
  property :csm_settings, as: 'csmSettings', class: Google::Apis::IapV1::CsmSettings, decorator: Google::Apis::IapV1::CsmSettings::Representation
241
249
 
242
250
  end
243
251
  end
244
252
 
253
+ class AttributePropagationSettings
254
+ # @private
255
+ class Representation < Google::Apis::Core::JsonRepresentation
256
+ property :enable, as: 'enable'
257
+ property :expression, as: 'expression'
258
+ collection :output_credentials, as: 'outputCredentials'
259
+ end
260
+ end
261
+
245
262
  class Binding
246
263
  # @private
247
264
  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.23.0
4
+ version: 0.24.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-08-15 00:00:00.000000000 Z
11
+ date: 2022-08-29 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-iap_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.24.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: []