diff --git a/clients/google-api-services-games/v1/2.0.0/README.md b/clients/google-api-services-games/v1/2.0.0/README.md index 3c776f01ce7..8c23353a753 100644 --- a/clients/google-api-services-games/v1/2.0.0/README.md +++ b/clients/google-api-services-games/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-games - v1-rev20260730-2.0.0 + v1-rev20260813-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-games:v1-rev20260730-2.0.0' + implementation 'com.google.apis:google-api-services-games:v1-rev20260813-2.0.0' } ``` diff --git a/clients/google-api-services-games/v1/2.0.0/com/google/api/services/games/Games.java b/clients/google-api-services-games/v1/2.0.0/com/google/api/services/games/Games.java index 6e345fe33ec..e506b18b2d6 100644 --- a/clients/google-api-services-games/v1/2.0.0/com/google/api/services/games/Games.java +++ b/clients/google-api-services-games/v1/2.0.0/com/google/api/services/games/Games.java @@ -2524,6 +2524,149 @@ public Record set(String parameterName, Object value) { } + /** + * An accessor for creating requests from the GameStats collection. + * + *

The typical use is:

+ *
+   *   {@code Games games = new Games(...);}
+   *   {@code Games.GameStats.List request = games.gameStats().list(parameters ...)}
+   * 
+ * + * @return the resource collection + */ + public GameStats gameStats() { + return new GameStats(); + } + + /** + * The "gameStats" collection of methods. + */ + public class GameStats { + + /** + * Records a batch of player game events for a specific player. This method allows sending multiple + * events in a single request. + * + * Create a request for the method "gameStats.batchRecordEvents". + * + * This request holds the parameters needed by the games server. After setting any optional + * parameters, call the {@link BatchRecordEvents#execute()} method to invoke the remote operation. + * + * @param playerId Required. The player ID of the player that performed the events. + * @param content the {@link com.google.api.services.games.model.BatchRecordEventsRequest} + * @return the request + */ + public BatchRecordEvents batchRecordEvents(java.lang.String playerId, com.google.api.services.games.model.BatchRecordEventsRequest content) throws java.io.IOException { + BatchRecordEvents result = new BatchRecordEvents(playerId, content); + initialize(result); + return result; + } + + public class BatchRecordEvents extends GamesRequest { + + private static final String REST_PATH = "games/v1/players/{playerId}/gameStats:batchRecordEvents"; + + /** + * Records a batch of player game events for a specific player. This method allows sending + * multiple events in a single request. + * + * Create a request for the method "gameStats.batchRecordEvents". + * + * This request holds the parameters needed by the the games server. After setting any optional + * parameters, call the {@link BatchRecordEvents#execute()} method to invoke the remote operation. + *

{@link BatchRecordEvents#initialize(com.google.api.client.googleapis.services.AbstractGoogl + * eClientRequest)} must be called to initialize this instance immediately after invoking the + * constructor.

+ * + * @param playerId Required. The player ID of the player that performed the events. + * @param content the {@link com.google.api.services.games.model.BatchRecordEventsRequest} + * @since 1.13 + */ + protected BatchRecordEvents(java.lang.String playerId, com.google.api.services.games.model.BatchRecordEventsRequest content) { + super(Games.this, "POST", REST_PATH, content, com.google.api.services.games.model.BatchRecordEventsResponse.class); + this.playerId = com.google.api.client.util.Preconditions.checkNotNull(playerId, "Required parameter playerId must be specified."); + } + + @Override + public BatchRecordEvents set$Xgafv(java.lang.String $Xgafv) { + return (BatchRecordEvents) super.set$Xgafv($Xgafv); + } + + @Override + public BatchRecordEvents setAccessToken(java.lang.String accessToken) { + return (BatchRecordEvents) super.setAccessToken(accessToken); + } + + @Override + public BatchRecordEvents setAlt(java.lang.String alt) { + return (BatchRecordEvents) super.setAlt(alt); + } + + @Override + public BatchRecordEvents setCallback(java.lang.String callback) { + return (BatchRecordEvents) super.setCallback(callback); + } + + @Override + public BatchRecordEvents setFields(java.lang.String fields) { + return (BatchRecordEvents) super.setFields(fields); + } + + @Override + public BatchRecordEvents setKey(java.lang.String key) { + return (BatchRecordEvents) super.setKey(key); + } + + @Override + public BatchRecordEvents setOauthToken(java.lang.String oauthToken) { + return (BatchRecordEvents) super.setOauthToken(oauthToken); + } + + @Override + public BatchRecordEvents setPrettyPrint(java.lang.Boolean prettyPrint) { + return (BatchRecordEvents) super.setPrettyPrint(prettyPrint); + } + + @Override + public BatchRecordEvents setQuotaUser(java.lang.String quotaUser) { + return (BatchRecordEvents) super.setQuotaUser(quotaUser); + } + + @Override + public BatchRecordEvents setUploadType(java.lang.String uploadType) { + return (BatchRecordEvents) super.setUploadType(uploadType); + } + + @Override + public BatchRecordEvents setUploadProtocol(java.lang.String uploadProtocol) { + return (BatchRecordEvents) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The player ID of the player that performed the events. */ + @com.google.api.client.util.Key + private java.lang.String playerId; + + /** Required. The player ID of the player that performed the events. + */ + public java.lang.String getPlayerId() { + return playerId; + } + + /** Required. The player ID of the player that performed the events. */ + public BatchRecordEvents setPlayerId(java.lang.String playerId) { + this.playerId = playerId; + return this; + } + + @Override + public BatchRecordEvents set(String parameterName, Object value) { + return (BatchRecordEvents) super.set(parameterName, value); + } + } + + } + /** * An accessor for creating requests from the Leaderboards collection. * @@ -3183,149 +3326,6 @@ public ListCategoriesByPlayer set(String parameterName, Object value) { } - /** - * An accessor for creating requests from the PlayerGameEvents collection. - * - *

The typical use is:

- *
-   *   {@code Games games = new Games(...);}
-   *   {@code Games.PlayerGameEvents.List request = games.playerGameEvents().list(parameters ...)}
-   * 
- * - * @return the resource collection - */ - public PlayerGameEvents playerGameEvents() { - return new PlayerGameEvents(); - } - - /** - * The "playerGameEvents" collection of methods. - */ - public class PlayerGameEvents { - - /** - * Records a batch of player game events for a specific player. This method allows sending multiple - * events in a single request. - * - * Create a request for the method "playerGameEvents.batchRecordEvents". - * - * This request holds the parameters needed by the games server. After setting any optional - * parameters, call the {@link BatchRecordEvents#execute()} method to invoke the remote operation. - * - * @param playerId Required. The player ID of the player that performed the events. - * @param content the {@link com.google.api.services.games.model.BatchRecordEventsRequest} - * @return the request - */ - public BatchRecordEvents batchRecordEvents(java.lang.String playerId, com.google.api.services.games.model.BatchRecordEventsRequest content) throws java.io.IOException { - BatchRecordEvents result = new BatchRecordEvents(playerId, content); - initialize(result); - return result; - } - - public class BatchRecordEvents extends GamesRequest { - - private static final String REST_PATH = "games/v1/players/{playerId}/gameEvents:batchRecordEvents"; - - /** - * Records a batch of player game events for a specific player. This method allows sending - * multiple events in a single request. - * - * Create a request for the method "playerGameEvents.batchRecordEvents". - * - * This request holds the parameters needed by the the games server. After setting any optional - * parameters, call the {@link BatchRecordEvents#execute()} method to invoke the remote operation. - *

{@link BatchRecordEvents#initialize(com.google.api.client.googleapis.services.AbstractGoogl - * eClientRequest)} must be called to initialize this instance immediately after invoking the - * constructor.

- * - * @param playerId Required. The player ID of the player that performed the events. - * @param content the {@link com.google.api.services.games.model.BatchRecordEventsRequest} - * @since 1.13 - */ - protected BatchRecordEvents(java.lang.String playerId, com.google.api.services.games.model.BatchRecordEventsRequest content) { - super(Games.this, "POST", REST_PATH, content, com.google.api.services.games.model.BatchRecordEventsResponse.class); - this.playerId = com.google.api.client.util.Preconditions.checkNotNull(playerId, "Required parameter playerId must be specified."); - } - - @Override - public BatchRecordEvents set$Xgafv(java.lang.String $Xgafv) { - return (BatchRecordEvents) super.set$Xgafv($Xgafv); - } - - @Override - public BatchRecordEvents setAccessToken(java.lang.String accessToken) { - return (BatchRecordEvents) super.setAccessToken(accessToken); - } - - @Override - public BatchRecordEvents setAlt(java.lang.String alt) { - return (BatchRecordEvents) super.setAlt(alt); - } - - @Override - public BatchRecordEvents setCallback(java.lang.String callback) { - return (BatchRecordEvents) super.setCallback(callback); - } - - @Override - public BatchRecordEvents setFields(java.lang.String fields) { - return (BatchRecordEvents) super.setFields(fields); - } - - @Override - public BatchRecordEvents setKey(java.lang.String key) { - return (BatchRecordEvents) super.setKey(key); - } - - @Override - public BatchRecordEvents setOauthToken(java.lang.String oauthToken) { - return (BatchRecordEvents) super.setOauthToken(oauthToken); - } - - @Override - public BatchRecordEvents setPrettyPrint(java.lang.Boolean prettyPrint) { - return (BatchRecordEvents) super.setPrettyPrint(prettyPrint); - } - - @Override - public BatchRecordEvents setQuotaUser(java.lang.String quotaUser) { - return (BatchRecordEvents) super.setQuotaUser(quotaUser); - } - - @Override - public BatchRecordEvents setUploadType(java.lang.String uploadType) { - return (BatchRecordEvents) super.setUploadType(uploadType); - } - - @Override - public BatchRecordEvents setUploadProtocol(java.lang.String uploadProtocol) { - return (BatchRecordEvents) super.setUploadProtocol(uploadProtocol); - } - - /** Required. The player ID of the player that performed the events. */ - @com.google.api.client.util.Key - private java.lang.String playerId; - - /** Required. The player ID of the player that performed the events. - */ - public java.lang.String getPlayerId() { - return playerId; - } - - /** Required. The player ID of the player that performed the events. */ - public BatchRecordEvents setPlayerId(java.lang.String playerId) { - this.playerId = playerId; - return this; - } - - @Override - public BatchRecordEvents set(String parameterName, Object value) { - return (BatchRecordEvents) super.set(parameterName, value); - } - } - - } - /** * An accessor for creating requests from the Players collection. * diff --git a/clients/google-api-services-games/v1/2.0.0/pom.xml b/clients/google-api-services-games/v1/2.0.0/pom.xml index 94c5abd4e6f..75e8f0c3e25 100644 --- a/clients/google-api-services-games/v1/2.0.0/pom.xml +++ b/clients/google-api-services-games/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-games - v1-rev20260730-2.0.0 - Google Play Games Services API v1-rev20260730-2.0.0 + v1-rev20260813-2.0.0 + Google Play Games Services API v1-rev20260813-2.0.0 jar 2011 diff --git a/clients/google-api-services-games/v1/README.md b/clients/google-api-services-games/v1/README.md index 3c776f01ce7..8c23353a753 100644 --- a/clients/google-api-services-games/v1/README.md +++ b/clients/google-api-services-games/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-games - v1-rev20260730-2.0.0 + v1-rev20260813-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-games:v1-rev20260730-2.0.0' + implementation 'com.google.apis:google-api-services-games:v1-rev20260813-2.0.0' } ```