google-apis-iap_v1 0.45.0 → 0.46.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/iap_v1/classes.rb +76 -0
- data/lib/google/apis/iap_v1/gem_version.rb +2 -2
- data/lib/google/apis/iap_v1/representations.rb +33 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbd8c6fdbbf7f023da5ab040f7fd9508042edb88d8f916b42687eb0ff5cdd4fb
|
4
|
+
data.tar.gz: 30cf218efe2e3f9793fe8b44f675b7f95fb9f1fadf90ec264da2a9029a88cd1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f380b1a5d72142c97717a840b8b5acfb14d8b338b13ffe0af07d9b708a65e0b8c3c05080089b987d0a6f77860cbb7175448a113c5fb7cfb85bc93e94cadc694f
|
7
|
+
data.tar.gz: fce5ddfbd98688b19d0d61915e665791c80af7d4033de38a25b9b5b6ed3dcb5ab99fe7b13c2c71ba1847edcacb9d1fd35f4dcb837b353702ff17322cff5267db
|
data/CHANGELOG.md
CHANGED
@@ -81,6 +81,12 @@ module Google
|
|
81
81
|
# @return [Google::Apis::IapV1::GcipSettings]
|
82
82
|
attr_accessor :gcip_settings
|
83
83
|
|
84
|
+
# Optional. Identity sources that IAP can use to authenticate the end user. Only
|
85
|
+
# one identity source can be configured.
|
86
|
+
# Corresponds to the JSON property `identitySources`
|
87
|
+
# @return [Array<String>]
|
88
|
+
attr_accessor :identity_sources
|
89
|
+
|
84
90
|
# Configuration for OAuth login&consent flow behavior as well as for OAuth
|
85
91
|
# Credentials.
|
86
92
|
# Corresponds to the JSON property `oauthSettings`
|
@@ -101,6 +107,13 @@ module Google
|
|
101
107
|
# @return [Google::Apis::IapV1::ReauthSettings]
|
102
108
|
attr_accessor :reauth_settings
|
103
109
|
|
110
|
+
# WorkforceIdentitySettings allows customers to configure workforce pools and
|
111
|
+
# OAuth 2.0 settings to gate their applications using a third-party IdP with
|
112
|
+
# access control.
|
113
|
+
# Corresponds to the JSON property `workforceIdentitySettings`
|
114
|
+
# @return [Google::Apis::IapV1::WorkforceIdentitySettings]
|
115
|
+
attr_accessor :workforce_identity_settings
|
116
|
+
|
104
117
|
def initialize(**args)
|
105
118
|
update!(**args)
|
106
119
|
end
|
@@ -110,9 +123,11 @@ module Google
|
|
110
123
|
@allowed_domains_settings = args[:allowed_domains_settings] if args.key?(:allowed_domains_settings)
|
111
124
|
@cors_settings = args[:cors_settings] if args.key?(:cors_settings)
|
112
125
|
@gcip_settings = args[:gcip_settings] if args.key?(:gcip_settings)
|
126
|
+
@identity_sources = args[:identity_sources] if args.key?(:identity_sources)
|
113
127
|
@oauth_settings = args[:oauth_settings] if args.key?(:oauth_settings)
|
114
128
|
@policy_delegation_settings = args[:policy_delegation_settings] if args.key?(:policy_delegation_settings)
|
115
129
|
@reauth_settings = args[:reauth_settings] if args.key?(:reauth_settings)
|
130
|
+
@workforce_identity_settings = args[:workforce_identity_settings] if args.key?(:workforce_identity_settings)
|
116
131
|
end
|
117
132
|
end
|
118
133
|
|
@@ -704,6 +719,40 @@ module Google
|
|
704
719
|
end
|
705
720
|
end
|
706
721
|
|
722
|
+
# The OAuth 2.0 Settings
|
723
|
+
class OAuth2
|
724
|
+
include Google::Apis::Core::Hashable
|
725
|
+
|
726
|
+
# The OAuth 2.0 client ID registered in the workforce identity federation OAuth
|
727
|
+
# 2.0 Server.
|
728
|
+
# Corresponds to the JSON property `clientId`
|
729
|
+
# @return [String]
|
730
|
+
attr_accessor :client_id
|
731
|
+
|
732
|
+
# Input only. The OAuth 2.0 client secret created while registering the client
|
733
|
+
# ID.
|
734
|
+
# Corresponds to the JSON property `clientSecret`
|
735
|
+
# @return [String]
|
736
|
+
attr_accessor :client_secret
|
737
|
+
|
738
|
+
# Output only. SHA256 hash value for the client secret. This field is returned
|
739
|
+
# by IAP when the settings are retrieved.
|
740
|
+
# Corresponds to the JSON property `clientSecretSha256`
|
741
|
+
# @return [String]
|
742
|
+
attr_accessor :client_secret_sha256
|
743
|
+
|
744
|
+
def initialize(**args)
|
745
|
+
update!(**args)
|
746
|
+
end
|
747
|
+
|
748
|
+
# Update properties of this object
|
749
|
+
def update!(**args)
|
750
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
751
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
752
|
+
@client_secret_sha256 = args[:client_secret_sha256] if args.key?(:client_secret_sha256)
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
707
756
|
# Configuration for OAuth login&consent flow behavior as well as for OAuth
|
708
757
|
# Credentials.
|
709
758
|
class OAuthSettings
|
@@ -1173,6 +1222,33 @@ module Google
|
|
1173
1222
|
def update!(**args)
|
1174
1223
|
end
|
1175
1224
|
end
|
1225
|
+
|
1226
|
+
# WorkforceIdentitySettings allows customers to configure workforce pools and
|
1227
|
+
# OAuth 2.0 settings to gate their applications using a third-party IdP with
|
1228
|
+
# access control.
|
1229
|
+
class WorkforceIdentitySettings
|
1230
|
+
include Google::Apis::Core::Hashable
|
1231
|
+
|
1232
|
+
# The OAuth 2.0 Settings
|
1233
|
+
# Corresponds to the JSON property `oauth2`
|
1234
|
+
# @return [Google::Apis::IapV1::OAuth2]
|
1235
|
+
attr_accessor :oauth2
|
1236
|
+
|
1237
|
+
# The workforce pool resources. Only one workforce pool is accepted.
|
1238
|
+
# Corresponds to the JSON property `workforcePools`
|
1239
|
+
# @return [Array<String>]
|
1240
|
+
attr_accessor :workforce_pools
|
1241
|
+
|
1242
|
+
def initialize(**args)
|
1243
|
+
update!(**args)
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
# Update properties of this object
|
1247
|
+
def update!(**args)
|
1248
|
+
@oauth2 = args[:oauth2] if args.key?(:oauth2)
|
1249
|
+
@workforce_pools = args[:workforce_pools] if args.key?(:workforce_pools)
|
1250
|
+
end
|
1251
|
+
end
|
1176
1252
|
end
|
1177
1253
|
end
|
1178
1254
|
end
|
@@ -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
|
+
GEM_VERSION = "0.46.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240430"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -136,6 +136,12 @@ module Google
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
+
class OAuth2
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
139
145
|
class OAuthSettings
|
140
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
147
|
|
@@ -208,6 +214,12 @@ module Google
|
|
208
214
|
include Google::Apis::Core::JsonObjectSupport
|
209
215
|
end
|
210
216
|
|
217
|
+
class WorkforceIdentitySettings
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
211
223
|
class AccessDeniedPageSettings
|
212
224
|
# @private
|
213
225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -226,12 +238,15 @@ module Google
|
|
226
238
|
|
227
239
|
property :gcip_settings, as: 'gcipSettings', class: Google::Apis::IapV1::GcipSettings, decorator: Google::Apis::IapV1::GcipSettings::Representation
|
228
240
|
|
241
|
+
collection :identity_sources, as: 'identitySources'
|
229
242
|
property :oauth_settings, as: 'oauthSettings', class: Google::Apis::IapV1::OAuthSettings, decorator: Google::Apis::IapV1::OAuthSettings::Representation
|
230
243
|
|
231
244
|
property :policy_delegation_settings, as: 'policyDelegationSettings', class: Google::Apis::IapV1::PolicyDelegationSettings, decorator: Google::Apis::IapV1::PolicyDelegationSettings::Representation
|
232
245
|
|
233
246
|
property :reauth_settings, as: 'reauthSettings', class: Google::Apis::IapV1::ReauthSettings, decorator: Google::Apis::IapV1::ReauthSettings::Representation
|
234
247
|
|
248
|
+
property :workforce_identity_settings, as: 'workforceIdentitySettings', class: Google::Apis::IapV1::WorkforceIdentitySettings, decorator: Google::Apis::IapV1::WorkforceIdentitySettings::Representation
|
249
|
+
|
235
250
|
end
|
236
251
|
end
|
237
252
|
|
@@ -384,6 +399,15 @@ module Google
|
|
384
399
|
end
|
385
400
|
end
|
386
401
|
|
402
|
+
class OAuth2
|
403
|
+
# @private
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
405
|
+
property :client_id, as: 'clientId'
|
406
|
+
property :client_secret, as: 'clientSecret'
|
407
|
+
property :client_secret_sha256, as: 'clientSecretSha256'
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
387
411
|
class OAuthSettings
|
388
412
|
# @private
|
389
413
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -485,6 +509,15 @@ module Google
|
|
485
509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
486
510
|
end
|
487
511
|
end
|
512
|
+
|
513
|
+
class WorkforceIdentitySettings
|
514
|
+
# @private
|
515
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
516
|
+
property :oauth2, as: 'oauth2', class: Google::Apis::IapV1::OAuth2, decorator: Google::Apis::IapV1::OAuth2::Representation
|
517
|
+
|
518
|
+
collection :workforce_pools, as: 'workforcePools'
|
519
|
+
end
|
520
|
+
end
|
488
521
|
end
|
489
522
|
end
|
490
523
|
end
|
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.
|
4
|
+
version: 0.46.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: 2024-
|
11
|
+
date: 2024-05-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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.46.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: []
|