Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-iap/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-iap</artifactId>
<version>v1-rev20251013-2.0.0</version>
<version>v1-rev20260209-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-iap:v1-rev20251013-2.0.0'
implementation 'com.google.apis:google-api-services-iap:v1-rev20260209-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class CloudIAP extends com.google.api.client.googleapis.services.json.Abs
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -3266,8 +3266,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,32 @@
@SuppressWarnings("javadoc")
public final class OAuthSettings extends com.google.api.client.json.GenericJson {

/**
* Optional. OAuth 2.0 client ID used in the OAuth flow to generate an access token. If this field
* is set, you can skip obtaining the OAuth credentials in this step:
* https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-
* oauth-2.0-credentials-from-the-google-api-console. However, this could allow for client
* sharing. The risks of client sharing are outlined here:
* https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String clientId;

/**
* Optional. Input only. OAuth secret paired with client ID
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String clientSecret;

/**
* Output only. OAuth secret sha256 paired with client ID
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String clientSecretSha256;

/**
* Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by
* skipping Google's login screen.
Expand All @@ -48,6 +74,67 @@ public final class OAuthSettings extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.util.List<java.lang.String> programmaticClients;

/**
* Optional. OAuth 2.0 client ID used in the OAuth flow to generate an access token. If this field
* is set, you can skip obtaining the OAuth credentials in this step:
* https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-
* oauth-2.0-credentials-from-the-google-api-console. However, this could allow for client
* sharing. The risks of client sharing are outlined here:
* https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.
* @return value or {@code null} for none
*/
public java.lang.String getClientId() {
return clientId;
}

/**
* Optional. OAuth 2.0 client ID used in the OAuth flow to generate an access token. If this field
* is set, you can skip obtaining the OAuth credentials in this step:
* https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-
* oauth-2.0-credentials-from-the-google-api-console. However, this could allow for client
* sharing. The risks of client sharing are outlined here:
* https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.
* @param clientId clientId or {@code null} for none
*/
public OAuthSettings setClientId(java.lang.String clientId) {
this.clientId = clientId;
return this;
}

/**
* Optional. Input only. OAuth secret paired with client ID
* @return value or {@code null} for none
*/
public java.lang.String getClientSecret() {
return clientSecret;
}

/**
* Optional. Input only. OAuth secret paired with client ID
* @param clientSecret clientSecret or {@code null} for none
*/
public OAuthSettings setClientSecret(java.lang.String clientSecret) {
this.clientSecret = clientSecret;
return this;
}

/**
* Output only. OAuth secret sha256 paired with client ID
* @return value or {@code null} for none
*/
public java.lang.String getClientSecretSha256() {
return clientSecretSha256;
}

/**
* Output only. OAuth secret sha256 paired with client ID
* @param clientSecretSha256 clientSecretSha256 or {@code null} for none
*/
public OAuthSettings setClientSecretSha256(java.lang.String clientSecretSha256) {
this.clientSecretSha256 = clientSecretSha256;
return this;
}

/**
* Domain hint to send as hd=? parameter in OAuth request flow. Enables redirect to primary IDP by
* skipping Google's login screen.
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-iap/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-iap</artifactId>
<version>v1-rev20251013-2.0.0</version>
<name>Cloud Identity-Aware Proxy API v1-rev20251013-2.0.0</name>
<version>v1-rev20260209-2.0.0</version>
<name>Cloud Identity-Aware Proxy API v1-rev20260209-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-iap/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-iap</artifactId>
<version>v1-rev20251013-2.0.0</version>
<version>v1-rev20260209-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-iap:v1-rev20251013-2.0.0'
implementation 'com.google.apis:google-api-services-iap:v1-rev20260209-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class CloudIAP extends com.google.api.client.googleapis.services.json.Abs
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -639,8 +639,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
Expand Down