Skip to content

Commit 5f50252

Browse files
chore: regenerate games v1 client (googleapis#22354)
Manual generation using ```bash cd generation python -m pip install . bash generate.sh games.v1.json \ ../clients/google-api-services-games/v1/2.0.0 ```
1 parent ccb8641 commit 5f50252

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

clients/google-api-services-games/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-games</artifactId>
25-
<version>v1-rev20240618-2.0.0</version>
25+
<version>v1-rev20240701-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-games:v1-rev20240618-2.0.0'
38+
implementation 'com.google.apis:google-api-services-games:v1-rev20240701-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-games/v1/2.0.0/com/google/api/services/games/model/GamePlayerToken.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public final class GamePlayerToken extends com.google.api.client.json.GenericJso
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
45-
private java.util.List<RecallToken> token;
45+
private RecallToken recallToken;
4646

4747
/**
4848
* The application that this player identifier is for.
@@ -65,16 +65,16 @@ public GamePlayerToken setApplicationId(java.lang.String applicationId) {
6565
* Recall token data.
6666
* @return value or {@code null} for none
6767
*/
68-
public java.util.List<RecallToken> getToken() {
69-
return token;
68+
public RecallToken getRecallToken() {
69+
return recallToken;
7070
}
7171

7272
/**
7373
* Recall token data.
74-
* @param token token or {@code null} for none
74+
* @param recallToken recallToken or {@code null} for none
7575
*/
76-
public GamePlayerToken setToken(java.util.List<RecallToken> token) {
77-
this.token = token;
76+
public GamePlayerToken setRecallToken(RecallToken recallToken) {
77+
this.recallToken = recallToken;
7878
return this;
7979
}
8080

clients/google-api-services-games/v1/2.0.0/com/google/api/services/games/model/RetrieveDeveloperGamesLastPlayerTokenResponse.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,24 @@ public final class RetrieveDeveloperGamesLastPlayerTokenResponse extends com.goo
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
39-
private RecallToken token;
39+
private GamePlayerToken gamePlayerToken;
4040

4141
/**
4242
* The recall token associated with the requested PGS Player principal. It can be unset if there
4343
* is no recall token associated with the requested principal.
4444
* @return value or {@code null} for none
4545
*/
46-
public RecallToken getToken() {
47-
return token;
46+
public GamePlayerToken getGamePlayerToken() {
47+
return gamePlayerToken;
4848
}
4949

5050
/**
5151
* The recall token associated with the requested PGS Player principal. It can be unset if there
5252
* is no recall token associated with the requested principal.
53-
* @param token token or {@code null} for none
53+
* @param gamePlayerToken gamePlayerToken or {@code null} for none
5454
*/
55-
public RetrieveDeveloperGamesLastPlayerTokenResponse setToken(RecallToken token) {
56-
this.token = token;
55+
public RetrieveDeveloperGamesLastPlayerTokenResponse setGamePlayerToken(GamePlayerToken gamePlayerToken) {
56+
this.gamePlayerToken = gamePlayerToken;
5757
return this;
5858
}
5959

clients/google-api-services-games/v1/2.0.0/com/google/api/services/games/model/RetrieveGamesPlayerTokensResponse.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public final class RetrieveGamesPlayerTokensResponse extends com.google.api.clie
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
39-
private java.util.List<GamePlayerToken> applicationRecallTokens;
39+
private java.util.List<GamePlayerToken> gamePlayerTokens;
4040

4141
static {
4242
// hack to force ProGuard to consider GamePlayerToken used, since otherwise it would be stripped out
@@ -49,17 +49,17 @@ public final class RetrieveGamesPlayerTokensResponse extends com.google.api.clie
4949
* have recall tokens for an application, that application is not included in the response.
5050
* @return value or {@code null} for none
5151
*/
52-
public java.util.List<GamePlayerToken> getApplicationRecallTokens() {
53-
return applicationRecallTokens;
52+
public java.util.List<GamePlayerToken> getGamePlayerTokens() {
53+
return gamePlayerTokens;
5454
}
5555

5656
/**
5757
* The requested applications along with the recall tokens for the player. If the player does not
5858
* have recall tokens for an application, that application is not included in the response.
59-
* @param applicationRecallTokens applicationRecallTokens or {@code null} for none
59+
* @param gamePlayerTokens gamePlayerTokens or {@code null} for none
6060
*/
61-
public RetrieveGamesPlayerTokensResponse setApplicationRecallTokens(java.util.List<GamePlayerToken> applicationRecallTokens) {
62-
this.applicationRecallTokens = applicationRecallTokens;
61+
public RetrieveGamesPlayerTokensResponse setGamePlayerTokens(java.util.List<GamePlayerToken> gamePlayerTokens) {
62+
this.gamePlayerTokens = gamePlayerTokens;
6363
return this;
6464
}
6565

clients/google-api-services-games/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-games</artifactId>
11-
<version>v1-rev20240618-2.0.0</version>
12-
<name>Google Play Game Services v1-rev20240618-2.0.0</name>
11+
<version>v1-rev20240701-2.0.0</version>
12+
<name>Google Play Game Services v1-rev20240701-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)