google-apis-iap_v1 0.22.0 → 0.25.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: 0b67bc8c06c93520a000c453622e990e98edfe64fa92f91169492814bbab4a97
4
- data.tar.gz: 3d54743bff295267035dd759762213d114b9985d89ef4851bed66bcb3aea6296
3
+ metadata.gz: 1926ffb845f738e68fb407d3268a266b25773a235d322cca8ebed09893893d92
4
+ data.tar.gz: 9f14d3e12cbad141194711a8380db73cf4522040881e268dfbaa876430532946
5
5
  SHA512:
6
- metadata.gz: c132986e6ac98b74809b2aabf1b51ab3e3a63aab66be3a2971b336909c8b72267f3ec94e3a26742e8ca3d6411964c98ca0e844548358617ba51c9c95d01ed136
7
- data.tar.gz: 824c5980059fadd438b26e10823379c5236566835d0694d074320168687c9bf8a035fec2f33b7da84e451597c0b8a562908e47a5609439790cdcfc7c5ba3ecae
6
+ metadata.gz: 44f0bdc656ec4a7a59b1ba34a6c4b5019e98867e757a9f329ad75f8eddbf483800313aaad9ed4630adb0707e9cd5a1ca8419d3265f386da960e0b75f7884c757
7
+ data.tar.gz: 75820318de6093b1392aea52667a92e34219088bf0e693fdb25576c30b65b47a97eb70b461245bd744d13d9fa836208c6c7d330faecb9f7705296ca64dad4a33
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-iap_v1
2
2
 
3
+ ### v0.25.0 (2022-08-31)
4
+
5
+ * Regenerated from discovery document revision 20220829
6
+
7
+ ### v0.24.0 (2022-08-24)
8
+
9
+ * Regenerated from discovery document revision 20220822
10
+
11
+ ### v0.23.0 (2022-08-09)
12
+
13
+ * Regenerated from discovery document revision 20220805
14
+
3
15
  ### v0.22.0 (2022-08-03)
4
16
 
5
17
  * Regenerated from discovery document revision 20220729
@@ -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
@@ -208,28 +258,33 @@ module Google
208
258
  # members` can have the following values: * `allUsers`: A special identifier
209
259
  # that represents anyone who is on the internet; with or without a Google
210
260
  # account. * `allAuthenticatedUsers`: A special identifier that represents
211
- # anyone who is authenticated with a Google account or a service account. * `
212
- # user:`emailid``: An email address that represents a specific Google account.
213
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
214
- # address that represents a service account. For example, `my-other-app@appspot.
215
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
216
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
217
- # `uniqueid``: An email address (plus unique identifier) representing a user
218
- # that has been recently deleted. For example, `alice@example.com?uid=
219
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
220
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
221
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
222
- # identifier) representing a service account that has been recently deleted. For
223
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
224
- # If the service account is undeleted, this value reverts to `serviceAccount:`
225
- # emailid`` and the undeleted service account retains the role in the binding. *
226
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
227
- # identifier) representing a Google group that has been recently deleted. For
228
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
229
- # recovered, this value reverts to `group:`emailid`` and the recovered group
230
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
231
- # primary) that represents all the users of that domain. For example, `google.
232
- # com` or `example.com`.
261
+ # anyone who is authenticated with a Google account or a service account. Does
262
+ # not include identities that come from external identity providers (IdPs)
263
+ # through identity federation. * `user:`emailid``: An email address that
264
+ # represents a specific Google account. For example, `alice@example.com` . * `
265
+ # serviceAccount:`emailid``: An email address that represents a Google service
266
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
267
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
268
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
269
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
270
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
271
+ # email address that represents a Google group. For example, `admins@example.com`
272
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
273
+ # identifier) representing a user that has been recently deleted. For example, `
274
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
275
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
276
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
277
+ # address (plus unique identifier) representing a service account that has been
278
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
279
+ # 123456789012345678901`. If the service account is undeleted, this value
280
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
281
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
282
+ # An email address (plus unique identifier) representing a Google group that has
283
+ # been recently deleted. For example, `admins@example.com?uid=
284
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
285
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
286
+ # domain:`domain``: The G Suite domain (primary) that represents all the users
287
+ # of that domain. For example, `google.com` or `example.com`.
233
288
  # Corresponds to the JSON property `members`
234
289
  # @return [Array<String>]
235
290
  attr_accessor :members
@@ -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.22.0"
19
+ GEM_VERSION = "0.25.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 = "20220729"
25
+ REVISION = "20220829"
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.22.0
4
+ version: 0.25.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-08 00:00:00.000000000 Z
11
+ date: 2022-09-05 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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.25.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: []