Documentation ¶
Overview ¶
Package gamesmanagement provides access to the Google Play Game Services Management API.
See https://developers.google.com/games/services
Usage example:
import "github.com/jfcote87/api2/gamesmanagement/v1management" ... gamesmanagementService, err := gamesmanagement.New(oauthHttpClient)
Index ¶
- Constants
- type AchievementResetAllResponse
- type AchievementResetMultipleForAllRequest
- type AchievementResetResponse
- type AchievementsResetAllCall
- type AchievementsResetAllForAllPlayersCall
- type AchievementsResetCall
- type AchievementsResetForAllPlayersCall
- type AchievementsResetMultipleForAllPlayersCall
- type AchievementsService
- func (r *AchievementsService) Reset(achievementId string) *AchievementsResetCall
- func (r *AchievementsService) ResetAll() *AchievementsResetAllCall
- func (r *AchievementsService) ResetAllForAllPlayers() *AchievementsResetAllForAllPlayersCall
- func (r *AchievementsService) ResetForAllPlayers(achievementId string) *AchievementsResetForAllPlayersCall
- func (r *AchievementsService) ResetMultipleForAllPlayers(achievementresetmultipleforallrequest *AchievementResetMultipleForAllRequest) *AchievementsResetMultipleForAllPlayersCall
- type ApplicationsListHiddenCall
- func (c *ApplicationsListHiddenCall) Context(ctx context.Context) *ApplicationsListHiddenCall
- func (c *ApplicationsListHiddenCall) Do() (*HiddenPlayerList, error)
- func (c *ApplicationsListHiddenCall) Fields(s ...googleapi.Field) *ApplicationsListHiddenCall
- func (c *ApplicationsListHiddenCall) MaxResults(maxResults int64) *ApplicationsListHiddenCall
- func (c *ApplicationsListHiddenCall) PageToken(pageToken string) *ApplicationsListHiddenCall
- type ApplicationsService
- type EventsResetAllCall
- type EventsResetAllForAllPlayersCall
- type EventsResetCall
- type EventsResetForAllPlayersCall
- type EventsResetMultipleForAllPlayersCall
- type EventsResetMultipleForAllRequest
- type EventsService
- func (r *EventsService) Reset(eventId string) *EventsResetCall
- func (r *EventsService) ResetAll() *EventsResetAllCall
- func (r *EventsService) ResetAllForAllPlayers() *EventsResetAllForAllPlayersCall
- func (r *EventsService) ResetForAllPlayers(eventId string) *EventsResetForAllPlayersCall
- func (r *EventsService) ResetMultipleForAllPlayers(eventsresetmultipleforallrequest *EventsResetMultipleForAllRequest) *EventsResetMultipleForAllPlayersCall
- type GamesPlayedResource
- type GamesPlayerExperienceInfoResource
- type GamesPlayerLevelResource
- type HiddenPlayer
- type HiddenPlayerList
- type Player
- type PlayerName
- type PlayerScoreResetAllResponse
- type PlayerScoreResetResponse
- type PlayersHideCall
- type PlayersService
- type PlayersUnhideCall
- type QuestsResetAllCall
- type QuestsResetAllForAllPlayersCall
- type QuestsResetCall
- type QuestsResetForAllPlayersCall
- type QuestsResetMultipleForAllPlayersCall
- type QuestsResetMultipleForAllRequest
- type QuestsService
- func (r *QuestsService) Reset(questId string) *QuestsResetCall
- func (r *QuestsService) ResetAll() *QuestsResetAllCall
- func (r *QuestsService) ResetAllForAllPlayers() *QuestsResetAllForAllPlayersCall
- func (r *QuestsService) ResetForAllPlayers(questId string) *QuestsResetForAllPlayersCall
- func (r *QuestsService) ResetMultipleForAllPlayers(questsresetmultipleforallrequest *QuestsResetMultipleForAllRequest) *QuestsResetMultipleForAllPlayersCall
- type RoomsResetCall
- type RoomsResetForAllPlayersCall
- type RoomsService
- type ScoresResetAllCall
- type ScoresResetAllForAllPlayersCall
- type ScoresResetCall
- type ScoresResetForAllPlayersCall
- type ScoresResetMultipleForAllPlayersCall
- type ScoresResetMultipleForAllRequest
- type ScoresService
- func (r *ScoresService) Reset(leaderboardId string) *ScoresResetCall
- func (r *ScoresService) ResetAll() *ScoresResetAllCall
- func (r *ScoresService) ResetAllForAllPlayers() *ScoresResetAllForAllPlayersCall
- func (r *ScoresService) ResetForAllPlayers(leaderboardId string) *ScoresResetForAllPlayersCall
- func (r *ScoresService) ResetMultipleForAllPlayers(scoresresetmultipleforallrequest *ScoresResetMultipleForAllRequest) *ScoresResetMultipleForAllPlayersCall
- type Service
- type TurnBasedMatchesResetCall
- type TurnBasedMatchesResetForAllPlayersCall
- type TurnBasedMatchesService
Constants ¶
const ( // Share your Google+ profile information and view and manage your game // activity GamesScope = "https://www.googleapis.com/auth/games" // Know your basic profile info and list of people in your circles. PlusLoginScope = "https://www.googleapis.com/auth/plus.login" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AchievementResetAllResponse ¶
type AchievementResetAllResponse struct { // Kind: Uniquely identifies the type of this resource. Value is always // the fixed string gamesManagement#achievementResetAllResponse. Kind string `json:"kind,omitempty"` // Results: The achievement reset results. Results []*AchievementResetResponse `json:"results,omitempty"` }
type AchievementResetMultipleForAllRequest ¶
type AchievementResetMultipleForAllRequest struct { // Achievement_ids: The IDs of achievements to reset. Achievement_ids []string `json:"achievement_ids,omitempty"` // Kind: Uniquely identifies the type of this resource. Value is always // the fixed string // gamesManagement#achievementResetMultipleForAllRequest. Kind string `json:"kind,omitempty"` }
type AchievementResetResponse ¶
type AchievementResetResponse struct { // CurrentState: The current state of the achievement. This is the same // as the initial state of the achievement. // Possible values are: // - // "HIDDEN"- Achievement is hidden. // - "REVEALED" - Achievement is // revealed. // - "UNLOCKED" - Achievement is unlocked. CurrentState string `json:"currentState,omitempty"` // DefinitionId: The ID of an achievement for which player state has // been updated. DefinitionId string `json:"definitionId,omitempty"` // Kind: Uniquely identifies the type of this resource. Value is always // the fixed string gamesManagement#achievementResetResponse. Kind string `json:"kind,omitempty"` // UpdateOccurred: Flag to indicate if the requested update actually // occurred. UpdateOccurred bool `json:"updateOccurred,omitempty"` }
type AchievementsResetAllCall ¶
type AchievementsResetAllCall struct {
// contains filtered or unexported fields
}
func (*AchievementsResetAllCall) Context ¶
func (c *AchievementsResetAllCall) Context(ctx context.Context) *AchievementsResetAllCall
func (*AchievementsResetAllCall) Do ¶
func (c *AchievementsResetAllCall) Do() (*AchievementResetAllResponse, error)
func (*AchievementsResetAllCall) Fields ¶
func (c *AchievementsResetAllCall) Fields(s ...googleapi.Field) *AchievementsResetAllCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AchievementsResetAllForAllPlayersCall ¶
type AchievementsResetAllForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*AchievementsResetAllForAllPlayersCall) Context ¶
func (c *AchievementsResetAllForAllPlayersCall) Context(ctx context.Context) *AchievementsResetAllForAllPlayersCall
func (*AchievementsResetAllForAllPlayersCall) Do ¶
func (c *AchievementsResetAllForAllPlayersCall) Do() error
type AchievementsResetCall ¶
type AchievementsResetCall struct {
// contains filtered or unexported fields
}
func (*AchievementsResetCall) Context ¶
func (c *AchievementsResetCall) Context(ctx context.Context) *AchievementsResetCall
func (*AchievementsResetCall) Do ¶
func (c *AchievementsResetCall) Do() (*AchievementResetResponse, error)
func (*AchievementsResetCall) Fields ¶
func (c *AchievementsResetCall) Fields(s ...googleapi.Field) *AchievementsResetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AchievementsResetForAllPlayersCall ¶
type AchievementsResetForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*AchievementsResetForAllPlayersCall) Context ¶
func (c *AchievementsResetForAllPlayersCall) Context(ctx context.Context) *AchievementsResetForAllPlayersCall
func (*AchievementsResetForAllPlayersCall) Do ¶
func (c *AchievementsResetForAllPlayersCall) Do() error
type AchievementsResetMultipleForAllPlayersCall ¶
type AchievementsResetMultipleForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*AchievementsResetMultipleForAllPlayersCall) Context ¶
func (c *AchievementsResetMultipleForAllPlayersCall) Context(ctx context.Context) *AchievementsResetMultipleForAllPlayersCall
func (*AchievementsResetMultipleForAllPlayersCall) Do ¶
func (c *AchievementsResetMultipleForAllPlayersCall) Do() error
type AchievementsService ¶
type AchievementsService struct {
// contains filtered or unexported fields
}
func NewAchievementsService ¶
func NewAchievementsService(s *Service) *AchievementsService
func (*AchievementsService) Reset ¶
func (r *AchievementsService) Reset(achievementId string) *AchievementsResetCall
func (*AchievementsService) ResetAll ¶
func (r *AchievementsService) ResetAll() *AchievementsResetAllCall
func (*AchievementsService) ResetAllForAllPlayers ¶
func (r *AchievementsService) ResetAllForAllPlayers() *AchievementsResetAllForAllPlayersCall
func (*AchievementsService) ResetForAllPlayers ¶
func (r *AchievementsService) ResetForAllPlayers(achievementId string) *AchievementsResetForAllPlayersCall
func (*AchievementsService) ResetMultipleForAllPlayers ¶
func (r *AchievementsService) ResetMultipleForAllPlayers(achievementresetmultipleforallrequest *AchievementResetMultipleForAllRequest) *AchievementsResetMultipleForAllPlayersCall
type ApplicationsListHiddenCall ¶
type ApplicationsListHiddenCall struct {
// contains filtered or unexported fields
}
func (*ApplicationsListHiddenCall) Context ¶
func (c *ApplicationsListHiddenCall) Context(ctx context.Context) *ApplicationsListHiddenCall
func (*ApplicationsListHiddenCall) Do ¶
func (c *ApplicationsListHiddenCall) Do() (*HiddenPlayerList, error)
func (*ApplicationsListHiddenCall) Fields ¶
func (c *ApplicationsListHiddenCall) Fields(s ...googleapi.Field) *ApplicationsListHiddenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ApplicationsListHiddenCall) MaxResults ¶
func (c *ApplicationsListHiddenCall) MaxResults(maxResults int64) *ApplicationsListHiddenCall
MaxResults sets the optional parameter "maxResults": The maximum number of player resources to return in the response, used for paging. For any response, the actual number of player resources returned may be less than the specified maxResults.
func (*ApplicationsListHiddenCall) PageToken ¶
func (c *ApplicationsListHiddenCall) PageToken(pageToken string) *ApplicationsListHiddenCall
PageToken sets the optional parameter "pageToken": The token returned by the previous request.
type ApplicationsService ¶
type ApplicationsService struct {
// contains filtered or unexported fields
}
func NewApplicationsService ¶
func NewApplicationsService(s *Service) *ApplicationsService
func (*ApplicationsService) ListHidden ¶
func (r *ApplicationsService) ListHidden(applicationId string) *ApplicationsListHiddenCall
type EventsResetAllCall ¶
type EventsResetAllCall struct {
// contains filtered or unexported fields
}
func (*EventsResetAllCall) Context ¶
func (c *EventsResetAllCall) Context(ctx context.Context) *EventsResetAllCall
func (*EventsResetAllCall) Do ¶
func (c *EventsResetAllCall) Do() error
type EventsResetAllForAllPlayersCall ¶
type EventsResetAllForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*EventsResetAllForAllPlayersCall) Context ¶
func (c *EventsResetAllForAllPlayersCall) Context(ctx context.Context) *EventsResetAllForAllPlayersCall
func (*EventsResetAllForAllPlayersCall) Do ¶
func (c *EventsResetAllForAllPlayersCall) Do() error
type EventsResetCall ¶
type EventsResetCall struct {
// contains filtered or unexported fields
}
func (*EventsResetCall) Context ¶
func (c *EventsResetCall) Context(ctx context.Context) *EventsResetCall
func (*EventsResetCall) Do ¶
func (c *EventsResetCall) Do() error
type EventsResetForAllPlayersCall ¶
type EventsResetForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*EventsResetForAllPlayersCall) Context ¶
func (c *EventsResetForAllPlayersCall) Context(ctx context.Context) *EventsResetForAllPlayersCall
func (*EventsResetForAllPlayersCall) Do ¶
func (c *EventsResetForAllPlayersCall) Do() error
type EventsResetMultipleForAllPlayersCall ¶
type EventsResetMultipleForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*EventsResetMultipleForAllPlayersCall) Context ¶
func (c *EventsResetMultipleForAllPlayersCall) Context(ctx context.Context) *EventsResetMultipleForAllPlayersCall
func (*EventsResetMultipleForAllPlayersCall) Do ¶
func (c *EventsResetMultipleForAllPlayersCall) Do() error
type EventsResetMultipleForAllRequest ¶
type EventsResetMultipleForAllRequest struct { // Event_ids: The IDs of events to reset. Event_ids []string `json:"event_ids,omitempty"` // Kind: Uniquely identifies the type of this resource. Value is always // the fixed string gamesManagement#eventsResetMultipleForAllRequest. Kind string `json:"kind,omitempty"` }
type EventsService ¶
type EventsService struct {
// contains filtered or unexported fields
}
func NewEventsService ¶
func NewEventsService(s *Service) *EventsService
func (*EventsService) Reset ¶
func (r *EventsService) Reset(eventId string) *EventsResetCall
func (*EventsService) ResetAll ¶
func (r *EventsService) ResetAll() *EventsResetAllCall
func (*EventsService) ResetAllForAllPlayers ¶
func (r *EventsService) ResetAllForAllPlayers() *EventsResetAllForAllPlayersCall
func (*EventsService) ResetForAllPlayers ¶
func (r *EventsService) ResetForAllPlayers(eventId string) *EventsResetForAllPlayersCall
func (*EventsService) ResetMultipleForAllPlayers ¶
func (r *EventsService) ResetMultipleForAllPlayers(eventsresetmultipleforallrequest *EventsResetMultipleForAllRequest) *EventsResetMultipleForAllPlayersCall
type GamesPlayedResource ¶
type GamesPlayedResource struct { // AutoMatched: True if the player was auto-matched with the currently // authenticated user. AutoMatched bool `json:"autoMatched,omitempty"` // TimeMillis: The last time the player played the game in milliseconds // since the epoch in UTC. TimeMillis int64 `json:"timeMillis,omitempty,string"` }
type GamesPlayerExperienceInfoResource ¶
type GamesPlayerExperienceInfoResource struct { // CurrentExperiencePoints: The current number of experience points for // the player. CurrentExperiencePoints int64 `json:"currentExperiencePoints,omitempty,string"` // CurrentLevel: The current level of the player. CurrentLevel *GamesPlayerLevelResource `json:"currentLevel,omitempty"` // LastLevelUpTimestampMillis: The timestamp when the player was leveled // up, in millis since Unix epoch UTC. LastLevelUpTimestampMillis int64 `json:"lastLevelUpTimestampMillis,omitempty,string"` // NextLevel: The next level of the player. If the current level is the // maximum level, this should be same as the current level. NextLevel *GamesPlayerLevelResource `json:"nextLevel,omitempty"` }
type GamesPlayerLevelResource ¶
type GamesPlayerLevelResource struct { // Level: The level for the user. Level int64 `json:"level,omitempty"` // MaxExperiencePoints: The maximum experience points for this level. MaxExperiencePoints int64 `json:"maxExperiencePoints,omitempty,string"` // MinExperiencePoints: The minimum experience points for this level. MinExperiencePoints int64 `json:"minExperiencePoints,omitempty,string"` }
type HiddenPlayer ¶
type HiddenPlayer struct { // HiddenTimeMillis: The time this player was hidden. HiddenTimeMillis int64 `json:"hiddenTimeMillis,omitempty,string"` // Kind: Uniquely identifies the type of this resource. Value is always // the fixed string gamesManagement#hiddenPlayer. Kind string `json:"kind,omitempty"` // Player: The player information. Player *Player `json:"player,omitempty"` }
type HiddenPlayerList ¶
type HiddenPlayerList struct { // Items: The players. Items []*HiddenPlayer `json:"items,omitempty"` // Kind: Uniquely identifies the type of this resource. Value is always // the fixed string gamesManagement#hiddenPlayerList. Kind string `json:"kind,omitempty"` // NextPageToken: The pagination token for the next page of results. NextPageToken string `json:"nextPageToken,omitempty"` }
type Player ¶
type Player struct { // AvatarImageUrl: The base URL for the image that represents the // player. AvatarImageUrl string `json:"avatarImageUrl,omitempty"` // DisplayName: The name to display for the player. DisplayName string `json:"displayName,omitempty"` // ExperienceInfo: An object to represent Play Game experience // information for the player. ExperienceInfo *GamesPlayerExperienceInfoResource `json:"experienceInfo,omitempty"` // Kind: Uniquely identifies the type of this resource. Value is always // the fixed string gamesManagement#player. Kind string `json:"kind,omitempty"` // LastPlayedWith: Details about the last time this player played a // multiplayer game with the currently authenticated player. Populated // for PLAYED_WITH player collection members. LastPlayedWith *GamesPlayedResource `json:"lastPlayedWith,omitempty"` // Name: An object representation of the individual components of the // player's name. For some players, these fields may not be present. Name *PlayerName `json:"name,omitempty"` // PlayerId: The ID of the player. PlayerId string `json:"playerId,omitempty"` // Title: The player's title rewarded for their game activities. Title string `json:"title,omitempty"` }
type PlayerName ¶
type PlayerName struct { // FamilyName: The family name of this player. In some places, this is // known as the last name. FamilyName string `json:"familyName,omitempty"` // GivenName: The given name of this player. In some places, this is // known as the first name. GivenName string `json:"givenName,omitempty"` }
type PlayerScoreResetAllResponse ¶
type PlayerScoreResetAllResponse struct { // Kind: Uniquely identifies the type of this resource. Value is always // the fixed string gamesManagement#playerScoreResetResponse. Kind string `json:"kind,omitempty"` // Results: The leaderboard reset results. Results []*PlayerScoreResetResponse `json:"results,omitempty"` }
type PlayerScoreResetResponse ¶
type PlayerScoreResetResponse struct { // DefinitionId: The ID of an leaderboard for which player state has // been updated. DefinitionId string `json:"definitionId,omitempty"` // Kind: Uniquely identifies the type of this resource. Value is always // the fixed string gamesManagement#playerScoreResetResponse. Kind string `json:"kind,omitempty"` // ResetScoreTimeSpans: The time spans of the updated score. // Possible // values are: // - "ALL_TIME" - The score is an all-time score. // - // "WEEKLY" - The score is a weekly score. // - "DAILY" - The score is a // daily score. ResetScoreTimeSpans []string `json:"resetScoreTimeSpans,omitempty"` }
type PlayersHideCall ¶
type PlayersHideCall struct {
// contains filtered or unexported fields
}
func (*PlayersHideCall) Context ¶
func (c *PlayersHideCall) Context(ctx context.Context) *PlayersHideCall
func (*PlayersHideCall) Do ¶
func (c *PlayersHideCall) Do() error
type PlayersService ¶
type PlayersService struct {
// contains filtered or unexported fields
}
func NewPlayersService ¶
func NewPlayersService(s *Service) *PlayersService
func (*PlayersService) Hide ¶
func (r *PlayersService) Hide(applicationId string, playerId string) *PlayersHideCall
func (*PlayersService) Unhide ¶
func (r *PlayersService) Unhide(applicationId string, playerId string) *PlayersUnhideCall
type PlayersUnhideCall ¶
type PlayersUnhideCall struct {
// contains filtered or unexported fields
}
func (*PlayersUnhideCall) Context ¶
func (c *PlayersUnhideCall) Context(ctx context.Context) *PlayersUnhideCall
func (*PlayersUnhideCall) Do ¶
func (c *PlayersUnhideCall) Do() error
type QuestsResetAllCall ¶
type QuestsResetAllCall struct {
// contains filtered or unexported fields
}
func (*QuestsResetAllCall) Context ¶
func (c *QuestsResetAllCall) Context(ctx context.Context) *QuestsResetAllCall
func (*QuestsResetAllCall) Do ¶
func (c *QuestsResetAllCall) Do() error
type QuestsResetAllForAllPlayersCall ¶
type QuestsResetAllForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*QuestsResetAllForAllPlayersCall) Context ¶
func (c *QuestsResetAllForAllPlayersCall) Context(ctx context.Context) *QuestsResetAllForAllPlayersCall
func (*QuestsResetAllForAllPlayersCall) Do ¶
func (c *QuestsResetAllForAllPlayersCall) Do() error
type QuestsResetCall ¶
type QuestsResetCall struct {
// contains filtered or unexported fields
}
func (*QuestsResetCall) Context ¶
func (c *QuestsResetCall) Context(ctx context.Context) *QuestsResetCall
func (*QuestsResetCall) Do ¶
func (c *QuestsResetCall) Do() error
type QuestsResetForAllPlayersCall ¶
type QuestsResetForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*QuestsResetForAllPlayersCall) Context ¶
func (c *QuestsResetForAllPlayersCall) Context(ctx context.Context) *QuestsResetForAllPlayersCall
func (*QuestsResetForAllPlayersCall) Do ¶
func (c *QuestsResetForAllPlayersCall) Do() error
type QuestsResetMultipleForAllPlayersCall ¶
type QuestsResetMultipleForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*QuestsResetMultipleForAllPlayersCall) Context ¶
func (c *QuestsResetMultipleForAllPlayersCall) Context(ctx context.Context) *QuestsResetMultipleForAllPlayersCall
func (*QuestsResetMultipleForAllPlayersCall) Do ¶
func (c *QuestsResetMultipleForAllPlayersCall) Do() error
type QuestsResetMultipleForAllRequest ¶
type QuestsResetMultipleForAllRequest struct { // Kind: Uniquely identifies the type of this resource. Value is always // the fixed string gamesManagement#questsResetMultipleForAllRequest. Kind string `json:"kind,omitempty"` // Quest_ids: The IDs of quests to reset. Quest_ids []string `json:"quest_ids,omitempty"` }
type QuestsService ¶
type QuestsService struct {
// contains filtered or unexported fields
}
func NewQuestsService ¶
func NewQuestsService(s *Service) *QuestsService
func (*QuestsService) Reset ¶
func (r *QuestsService) Reset(questId string) *QuestsResetCall
func (*QuestsService) ResetAll ¶
func (r *QuestsService) ResetAll() *QuestsResetAllCall
func (*QuestsService) ResetAllForAllPlayers ¶
func (r *QuestsService) ResetAllForAllPlayers() *QuestsResetAllForAllPlayersCall
func (*QuestsService) ResetForAllPlayers ¶
func (r *QuestsService) ResetForAllPlayers(questId string) *QuestsResetForAllPlayersCall
func (*QuestsService) ResetMultipleForAllPlayers ¶
func (r *QuestsService) ResetMultipleForAllPlayers(questsresetmultipleforallrequest *QuestsResetMultipleForAllRequest) *QuestsResetMultipleForAllPlayersCall
type RoomsResetCall ¶
type RoomsResetCall struct {
// contains filtered or unexported fields
}
func (*RoomsResetCall) Context ¶
func (c *RoomsResetCall) Context(ctx context.Context) *RoomsResetCall
func (*RoomsResetCall) Do ¶
func (c *RoomsResetCall) Do() error
type RoomsResetForAllPlayersCall ¶
type RoomsResetForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*RoomsResetForAllPlayersCall) Context ¶
func (c *RoomsResetForAllPlayersCall) Context(ctx context.Context) *RoomsResetForAllPlayersCall
func (*RoomsResetForAllPlayersCall) Do ¶
func (c *RoomsResetForAllPlayersCall) Do() error
type RoomsService ¶
type RoomsService struct {
// contains filtered or unexported fields
}
func NewRoomsService ¶
func NewRoomsService(s *Service) *RoomsService
func (*RoomsService) Reset ¶
func (r *RoomsService) Reset() *RoomsResetCall
func (*RoomsService) ResetForAllPlayers ¶
func (r *RoomsService) ResetForAllPlayers() *RoomsResetForAllPlayersCall
type ScoresResetAllCall ¶
type ScoresResetAllCall struct {
// contains filtered or unexported fields
}
func (*ScoresResetAllCall) Context ¶
func (c *ScoresResetAllCall) Context(ctx context.Context) *ScoresResetAllCall
func (*ScoresResetAllCall) Do ¶
func (c *ScoresResetAllCall) Do() (*PlayerScoreResetAllResponse, error)
func (*ScoresResetAllCall) Fields ¶
func (c *ScoresResetAllCall) Fields(s ...googleapi.Field) *ScoresResetAllCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ScoresResetAllForAllPlayersCall ¶
type ScoresResetAllForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*ScoresResetAllForAllPlayersCall) Context ¶
func (c *ScoresResetAllForAllPlayersCall) Context(ctx context.Context) *ScoresResetAllForAllPlayersCall
func (*ScoresResetAllForAllPlayersCall) Do ¶
func (c *ScoresResetAllForAllPlayersCall) Do() error
type ScoresResetCall ¶
type ScoresResetCall struct {
// contains filtered or unexported fields
}
func (*ScoresResetCall) Context ¶
func (c *ScoresResetCall) Context(ctx context.Context) *ScoresResetCall
func (*ScoresResetCall) Do ¶
func (c *ScoresResetCall) Do() (*PlayerScoreResetResponse, error)
func (*ScoresResetCall) Fields ¶
func (c *ScoresResetCall) Fields(s ...googleapi.Field) *ScoresResetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ScoresResetForAllPlayersCall ¶
type ScoresResetForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*ScoresResetForAllPlayersCall) Context ¶
func (c *ScoresResetForAllPlayersCall) Context(ctx context.Context) *ScoresResetForAllPlayersCall
func (*ScoresResetForAllPlayersCall) Do ¶
func (c *ScoresResetForAllPlayersCall) Do() error
type ScoresResetMultipleForAllPlayersCall ¶
type ScoresResetMultipleForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*ScoresResetMultipleForAllPlayersCall) Context ¶
func (c *ScoresResetMultipleForAllPlayersCall) Context(ctx context.Context) *ScoresResetMultipleForAllPlayersCall
func (*ScoresResetMultipleForAllPlayersCall) Do ¶
func (c *ScoresResetMultipleForAllPlayersCall) Do() error
type ScoresResetMultipleForAllRequest ¶
type ScoresResetMultipleForAllRequest struct { // Kind: Uniquely identifies the type of this resource. Value is always // the fixed string gamesManagement#scoresResetMultipleForAllRequest. Kind string `json:"kind,omitempty"` // Leaderboard_ids: The IDs of leaderboards to reset. Leaderboard_ids []string `json:"leaderboard_ids,omitempty"` }
type ScoresService ¶
type ScoresService struct {
// contains filtered or unexported fields
}
func NewScoresService ¶
func NewScoresService(s *Service) *ScoresService
func (*ScoresService) Reset ¶
func (r *ScoresService) Reset(leaderboardId string) *ScoresResetCall
func (*ScoresService) ResetAll ¶
func (r *ScoresService) ResetAll() *ScoresResetAllCall
func (*ScoresService) ResetAllForAllPlayers ¶
func (r *ScoresService) ResetAllForAllPlayers() *ScoresResetAllForAllPlayersCall
func (*ScoresService) ResetForAllPlayers ¶
func (r *ScoresService) ResetForAllPlayers(leaderboardId string) *ScoresResetForAllPlayersCall
func (*ScoresService) ResetMultipleForAllPlayers ¶
func (r *ScoresService) ResetMultipleForAllPlayers(scoresresetmultipleforallrequest *ScoresResetMultipleForAllRequest) *ScoresResetMultipleForAllPlayersCall
type Service ¶
type Service struct { Achievements *AchievementsService Applications *ApplicationsService Events *EventsService Players *PlayersService Quests *QuestsService Rooms *RoomsService Scores *ScoresService TurnBasedMatches *TurnBasedMatchesService // contains filtered or unexported fields }
type TurnBasedMatchesResetCall ¶
type TurnBasedMatchesResetCall struct {
// contains filtered or unexported fields
}
func (*TurnBasedMatchesResetCall) Context ¶
func (c *TurnBasedMatchesResetCall) Context(ctx context.Context) *TurnBasedMatchesResetCall
func (*TurnBasedMatchesResetCall) Do ¶
func (c *TurnBasedMatchesResetCall) Do() error
type TurnBasedMatchesResetForAllPlayersCall ¶
type TurnBasedMatchesResetForAllPlayersCall struct {
// contains filtered or unexported fields
}
func (*TurnBasedMatchesResetForAllPlayersCall) Context ¶
func (c *TurnBasedMatchesResetForAllPlayersCall) Context(ctx context.Context) *TurnBasedMatchesResetForAllPlayersCall
func (*TurnBasedMatchesResetForAllPlayersCall) Do ¶
func (c *TurnBasedMatchesResetForAllPlayersCall) Do() error
type TurnBasedMatchesService ¶
type TurnBasedMatchesService struct {
// contains filtered or unexported fields
}
func NewTurnBasedMatchesService ¶
func NewTurnBasedMatchesService(s *Service) *TurnBasedMatchesService
func (*TurnBasedMatchesService) Reset ¶
func (r *TurnBasedMatchesService) Reset() *TurnBasedMatchesResetCall
func (*TurnBasedMatchesService) ResetForAllPlayers ¶
func (r *TurnBasedMatchesService) ResetForAllPlayers() *TurnBasedMatchesResetForAllPlayersCall