Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const DriveAppdataScope + const GamesScope + type AchievementDefinition struct + AchievementType string + Description string + ExperiencePoints int64 + ForceSendFields []string + FormattedTotalSteps string + Id string + InitialState string + IsRevealedIconUrlDefault bool + IsUnlockedIconUrlDefault bool + Kind string + Name string + NullFields []string + RevealedIconUrl string + TotalSteps int64 + UnlockedIconUrl string + func (s *AchievementDefinition) MarshalJSON() ([]byte, error) + type AchievementDefinitionsListCall struct + func (c *AchievementDefinitionsListCall) Context(ctx context.Context) *AchievementDefinitionsListCall + func (c *AchievementDefinitionsListCall) Do(opts ...googleapi.CallOption) (*AchievementDefinitionsListResponse, error) + func (c *AchievementDefinitionsListCall) Fields(s ...googleapi.Field) *AchievementDefinitionsListCall + func (c *AchievementDefinitionsListCall) Header() http.Header + func (c *AchievementDefinitionsListCall) IfNoneMatch(entityTag string) *AchievementDefinitionsListCall + func (c *AchievementDefinitionsListCall) Language(language string) *AchievementDefinitionsListCall + func (c *AchievementDefinitionsListCall) MaxResults(maxResults int64) *AchievementDefinitionsListCall + func (c *AchievementDefinitionsListCall) PageToken(pageToken string) *AchievementDefinitionsListCall + func (c *AchievementDefinitionsListCall) Pages(ctx context.Context, f func(*AchievementDefinitionsListResponse) error) error + type AchievementDefinitionsListResponse struct + ForceSendFields []string + Items []*AchievementDefinition + Kind string + NextPageToken string + NullFields []string + func (s *AchievementDefinitionsListResponse) MarshalJSON() ([]byte, error) + type AchievementDefinitionsService struct + func NewAchievementDefinitionsService(s *Service) *AchievementDefinitionsService + func (r *AchievementDefinitionsService) List() *AchievementDefinitionsListCall + type AchievementIncrementResponse struct + CurrentSteps int64 + ForceSendFields []string + Kind string + NewlyUnlocked bool + NullFields []string + func (s *AchievementIncrementResponse) MarshalJSON() ([]byte, error) + type AchievementRevealResponse struct + CurrentState string + ForceSendFields []string + Kind string + NullFields []string + func (s *AchievementRevealResponse) MarshalJSON() ([]byte, error) + type AchievementSetStepsAtLeastResponse struct + CurrentSteps int64 + ForceSendFields []string + Kind string + NewlyUnlocked bool + NullFields []string + func (s *AchievementSetStepsAtLeastResponse) MarshalJSON() ([]byte, error) + type AchievementUnlockResponse struct + ForceSendFields []string + Kind string + NewlyUnlocked bool + NullFields []string + func (s *AchievementUnlockResponse) MarshalJSON() ([]byte, error) + type AchievementUpdateMultipleRequest struct + ForceSendFields []string + Kind string + NullFields []string + Updates []*AchievementUpdateRequest + func (s *AchievementUpdateMultipleRequest) MarshalJSON() ([]byte, error) + type AchievementUpdateMultipleResponse struct + ForceSendFields []string + Kind string + NullFields []string + UpdatedAchievements []*AchievementUpdateResponse + func (s *AchievementUpdateMultipleResponse) MarshalJSON() ([]byte, error) + type AchievementUpdateRequest struct + AchievementId string + ForceSendFields []string + IncrementPayload *GamesAchievementIncrement + Kind string + NullFields []string + SetStepsAtLeastPayload *GamesAchievementSetStepsAtLeast + UpdateType string + func (s *AchievementUpdateRequest) MarshalJSON() ([]byte, error) + type AchievementUpdateResponse struct + AchievementId string + CurrentState string + CurrentSteps int64 + ForceSendFields []string + Kind string + NewlyUnlocked bool + NullFields []string + UpdateOccurred bool + func (s *AchievementUpdateResponse) MarshalJSON() ([]byte, error) + type AchievementsIncrementCall struct + func (c *AchievementsIncrementCall) Context(ctx context.Context) *AchievementsIncrementCall + func (c *AchievementsIncrementCall) Do(opts ...googleapi.CallOption) (*AchievementIncrementResponse, error) + func (c *AchievementsIncrementCall) Fields(s ...googleapi.Field) *AchievementsIncrementCall + func (c *AchievementsIncrementCall) Header() http.Header + func (c *AchievementsIncrementCall) RequestId(requestId int64) *AchievementsIncrementCall + type AchievementsListCall struct + func (c *AchievementsListCall) Context(ctx context.Context) *AchievementsListCall + func (c *AchievementsListCall) Do(opts ...googleapi.CallOption) (*PlayerAchievementListResponse, error) + func (c *AchievementsListCall) Fields(s ...googleapi.Field) *AchievementsListCall + func (c *AchievementsListCall) Header() http.Header + func (c *AchievementsListCall) IfNoneMatch(entityTag string) *AchievementsListCall + func (c *AchievementsListCall) Language(language string) *AchievementsListCall + func (c *AchievementsListCall) MaxResults(maxResults int64) *AchievementsListCall + func (c *AchievementsListCall) PageToken(pageToken string) *AchievementsListCall + func (c *AchievementsListCall) Pages(ctx context.Context, f func(*PlayerAchievementListResponse) error) error + func (c *AchievementsListCall) State(state string) *AchievementsListCall + type AchievementsRevealCall struct + func (c *AchievementsRevealCall) Context(ctx context.Context) *AchievementsRevealCall + func (c *AchievementsRevealCall) Do(opts ...googleapi.CallOption) (*AchievementRevealResponse, error) + func (c *AchievementsRevealCall) Fields(s ...googleapi.Field) *AchievementsRevealCall + func (c *AchievementsRevealCall) Header() http.Header + type AchievementsService struct + func NewAchievementsService(s *Service) *AchievementsService + func (r *AchievementsService) Increment(achievementId string, stepsToIncrement int64) *AchievementsIncrementCall + func (r *AchievementsService) List(playerId string) *AchievementsListCall + func (r *AchievementsService) Reveal(achievementId string) *AchievementsRevealCall + func (r *AchievementsService) SetStepsAtLeast(achievementId string, steps int64) *AchievementsSetStepsAtLeastCall + func (r *AchievementsService) Unlock(achievementId string) *AchievementsUnlockCall + func (r *AchievementsService) UpdateMultiple(achievementupdatemultiplerequest *AchievementUpdateMultipleRequest) *AchievementsUpdateMultipleCall + type AchievementsSetStepsAtLeastCall struct + func (c *AchievementsSetStepsAtLeastCall) Context(ctx context.Context) *AchievementsSetStepsAtLeastCall + func (c *AchievementsSetStepsAtLeastCall) Do(opts ...googleapi.CallOption) (*AchievementSetStepsAtLeastResponse, error) + func (c *AchievementsSetStepsAtLeastCall) Fields(s ...googleapi.Field) *AchievementsSetStepsAtLeastCall + func (c *AchievementsSetStepsAtLeastCall) Header() http.Header + type AchievementsUnlockCall struct + func (c *AchievementsUnlockCall) Context(ctx context.Context) *AchievementsUnlockCall + func (c *AchievementsUnlockCall) Do(opts ...googleapi.CallOption) (*AchievementUnlockResponse, error) + func (c *AchievementsUnlockCall) Fields(s ...googleapi.Field) *AchievementsUnlockCall + func (c *AchievementsUnlockCall) Header() http.Header + type AchievementsUpdateMultipleCall struct + func (c *AchievementsUpdateMultipleCall) Context(ctx context.Context) *AchievementsUpdateMultipleCall + func (c *AchievementsUpdateMultipleCall) Do(opts ...googleapi.CallOption) (*AchievementUpdateMultipleResponse, error) + func (c *AchievementsUpdateMultipleCall) Fields(s ...googleapi.Field) *AchievementsUpdateMultipleCall + func (c *AchievementsUpdateMultipleCall) Header() http.Header + type Application struct + AchievementCount int64 + Assets []*ImageAsset + Author string + Category *ApplicationCategory + Description string + EnabledFeatures []string + ForceSendFields []string + Id string + Instances []*Instance + Kind string + LastUpdatedTimestamp int64 + LeaderboardCount int64 + Name string + NullFields []string + ThemeColor string + func (s *Application) MarshalJSON() ([]byte, error) + type ApplicationCategory struct + ForceSendFields []string + Kind string + NullFields []string + Primary string + Secondary string + func (s *ApplicationCategory) MarshalJSON() ([]byte, error) + type ApplicationVerifyResponse struct + AlternatePlayerId string + ForceSendFields []string + Kind string + NullFields []string + PlayerId string + func (s *ApplicationVerifyResponse) MarshalJSON() ([]byte, error) + type ApplicationsGetCall struct + func (c *ApplicationsGetCall) Context(ctx context.Context) *ApplicationsGetCall + func (c *ApplicationsGetCall) Do(opts ...googleapi.CallOption) (*Application, error) + func (c *ApplicationsGetCall) Fields(s ...googleapi.Field) *ApplicationsGetCall + func (c *ApplicationsGetCall) Header() http.Header + func (c *ApplicationsGetCall) IfNoneMatch(entityTag string) *ApplicationsGetCall + func (c *ApplicationsGetCall) Language(language string) *ApplicationsGetCall + func (c *ApplicationsGetCall) PlatformType(platformType string) *ApplicationsGetCall + type ApplicationsGetEndPointCall struct + func (c *ApplicationsGetEndPointCall) ApplicationId(applicationId string) *ApplicationsGetEndPointCall + func (c *ApplicationsGetEndPointCall) Context(ctx context.Context) *ApplicationsGetEndPointCall + func (c *ApplicationsGetEndPointCall) Do(opts ...googleapi.CallOption) (*EndPoint, error) + func (c *ApplicationsGetEndPointCall) EndPointType(endPointType string) *ApplicationsGetEndPointCall + func (c *ApplicationsGetEndPointCall) Fields(s ...googleapi.Field) *ApplicationsGetEndPointCall + func (c *ApplicationsGetEndPointCall) Header() http.Header + type ApplicationsPlayedCall struct + func (c *ApplicationsPlayedCall) Context(ctx context.Context) *ApplicationsPlayedCall + func (c *ApplicationsPlayedCall) Do(opts ...googleapi.CallOption) error + func (c *ApplicationsPlayedCall) Fields(s ...googleapi.Field) *ApplicationsPlayedCall + func (c *ApplicationsPlayedCall) Header() http.Header + type ApplicationsService struct + func NewApplicationsService(s *Service) *ApplicationsService + func (r *ApplicationsService) Get(applicationId string) *ApplicationsGetCall + func (r *ApplicationsService) GetEndPoint() *ApplicationsGetEndPointCall + func (r *ApplicationsService) Played() *ApplicationsPlayedCall + func (r *ApplicationsService) Verify(applicationId string) *ApplicationsVerifyCall + type ApplicationsVerifyCall struct + func (c *ApplicationsVerifyCall) Context(ctx context.Context) *ApplicationsVerifyCall + func (c *ApplicationsVerifyCall) Do(opts ...googleapi.CallOption) (*ApplicationVerifyResponse, error) + func (c *ApplicationsVerifyCall) Fields(s ...googleapi.Field) *ApplicationsVerifyCall + func (c *ApplicationsVerifyCall) Header() http.Header + func (c *ApplicationsVerifyCall) IfNoneMatch(entityTag string) *ApplicationsVerifyCall + type Category struct + Category string + ExperiencePoints int64 + ForceSendFields []string + Kind string + NullFields []string + func (s *Category) MarshalJSON() ([]byte, error) + type CategoryListResponse struct + ForceSendFields []string + Items []*Category + Kind string + NextPageToken string + NullFields []string + func (s *CategoryListResponse) MarshalJSON() ([]byte, error) + type EndPoint struct + ForceSendFields []string + NullFields []string + Url string + func (s *EndPoint) MarshalJSON() ([]byte, error) + type EventBatchRecordFailure struct + FailureCause string + ForceSendFields []string + Kind string + NullFields []string + Range *EventPeriodRange + func (s *EventBatchRecordFailure) MarshalJSON() ([]byte, error) + type EventChild struct + ChildId string + ForceSendFields []string + Kind string + NullFields []string + func (s *EventChild) MarshalJSON() ([]byte, error) + type EventDefinition struct + ChildEvents []*EventChild + Description string + DisplayName string + ForceSendFields []string + Id string + ImageUrl string + IsDefaultImageUrl bool + Kind string + NullFields []string + Visibility string + func (s *EventDefinition) MarshalJSON() ([]byte, error) + type EventDefinitionListResponse struct + ForceSendFields []string + Items []*EventDefinition + Kind string + NextPageToken string + NullFields []string + func (s *EventDefinitionListResponse) MarshalJSON() ([]byte, error) + type EventPeriodRange struct + ForceSendFields []string + Kind string + NullFields []string + PeriodEndMillis int64 + PeriodStartMillis int64 + func (s *EventPeriodRange) MarshalJSON() ([]byte, error) + type EventPeriodUpdate struct + ForceSendFields []string + Kind string + NullFields []string + TimePeriod *EventPeriodRange + Updates []*EventUpdateRequest + func (s *EventPeriodUpdate) MarshalJSON() ([]byte, error) + type EventRecordFailure struct + EventId string + FailureCause string + ForceSendFields []string + Kind string + NullFields []string + func (s *EventRecordFailure) MarshalJSON() ([]byte, error) + type EventRecordRequest struct + CurrentTimeMillis int64 + ForceSendFields []string + Kind string + NullFields []string + RequestId int64 + TimePeriods []*EventPeriodUpdate + func (s *EventRecordRequest) MarshalJSON() ([]byte, error) + type EventUpdateRequest struct + DefinitionId string + ForceSendFields []string + Kind string + NullFields []string + UpdateCount int64 + func (s *EventUpdateRequest) MarshalJSON() ([]byte, error) + type EventUpdateResponse struct + BatchFailures []*EventBatchRecordFailure + EventFailures []*EventRecordFailure + ForceSendFields []string + Kind string + NullFields []string + PlayerEvents []*PlayerEvent + func (s *EventUpdateResponse) MarshalJSON() ([]byte, error) + type EventsListByPlayerCall struct + func (c *EventsListByPlayerCall) Context(ctx context.Context) *EventsListByPlayerCall + func (c *EventsListByPlayerCall) Do(opts ...googleapi.CallOption) (*PlayerEventListResponse, error) + func (c *EventsListByPlayerCall) Fields(s ...googleapi.Field) *EventsListByPlayerCall + func (c *EventsListByPlayerCall) Header() http.Header + func (c *EventsListByPlayerCall) IfNoneMatch(entityTag string) *EventsListByPlayerCall + func (c *EventsListByPlayerCall) Language(language string) *EventsListByPlayerCall + func (c *EventsListByPlayerCall) MaxResults(maxResults int64) *EventsListByPlayerCall + func (c *EventsListByPlayerCall) PageToken(pageToken string) *EventsListByPlayerCall + func (c *EventsListByPlayerCall) Pages(ctx context.Context, f func(*PlayerEventListResponse) error) error + type EventsListDefinitionsCall struct + func (c *EventsListDefinitionsCall) Context(ctx context.Context) *EventsListDefinitionsCall + func (c *EventsListDefinitionsCall) Do(opts ...googleapi.CallOption) (*EventDefinitionListResponse, error) + func (c *EventsListDefinitionsCall) Fields(s ...googleapi.Field) *EventsListDefinitionsCall + func (c *EventsListDefinitionsCall) Header() http.Header + func (c *EventsListDefinitionsCall) IfNoneMatch(entityTag string) *EventsListDefinitionsCall + func (c *EventsListDefinitionsCall) Language(language string) *EventsListDefinitionsCall + func (c *EventsListDefinitionsCall) MaxResults(maxResults int64) *EventsListDefinitionsCall + func (c *EventsListDefinitionsCall) PageToken(pageToken string) *EventsListDefinitionsCall + func (c *EventsListDefinitionsCall) Pages(ctx context.Context, f func(*EventDefinitionListResponse) error) error + type EventsRecordCall struct + func (c *EventsRecordCall) Context(ctx context.Context) *EventsRecordCall + func (c *EventsRecordCall) Do(opts ...googleapi.CallOption) (*EventUpdateResponse, error) + func (c *EventsRecordCall) Fields(s ...googleapi.Field) *EventsRecordCall + func (c *EventsRecordCall) Header() http.Header + func (c *EventsRecordCall) Language(language string) *EventsRecordCall + type EventsService struct + func NewEventsService(s *Service) *EventsService + func (r *EventsService) ListByPlayer() *EventsListByPlayerCall + func (r *EventsService) ListDefinitions() *EventsListDefinitionsCall + func (r *EventsService) Record(eventrecordrequest *EventRecordRequest) *EventsRecordCall + type GamesAchievementIncrement struct + ForceSendFields []string + Kind string + NullFields []string + RequestId int64 + Steps int64 + func (s *GamesAchievementIncrement) MarshalJSON() ([]byte, error) + type GamesAchievementSetStepsAtLeast struct + ForceSendFields []string + Kind string + NullFields []string + Steps int64 + func (s *GamesAchievementSetStepsAtLeast) MarshalJSON() ([]byte, error) + type ImageAsset struct + ForceSendFields []string + Height int64 + Kind string + Name string + NullFields []string + Url string + Width int64 + func (s *ImageAsset) MarshalJSON() ([]byte, error) + type Instance struct + AcquisitionUri string + AndroidInstance *InstanceAndroidDetails + ForceSendFields []string + IosInstance *InstanceIosDetails + Kind string + Name string + NullFields []string + PlatformType string + RealtimePlay bool + TurnBasedPlay bool + WebInstance *InstanceWebDetails + func (s *Instance) MarshalJSON() ([]byte, error) + type InstanceAndroidDetails struct + EnablePiracyCheck bool + ForceSendFields []string + Kind string + NullFields []string + PackageName string + Preferred bool + func (s *InstanceAndroidDetails) MarshalJSON() ([]byte, error) + type InstanceIosDetails struct + BundleIdentifier string + ForceSendFields []string + ItunesAppId string + Kind string + NullFields []string + PreferredForIpad bool + PreferredForIphone bool + SupportIpad bool + SupportIphone bool + func (s *InstanceIosDetails) MarshalJSON() ([]byte, error) + type InstanceWebDetails struct + ForceSendFields []string + Kind string + LaunchUrl string + NullFields []string + Preferred bool + func (s *InstanceWebDetails) MarshalJSON() ([]byte, error) + type Leaderboard struct + ForceSendFields []string + IconUrl string + Id string + IsIconUrlDefault bool + Kind string + Name string + NullFields []string + Order string + func (s *Leaderboard) MarshalJSON() ([]byte, error) + type LeaderboardEntry struct + ForceSendFields []string + FormattedScore string + FormattedScoreRank string + Kind string + NullFields []string + Player *Player + ScoreRank int64 + ScoreTag string + ScoreValue int64 + TimeSpan string + WriteTimestampMillis int64 + func (s *LeaderboardEntry) MarshalJSON() ([]byte, error) + type LeaderboardListResponse struct + ForceSendFields []string + Items []*Leaderboard + Kind string + NextPageToken string + NullFields []string + func (s *LeaderboardListResponse) MarshalJSON() ([]byte, error) + type LeaderboardScoreRank struct + ForceSendFields []string + FormattedNumScores string + FormattedRank string + Kind string + NullFields []string + NumScores int64 + Rank int64 + func (s *LeaderboardScoreRank) MarshalJSON() ([]byte, error) + type LeaderboardScores struct + ForceSendFields []string + Items []*LeaderboardEntry + Kind string + NextPageToken string + NullFields []string + NumScores int64 + PlayerScore *LeaderboardEntry + PrevPageToken string + func (s *LeaderboardScores) MarshalJSON() ([]byte, error) + type LeaderboardsGetCall struct + func (c *LeaderboardsGetCall) Context(ctx context.Context) *LeaderboardsGetCall + func (c *LeaderboardsGetCall) Do(opts ...googleapi.CallOption) (*Leaderboard, error) + func (c *LeaderboardsGetCall) Fields(s ...googleapi.Field) *LeaderboardsGetCall + func (c *LeaderboardsGetCall) Header() http.Header + func (c *LeaderboardsGetCall) IfNoneMatch(entityTag string) *LeaderboardsGetCall + func (c *LeaderboardsGetCall) Language(language string) *LeaderboardsGetCall + type LeaderboardsListCall struct + func (c *LeaderboardsListCall) Context(ctx context.Context) *LeaderboardsListCall + func (c *LeaderboardsListCall) Do(opts ...googleapi.CallOption) (*LeaderboardListResponse, error) + func (c *LeaderboardsListCall) Fields(s ...googleapi.Field) *LeaderboardsListCall + func (c *LeaderboardsListCall) Header() http.Header + func (c *LeaderboardsListCall) IfNoneMatch(entityTag string) *LeaderboardsListCall + func (c *LeaderboardsListCall) Language(language string) *LeaderboardsListCall + func (c *LeaderboardsListCall) MaxResults(maxResults int64) *LeaderboardsListCall + func (c *LeaderboardsListCall) PageToken(pageToken string) *LeaderboardsListCall + func (c *LeaderboardsListCall) Pages(ctx context.Context, f func(*LeaderboardListResponse) error) error + type LeaderboardsService struct + func NewLeaderboardsService(s *Service) *LeaderboardsService + func (r *LeaderboardsService) Get(leaderboardId string) *LeaderboardsGetCall + func (r *LeaderboardsService) List() *LeaderboardsListCall + type MetagameConfig struct + CurrentVersion int64 + ForceSendFields []string + Kind string + NullFields []string + PlayerLevels []*PlayerLevel + func (s *MetagameConfig) MarshalJSON() ([]byte, error) + type MetagameGetMetagameConfigCall struct + func (c *MetagameGetMetagameConfigCall) Context(ctx context.Context) *MetagameGetMetagameConfigCall + func (c *MetagameGetMetagameConfigCall) Do(opts ...googleapi.CallOption) (*MetagameConfig, error) + func (c *MetagameGetMetagameConfigCall) Fields(s ...googleapi.Field) *MetagameGetMetagameConfigCall + func (c *MetagameGetMetagameConfigCall) Header() http.Header + func (c *MetagameGetMetagameConfigCall) IfNoneMatch(entityTag string) *MetagameGetMetagameConfigCall + type MetagameListCategoriesByPlayerCall struct + func (c *MetagameListCategoriesByPlayerCall) Context(ctx context.Context) *MetagameListCategoriesByPlayerCall + func (c *MetagameListCategoriesByPlayerCall) Do(opts ...googleapi.CallOption) (*CategoryListResponse, error) + func (c *MetagameListCategoriesByPlayerCall) Fields(s ...googleapi.Field) *MetagameListCategoriesByPlayerCall + func (c *MetagameListCategoriesByPlayerCall) Header() http.Header + func (c *MetagameListCategoriesByPlayerCall) IfNoneMatch(entityTag string) *MetagameListCategoriesByPlayerCall + func (c *MetagameListCategoriesByPlayerCall) Language(language string) *MetagameListCategoriesByPlayerCall + func (c *MetagameListCategoriesByPlayerCall) MaxResults(maxResults int64) *MetagameListCategoriesByPlayerCall + func (c *MetagameListCategoriesByPlayerCall) PageToken(pageToken string) *MetagameListCategoriesByPlayerCall + func (c *MetagameListCategoriesByPlayerCall) Pages(ctx context.Context, f func(*CategoryListResponse) error) error + type MetagameService struct + func NewMetagameService(s *Service) *MetagameService + func (r *MetagameService) GetMetagameConfig() *MetagameGetMetagameConfigCall + func (r *MetagameService) ListCategoriesByPlayer(playerId string, collection string) *MetagameListCategoriesByPlayerCall + type Player struct + AvatarImageUrl string + BannerUrlLandscape string + BannerUrlPortrait string + DisplayName string + ExperienceInfo *PlayerExperienceInfo + ForceSendFields []string + FriendStatus string + Kind string + Name *PlayerName + NullFields []string + OriginalPlayerId string + PlayerId string + ProfileSettings *ProfileSettings + Title string + func (s *Player) MarshalJSON() ([]byte, error) + type PlayerAchievement struct + AchievementState string + CurrentSteps int64 + ExperiencePoints int64 + ForceSendFields []string + FormattedCurrentStepsString string + Id string + Kind string + LastUpdatedTimestamp int64 + NullFields []string + func (s *PlayerAchievement) MarshalJSON() ([]byte, error) + type PlayerAchievementListResponse struct + ForceSendFields []string + Items []*PlayerAchievement + Kind string + NextPageToken string + NullFields []string + func (s *PlayerAchievementListResponse) MarshalJSON() ([]byte, error) + type PlayerEvent struct + DefinitionId string + ForceSendFields []string + FormattedNumEvents string + Kind string + NullFields []string + NumEvents int64 + PlayerId string + func (s *PlayerEvent) MarshalJSON() ([]byte, error) + type PlayerEventListResponse struct + ForceSendFields []string + Items []*PlayerEvent + Kind string + NextPageToken string + NullFields []string + func (s *PlayerEventListResponse) MarshalJSON() ([]byte, error) + type PlayerExperienceInfo struct + CurrentExperiencePoints int64 + CurrentLevel *PlayerLevel + ForceSendFields []string + Kind string + LastLevelUpTimestampMillis int64 + NextLevel *PlayerLevel + NullFields []string + func (s *PlayerExperienceInfo) MarshalJSON() ([]byte, error) + type PlayerLeaderboardScore struct + ForceSendFields []string + FriendsRank *LeaderboardScoreRank + Kind string + LeaderboardId string + NullFields []string + PublicRank *LeaderboardScoreRank + ScoreString string + ScoreTag string + ScoreValue int64 + SocialRank *LeaderboardScoreRank + TimeSpan string + WriteTimestamp int64 + func (s *PlayerLeaderboardScore) MarshalJSON() ([]byte, error) + type PlayerLeaderboardScoreListResponse struct + ForceSendFields []string + Items []*PlayerLeaderboardScore + Kind string + NextPageToken string + NullFields []string + Player *Player + func (s *PlayerLeaderboardScoreListResponse) MarshalJSON() ([]byte, error) + type PlayerLevel struct + ForceSendFields []string + Kind string + Level int64 + MaxExperiencePoints int64 + MinExperiencePoints int64 + NullFields []string + func (s *PlayerLevel) MarshalJSON() ([]byte, error) + type PlayerListResponse struct + ForceSendFields []string + Items []*Player + Kind string + NextPageToken string + NullFields []string + func (s *PlayerListResponse) MarshalJSON() ([]byte, error) + type PlayerName struct + FamilyName string + ForceSendFields []string + GivenName string + NullFields []string + func (s *PlayerName) MarshalJSON() ([]byte, error) + type PlayerScore struct + ForceSendFields []string + FormattedScore string + Kind string + NullFields []string + Score int64 + ScoreTag string + TimeSpan string + func (s *PlayerScore) MarshalJSON() ([]byte, error) + type PlayerScoreListResponse struct + ForceSendFields []string + Kind string + NullFields []string + SubmittedScores []*PlayerScoreResponse + func (s *PlayerScoreListResponse) MarshalJSON() ([]byte, error) + type PlayerScoreResponse struct + BeatenScoreTimeSpans []string + ForceSendFields []string + FormattedScore string + Kind string + LeaderboardId string + NullFields []string + ScoreTag string + UnbeatenScores []*PlayerScore + func (s *PlayerScoreResponse) MarshalJSON() ([]byte, error) + type PlayerScoreSubmissionList struct + ForceSendFields []string + Kind string + NullFields []string + Scores []*ScoreSubmission + func (s *PlayerScoreSubmissionList) MarshalJSON() ([]byte, error) + type PlayersGetCall struct + func (c *PlayersGetCall) Context(ctx context.Context) *PlayersGetCall + func (c *PlayersGetCall) Do(opts ...googleapi.CallOption) (*Player, error) + func (c *PlayersGetCall) Fields(s ...googleapi.Field) *PlayersGetCall + func (c *PlayersGetCall) Header() http.Header + func (c *PlayersGetCall) IfNoneMatch(entityTag string) *PlayersGetCall + func (c *PlayersGetCall) Language(language string) *PlayersGetCall + type PlayersListCall struct + func (c *PlayersListCall) Context(ctx context.Context) *PlayersListCall + func (c *PlayersListCall) Do(opts ...googleapi.CallOption) (*PlayerListResponse, error) + func (c *PlayersListCall) Fields(s ...googleapi.Field) *PlayersListCall + func (c *PlayersListCall) Header() http.Header + func (c *PlayersListCall) IfNoneMatch(entityTag string) *PlayersListCall + func (c *PlayersListCall) Language(language string) *PlayersListCall + func (c *PlayersListCall) MaxResults(maxResults int64) *PlayersListCall + func (c *PlayersListCall) PageToken(pageToken string) *PlayersListCall + func (c *PlayersListCall) Pages(ctx context.Context, f func(*PlayerListResponse) error) error + type PlayersService struct + func NewPlayersService(s *Service) *PlayersService + func (r *PlayersService) Get(playerId string) *PlayersGetCall + func (r *PlayersService) List(collection string) *PlayersListCall + type ProfileSettings struct + ForceSendFields []string + FriendsListVisibility string + Kind string + NullFields []string + ProfileVisible bool + func (s *ProfileSettings) MarshalJSON() ([]byte, error) + type ResolveSnapshotHeadRequest struct + ForceSendFields []string + NullFields []string + ResolutionPolicy string + func (s *ResolveSnapshotHeadRequest) MarshalJSON() ([]byte, error) + type ResolveSnapshotHeadResponse struct + ForceSendFields []string + NullFields []string + Snapshot *SnapshotExtended + func (s *ResolveSnapshotHeadResponse) MarshalJSON() ([]byte, error) + type RevisionCheckResponse struct + ApiVersion string + ForceSendFields []string + Kind string + NullFields []string + RevisionStatus string + func (s *RevisionCheckResponse) MarshalJSON() ([]byte, error) + type RevisionsCheckCall struct + func (c *RevisionsCheckCall) Context(ctx context.Context) *RevisionsCheckCall + func (c *RevisionsCheckCall) Do(opts ...googleapi.CallOption) (*RevisionCheckResponse, error) + func (c *RevisionsCheckCall) Fields(s ...googleapi.Field) *RevisionsCheckCall + func (c *RevisionsCheckCall) Header() http.Header + func (c *RevisionsCheckCall) IfNoneMatch(entityTag string) *RevisionsCheckCall + type RevisionsService struct + func NewRevisionsService(s *Service) *RevisionsService + func (r *RevisionsService) Check(clientRevision string) *RevisionsCheckCall + type ScoreSubmission struct + ForceSendFields []string + Kind string + LeaderboardId string + NullFields []string + Score int64 + ScoreTag string + Signature string + func (s *ScoreSubmission) MarshalJSON() ([]byte, error) + type ScoresGetCall struct + func (c *ScoresGetCall) Context(ctx context.Context) *ScoresGetCall + func (c *ScoresGetCall) Do(opts ...googleapi.CallOption) (*PlayerLeaderboardScoreListResponse, error) + func (c *ScoresGetCall) Fields(s ...googleapi.Field) *ScoresGetCall + func (c *ScoresGetCall) Header() http.Header + func (c *ScoresGetCall) IfNoneMatch(entityTag string) *ScoresGetCall + func (c *ScoresGetCall) IncludeRankType(includeRankType string) *ScoresGetCall + func (c *ScoresGetCall) Language(language string) *ScoresGetCall + func (c *ScoresGetCall) MaxResults(maxResults int64) *ScoresGetCall + func (c *ScoresGetCall) PageToken(pageToken string) *ScoresGetCall + func (c *ScoresGetCall) Pages(ctx context.Context, f func(*PlayerLeaderboardScoreListResponse) error) error + type ScoresListCall struct + func (c *ScoresListCall) Context(ctx context.Context) *ScoresListCall + func (c *ScoresListCall) Do(opts ...googleapi.CallOption) (*LeaderboardScores, error) + func (c *ScoresListCall) Fields(s ...googleapi.Field) *ScoresListCall + func (c *ScoresListCall) Header() http.Header + func (c *ScoresListCall) IfNoneMatch(entityTag string) *ScoresListCall + func (c *ScoresListCall) Language(language string) *ScoresListCall + func (c *ScoresListCall) MaxResults(maxResults int64) *ScoresListCall + func (c *ScoresListCall) PageToken(pageToken string) *ScoresListCall + func (c *ScoresListCall) Pages(ctx context.Context, f func(*LeaderboardScores) error) error + type ScoresListWindowCall struct + func (c *ScoresListWindowCall) Context(ctx context.Context) *ScoresListWindowCall + func (c *ScoresListWindowCall) Do(opts ...googleapi.CallOption) (*LeaderboardScores, error) + func (c *ScoresListWindowCall) Fields(s ...googleapi.Field) *ScoresListWindowCall + func (c *ScoresListWindowCall) Header() http.Header + func (c *ScoresListWindowCall) IfNoneMatch(entityTag string) *ScoresListWindowCall + func (c *ScoresListWindowCall) Language(language string) *ScoresListWindowCall + func (c *ScoresListWindowCall) MaxResults(maxResults int64) *ScoresListWindowCall + func (c *ScoresListWindowCall) PageToken(pageToken string) *ScoresListWindowCall + func (c *ScoresListWindowCall) Pages(ctx context.Context, f func(*LeaderboardScores) error) error + func (c *ScoresListWindowCall) ResultsAbove(resultsAbove int64) *ScoresListWindowCall + func (c *ScoresListWindowCall) ReturnTopIfAbsent(returnTopIfAbsent bool) *ScoresListWindowCall + type ScoresService struct + func NewScoresService(s *Service) *ScoresService + func (r *ScoresService) Get(playerId string, leaderboardId string, timeSpan string) *ScoresGetCall + func (r *ScoresService) List(leaderboardId string, collection string, timeSpan string) *ScoresListCall + func (r *ScoresService) ListWindow(leaderboardId string, collection string, timeSpan string) *ScoresListWindowCall + func (r *ScoresService) Submit(leaderboardId string, score int64) *ScoresSubmitCall + func (r *ScoresService) SubmitMultiple(playerscoresubmissionlist *PlayerScoreSubmissionList) *ScoresSubmitMultipleCall + type ScoresSubmitCall struct + func (c *ScoresSubmitCall) Context(ctx context.Context) *ScoresSubmitCall + func (c *ScoresSubmitCall) Do(opts ...googleapi.CallOption) (*PlayerScoreResponse, error) + func (c *ScoresSubmitCall) Fields(s ...googleapi.Field) *ScoresSubmitCall + func (c *ScoresSubmitCall) Header() http.Header + func (c *ScoresSubmitCall) Language(language string) *ScoresSubmitCall + func (c *ScoresSubmitCall) ScoreTag(scoreTag string) *ScoresSubmitCall + type ScoresSubmitMultipleCall struct + func (c *ScoresSubmitMultipleCall) Context(ctx context.Context) *ScoresSubmitMultipleCall + func (c *ScoresSubmitMultipleCall) Do(opts ...googleapi.CallOption) (*PlayerScoreListResponse, error) + func (c *ScoresSubmitMultipleCall) Fields(s ...googleapi.Field) *ScoresSubmitMultipleCall + func (c *ScoresSubmitMultipleCall) Header() http.Header + func (c *ScoresSubmitMultipleCall) Language(language string) *ScoresSubmitMultipleCall + type Service struct + AchievementDefinitions *AchievementDefinitionsService + Achievements *AchievementsService + Applications *ApplicationsService + BasePath string + Events *EventsService + Leaderboards *LeaderboardsService + Metagame *MetagameService + Players *PlayersService + Revisions *RevisionsService + Scores *ScoresService + Snapshots *SnapshotsService + SnapshotsExtended *SnapshotsExtendedService + Stats *StatsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Snapshot struct + CoverImage *SnapshotImage + Description string + DriveId string + DurationMillis int64 + ForceSendFields []string + Id string + Kind string + LastModifiedMillis int64 + NullFields []string + ProgressValue int64 + Title string + Type string + UniqueName string + func (s *Snapshot) MarshalJSON() ([]byte, error) + type SnapshotCoverImageResource struct + ContentHash string + DownloadUrl string + ForceSendFields []string + Height int64 + MimeType string + NullFields []string + ResourceId string + Width int64 + func (s *SnapshotCoverImageResource) MarshalJSON() ([]byte, error) + type SnapshotDataResource struct + ContentHash string + DownloadUrl string + ForceSendFields []string + NullFields []string + ResourceId string + Size int64 + func (s *SnapshotDataResource) MarshalJSON() ([]byte, error) + type SnapshotExtended struct + ConflictingRevisions []*SnapshotRevision + ForceSendFields []string + HasConflictingRevisions bool + HeadRevision *SnapshotRevision + NullFields []string + SnapshotName string + func (s *SnapshotExtended) MarshalJSON() ([]byte, error) + type SnapshotImage struct + ForceSendFields []string + Height int64 + Kind string + MimeType string + NullFields []string + Url string + Width int64 + func (s *SnapshotImage) MarshalJSON() ([]byte, error) + type SnapshotListResponse struct + ForceSendFields []string + Items []*Snapshot + Kind string + NextPageToken string + NullFields []string + func (s *SnapshotListResponse) MarshalJSON() ([]byte, error) + type SnapshotMetadata struct + Description string + DeviceName string + ForceSendFields []string + GameplayDuration string + LastModifyTime string + NullFields []string + ProgressValue int64 + func (s *SnapshotMetadata) MarshalJSON() ([]byte, error) + type SnapshotRevision struct + Blob *SnapshotDataResource + CoverImage *SnapshotCoverImageResource + ForceSendFields []string + Id string + Metadata *SnapshotMetadata + NullFields []string + func (s *SnapshotRevision) MarshalJSON() ([]byte, error) + type SnapshotsExtendedResolveSnapshotHeadCall struct + func (c *SnapshotsExtendedResolveSnapshotHeadCall) Context(ctx context.Context) *SnapshotsExtendedResolveSnapshotHeadCall + func (c *SnapshotsExtendedResolveSnapshotHeadCall) Do(opts ...googleapi.CallOption) (*ResolveSnapshotHeadResponse, error) + func (c *SnapshotsExtendedResolveSnapshotHeadCall) Fields(s ...googleapi.Field) *SnapshotsExtendedResolveSnapshotHeadCall + func (c *SnapshotsExtendedResolveSnapshotHeadCall) Header() http.Header + type SnapshotsExtendedService struct + func NewSnapshotsExtendedService(s *Service) *SnapshotsExtendedService + func (r *SnapshotsExtendedService) ResolveSnapshotHead(snapshotName string, resolvesnapshotheadrequest *ResolveSnapshotHeadRequest) *SnapshotsExtendedResolveSnapshotHeadCall + type SnapshotsGetCall struct + func (c *SnapshotsGetCall) Context(ctx context.Context) *SnapshotsGetCall + func (c *SnapshotsGetCall) Do(opts ...googleapi.CallOption) (*Snapshot, error) + func (c *SnapshotsGetCall) Fields(s ...googleapi.Field) *SnapshotsGetCall + func (c *SnapshotsGetCall) Header() http.Header + func (c *SnapshotsGetCall) IfNoneMatch(entityTag string) *SnapshotsGetCall + func (c *SnapshotsGetCall) Language(language string) *SnapshotsGetCall + type SnapshotsListCall struct + func (c *SnapshotsListCall) Context(ctx context.Context) *SnapshotsListCall + func (c *SnapshotsListCall) Do(opts ...googleapi.CallOption) (*SnapshotListResponse, error) + func (c *SnapshotsListCall) Fields(s ...googleapi.Field) *SnapshotsListCall + func (c *SnapshotsListCall) Header() http.Header + func (c *SnapshotsListCall) IfNoneMatch(entityTag string) *SnapshotsListCall + func (c *SnapshotsListCall) Language(language string) *SnapshotsListCall + func (c *SnapshotsListCall) MaxResults(maxResults int64) *SnapshotsListCall + func (c *SnapshotsListCall) PageToken(pageToken string) *SnapshotsListCall + func (c *SnapshotsListCall) Pages(ctx context.Context, f func(*SnapshotListResponse) error) error + type SnapshotsService struct + func NewSnapshotsService(s *Service) *SnapshotsService + func (r *SnapshotsService) Get(snapshotId string) *SnapshotsGetCall + func (r *SnapshotsService) List(playerId string) *SnapshotsListCall + type StatsGetCall struct + func (c *StatsGetCall) Context(ctx context.Context) *StatsGetCall + func (c *StatsGetCall) Do(opts ...googleapi.CallOption) (*StatsResponse, error) + func (c *StatsGetCall) Fields(s ...googleapi.Field) *StatsGetCall + func (c *StatsGetCall) Header() http.Header + func (c *StatsGetCall) IfNoneMatch(entityTag string) *StatsGetCall + type StatsResponse struct + AvgSessionLengthMinutes float64 + ChurnProbability float64 + DaysSinceLastPlayed int64 + ForceSendFields []string + HighSpenderProbability float64 + Kind string + NullFields []string + NumPurchases int64 + NumSessions int64 + NumSessionsPercentile float64 + SpendPercentile float64 + SpendProbability float64 + TotalSpendNext28Days float64 + func (s *StatsResponse) MarshalJSON() ([]byte, error) + func (s *StatsResponse) UnmarshalJSON(data []byte) error + type StatsService struct + func NewStatsService(s *Service) *StatsService + func (r *StatsService) Get() *StatsGetCall