Skip to content

Commit addd3da

Browse files
1 parent 1bb676c commit addd3da

File tree

6 files changed

+270
-6
lines changed

6 files changed

+270
-6
lines changed

clients/google-api-services-iap/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-iap</artifactId>
25-
<version>v1-rev20240412-2.0.0</version>
25+
<version>v1-rev20240430-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-iap:v1-rev20240412-2.0.0'
38+
implementation 'com.google.apis:google-api-services-iap:v1-rev20240430-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-iap/v1/2.0.0/com/google/api/services/iap/v1/model/AccessSettings.java

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ public final class AccessSettings extends com.google.api.client.json.GenericJson
5151
@com.google.api.client.util.Key
5252
private GcipSettings gcipSettings;
5353

54+
/**
55+
* Optional. Identity sources that IAP can use to authenticate the end user. Only one identity
56+
* source can be configured.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.util.List<java.lang.String> identitySources;
61+
5462
/**
5563
* Settings to configure IAP's OAuth behavior.
5664
* The value may be {@code null}.
@@ -72,6 +80,14 @@ public final class AccessSettings extends com.google.api.client.json.GenericJson
7280
@com.google.api.client.util.Key
7381
private ReauthSettings reauthSettings;
7482

83+
/**
84+
* Optional. Settings to configure the workforce identity federation, including workforce pools
85+
* and OAuth 2.0 settings.
86+
* The value may be {@code null}.
87+
*/
88+
@com.google.api.client.util.Key
89+
private WorkforceIdentitySettings workforceIdentitySettings;
90+
7591
/**
7692
* Settings to configure and enable allowed domains.
7793
* @return value or {@code null} for none
@@ -123,6 +139,25 @@ public AccessSettings setGcipSettings(GcipSettings gcipSettings) {
123139
return this;
124140
}
125141

142+
/**
143+
* Optional. Identity sources that IAP can use to authenticate the end user. Only one identity
144+
* source can be configured.
145+
* @return value or {@code null} for none
146+
*/
147+
public java.util.List<java.lang.String> getIdentitySources() {
148+
return identitySources;
149+
}
150+
151+
/**
152+
* Optional. Identity sources that IAP can use to authenticate the end user. Only one identity
153+
* source can be configured.
154+
* @param identitySources identitySources or {@code null} for none
155+
*/
156+
public AccessSettings setIdentitySources(java.util.List<java.lang.String> identitySources) {
157+
this.identitySources = identitySources;
158+
return this;
159+
}
160+
126161
/**
127162
* Settings to configure IAP's OAuth behavior.
128163
* @return value or {@code null} for none
@@ -174,6 +209,25 @@ public AccessSettings setReauthSettings(ReauthSettings reauthSettings) {
174209
return this;
175210
}
176211

212+
/**
213+
* Optional. Settings to configure the workforce identity federation, including workforce pools
214+
* and OAuth 2.0 settings.
215+
* @return value or {@code null} for none
216+
*/
217+
public WorkforceIdentitySettings getWorkforceIdentitySettings() {
218+
return workforceIdentitySettings;
219+
}
220+
221+
/**
222+
* Optional. Settings to configure the workforce identity federation, including workforce pools
223+
* and OAuth 2.0 settings.
224+
* @param workforceIdentitySettings workforceIdentitySettings or {@code null} for none
225+
*/
226+
public AccessSettings setWorkforceIdentitySettings(WorkforceIdentitySettings workforceIdentitySettings) {
227+
this.workforceIdentitySettings = workforceIdentitySettings;
228+
return this;
229+
}
230+
177231
@Override
178232
public AccessSettings set(String fieldName, Object value) {
179233
return (AccessSettings) super.set(fieldName, value);
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.iap.v1.model;
18+
19+
/**
20+
* The OAuth 2.0 Settings
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Identity-Aware Proxy API. For a detailed
24+
* explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class OAuth2 extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String clientId;
39+
40+
/**
41+
* Input only. The OAuth 2.0 client secret created while registering the client ID.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String clientSecret;
46+
47+
/**
48+
* Output only. SHA256 hash value for the client secret. This field is returned by IAP when the
49+
* settings are retrieved.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String clientSecretSha256;
54+
55+
/**
56+
* The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.
57+
* @return value or {@code null} for none
58+
*/
59+
public java.lang.String getClientId() {
60+
return clientId;
61+
}
62+
63+
/**
64+
* The OAuth 2.0 client ID registered in the workforce identity federation OAuth 2.0 Server.
65+
* @param clientId clientId or {@code null} for none
66+
*/
67+
public OAuth2 setClientId(java.lang.String clientId) {
68+
this.clientId = clientId;
69+
return this;
70+
}
71+
72+
/**
73+
* Input only. The OAuth 2.0 client secret created while registering the client ID.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.String getClientSecret() {
77+
return clientSecret;
78+
}
79+
80+
/**
81+
* Input only. The OAuth 2.0 client secret created while registering the client ID.
82+
* @param clientSecret clientSecret or {@code null} for none
83+
*/
84+
public OAuth2 setClientSecret(java.lang.String clientSecret) {
85+
this.clientSecret = clientSecret;
86+
return this;
87+
}
88+
89+
/**
90+
* Output only. SHA256 hash value for the client secret. This field is returned by IAP when the
91+
* settings are retrieved.
92+
* @return value or {@code null} for none
93+
*/
94+
public java.lang.String getClientSecretSha256() {
95+
return clientSecretSha256;
96+
}
97+
98+
/**
99+
* Output only. SHA256 hash value for the client secret. This field is returned by IAP when the
100+
* settings are retrieved.
101+
* @param clientSecretSha256 clientSecretSha256 or {@code null} for none
102+
*/
103+
public OAuth2 setClientSecretSha256(java.lang.String clientSecretSha256) {
104+
this.clientSecretSha256 = clientSecretSha256;
105+
return this;
106+
}
107+
108+
@Override
109+
public OAuth2 set(String fieldName, Object value) {
110+
return (OAuth2) super.set(fieldName, value);
111+
}
112+
113+
@Override
114+
public OAuth2 clone() {
115+
return (OAuth2) super.clone();
116+
}
117+
118+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.iap.v1.model;
18+
19+
/**
20+
* WorkforceIdentitySettings allows customers to configure workforce pools and OAuth 2.0 settings to
21+
* gate their applications using a third-party IdP with access control.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Cloud Identity-Aware Proxy API. For a detailed
25+
* explanation see:
26+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class WorkforceIdentitySettings extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity federation services.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private OAuth2 oauth2;
40+
41+
/**
42+
* The workforce pool resources. Only one workforce pool is accepted.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<java.lang.String> workforcePools;
47+
48+
/**
49+
* OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity federation services.
50+
* @return value or {@code null} for none
51+
*/
52+
public OAuth2 getOauth2() {
53+
return oauth2;
54+
}
55+
56+
/**
57+
* OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity federation services.
58+
* @param oauth2 oauth2 or {@code null} for none
59+
*/
60+
public WorkforceIdentitySettings setOauth2(OAuth2 oauth2) {
61+
this.oauth2 = oauth2;
62+
return this;
63+
}
64+
65+
/**
66+
* The workforce pool resources. Only one workforce pool is accepted.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.util.List<java.lang.String> getWorkforcePools() {
70+
return workforcePools;
71+
}
72+
73+
/**
74+
* The workforce pool resources. Only one workforce pool is accepted.
75+
* @param workforcePools workforcePools or {@code null} for none
76+
*/
77+
public WorkforceIdentitySettings setWorkforcePools(java.util.List<java.lang.String> workforcePools) {
78+
this.workforcePools = workforcePools;
79+
return this;
80+
}
81+
82+
@Override
83+
public WorkforceIdentitySettings set(String fieldName, Object value) {
84+
return (WorkforceIdentitySettings) super.set(fieldName, value);
85+
}
86+
87+
@Override
88+
public WorkforceIdentitySettings clone() {
89+
return (WorkforceIdentitySettings) super.clone();
90+
}
91+
92+
}

clients/google-api-services-iap/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-iap</artifactId>
11-
<version>v1-rev20240412-2.0.0</version>
12-
<name>Cloud Identity-Aware Proxy API v1-rev20240412-2.0.0</name>
11+
<version>v1-rev20240430-2.0.0</version>
12+
<name>Cloud Identity-Aware Proxy API v1-rev20240430-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-iap/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-iap</artifactId>
25-
<version>v1-rev20240412-2.0.0</version>
25+
<version>v1-rev20240430-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-iap:v1-rev20240412-2.0.0'
38+
implementation 'com.google.apis:google-api-services-iap:v1-rev20240430-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)