google-apis-iap_v1 0.20.0 → 0.23.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: c031283b6a0ffa3b7adb1a4573fbc787e1e5b7f00a2b1bc8fb73e825f81f67dc
4
- data.tar.gz: 7e555b1c514648e7b15322735160b5d6ed6346d8aed8869a4f61e4a9440459ca
3
+ metadata.gz: 9b413b23b7f7c1eeee9db78c639f4e613a4a99587e5e044eab7582004b03be5e
4
+ data.tar.gz: f4a3ad517177d6badb7a72575807620baade37a363c95c6738183d14aea3a112
5
5
  SHA512:
6
- metadata.gz: 54e1fb1f230c3b140a2850b90904acb2ffb3435a40eefc84f7b2203cdca54f8547761efd2a9b6d48c745d7146bf27791728515399d29b34606c47d6546530408
7
- data.tar.gz: d90df18f99cb468f0e34e22594bb21bcbcdf09617a858b8efc21089319edf65bed09358dbaaf755be25c4ac620acb4170178ff3d982f89f4ae5fbcab81253db9
6
+ metadata.gz: 7b201df548f00e8af8e78c67f7227670a70c35299cf56a7185a005168d9aa2ea5659ff506a49fab43f7c49fa6f8b4570769d322e091c09b3460a25182d1a9d51
7
+ data.tar.gz: 157685fad3fc955b2c7878e677efa33d7f3612b02c07e100d79eb1a17c963b365a84da420d453626c4ada28da1243ce1f57cdea6c6b13ec4e663026d0e5fd34a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-iap_v1
2
2
 
3
+ ### v0.23.0 (2022-08-09)
4
+
5
+ * Regenerated from discovery document revision 20220805
6
+
7
+ ### v0.22.0 (2022-08-03)
8
+
9
+ * Regenerated from discovery document revision 20220729
10
+
11
+ ### v0.21.0 (2022-07-19)
12
+
13
+ * Regenerated from discovery document revision 20220715
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.20.0 (2022-06-30)
4
17
 
5
18
  * Regenerated using generator version 0.8.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
@@ -169,25 +211,28 @@ module Google
169
211
  # anyone who is authenticated with a Google account or a service account. * `
170
212
  # user:`emailid``: An email address that represents a specific Google account.
171
213
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
172
- # address that represents a service account. For example, `my-other-app@appspot.
173
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
174
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
175
- # `uniqueid``: An email address (plus unique identifier) representing a user
176
- # that has been recently deleted. For example, `alice@example.com?uid=
177
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
178
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
179
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
180
- # identifier) representing a service account that has been recently deleted. For
181
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
182
- # If the service account is undeleted, this value reverts to `serviceAccount:`
183
- # emailid`` and the undeleted service account retains the role in the binding. *
184
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
185
- # identifier) representing a Google group that has been recently deleted. For
186
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
187
- # recovered, this value reverts to `group:`emailid`` and the recovered group
188
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
189
- # primary) that represents all the users of that domain. For example, `google.
190
- # com` or `example.com`.
214
+ # address that represents a Google service account. For example, `my-other-app@
215
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
216
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
217
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
218
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
219
+ # . * `group:`emailid``: An email address that represents a Google group. For
220
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
221
+ # email address (plus unique identifier) representing a user that has been
222
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
223
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
224
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
225
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
226
+ # representing a service account that has been recently deleted. For example, `
227
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
228
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
229
+ # and the undeleted service account retains the role in the binding. * `deleted:
230
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
231
+ # representing a Google group that has been recently deleted. For example, `
232
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
233
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
234
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
235
+ # all the users of that domain. For example, `google.com` or `example.com`.
191
236
  # Corresponds to the JSON property `members`
192
237
  # @return [Array<String>]
193
238
  attr_accessor :members
@@ -273,10 +318,10 @@ module Google
273
318
  end
274
319
  end
275
320
 
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.
321
+ # Configuration for RCToken generated for service mesh workloads protected by
322
+ # IAP. RCToken are IAP generated JWTs that can be verified at the application.
278
323
  # The RCToken is primarily used for service mesh deployments, and can be scoped
279
- # to a single mesh by configuring the audience field accordingly
324
+ # to a single mesh by configuring the audience field accordingly.
280
325
  class CsmSettings
281
326
  include Google::Apis::Core::Hashable
282
327
 
@@ -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.20.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.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 = "20220805"
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.20.0
4
+ version: 0.23.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-07-04 00:00:00.000000000 Z
11
+ date: 2022-08-15 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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.23.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: []