public class GamesManagement
extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
The Management API for Google Play Game Services.
For more information about this service, see the API Documentation
This service uses GamesManagementRequestInitializer to initialize global parameters via its
GamesManagement.Builder.
| Modifier and Type | Class and Description |
|---|---|
class |
GamesManagement.Achievements
The "achievements" collection of methods.
|
class |
GamesManagement.Applications
The "applications" collection of methods.
|
static class |
GamesManagement.Builder
Builder for
GamesManagement. |
class |
GamesManagement.Events
The "events" collection of methods.
|
class |
GamesManagement.Players
The "players" collection of methods.
|
class |
GamesManagement.Quests
The "quests" collection of methods.
|
class |
GamesManagement.Rooms
The "rooms" collection of methods.
|
class |
GamesManagement.Scores
The "scores" collection of methods.
|
class |
GamesManagement.TurnBasedMatches
The "turnBasedMatches" collection of methods.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_BASE_URL
The default encoded base URL of the service.
|
static java.lang.String |
DEFAULT_ROOT_URL
The default encoded root URL of the service.
|
static java.lang.String |
DEFAULT_SERVICE_PATH
The default encoded service path of the service.
|
| Constructor and Description |
|---|
GamesManagement(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GamesManagement.Achievements |
achievements()
An accessor for creating requests from the Achievements collection.
|
GamesManagement.Applications |
applications()
An accessor for creating requests from the Applications collection.
|
GamesManagement.Events |
events()
An accessor for creating requests from the Events collection.
|
protected void |
initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest) |
GamesManagement.Players |
players()
An accessor for creating requests from the Players collection.
|
GamesManagement.Quests |
quests()
An accessor for creating requests from the Quests collection.
|
GamesManagement.Rooms |
rooms()
An accessor for creating requests from the Rooms collection.
|
GamesManagement.Scores |
scores()
An accessor for creating requests from the Scores collection.
|
GamesManagement.TurnBasedMatches |
turnBasedMatches()
An accessor for creating requests from the TurnBasedMatches collection.
|
getJsonFactory, getObjectParserpublic static final java.lang.String DEFAULT_ROOT_URL
public static final java.lang.String DEFAULT_SERVICE_PATH
public static final java.lang.String DEFAULT_BASE_URL
public GamesManagement(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Use GamesManagement.Builder if you need to specify any of the optional parameters.
transport - HTTP transport, which should normally be:
com.google.api.client.extensions.appengine.http.UrlFetchTransportnewCompatibleTransport from
com.google.api.client.extensions.android.http.AndroidHttpcom.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
jsonFactory - JSON factory, which may be:
com.google.api.client.json.jackson2.JacksonFactorycom.google.api.client.json.gson.GsonFactorycom.google.api.client.extensions.android.json.AndroidJsonFactoryhttpRequestInitializer - HTTP request initializer or null for noneprotected void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest)
throws java.io.IOException
initialize in class com.google.api.client.googleapis.services.AbstractGoogleClientjava.io.IOExceptionpublic GamesManagement.Achievements achievements()
The typical use is:
GamesManagement gamesManagement = new GamesManagement(...);GamesManagement.Achievements.List request = gamesManagement.achievements().list(parameters ...)
public GamesManagement.Applications applications()
The typical use is:
GamesManagement gamesManagement = new GamesManagement(...);GamesManagement.Applications.List request = gamesManagement.applications().list(parameters ...)
public GamesManagement.Events events()
The typical use is:
GamesManagement gamesManagement = new GamesManagement(...);GamesManagement.Events.List request = gamesManagement.events().list(parameters ...)
public GamesManagement.Players players()
The typical use is:
GamesManagement gamesManagement = new GamesManagement(...);GamesManagement.Players.List request = gamesManagement.players().list(parameters ...)
public GamesManagement.Quests quests()
The typical use is:
GamesManagement gamesManagement = new GamesManagement(...);GamesManagement.Quests.List request = gamesManagement.quests().list(parameters ...)
public GamesManagement.Rooms rooms()
The typical use is:
GamesManagement gamesManagement = new GamesManagement(...);GamesManagement.Rooms.List request = gamesManagement.rooms().list(parameters ...)
public GamesManagement.Scores scores()
The typical use is:
GamesManagement gamesManagement = new GamesManagement(...);GamesManagement.Scores.List request = gamesManagement.scores().list(parameters ...)
public GamesManagement.TurnBasedMatches turnBasedMatches()
The typical use is:
GamesManagement gamesManagement = new GamesManagement(...);GamesManagement.TurnBasedMatches.List request = gamesManagement.turnBasedMatches().list(parameters ...)