google-apis-iap_v1 0.20.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c031283b6a0ffa3b7adb1a4573fbc787e1e5b7f00a2b1bc8fb73e825f81f67dc
4
- data.tar.gz: 7e555b1c514648e7b15322735160b5d6ed6346d8aed8869a4f61e4a9440459ca
3
+ metadata.gz: 8729c5d69d0f1dc5677192e23a2e9cab4a87beae2067d5b1e64b227674d2628f
4
+ data.tar.gz: 5876ffaf525505d136756e15aa876ed8fc59a0e3ef31d5934960bbd6c30c98ff
5
5
  SHA512:
6
- metadata.gz: 54e1fb1f230c3b140a2850b90904acb2ffb3435a40eefc84f7b2203cdca54f8547761efd2a9b6d48c745d7146bf27791728515399d29b34606c47d6546530408
7
- data.tar.gz: d90df18f99cb468f0e34e22594bb21bcbcdf09617a858b8efc21089319edf65bed09358dbaaf755be25c4ac620acb4170178ff3d982f89f4ae5fbcab81253db9
6
+ metadata.gz: 3728ef6f8978c3b582e683707c7c580cc03d2c8148aea5f5a3d9f33ebbeeb8434790f58840a9339166015a04e10c3e9940c72b62a1d58c609873d8a805262e09
7
+ data.tar.gz: b43e3d73d1046d419921b1501fcce570381ae0d903c07ab55d5367863a8b3e3276deeb2af4720807fc2ed2f80f4025e7d0d348869a280ef91af6da13be64b49d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-iap_v1
2
2
 
3
+ ### v0.21.0 (2022-07-19)
4
+
5
+ * Regenerated from discovery document revision 20220715
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.20.0 (2022-06-30)
4
9
 
5
10
  * 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. Allows the customers to restrict access
68
+ # to the app by only allowing requests from the listed trusted domains.
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. Allows the customers to restrict access
120
+ # to the app by only allowing requests from the listed trusted domains.
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.20.0"
19
+ GEM_VERSION = "0.21.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 = "20220715"
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.21.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-07-25 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.21.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: []