Documentation

Overview

Package games provides access to the Google Play Game Services API.

For product documentation, see: https://developers.google.com/games/services/

Creating a client

Usage example:

import "google.golang.org/api/games/v1"
...
ctx := context.Background()
gamesService, err := games.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication.

For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:

gamesService, err := games.NewService(ctx, option.WithScopes(games.GamesScope))

To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:

gamesService, err := games.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
gamesService, err := games.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Constants

View Source
const (
	// View and manage its own configuration data in your Google Drive
	DriveAppdataScope = "https://www.googleapis.com/auth/drive.appdata"

	// Create, edit, and delete your Google Play Games activity
	GamesScope = "https://www.googleapis.com/auth/games"
)

    OAuth2 scopes used by this API.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type AchievementDefinition

    type AchievementDefinition struct {
    	// AchievementType: The type of the achievement.
    	// Possible values are:
    	// - "STANDARD" - Achievement is either locked or unlocked.
    	// - "INCREMENTAL" - Achievement is incremental.
    	AchievementType string `json:"achievementType,omitempty"`
    
    	// Description: The description of the achievement.
    	Description string `json:"description,omitempty"`
    
    	// ExperiencePoints: Experience points which will be earned when
    	// unlocking this achievement.
    	ExperiencePoints int64 `json:"experiencePoints,omitempty,string"`
    
    	// FormattedTotalSteps: The total steps for an incremental achievement
    	// as a string.
    	FormattedTotalSteps string `json:"formattedTotalSteps,omitempty"`
    
    	// Id: The ID of the achievement.
    	Id string `json:"id,omitempty"`
    
    	// InitialState: The initial state of the achievement.
    	// Possible values are:
    	// - "HIDDEN" - Achievement is hidden.
    	// - "REVEALED" - Achievement is revealed.
    	// - "UNLOCKED" - Achievement is unlocked.
    	InitialState string `json:"initialState,omitempty"`
    
    	// IsRevealedIconUrlDefault: Indicates whether the revealed icon image
    	// being returned is a default image, or is provided by the game.
    	IsRevealedIconUrlDefault bool `json:"isRevealedIconUrlDefault,omitempty"`
    
    	// IsUnlockedIconUrlDefault: Indicates whether the unlocked icon image
    	// being returned is a default image, or is game-provided.
    	IsUnlockedIconUrlDefault bool `json:"isUnlockedIconUrlDefault,omitempty"`
    
    	// Kind: Uniquely identifies the type of this resource. Value is always
    	// the fixed string games#achievementDefinition.
    	Kind string `json:"kind,omitempty"`
    
    	// Name: The name of the achievement.
    	Name string `json:"name,omitempty"`
    
    	// RevealedIconUrl: The image URL for the revealed achievement icon.
    	RevealedIconUrl string `json:"revealedIconUrl,omitempty"`
    
    	// TotalSteps: The total steps for an incremental achievement.
    	TotalSteps int64 `json:"totalSteps,omitempty"`
    
    	// UnlockedIconUrl: The image URL for the unlocked achievement icon.
    	UnlockedIconUrl string `json:"unlockedIconUrl,omitempty"`
    
    	// ForceSendFields is a list of field names (e.g. "AchievementType") to
    	// unconditionally include in API requests. By default, fields with
    	// empty values are omitted from API requests. However, any non-pointer,
    	// non-interface field appearing in ForceSendFields will be sent to the
    	// server regardless of whether the field is empty or not. This may be
    	// used to include empty fields in Patch requests.
    	ForceSendFields []string `json:"-"`
    
    	// NullFields is a list of field names (e.g. "AchievementType") to
    	// include in API requests with the JSON null value. By default, fields
    	// with empty values are omitted from API requests. However, any field
    	// with an empty value appearing in NullFields will be sent to the
    	// server as null. It is an error if a field in this list has a
    	// non-empty value. This may be used to include null fields in Patch
    	// requests.
    	NullFields []string `json:"-"`
    }

      AchievementDefinition: This is a JSON template for an achievement definition object.

      func (*AchievementDefinition) MarshalJSON

      func (s *AchievementDefinition) MarshalJSON() ([]byte, error)

      type AchievementDefinitionsListCall

      type AchievementDefinitionsListCall struct {
      	// contains filtered or unexported fields
      }

      func (*AchievementDefinitionsListCall) Context

        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

        func (*AchievementDefinitionsListCall) Do

          Do executes the "games.achievementDefinitions.list" call. Exactly one of *AchievementDefinitionsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AchievementDefinitionsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

          func (*AchievementDefinitionsListCall) Fields

            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

            func (*AchievementDefinitionsListCall) Header

              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

              func (*AchievementDefinitionsListCall) IfNoneMatch

                IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                func (*AchievementDefinitionsListCall) Language

                  Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                  func (*AchievementDefinitionsListCall) MaxResults

                    MaxResults sets the optional parameter "maxResults": The maximum number of achievement resources to return in the response, used for paging. For any response, the actual number of achievement resources returned may be less than the specified maxResults.

                    func (*AchievementDefinitionsListCall) PageToken

                      PageToken sets the optional parameter "pageToken": The token returned by the previous request.

                      func (*AchievementDefinitionsListCall) Pages

                        Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                        type AchievementDefinitionsListResponse

                        type AchievementDefinitionsListResponse struct {
                        	// Items: The achievement definitions.
                        	Items []*AchievementDefinition `json:"items,omitempty"`
                        
                        	// Kind: Uniquely identifies the type of this resource. Value is always
                        	// the fixed string games#achievementDefinitionsListResponse.
                        	Kind string `json:"kind,omitempty"`
                        
                        	// NextPageToken: Token corresponding to the next page of results.
                        	NextPageToken string `json:"nextPageToken,omitempty"`
                        
                        	// ServerResponse contains the HTTP response code and headers from the
                        	// server.
                        	googleapi.ServerResponse `json:"-"`
                        
                        	// ForceSendFields is a list of field names (e.g. "Items") to
                        	// unconditionally include in API requests. By default, fields with
                        	// empty values are omitted from API requests. However, any non-pointer,
                        	// non-interface field appearing in ForceSendFields will be sent to the
                        	// server regardless of whether the field is empty or not. This may be
                        	// used to include empty fields in Patch requests.
                        	ForceSendFields []string `json:"-"`
                        
                        	// NullFields is a list of field names (e.g. "Items") to include in API
                        	// requests with the JSON null value. By default, fields with empty
                        	// values are omitted from API requests. However, any field with an
                        	// empty value appearing in NullFields will be sent to the server as
                        	// null. It is an error if a field in this list has a non-empty value.
                        	// This may be used to include null fields in Patch requests.
                        	NullFields []string `json:"-"`
                        }

                          AchievementDefinitionsListResponse: This is a JSON template for a list of achievement definition objects.

                          func (*AchievementDefinitionsListResponse) MarshalJSON

                          func (s *AchievementDefinitionsListResponse) MarshalJSON() ([]byte, error)

                          type AchievementDefinitionsService

                          type AchievementDefinitionsService struct {
                          	// contains filtered or unexported fields
                          }

                          func NewAchievementDefinitionsService

                          func NewAchievementDefinitionsService(s *Service) *AchievementDefinitionsService

                          func (*AchievementDefinitionsService) List

                            List: Lists all the achievement definitions for your application.

                            type AchievementIncrementResponse

                            type AchievementIncrementResponse struct {
                            	// CurrentSteps: The current steps recorded for this incremental
                            	// achievement.
                            	CurrentSteps int64 `json:"currentSteps,omitempty"`
                            
                            	// Kind: Uniquely identifies the type of this resource. Value is always
                            	// the fixed string games#achievementIncrementResponse.
                            	Kind string `json:"kind,omitempty"`
                            
                            	// NewlyUnlocked: Whether the current steps for the achievement has
                            	// reached the number of steps required to unlock.
                            	NewlyUnlocked bool `json:"newlyUnlocked,omitempty"`
                            
                            	// ServerResponse contains the HTTP response code and headers from the
                            	// server.
                            	googleapi.ServerResponse `json:"-"`
                            
                            	// ForceSendFields is a list of field names (e.g. "CurrentSteps") to
                            	// unconditionally include in API requests. By default, fields with
                            	// empty values are omitted from API requests. However, any non-pointer,
                            	// non-interface field appearing in ForceSendFields will be sent to the
                            	// server regardless of whether the field is empty or not. This may be
                            	// used to include empty fields in Patch requests.
                            	ForceSendFields []string `json:"-"`
                            
                            	// NullFields is a list of field names (e.g. "CurrentSteps") to include
                            	// in API requests with the JSON null value. By default, fields with
                            	// empty values are omitted from API requests. However, any field with
                            	// an empty value appearing in NullFields will be sent to the server as
                            	// null. It is an error if a field in this list has a non-empty value.
                            	// This may be used to include null fields in Patch requests.
                            	NullFields []string `json:"-"`
                            }

                              AchievementIncrementResponse: This is a JSON template for an achievement increment response

                              func (*AchievementIncrementResponse) MarshalJSON

                              func (s *AchievementIncrementResponse) MarshalJSON() ([]byte, error)

                              type AchievementRevealResponse

                              type AchievementRevealResponse struct {
                              	// CurrentState: The current state of the achievement for which a reveal
                              	// was attempted. This might be UNLOCKED if the achievement was already
                              	// unlocked.
                              	// Possible values are:
                              	// - "REVEALED" - Achievement is revealed.
                              	// - "UNLOCKED" - Achievement is unlocked.
                              	CurrentState string `json:"currentState,omitempty"`
                              
                              	// Kind: Uniquely identifies the type of this resource. Value is always
                              	// the fixed string games#achievementRevealResponse.
                              	Kind string `json:"kind,omitempty"`
                              
                              	// ServerResponse contains the HTTP response code and headers from the
                              	// server.
                              	googleapi.ServerResponse `json:"-"`
                              
                              	// ForceSendFields is a list of field names (e.g. "CurrentState") to
                              	// unconditionally include in API requests. By default, fields with
                              	// empty values are omitted from API requests. However, any non-pointer,
                              	// non-interface field appearing in ForceSendFields will be sent to the
                              	// server regardless of whether the field is empty or not. This may be
                              	// used to include empty fields in Patch requests.
                              	ForceSendFields []string `json:"-"`
                              
                              	// NullFields is a list of field names (e.g. "CurrentState") to include
                              	// in API requests with the JSON null value. By default, fields with
                              	// empty values are omitted from API requests. However, any field with
                              	// an empty value appearing in NullFields will be sent to the server as
                              	// null. It is an error if a field in this list has a non-empty value.
                              	// This may be used to include null fields in Patch requests.
                              	NullFields []string `json:"-"`
                              }

                                AchievementRevealResponse: This is a JSON template for an achievement reveal response

                                func (*AchievementRevealResponse) MarshalJSON

                                func (s *AchievementRevealResponse) MarshalJSON() ([]byte, error)

                                type AchievementSetStepsAtLeastResponse

                                type AchievementSetStepsAtLeastResponse struct {
                                	// CurrentSteps: The current steps recorded for this incremental
                                	// achievement.
                                	CurrentSteps int64 `json:"currentSteps,omitempty"`
                                
                                	// Kind: Uniquely identifies the type of this resource. Value is always
                                	// the fixed string games#achievementSetStepsAtLeastResponse.
                                	Kind string `json:"kind,omitempty"`
                                
                                	// NewlyUnlocked: Whether the the current steps for the achievement has
                                	// reached the number of steps required to unlock.
                                	NewlyUnlocked bool `json:"newlyUnlocked,omitempty"`
                                
                                	// ServerResponse contains the HTTP response code and headers from the
                                	// server.
                                	googleapi.ServerResponse `json:"-"`
                                
                                	// ForceSendFields is a list of field names (e.g. "CurrentSteps") to
                                	// unconditionally include in API requests. By default, fields with
                                	// empty values are omitted from API requests. However, any non-pointer,
                                	// non-interface field appearing in ForceSendFields will be sent to the
                                	// server regardless of whether the field is empty or not. This may be
                                	// used to include empty fields in Patch requests.
                                	ForceSendFields []string `json:"-"`
                                
                                	// NullFields is a list of field names (e.g. "CurrentSteps") to include
                                	// in API requests with the JSON null value. By default, fields with
                                	// empty values are omitted from API requests. However, any field with
                                	// an empty value appearing in NullFields will be sent to the server as
                                	// null. It is an error if a field in this list has a non-empty value.
                                	// This may be used to include null fields in Patch requests.
                                	NullFields []string `json:"-"`
                                }

                                  AchievementSetStepsAtLeastResponse: This is a JSON template for an achievement set steps at least response.

                                  func (*AchievementSetStepsAtLeastResponse) MarshalJSON

                                  func (s *AchievementSetStepsAtLeastResponse) MarshalJSON() ([]byte, error)

                                  type AchievementUnlockResponse

                                  type AchievementUnlockResponse struct {
                                  	// Kind: Uniquely identifies the type of this resource. Value is always
                                  	// the fixed string games#achievementUnlockResponse.
                                  	Kind string `json:"kind,omitempty"`
                                  
                                  	// NewlyUnlocked: Whether this achievement was newly unlocked (that is,
                                  	// whether the unlock request for the achievement was the first for the
                                  	// player).
                                  	NewlyUnlocked bool `json:"newlyUnlocked,omitempty"`
                                  
                                  	// ServerResponse contains the HTTP response code and headers from the
                                  	// server.
                                  	googleapi.ServerResponse `json:"-"`
                                  
                                  	// ForceSendFields is a list of field names (e.g. "Kind") to
                                  	// unconditionally include in API requests. By default, fields with
                                  	// empty values are omitted from API requests. However, any non-pointer,
                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                  	// server regardless of whether the field is empty or not. This may be
                                  	// used to include empty fields in Patch requests.
                                  	ForceSendFields []string `json:"-"`
                                  
                                  	// NullFields is a list of field names (e.g. "Kind") to include in API
                                  	// requests with the JSON null value. By default, fields with empty
                                  	// values are omitted from API requests. However, any field with an
                                  	// empty value appearing in NullFields will be sent to the server as
                                  	// null. It is an error if a field in this list has a non-empty value.
                                  	// This may be used to include null fields in Patch requests.
                                  	NullFields []string `json:"-"`
                                  }

                                    AchievementUnlockResponse: This is a JSON template for an achievement unlock response

                                    func (*AchievementUnlockResponse) MarshalJSON

                                    func (s *AchievementUnlockResponse) MarshalJSON() ([]byte, error)

                                    type AchievementUpdateMultipleRequest

                                    type AchievementUpdateMultipleRequest struct {
                                    	// Kind: Uniquely identifies the type of this resource. Value is always
                                    	// the fixed string games#achievementUpdateMultipleRequest.
                                    	Kind string `json:"kind,omitempty"`
                                    
                                    	// Updates: The individual achievement update requests.
                                    	Updates []*AchievementUpdateRequest `json:"updates,omitempty"`
                                    
                                    	// ForceSendFields is a list of field names (e.g. "Kind") to
                                    	// unconditionally include in API requests. By default, fields with
                                    	// empty values are omitted from API requests. However, any non-pointer,
                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                    	// server regardless of whether the field is empty or not. This may be
                                    	// used to include empty fields in Patch requests.
                                    	ForceSendFields []string `json:"-"`
                                    
                                    	// NullFields is a list of field names (e.g. "Kind") to include in API
                                    	// requests with the JSON null value. By default, fields with empty
                                    	// values are omitted from API requests. However, any field with an
                                    	// empty value appearing in NullFields will be sent to the server as
                                    	// null. It is an error if a field in this list has a non-empty value.
                                    	// This may be used to include null fields in Patch requests.
                                    	NullFields []string `json:"-"`
                                    }

                                      AchievementUpdateMultipleRequest: This is a JSON template for a list of achievement update requests.

                                      func (*AchievementUpdateMultipleRequest) MarshalJSON

                                      func (s *AchievementUpdateMultipleRequest) MarshalJSON() ([]byte, error)

                                      type AchievementUpdateMultipleResponse

                                      type AchievementUpdateMultipleResponse struct {
                                      	// Kind: Uniquely identifies the type of this resource. Value is always
                                      	// the fixed string games#achievementUpdateListResponse.
                                      	Kind string `json:"kind,omitempty"`
                                      
                                      	// UpdatedAchievements: The updated state of the achievements.
                                      	UpdatedAchievements []*AchievementUpdateResponse `json:"updatedAchievements,omitempty"`
                                      
                                      	// ServerResponse contains the HTTP response code and headers from the
                                      	// server.
                                      	googleapi.ServerResponse `json:"-"`
                                      
                                      	// ForceSendFields is a list of field names (e.g. "Kind") to
                                      	// unconditionally include in API requests. By default, fields with
                                      	// empty values are omitted from API requests. However, any non-pointer,
                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                      	// server regardless of whether the field is empty or not. This may be
                                      	// used to include empty fields in Patch requests.
                                      	ForceSendFields []string `json:"-"`
                                      
                                      	// NullFields is a list of field names (e.g. "Kind") to include in API
                                      	// requests with the JSON null value. By default, fields with empty
                                      	// values are omitted from API requests. However, any field with an
                                      	// empty value appearing in NullFields will be sent to the server as
                                      	// null. It is an error if a field in this list has a non-empty value.
                                      	// This may be used to include null fields in Patch requests.
                                      	NullFields []string `json:"-"`
                                      }

                                        AchievementUpdateMultipleResponse: This is a JSON template for an achievement unlock response.

                                        func (*AchievementUpdateMultipleResponse) MarshalJSON

                                        func (s *AchievementUpdateMultipleResponse) MarshalJSON() ([]byte, error)

                                        type AchievementUpdateRequest

                                        type AchievementUpdateRequest struct {
                                        	// AchievementId: The achievement this update is being applied to.
                                        	AchievementId string `json:"achievementId,omitempty"`
                                        
                                        	// IncrementPayload: The payload if an update of type INCREMENT was
                                        	// requested for the achievement.
                                        	IncrementPayload *GamesAchievementIncrement `json:"incrementPayload,omitempty"`
                                        
                                        	// Kind: Uniquely identifies the type of this resource. Value is always
                                        	// the fixed string games#achievementUpdateRequest.
                                        	Kind string `json:"kind,omitempty"`
                                        
                                        	// SetStepsAtLeastPayload: The payload if an update of type
                                        	// SET_STEPS_AT_LEAST was requested for the achievement.
                                        	SetStepsAtLeastPayload *GamesAchievementSetStepsAtLeast `json:"setStepsAtLeastPayload,omitempty"`
                                        
                                        	// UpdateType: The type of update being applied.
                                        	// Possible values are:
                                        	// - "REVEAL" - Achievement is revealed.
                                        	// - "UNLOCK" - Achievement is unlocked.
                                        	// - "INCREMENT" - Achievement is incremented.
                                        	// - "SET_STEPS_AT_LEAST" - Achievement progress is set to at least the
                                        	// passed value.
                                        	UpdateType string `json:"updateType,omitempty"`
                                        
                                        	// ForceSendFields is a list of field names (e.g. "AchievementId") to
                                        	// unconditionally include in API requests. By default, fields with
                                        	// empty values are omitted from API requests. However, any non-pointer,
                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                        	// server regardless of whether the field is empty or not. This may be
                                        	// used to include empty fields in Patch requests.
                                        	ForceSendFields []string `json:"-"`
                                        
                                        	// NullFields is a list of field names (e.g. "AchievementId") to include
                                        	// in API requests with the JSON null value. By default, fields with
                                        	// empty values are omitted from API requests. However, any field with
                                        	// an empty value appearing in NullFields will be sent to the server as
                                        	// null. It is an error if a field in this list has a non-empty value.
                                        	// This may be used to include null fields in Patch requests.
                                        	NullFields []string `json:"-"`
                                        }

                                          AchievementUpdateRequest: This is a JSON template for a request to update an achievement.

                                          func (*AchievementUpdateRequest) MarshalJSON

                                          func (s *AchievementUpdateRequest) MarshalJSON() ([]byte, error)

                                          type AchievementUpdateResponse

                                          type AchievementUpdateResponse struct {
                                          	// AchievementId: The achievement this update is was applied to.
                                          	AchievementId string `json:"achievementId,omitempty"`
                                          
                                          	// CurrentState: The current state of the achievement.
                                          	// Possible values are:
                                          	// - "HIDDEN" - Achievement is hidden.
                                          	// - "REVEALED" - Achievement is revealed.
                                          	// - "UNLOCKED" - Achievement is unlocked.
                                          	CurrentState string `json:"currentState,omitempty"`
                                          
                                          	// CurrentSteps: The current steps recorded for this achievement if it
                                          	// is incremental.
                                          	CurrentSteps int64 `json:"currentSteps,omitempty"`
                                          
                                          	// Kind: Uniquely identifies the type of this resource. Value is always
                                          	// the fixed string games#achievementUpdateResponse.
                                          	Kind string `json:"kind,omitempty"`
                                          
                                          	// NewlyUnlocked: Whether this achievement was newly unlocked (that is,
                                          	// whether the unlock request for the achievement was the first for the
                                          	// player).
                                          	NewlyUnlocked bool `json:"newlyUnlocked,omitempty"`
                                          
                                          	// UpdateOccurred: Whether the requested updates actually affected the
                                          	// achievement.
                                          	UpdateOccurred bool `json:"updateOccurred,omitempty"`
                                          
                                          	// ForceSendFields is a list of field names (e.g. "AchievementId") to
                                          	// unconditionally include in API requests. By default, fields with
                                          	// empty values are omitted from API requests. However, any non-pointer,
                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                          	// server regardless of whether the field is empty or not. This may be
                                          	// used to include empty fields in Patch requests.
                                          	ForceSendFields []string `json:"-"`
                                          
                                          	// NullFields is a list of field names (e.g. "AchievementId") to include
                                          	// in API requests with the JSON null value. By default, fields with
                                          	// empty values are omitted from API requests. However, any field with
                                          	// an empty value appearing in NullFields will be sent to the server as
                                          	// null. It is an error if a field in this list has a non-empty value.
                                          	// This may be used to include null fields in Patch requests.
                                          	NullFields []string `json:"-"`
                                          }

                                            AchievementUpdateResponse: This is a JSON template for an achievement update response.

                                            func (*AchievementUpdateResponse) MarshalJSON

                                            func (s *AchievementUpdateResponse) MarshalJSON() ([]byte, error)

                                            type AchievementsIncrementCall

                                            type AchievementsIncrementCall struct {
                                            	// contains filtered or unexported fields
                                            }

                                            func (*AchievementsIncrementCall) Context

                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                              func (*AchievementsIncrementCall) Do

                                                Do executes the "games.achievements.increment" call. Exactly one of *AchievementIncrementResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AchievementIncrementResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                func (*AchievementsIncrementCall) Fields

                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                  func (*AchievementsIncrementCall) Header

                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                    func (*AchievementsIncrementCall) RequestId

                                                      RequestId sets the optional parameter "requestId": A randomly generated numeric ID for each request specified by the caller. This number is used at the server to ensure that the request is handled correctly across retries.

                                                      type AchievementsListCall

                                                      type AchievementsListCall struct {
                                                      	// contains filtered or unexported fields
                                                      }

                                                      func (*AchievementsListCall) Context

                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                        func (*AchievementsListCall) Do

                                                          Do executes the "games.achievements.list" call. Exactly one of *PlayerAchievementListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlayerAchievementListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                          func (*AchievementsListCall) Fields

                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                            func (*AchievementsListCall) Header

                                                            func (c *AchievementsListCall) Header() http.Header

                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                              func (*AchievementsListCall) IfNoneMatch

                                                              func (c *AchievementsListCall) IfNoneMatch(entityTag string) *AchievementsListCall

                                                                IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                func (*AchievementsListCall) Language

                                                                func (c *AchievementsListCall) Language(language string) *AchievementsListCall

                                                                  Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                  func (*AchievementsListCall) MaxResults

                                                                  func (c *AchievementsListCall) MaxResults(maxResults int64) *AchievementsListCall

                                                                    MaxResults sets the optional parameter "maxResults": The maximum number of achievement resources to return in the response, used for paging. For any response, the actual number of achievement resources returned may be less than the specified maxResults.

                                                                    func (*AchievementsListCall) PageToken

                                                                    func (c *AchievementsListCall) PageToken(pageToken string) *AchievementsListCall

                                                                      PageToken sets the optional parameter "pageToken": The token returned by the previous request.

                                                                      func (*AchievementsListCall) Pages

                                                                        Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                        func (*AchievementsListCall) State

                                                                          State sets the optional parameter "state": Tells the server to return only achievements with the specified state. If this parameter isn't specified, all achievements are returned.

                                                                          Possible values:

                                                                          "ALL" - List all achievements. This is the default.
                                                                          "HIDDEN" - List only hidden achievements.
                                                                          "REVEALED" - List only revealed achievements.
                                                                          "UNLOCKED" - List only unlocked achievements.
                                                                          

                                                                          type AchievementsRevealCall

                                                                          type AchievementsRevealCall struct {
                                                                          	// contains filtered or unexported fields
                                                                          }

                                                                          func (*AchievementsRevealCall) Context

                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                            func (*AchievementsRevealCall) Do

                                                                              Do executes the "games.achievements.reveal" call. Exactly one of *AchievementRevealResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AchievementRevealResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                              func (*AchievementsRevealCall) Fields

                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                func (*AchievementsRevealCall) Header

                                                                                func (c *AchievementsRevealCall) Header() http.Header

                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                  type AchievementsService

                                                                                  type AchievementsService struct {
                                                                                  	// contains filtered or unexported fields
                                                                                  }

                                                                                  func NewAchievementsService

                                                                                  func NewAchievementsService(s *Service) *AchievementsService

                                                                                  func (*AchievementsService) Increment

                                                                                  func (r *AchievementsService) Increment(achievementId string, stepsToIncrement int64) *AchievementsIncrementCall

                                                                                    Increment: Increments the steps of the achievement with the given ID for the currently authenticated player.

                                                                                    func (*AchievementsService) List

                                                                                    func (r *AchievementsService) List(playerId string) *AchievementsListCall

                                                                                      List: Lists the progress for all your application's achievements for the currently authenticated player.

                                                                                      func (*AchievementsService) Reveal

                                                                                      func (r *AchievementsService) Reveal(achievementId string) *AchievementsRevealCall

                                                                                        Reveal: Sets the state of the achievement with the given ID to REVEALED for the currently authenticated player.

                                                                                        func (*AchievementsService) SetStepsAtLeast

                                                                                        func (r *AchievementsService) SetStepsAtLeast(achievementId string, steps int64) *AchievementsSetStepsAtLeastCall

                                                                                          SetStepsAtLeast: Sets the steps for the currently authenticated player towards unlocking an achievement. If the steps parameter is less than the current number of steps that the player already gained for the achievement, the achievement is not modified.

                                                                                          func (*AchievementsService) Unlock

                                                                                          func (r *AchievementsService) Unlock(achievementId string) *AchievementsUnlockCall

                                                                                            Unlock: Unlocks this achievement for the currently authenticated player.

                                                                                            func (*AchievementsService) UpdateMultiple

                                                                                            func (r *AchievementsService) UpdateMultiple(achievementupdatemultiplerequest *AchievementUpdateMultipleRequest) *AchievementsUpdateMultipleCall

                                                                                              UpdateMultiple: Updates multiple achievements for the currently authenticated player.

                                                                                              type AchievementsSetStepsAtLeastCall

                                                                                              type AchievementsSetStepsAtLeastCall struct {
                                                                                              	// contains filtered or unexported fields
                                                                                              }

                                                                                              func (*AchievementsSetStepsAtLeastCall) Context

                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                func (*AchievementsSetStepsAtLeastCall) Do

                                                                                                  Do executes the "games.achievements.setStepsAtLeast" call. Exactly one of *AchievementSetStepsAtLeastResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AchievementSetStepsAtLeastResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                  func (*AchievementsSetStepsAtLeastCall) Fields

                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                    func (*AchievementsSetStepsAtLeastCall) Header

                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                      type AchievementsUnlockCall

                                                                                                      type AchievementsUnlockCall struct {
                                                                                                      	// contains filtered or unexported fields
                                                                                                      }

                                                                                                      func (*AchievementsUnlockCall) BuiltinGameId

                                                                                                      func (c *AchievementsUnlockCall) BuiltinGameId(builtinGameId string) *AchievementsUnlockCall

                                                                                                        BuiltinGameId sets the optional parameter "builtinGameId": Override used only by built-in games in Play Games application.

                                                                                                        func (*AchievementsUnlockCall) Context

                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                          func (*AchievementsUnlockCall) Do

                                                                                                            Do executes the "games.achievements.unlock" call. Exactly one of *AchievementUnlockResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AchievementUnlockResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                            func (*AchievementsUnlockCall) Fields

                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                              func (*AchievementsUnlockCall) Header

                                                                                                              func (c *AchievementsUnlockCall) Header() http.Header

                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                type AchievementsUpdateMultipleCall

                                                                                                                type AchievementsUpdateMultipleCall struct {
                                                                                                                	// contains filtered or unexported fields
                                                                                                                }

                                                                                                                func (*AchievementsUpdateMultipleCall) BuiltinGameId

                                                                                                                func (c *AchievementsUpdateMultipleCall) BuiltinGameId(builtinGameId string) *AchievementsUpdateMultipleCall

                                                                                                                  BuiltinGameId sets the optional parameter "builtinGameId": Override used only by built-in games in Play Games application.

                                                                                                                  func (*AchievementsUpdateMultipleCall) Context

                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                    func (*AchievementsUpdateMultipleCall) Do

                                                                                                                      Do executes the "games.achievements.updateMultiple" call. Exactly one of *AchievementUpdateMultipleResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AchievementUpdateMultipleResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                      func (*AchievementsUpdateMultipleCall) Fields

                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                        func (*AchievementsUpdateMultipleCall) Header

                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                          type AggregateStats

                                                                                                                          type AggregateStats struct {
                                                                                                                          	// Count: The number of messages sent between a pair of peers.
                                                                                                                          	Count int64 `json:"count,omitempty,string"`
                                                                                                                          
                                                                                                                          	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                          	// the fixed string games#aggregateStats.
                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                          
                                                                                                                          	// Max: The maximum amount.
                                                                                                                          	Max int64 `json:"max,omitempty,string"`
                                                                                                                          
                                                                                                                          	// Min: The minimum amount.
                                                                                                                          	Min int64 `json:"min,omitempty,string"`
                                                                                                                          
                                                                                                                          	// Sum: The total number of bytes sent for messages between a pair of
                                                                                                                          	// peers.
                                                                                                                          	Sum int64 `json:"sum,omitempty,string"`
                                                                                                                          
                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Count") to
                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                          
                                                                                                                          	// NullFields is a list of field names (e.g. "Count") to include in API
                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                          }

                                                                                                                            AggregateStats: This is a JSON template for aggregate stats.

                                                                                                                            func (*AggregateStats) MarshalJSON

                                                                                                                            func (s *AggregateStats) MarshalJSON() ([]byte, error)

                                                                                                                            type AnonymousPlayer

                                                                                                                            type AnonymousPlayer struct {
                                                                                                                            	// AvatarImageUrl: The base URL for the image to display for the
                                                                                                                            	// anonymous player.
                                                                                                                            	AvatarImageUrl string `json:"avatarImageUrl,omitempty"`
                                                                                                                            
                                                                                                                            	// DisplayName: The name to display for the anonymous player.
                                                                                                                            	DisplayName string `json:"displayName,omitempty"`
                                                                                                                            
                                                                                                                            	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                            	// the fixed string games#anonymousPlayer.
                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                            
                                                                                                                            	// ForceSendFields is a list of field names (e.g. "AvatarImageUrl") to
                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                            
                                                                                                                            	// NullFields is a list of field names (e.g. "AvatarImageUrl") to
                                                                                                                            	// include in API requests with the JSON null value. By default, fields
                                                                                                                            	// with empty values are omitted from API requests. However, any field
                                                                                                                            	// with an empty value appearing in NullFields will be sent to the
                                                                                                                            	// server as null. It is an error if a field in this list has a
                                                                                                                            	// non-empty value. This may be used to include null fields in Patch
                                                                                                                            	// requests.
                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                            }

                                                                                                                              AnonymousPlayer: This is a JSON template for an anonymous player

                                                                                                                              func (*AnonymousPlayer) MarshalJSON

                                                                                                                              func (s *AnonymousPlayer) MarshalJSON() ([]byte, error)

                                                                                                                              type Application

                                                                                                                              type Application struct {
                                                                                                                              	// AchievementCount: The number of achievements visible to the currently
                                                                                                                              	// authenticated player.
                                                                                                                              	AchievementCount int64 `json:"achievement_count,omitempty"`
                                                                                                                              
                                                                                                                              	// Assets: The assets of the application.
                                                                                                                              	Assets []*ImageAsset `json:"assets,omitempty"`
                                                                                                                              
                                                                                                                              	// Author: The author of the application.
                                                                                                                              	Author string `json:"author,omitempty"`
                                                                                                                              
                                                                                                                              	// Category: The category of the application.
                                                                                                                              	Category *ApplicationCategory `json:"category,omitempty"`
                                                                                                                              
                                                                                                                              	// Description: The description of the application.
                                                                                                                              	Description string `json:"description,omitempty"`
                                                                                                                              
                                                                                                                              	// EnabledFeatures: A list of features that have been enabled for the
                                                                                                                              	// application.
                                                                                                                              	// Possible values are:
                                                                                                                              	// - "SNAPSHOTS" - Snapshots has been enabled
                                                                                                                              	EnabledFeatures []string `json:"enabledFeatures,omitempty"`
                                                                                                                              
                                                                                                                              	// Id: The ID of the application.
                                                                                                                              	Id string `json:"id,omitempty"`
                                                                                                                              
                                                                                                                              	// Instances: The instances of the application.
                                                                                                                              	Instances []*Instance `json:"instances,omitempty"`
                                                                                                                              
                                                                                                                              	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                              	// the fixed string games#application.
                                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                                              
                                                                                                                              	// LastUpdatedTimestamp: The last updated timestamp of the application.
                                                                                                                              	LastUpdatedTimestamp int64 `json:"lastUpdatedTimestamp,omitempty,string"`
                                                                                                                              
                                                                                                                              	// LeaderboardCount: The number of leaderboards visible to the currently
                                                                                                                              	// authenticated player.
                                                                                                                              	LeaderboardCount int64 `json:"leaderboard_count,omitempty"`
                                                                                                                              
                                                                                                                              	// Name: The name of the application.
                                                                                                                              	Name string `json:"name,omitempty"`
                                                                                                                              
                                                                                                                              	// ThemeColor: A hint to the client UI for what color to use as an
                                                                                                                              	// app-themed color. The color is given as an RGB triplet (e.g.
                                                                                                                              	// "E0E0E0").
                                                                                                                              	ThemeColor string `json:"themeColor,omitempty"`
                                                                                                                              
                                                                                                                              	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                              	// server.
                                                                                                                              	googleapi.ServerResponse `json:"-"`
                                                                                                                              
                                                                                                                              	// ForceSendFields is a list of field names (e.g. "AchievementCount") to
                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                              
                                                                                                                              	// NullFields is a list of field names (e.g. "AchievementCount") to
                                                                                                                              	// include in API requests with the JSON null value. By default, fields
                                                                                                                              	// with empty values are omitted from API requests. However, any field
                                                                                                                              	// with an empty value appearing in NullFields will be sent to the
                                                                                                                              	// server as null. It is an error if a field in this list has a
                                                                                                                              	// non-empty value. This may be used to include null fields in Patch
                                                                                                                              	// requests.
                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                              }

                                                                                                                                Application: This is a JSON template for the Application resource.

                                                                                                                                func (*Application) MarshalJSON

                                                                                                                                func (s *Application) MarshalJSON() ([]byte, error)

                                                                                                                                type ApplicationCategory

                                                                                                                                type ApplicationCategory struct {
                                                                                                                                	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                	// the fixed string games#applicationCategory.
                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                
                                                                                                                                	// Primary: The primary category.
                                                                                                                                	Primary string `json:"primary,omitempty"`
                                                                                                                                
                                                                                                                                	// Secondary: The secondary category.
                                                                                                                                	Secondary string `json:"secondary,omitempty"`
                                                                                                                                
                                                                                                                                	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                
                                                                                                                                	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                	// requests with the JSON null value. By default, fields with empty
                                                                                                                                	// values are omitted from API requests. However, any field with an
                                                                                                                                	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                }

                                                                                                                                  ApplicationCategory: This is a JSON template for an application category object.

                                                                                                                                  func (*ApplicationCategory) MarshalJSON

                                                                                                                                  func (s *ApplicationCategory) MarshalJSON() ([]byte, error)

                                                                                                                                  type ApplicationVerifyResponse

                                                                                                                                  type ApplicationVerifyResponse struct {
                                                                                                                                  	// AlternatePlayerId: An alternate ID that was once used for the player
                                                                                                                                  	// that was issued the auth token used in this request. (This field is
                                                                                                                                  	// not normally populated.)
                                                                                                                                  	AlternatePlayerId string `json:"alternate_player_id,omitempty"`
                                                                                                                                  
                                                                                                                                  	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                  	// the fixed string games#applicationVerifyResponse.
                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                  
                                                                                                                                  	// PlayerId: The ID of the player that was issued the auth token used in
                                                                                                                                  	// this request.
                                                                                                                                  	PlayerId string `json:"player_id,omitempty"`
                                                                                                                                  
                                                                                                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                  	// server.
                                                                                                                                  	googleapi.ServerResponse `json:"-"`
                                                                                                                                  
                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "AlternatePlayerId")
                                                                                                                                  	// to unconditionally include in API requests. By default, fields with
                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                  
                                                                                                                                  	// NullFields is a list of field names (e.g. "AlternatePlayerId") to
                                                                                                                                  	// include in API requests with the JSON null value. By default, fields
                                                                                                                                  	// with empty values are omitted from API requests. However, any field
                                                                                                                                  	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                  	// server as null. It is an error if a field in this list has a
                                                                                                                                  	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                  	// requests.
                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                  }

                                                                                                                                    ApplicationVerifyResponse: This is a JSON template for a third party application verification response resource.

                                                                                                                                    func (*ApplicationVerifyResponse) MarshalJSON

                                                                                                                                    func (s *ApplicationVerifyResponse) MarshalJSON() ([]byte, error)

                                                                                                                                    type ApplicationsGetCall

                                                                                                                                    type ApplicationsGetCall struct {
                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                    }

                                                                                                                                    func (*ApplicationsGetCall) Context

                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                      func (*ApplicationsGetCall) Do

                                                                                                                                        Do executes the "games.applications.get" call. Exactly one of *Application or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Application.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                        func (*ApplicationsGetCall) Fields

                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                          func (*ApplicationsGetCall) Header

                                                                                                                                          func (c *ApplicationsGetCall) Header() http.Header

                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                            func (*ApplicationsGetCall) IfNoneMatch

                                                                                                                                            func (c *ApplicationsGetCall) IfNoneMatch(entityTag string) *ApplicationsGetCall

                                                                                                                                              IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                              func (*ApplicationsGetCall) Language

                                                                                                                                              func (c *ApplicationsGetCall) Language(language string) *ApplicationsGetCall

                                                                                                                                                Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                func (*ApplicationsGetCall) PlatformType

                                                                                                                                                func (c *ApplicationsGetCall) PlatformType(platformType string) *ApplicationsGetCall

                                                                                                                                                  PlatformType sets the optional parameter "platformType": Restrict application details returned to the specific platform.

                                                                                                                                                  Possible values:

                                                                                                                                                  "ANDROID" - Retrieve applications that can be played on Android.
                                                                                                                                                  "IOS" - Retrieve applications that can be played on iOS.
                                                                                                                                                  "WEB_APP" - Retrieve applications that can be played on desktop
                                                                                                                                                  

                                                                                                                                                  web.

                                                                                                                                                  type ApplicationsPlayedCall

                                                                                                                                                  type ApplicationsPlayedCall struct {
                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                  }

                                                                                                                                                  func (*ApplicationsPlayedCall) BuiltinGameId

                                                                                                                                                  func (c *ApplicationsPlayedCall) BuiltinGameId(builtinGameId string) *ApplicationsPlayedCall

                                                                                                                                                    BuiltinGameId sets the optional parameter "builtinGameId": Override used only by built-in games in Play Games application.

                                                                                                                                                    func (*ApplicationsPlayedCall) Context

                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                      func (*ApplicationsPlayedCall) Do

                                                                                                                                                        Do executes the "games.applications.played" call.

                                                                                                                                                        func (*ApplicationsPlayedCall) Fields

                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                          func (*ApplicationsPlayedCall) Header

                                                                                                                                                          func (c *ApplicationsPlayedCall) Header() http.Header

                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                            type ApplicationsService

                                                                                                                                                            type ApplicationsService struct {
                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                            }

                                                                                                                                                            func NewApplicationsService

                                                                                                                                                            func NewApplicationsService(s *Service) *ApplicationsService

                                                                                                                                                            func (*ApplicationsService) Get

                                                                                                                                                            func (r *ApplicationsService) Get(applicationId string) *ApplicationsGetCall

                                                                                                                                                              Get: Retrieves the metadata of the application with the given ID. If the requested application is not available for the specified platformType, the returned response will not include any instance data.

                                                                                                                                                              func (*ApplicationsService) Played

                                                                                                                                                                Played: Indicate that the the currently authenticated user is playing your application.

                                                                                                                                                                func (*ApplicationsService) Verify

                                                                                                                                                                func (r *ApplicationsService) Verify(applicationId string) *ApplicationsVerifyCall

                                                                                                                                                                  Verify: Verifies the auth token provided with this request is for the application with the specified ID, and returns the ID of the player it was granted for.

                                                                                                                                                                  type ApplicationsVerifyCall

                                                                                                                                                                  type ApplicationsVerifyCall struct {
                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                  }

                                                                                                                                                                  func (*ApplicationsVerifyCall) Context

                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                    func (*ApplicationsVerifyCall) Do

                                                                                                                                                                      Do executes the "games.applications.verify" call. Exactly one of *ApplicationVerifyResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ApplicationVerifyResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                      func (*ApplicationsVerifyCall) Fields

                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                        func (*ApplicationsVerifyCall) Header

                                                                                                                                                                        func (c *ApplicationsVerifyCall) Header() http.Header

                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                          func (*ApplicationsVerifyCall) IfNoneMatch

                                                                                                                                                                          func (c *ApplicationsVerifyCall) IfNoneMatch(entityTag string) *ApplicationsVerifyCall

                                                                                                                                                                            IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                            type Category

                                                                                                                                                                            type Category struct {
                                                                                                                                                                            	// Category: The category name.
                                                                                                                                                                            	Category string `json:"category,omitempty"`
                                                                                                                                                                            
                                                                                                                                                                            	// ExperiencePoints: Experience points earned in this category.
                                                                                                                                                                            	ExperiencePoints int64 `json:"experiencePoints,omitempty,string"`
                                                                                                                                                                            
                                                                                                                                                                            	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                            	// the fixed string games#category.
                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                            
                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Category") to
                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                            
                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Category") to include in
                                                                                                                                                                            	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                            }

                                                                                                                                                                              Category: This is a JSON template for data related to individual game categories.

                                                                                                                                                                              func (*Category) MarshalJSON

                                                                                                                                                                              func (s *Category) MarshalJSON() ([]byte, error)

                                                                                                                                                                              type CategoryListResponse

                                                                                                                                                                              type CategoryListResponse struct {
                                                                                                                                                                              	// Items: The list of categories with usage data.
                                                                                                                                                                              	Items []*Category `json:"items,omitempty"`
                                                                                                                                                                              
                                                                                                                                                                              	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                              	// the fixed string games#categoryListResponse.
                                                                                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                                                                                              
                                                                                                                                                                              	// NextPageToken: Token corresponding to the next page of results.
                                                                                                                                                                              	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                              
                                                                                                                                                                              	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                              	// server.
                                                                                                                                                                              	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                              
                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "Items") to
                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                              
                                                                                                                                                                              	// NullFields is a list of field names (e.g. "Items") to include in API
                                                                                                                                                                              	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                              	// values are omitted from API requests. However, any field with an
                                                                                                                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                              }

                                                                                                                                                                                CategoryListResponse: This is a JSON template for a list of category data objects.

                                                                                                                                                                                func (*CategoryListResponse) MarshalJSON

                                                                                                                                                                                func (s *CategoryListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                type EventBatchRecordFailure

                                                                                                                                                                                type EventBatchRecordFailure struct {
                                                                                                                                                                                	// FailureCause: The cause for the update failure.
                                                                                                                                                                                	// Possible values are:
                                                                                                                                                                                	// - "TOO_LARGE": A batch request was issued with more events than are
                                                                                                                                                                                	// allowed in a single batch.
                                                                                                                                                                                	// - "TIME_PERIOD_EXPIRED": A batch was sent with data too far in the
                                                                                                                                                                                	// past to record.
                                                                                                                                                                                	// - "TIME_PERIOD_SHORT": A batch was sent with a time range that was
                                                                                                                                                                                	// too short.
                                                                                                                                                                                	// - "TIME_PERIOD_LONG": A batch was sent with a time range that was too
                                                                                                                                                                                	// long.
                                                                                                                                                                                	// - "ALREADY_UPDATED": An attempt was made to record a batch of data
                                                                                                                                                                                	// which was already seen.
                                                                                                                                                                                	// - "RECORD_RATE_HIGH": An attempt was made to record data faster than
                                                                                                                                                                                	// the server will apply updates.
                                                                                                                                                                                	FailureCause string `json:"failureCause,omitempty"`
                                                                                                                                                                                
                                                                                                                                                                                	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                	// the fixed string games#eventBatchRecordFailure.
                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                
                                                                                                                                                                                	// Range: The time range which was rejected; empty for a request-wide
                                                                                                                                                                                	// failure.
                                                                                                                                                                                	Range *EventPeriodRange `json:"range,omitempty"`
                                                                                                                                                                                
                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "FailureCause") to
                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                
                                                                                                                                                                                	// NullFields is a list of field names (e.g. "FailureCause") to include
                                                                                                                                                                                	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                }

                                                                                                                                                                                  EventBatchRecordFailure: This is a JSON template for a batch update failure resource.

                                                                                                                                                                                  func (*EventBatchRecordFailure) MarshalJSON

                                                                                                                                                                                  func (s *EventBatchRecordFailure) MarshalJSON() ([]byte, error)

                                                                                                                                                                                  type EventChild

                                                                                                                                                                                  type EventChild struct {
                                                                                                                                                                                  	// ChildId: The ID of the child event.
                                                                                                                                                                                  	ChildId string `json:"childId,omitempty"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                  	// the fixed string games#eventChild.
                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "ChildId") to
                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                  
                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "ChildId") to include in
                                                                                                                                                                                  	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                  	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                  	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                  }

                                                                                                                                                                                    EventChild: This is a JSON template for an event child relationship resource.

                                                                                                                                                                                    func (*EventChild) MarshalJSON

                                                                                                                                                                                    func (s *EventChild) MarshalJSON() ([]byte, error)

                                                                                                                                                                                    type EventDefinition

                                                                                                                                                                                    type EventDefinition struct {
                                                                                                                                                                                    	// ChildEvents: A list of events that are a child of this event.
                                                                                                                                                                                    	ChildEvents []*EventChild `json:"childEvents,omitempty"`
                                                                                                                                                                                    
                                                                                                                                                                                    	// Description: Description of what this event represents.
                                                                                                                                                                                    	Description string `json:"description,omitempty"`
                                                                                                                                                                                    
                                                                                                                                                                                    	// DisplayName: The name to display for the event.
                                                                                                                                                                                    	DisplayName string `json:"displayName,omitempty"`
                                                                                                                                                                                    
                                                                                                                                                                                    	// Id: The ID of the event.
                                                                                                                                                                                    	Id string `json:"id,omitempty"`
                                                                                                                                                                                    
                                                                                                                                                                                    	// ImageUrl: The base URL for the image that represents the event.
                                                                                                                                                                                    	ImageUrl string `json:"imageUrl,omitempty"`
                                                                                                                                                                                    
                                                                                                                                                                                    	// IsDefaultImageUrl: Indicates whether the icon image being returned is
                                                                                                                                                                                    	// a default image, or is game-provided.
                                                                                                                                                                                    	IsDefaultImageUrl bool `json:"isDefaultImageUrl,omitempty"`
                                                                                                                                                                                    
                                                                                                                                                                                    	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                    	// the fixed string games#eventDefinition.
                                                                                                                                                                                    	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                    
                                                                                                                                                                                    	// Visibility: The visibility of event being tracked in this
                                                                                                                                                                                    	// definition.
                                                                                                                                                                                    	// Possible values are:
                                                                                                                                                                                    	// - "REVEALED": This event should be visible to all users.
                                                                                                                                                                                    	// - "HIDDEN": This event should only be shown to users that have
                                                                                                                                                                                    	// recorded this event at least once.
                                                                                                                                                                                    	Visibility string `json:"visibility,omitempty"`
                                                                                                                                                                                    
                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "ChildEvents") to
                                                                                                                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                    	// used to include empty fields in Patch requests.
                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                    
                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "ChildEvents") to include
                                                                                                                                                                                    	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                    	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                    	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                    	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                    }

                                                                                                                                                                                      EventDefinition: This is a JSON template for an event definition resource.

                                                                                                                                                                                      func (*EventDefinition) MarshalJSON

                                                                                                                                                                                      func (s *EventDefinition) MarshalJSON() ([]byte, error)

                                                                                                                                                                                      type EventDefinitionListResponse

                                                                                                                                                                                      type EventDefinitionListResponse struct {
                                                                                                                                                                                      	// Items: The event definitions.
                                                                                                                                                                                      	Items []*EventDefinition `json:"items,omitempty"`
                                                                                                                                                                                      
                                                                                                                                                                                      	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                      	// the fixed string games#eventDefinitionListResponse.
                                                                                                                                                                                      	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                      
                                                                                                                                                                                      	// NextPageToken: The pagination token for the next page of results.
                                                                                                                                                                                      	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                      
                                                                                                                                                                                      	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                      	// server.
                                                                                                                                                                                      	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                      
                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "Items") to
                                                                                                                                                                                      	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                      	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                      	// used to include empty fields in Patch requests.
                                                                                                                                                                                      	ForceSendFields []string `json:"-"`
                                                                                                                                                                                      
                                                                                                                                                                                      	// NullFields is a list of field names (e.g. "Items") to include in API
                                                                                                                                                                                      	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                      	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                      	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                      	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                      	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                      	NullFields []string `json:"-"`
                                                                                                                                                                                      }

                                                                                                                                                                                        EventDefinitionListResponse: This is a JSON template for a ListDefinitions response.

                                                                                                                                                                                        func (*EventDefinitionListResponse) MarshalJSON

                                                                                                                                                                                        func (s *EventDefinitionListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                        type EventPeriodRange

                                                                                                                                                                                        type EventPeriodRange struct {
                                                                                                                                                                                        	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                        	// the fixed string games#eventPeriodRange.
                                                                                                                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                        
                                                                                                                                                                                        	// PeriodEndMillis: The time when this update period ends, in millis,
                                                                                                                                                                                        	// since 1970 UTC (Unix Epoch).
                                                                                                                                                                                        	PeriodEndMillis int64 `json:"periodEndMillis,omitempty,string"`
                                                                                                                                                                                        
                                                                                                                                                                                        	// PeriodStartMillis: The time when this update period begins, in
                                                                                                                                                                                        	// millis, since 1970 UTC (Unix Epoch).
                                                                                                                                                                                        	PeriodStartMillis int64 `json:"periodStartMillis,omitempty,string"`
                                                                                                                                                                                        
                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                        	// used to include empty fields in Patch requests.
                                                                                                                                                                                        	ForceSendFields []string `json:"-"`
                                                                                                                                                                                        
                                                                                                                                                                                        	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                        	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                        	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                        	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                        	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                        	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                        	NullFields []string `json:"-"`
                                                                                                                                                                                        }

                                                                                                                                                                                          EventPeriodRange: This is a JSON template for an event period time range.

                                                                                                                                                                                          func (*EventPeriodRange) MarshalJSON

                                                                                                                                                                                          func (s *EventPeriodRange) MarshalJSON() ([]byte, error)

                                                                                                                                                                                          type EventPeriodUpdate

                                                                                                                                                                                          type EventPeriodUpdate struct {
                                                                                                                                                                                          	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                          	// the fixed string games#eventPeriodUpdate.
                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                          
                                                                                                                                                                                          	// TimePeriod: The time period being covered by this update.
                                                                                                                                                                                          	TimePeriod *EventPeriodRange `json:"timePeriod,omitempty"`
                                                                                                                                                                                          
                                                                                                                                                                                          	// Updates: The updates being made for this time period.
                                                                                                                                                                                          	Updates []*EventUpdateRequest `json:"updates,omitempty"`
                                                                                                                                                                                          
                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                          
                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                          }

                                                                                                                                                                                            EventPeriodUpdate: This is a JSON template for an event period update resource.

                                                                                                                                                                                            func (*EventPeriodUpdate) MarshalJSON

                                                                                                                                                                                            func (s *EventPeriodUpdate) MarshalJSON() ([]byte, error)

                                                                                                                                                                                            type EventRecordFailure

                                                                                                                                                                                            type EventRecordFailure struct {
                                                                                                                                                                                            	// EventId: The ID of the event that was not updated.
                                                                                                                                                                                            	EventId string `json:"eventId,omitempty"`
                                                                                                                                                                                            
                                                                                                                                                                                            	// FailureCause: The cause for the update failure.
                                                                                                                                                                                            	// Possible values are:
                                                                                                                                                                                            	// - "NOT_FOUND" - An attempt was made to set an event that was not
                                                                                                                                                                                            	// defined.
                                                                                                                                                                                            	// - "INVALID_UPDATE_VALUE" - An attempt was made to increment an event
                                                                                                                                                                                            	// by a non-positive value.
                                                                                                                                                                                            	FailureCause string `json:"failureCause,omitempty"`
                                                                                                                                                                                            
                                                                                                                                                                                            	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                            	// the fixed string games#eventRecordFailure.
                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                            
                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "EventId") to
                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                            
                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "EventId") to include in
                                                                                                                                                                                            	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                            }

                                                                                                                                                                                              EventRecordFailure: This is a JSON template for an event update failure resource.

                                                                                                                                                                                              func (*EventRecordFailure) MarshalJSON

                                                                                                                                                                                              func (s *EventRecordFailure) MarshalJSON() ([]byte, error)

                                                                                                                                                                                              type EventRecordRequest

                                                                                                                                                                                              type EventRecordRequest struct {
                                                                                                                                                                                              	// CurrentTimeMillis: The current time when this update was sent, in
                                                                                                                                                                                              	// milliseconds, since 1970 UTC (Unix Epoch).
                                                                                                                                                                                              	CurrentTimeMillis int64 `json:"currentTimeMillis,omitempty,string"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                              	// the fixed string games#eventRecordRequest.
                                                                                                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// RequestId: The request ID used to identify this attempt to record
                                                                                                                                                                                              	// events.
                                                                                                                                                                                              	RequestId int64 `json:"requestId,omitempty,string"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// TimePeriods: A list of the time period updates being made in this
                                                                                                                                                                                              	// request.
                                                                                                                                                                                              	TimePeriods []*EventPeriodUpdate `json:"timePeriods,omitempty"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "CurrentTimeMillis")
                                                                                                                                                                                              	// to unconditionally include in API requests. By default, fields with
                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                              
                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "CurrentTimeMillis") to
                                                                                                                                                                                              	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                              	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                              	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                              	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                              	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                              	// requests.
                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                              }

                                                                                                                                                                                                EventRecordRequest: This is a JSON template for an event period update resource.

                                                                                                                                                                                                func (*EventRecordRequest) MarshalJSON

                                                                                                                                                                                                func (s *EventRecordRequest) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                type EventUpdateRequest

                                                                                                                                                                                                type EventUpdateRequest struct {
                                                                                                                                                                                                	// DefinitionId: The ID of the event being modified in this update.
                                                                                                                                                                                                	DefinitionId string `json:"definitionId,omitempty"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                	// the fixed string games#eventUpdateRequest.
                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// UpdateCount: The number of times this event occurred in this time
                                                                                                                                                                                                	// period.
                                                                                                                                                                                                	UpdateCount int64 `json:"updateCount,omitempty,string"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "DefinitionId") to
                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                
                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "DefinitionId") to include
                                                                                                                                                                                                	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                }

                                                                                                                                                                                                  EventUpdateRequest: This is a JSON template for an event period update resource.

                                                                                                                                                                                                  func (*EventUpdateRequest) MarshalJSON

                                                                                                                                                                                                  func (s *EventUpdateRequest) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                  type EventUpdateResponse

                                                                                                                                                                                                  type EventUpdateResponse struct {
                                                                                                                                                                                                  	// BatchFailures: Any batch-wide failures which occurred applying
                                                                                                                                                                                                  	// updates.
                                                                                                                                                                                                  	BatchFailures []*EventBatchRecordFailure `json:"batchFailures,omitempty"`
                                                                                                                                                                                                  
                                                                                                                                                                                                  	// EventFailures: Any failures updating a particular event.
                                                                                                                                                                                                  	EventFailures []*EventRecordFailure `json:"eventFailures,omitempty"`
                                                                                                                                                                                                  
                                                                                                                                                                                                  	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                  	// the fixed string games#eventUpdateResponse.
                                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                  
                                                                                                                                                                                                  	// PlayerEvents: The current status of any updated events
                                                                                                                                                                                                  	PlayerEvents []*PlayerEvent `json:"playerEvents,omitempty"`
                                                                                                                                                                                                  
                                                                                                                                                                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                  	// server.
                                                                                                                                                                                                  	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                  
                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "BatchFailures") to
                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                  
                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "BatchFailures") to include
                                                                                                                                                                                                  	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                  	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                  }

                                                                                                                                                                                                    EventUpdateResponse: This is a JSON template for an event period update resource.

                                                                                                                                                                                                    func (*EventUpdateResponse) MarshalJSON

                                                                                                                                                                                                    func (s *EventUpdateResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                    type EventsListByPlayerCall

                                                                                                                                                                                                    type EventsListByPlayerCall struct {
                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                    }

                                                                                                                                                                                                    func (*EventsListByPlayerCall) Context

                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                      func (*EventsListByPlayerCall) Do

                                                                                                                                                                                                        Do executes the "games.events.listByPlayer" call. Exactly one of *PlayerEventListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlayerEventListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                        func (*EventsListByPlayerCall) Fields

                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                          func (*EventsListByPlayerCall) Header

                                                                                                                                                                                                          func (c *EventsListByPlayerCall) Header() http.Header

                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                            func (*EventsListByPlayerCall) IfNoneMatch

                                                                                                                                                                                                            func (c *EventsListByPlayerCall) IfNoneMatch(entityTag string) *EventsListByPlayerCall

                                                                                                                                                                                                              IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                              func (*EventsListByPlayerCall) Language

                                                                                                                                                                                                              func (c *EventsListByPlayerCall) Language(language string) *EventsListByPlayerCall

                                                                                                                                                                                                                Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                func (*EventsListByPlayerCall) MaxResults

                                                                                                                                                                                                                func (c *EventsListByPlayerCall) MaxResults(maxResults int64) *EventsListByPlayerCall

                                                                                                                                                                                                                  MaxResults sets the optional parameter "maxResults": The maximum number of events to return in the response, used for paging. For any response, the actual number of events to return may be less than the specified maxResults.

                                                                                                                                                                                                                  func (*EventsListByPlayerCall) PageToken

                                                                                                                                                                                                                  func (c *EventsListByPlayerCall) PageToken(pageToken string) *EventsListByPlayerCall

                                                                                                                                                                                                                    PageToken sets the optional parameter "pageToken": The token returned by the previous request.

                                                                                                                                                                                                                    func (*EventsListByPlayerCall) Pages

                                                                                                                                                                                                                      Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                      type EventsListDefinitionsCall

                                                                                                                                                                                                                      type EventsListDefinitionsCall struct {
                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                      }

                                                                                                                                                                                                                      func (*EventsListDefinitionsCall) Context

                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                        func (*EventsListDefinitionsCall) Do

                                                                                                                                                                                                                          Do executes the "games.events.listDefinitions" call. Exactly one of *EventDefinitionListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *EventDefinitionListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                          func (*EventsListDefinitionsCall) Fields

                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                            func (*EventsListDefinitionsCall) Header

                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                              func (*EventsListDefinitionsCall) IfNoneMatch

                                                                                                                                                                                                                              func (c *EventsListDefinitionsCall) IfNoneMatch(entityTag string) *EventsListDefinitionsCall

                                                                                                                                                                                                                                IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                func (*EventsListDefinitionsCall) Language

                                                                                                                                                                                                                                  Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                  func (*EventsListDefinitionsCall) MaxResults

                                                                                                                                                                                                                                  func (c *EventsListDefinitionsCall) MaxResults(maxResults int64) *EventsListDefinitionsCall

                                                                                                                                                                                                                                    MaxResults sets the optional parameter "maxResults": The maximum number of event definitions to return in the response, used for paging. For any response, the actual number of event definitions to return may be less than the specified maxResults.

                                                                                                                                                                                                                                    func (*EventsListDefinitionsCall) PageToken

                                                                                                                                                                                                                                      PageToken sets the optional parameter "pageToken": The token returned by the previous request.

                                                                                                                                                                                                                                      func (*EventsListDefinitionsCall) Pages

                                                                                                                                                                                                                                        Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                        type EventsRecordCall

                                                                                                                                                                                                                                        type EventsRecordCall struct {
                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                        func (*EventsRecordCall) Context

                                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                          func (*EventsRecordCall) Do

                                                                                                                                                                                                                                            Do executes the "games.events.record" call. Exactly one of *EventUpdateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *EventUpdateResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                            func (*EventsRecordCall) Fields

                                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                              func (*EventsRecordCall) Header

                                                                                                                                                                                                                                              func (c *EventsRecordCall) Header() http.Header

                                                                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                func (*EventsRecordCall) Language

                                                                                                                                                                                                                                                func (c *EventsRecordCall) Language(language string) *EventsRecordCall

                                                                                                                                                                                                                                                  Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                                  type EventsService

                                                                                                                                                                                                                                                  type EventsService struct {
                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                  func NewEventsService

                                                                                                                                                                                                                                                  func NewEventsService(s *Service) *EventsService

                                                                                                                                                                                                                                                  func (*EventsService) ListByPlayer

                                                                                                                                                                                                                                                  func (r *EventsService) ListByPlayer() *EventsListByPlayerCall

                                                                                                                                                                                                                                                    ListByPlayer: Returns a list showing the current progress on events in this application for the currently authenticated user.

                                                                                                                                                                                                                                                    func (*EventsService) ListDefinitions

                                                                                                                                                                                                                                                    func (r *EventsService) ListDefinitions() *EventsListDefinitionsCall

                                                                                                                                                                                                                                                      ListDefinitions: Returns a list of the event definitions in this application.

                                                                                                                                                                                                                                                      func (*EventsService) Record

                                                                                                                                                                                                                                                      func (r *EventsService) Record(eventrecordrequest *EventRecordRequest) *EventsRecordCall

                                                                                                                                                                                                                                                        Record: Records a batch of changes to the number of times events have occurred for the currently authenticated user of this application.

                                                                                                                                                                                                                                                        type GamesAchievementIncrement

                                                                                                                                                                                                                                                        type GamesAchievementIncrement struct {
                                                                                                                                                                                                                                                        	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                        	// the fixed string games#GamesAchievementIncrement.
                                                                                                                                                                                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        	// RequestId: The requestId associated with an increment to an
                                                                                                                                                                                                                                                        	// achievement.
                                                                                                                                                                                                                                                        	RequestId int64 `json:"requestId,omitempty,string"`
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        	// Steps: The number of steps to be incremented.
                                                                                                                                                                                                                                                        	Steps int64 `json:"steps,omitempty"`
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                        	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                        	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                        	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                        	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                        	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                        	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                        	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                        	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                        	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                          GamesAchievementIncrement: This is a JSON template for the payload to request to increment an achievement.

                                                                                                                                                                                                                                                          func (*GamesAchievementIncrement) MarshalJSON

                                                                                                                                                                                                                                                          func (s *GamesAchievementIncrement) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                          type GamesAchievementSetStepsAtLeast

                                                                                                                                                                                                                                                          type GamesAchievementSetStepsAtLeast struct {
                                                                                                                                                                                                                                                          	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                          	// the fixed string games#GamesAchievementSetStepsAtLeast.
                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// Steps: The minimum number of steps for the achievement to be set to.
                                                                                                                                                                                                                                                          	Steps int64 `json:"steps,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                            GamesAchievementSetStepsAtLeast: This is a JSON template for the payload to request to increment an achievement.

                                                                                                                                                                                                                                                            func (*GamesAchievementSetStepsAtLeast) MarshalJSON

                                                                                                                                                                                                                                                            func (s *GamesAchievementSetStepsAtLeast) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                            type ImageAsset

                                                                                                                                                                                                                                                            type ImageAsset struct {
                                                                                                                                                                                                                                                            	// Height: The height of the asset.
                                                                                                                                                                                                                                                            	Height int64 `json:"height,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                            	// the fixed string games#imageAsset.
                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Name: The name of the asset.
                                                                                                                                                                                                                                                            	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Url: The URL of the asset.
                                                                                                                                                                                                                                                            	Url string `json:"url,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Width: The width of the asset.
                                                                                                                                                                                                                                                            	Width int64 `json:"width,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Height") to
                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Height") to include in API
                                                                                                                                                                                                                                                            	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                              ImageAsset: This is a JSON template for an image asset object.

                                                                                                                                                                                                                                                              func (*ImageAsset) MarshalJSON

                                                                                                                                                                                                                                                              func (s *ImageAsset) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                              type Instance

                                                                                                                                                                                                                                                              type Instance struct {
                                                                                                                                                                                                                                                              	// AcquisitionUri: URI which shows where a user can acquire this
                                                                                                                                                                                                                                                              	// instance.
                                                                                                                                                                                                                                                              	AcquisitionUri string `json:"acquisitionUri,omitempty"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// AndroidInstance: Platform dependent details for Android.
                                                                                                                                                                                                                                                              	AndroidInstance *InstanceAndroidDetails `json:"androidInstance,omitempty"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// IosInstance: Platform dependent details for iOS.
                                                                                                                                                                                                                                                              	IosInstance *InstanceIosDetails `json:"iosInstance,omitempty"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                              	// the fixed string games#instance.
                                                                                                                                                                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// Name: Localized display name.
                                                                                                                                                                                                                                                              	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// PlatformType: The platform type.
                                                                                                                                                                                                                                                              	// Possible values are:
                                                                                                                                                                                                                                                              	// - "ANDROID" - Instance is for Android.
                                                                                                                                                                                                                                                              	// - "IOS" - Instance is for iOS
                                                                                                                                                                                                                                                              	// - "WEB_APP" - Instance is for Web App.
                                                                                                                                                                                                                                                              	PlatformType string `json:"platformType,omitempty"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// RealtimePlay: Flag to show if this game instance supports realtime
                                                                                                                                                                                                                                                              	// play.
                                                                                                                                                                                                                                                              	RealtimePlay bool `json:"realtimePlay,omitempty"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// TurnBasedPlay: Flag to show if this game instance supports turn based
                                                                                                                                                                                                                                                              	// play.
                                                                                                                                                                                                                                                              	TurnBasedPlay bool `json:"turnBasedPlay,omitempty"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// WebInstance: Platform dependent details for Web.
                                                                                                                                                                                                                                                              	WebInstance *InstanceWebDetails `json:"webInstance,omitempty"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "AcquisitionUri") to
                                                                                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "AcquisitionUri") to
                                                                                                                                                                                                                                                              	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                              	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                              	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                              	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                              	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                              	// requests.
                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                Instance: This is a JSON template for the Instance resource.

                                                                                                                                                                                                                                                                func (*Instance) MarshalJSON

                                                                                                                                                                                                                                                                func (s *Instance) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                type InstanceAndroidDetails

                                                                                                                                                                                                                                                                type InstanceAndroidDetails struct {
                                                                                                                                                                                                                                                                	// EnablePiracyCheck: Flag indicating whether the anti-piracy check is
                                                                                                                                                                                                                                                                	// enabled.
                                                                                                                                                                                                                                                                	EnablePiracyCheck bool `json:"enablePiracyCheck,omitempty"`
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                	// the fixed string games#instanceAndroidDetails.
                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                	// PackageName: Android package name which maps to Google Play URL.
                                                                                                                                                                                                                                                                	PackageName string `json:"packageName,omitempty"`
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                	// Preferred: Indicates that this instance is the default for new
                                                                                                                                                                                                                                                                	// installations.
                                                                                                                                                                                                                                                                	Preferred bool `json:"preferred,omitempty"`
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "EnablePiracyCheck")
                                                                                                                                                                                                                                                                	// to unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "EnablePiracyCheck") to
                                                                                                                                                                                                                                                                	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                	// requests.
                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                  InstanceAndroidDetails: This is a JSON template for the Android instance details resource.

                                                                                                                                                                                                                                                                  func (*InstanceAndroidDetails) MarshalJSON

                                                                                                                                                                                                                                                                  func (s *InstanceAndroidDetails) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                  type InstanceIosDetails

                                                                                                                                                                                                                                                                  type InstanceIosDetails struct {
                                                                                                                                                                                                                                                                  	// BundleIdentifier: Bundle identifier.
                                                                                                                                                                                                                                                                  	BundleIdentifier string `json:"bundleIdentifier,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// ItunesAppId: iTunes App ID.
                                                                                                                                                                                                                                                                  	ItunesAppId string `json:"itunesAppId,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                  	// the fixed string games#instanceIosDetails.
                                                                                                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// PreferredForIpad: Indicates that this instance is the default for new
                                                                                                                                                                                                                                                                  	// installations on iPad devices.
                                                                                                                                                                                                                                                                  	PreferredForIpad bool `json:"preferredForIpad,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// PreferredForIphone: Indicates that this instance is the default for
                                                                                                                                                                                                                                                                  	// new installations on iPhone devices.
                                                                                                                                                                                                                                                                  	PreferredForIphone bool `json:"preferredForIphone,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// SupportIpad: Flag to indicate if this instance supports iPad.
                                                                                                                                                                                                                                                                  	SupportIpad bool `json:"supportIpad,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// SupportIphone: Flag to indicate if this instance supports iPhone.
                                                                                                                                                                                                                                                                  	SupportIphone bool `json:"supportIphone,omitempty"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "BundleIdentifier") to
                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "BundleIdentifier") to
                                                                                                                                                                                                                                                                  	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                  	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                  	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                  	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                  	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                  	// requests.
                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                    InstanceIosDetails: This is a JSON template for the iOS details resource.

                                                                                                                                                                                                                                                                    func (*InstanceIosDetails) MarshalJSON

                                                                                                                                                                                                                                                                    func (s *InstanceIosDetails) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                    type InstanceWebDetails

                                                                                                                                                                                                                                                                    type InstanceWebDetails struct {
                                                                                                                                                                                                                                                                    	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                    	// the fixed string games#instanceWebDetails.
                                                                                                                                                                                                                                                                    	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// LaunchUrl: Launch URL for the game.
                                                                                                                                                                                                                                                                    	LaunchUrl string `json:"launchUrl,omitempty"`
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// Preferred: Indicates that this instance is the default for new
                                                                                                                                                                                                                                                                    	// installations.
                                                                                                                                                                                                                                                                    	Preferred bool `json:"preferred,omitempty"`
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                    	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                    	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                    	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                    	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                    	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                      InstanceWebDetails: This is a JSON template for the Web details resource.

                                                                                                                                                                                                                                                                      func (*InstanceWebDetails) MarshalJSON

                                                                                                                                                                                                                                                                      func (s *InstanceWebDetails) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                      type Leaderboard

                                                                                                                                                                                                                                                                      type Leaderboard struct {
                                                                                                                                                                                                                                                                      	// IconUrl: The icon for the leaderboard.
                                                                                                                                                                                                                                                                      	IconUrl string `json:"iconUrl,omitempty"`
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// Id: The leaderboard ID.
                                                                                                                                                                                                                                                                      	Id string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// IsIconUrlDefault: Indicates whether the icon image being returned is
                                                                                                                                                                                                                                                                      	// a default image, or is game-provided.
                                                                                                                                                                                                                                                                      	IsIconUrlDefault bool `json:"isIconUrlDefault,omitempty"`
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                      	// the fixed string games#leaderboard.
                                                                                                                                                                                                                                                                      	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// Name: The name of the leaderboard.
                                                                                                                                                                                                                                                                      	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// Order: How scores are ordered.
                                                                                                                                                                                                                                                                      	// Possible values are:
                                                                                                                                                                                                                                                                      	// - "LARGER_IS_BETTER" - Larger values are better; scores are sorted in
                                                                                                                                                                                                                                                                      	// descending order.
                                                                                                                                                                                                                                                                      	// - "SMALLER_IS_BETTER" - Smaller values are better; scores are sorted
                                                                                                                                                                                                                                                                      	// in ascending order.
                                                                                                                                                                                                                                                                      	Order string `json:"order,omitempty"`
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                      	// server.
                                                                                                                                                                                                                                                                      	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "IconUrl") to
                                                                                                                                                                                                                                                                      	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                      	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                      	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                      	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// NullFields is a list of field names (e.g. "IconUrl") to include in
                                                                                                                                                                                                                                                                      	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                      	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                      	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                      	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                      	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                      	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                        Leaderboard: This is a JSON template for the Leaderboard resource.

                                                                                                                                                                                                                                                                        func (*Leaderboard) MarshalJSON

                                                                                                                                                                                                                                                                        func (s *Leaderboard) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                        type LeaderboardEntry

                                                                                                                                                                                                                                                                        type LeaderboardEntry struct {
                                                                                                                                                                                                                                                                        	// FormattedScore: The localized string for the numerical value of this
                                                                                                                                                                                                                                                                        	// score.
                                                                                                                                                                                                                                                                        	FormattedScore string `json:"formattedScore,omitempty"`
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	// FormattedScoreRank: The localized string for the rank of this score
                                                                                                                                                                                                                                                                        	// for this leaderboard.
                                                                                                                                                                                                                                                                        	FormattedScoreRank string `json:"formattedScoreRank,omitempty"`
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                        	// the fixed string games#leaderboardEntry.
                                                                                                                                                                                                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	// Player: The player who holds this score.
                                                                                                                                                                                                                                                                        	Player *Player `json:"player,omitempty"`
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	// ScoreRank: The rank of this score for this leaderboard.
                                                                                                                                                                                                                                                                        	ScoreRank int64 `json:"scoreRank,omitempty,string"`
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	// ScoreTag: Additional information about the score. Values must contain
                                                                                                                                                                                                                                                                        	// no more than 64 URI-safe characters as defined by section 2.3 of RFC
                                                                                                                                                                                                                                                                        	// 3986.
                                                                                                                                                                                                                                                                        	ScoreTag string `json:"scoreTag,omitempty"`
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	// ScoreValue: The numerical value of this score.
                                                                                                                                                                                                                                                                        	ScoreValue int64 `json:"scoreValue,omitempty,string"`
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	// TimeSpan: The time span of this high score.
                                                                                                                                                                                                                                                                        	// Possible values are:
                                                                                                                                                                                                                                                                        	// - "ALL_TIME" - The score is an all-time high score.
                                                                                                                                                                                                                                                                        	// - "WEEKLY" - The score is a weekly high score.
                                                                                                                                                                                                                                                                        	// - "DAILY" - The score is a daily high score.
                                                                                                                                                                                                                                                                        	TimeSpan string `json:"timeSpan,omitempty"`
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	// WriteTimestampMillis: The timestamp at which this score was recorded,
                                                                                                                                                                                                                                                                        	// in milliseconds since the epoch in UTC.
                                                                                                                                                                                                                                                                        	WriteTimestampMillis int64 `json:"writeTimestampMillis,omitempty,string"`
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g. "FormattedScore") to
                                                                                                                                                                                                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                        	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                        	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                        	// NullFields is a list of field names (e.g. "FormattedScore") to
                                                                                                                                                                                                                                                                        	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                        	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                        	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                        	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                        	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                        	// requests.
                                                                                                                                                                                                                                                                        	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                          LeaderboardEntry: This is a JSON template for the Leaderboard Entry resource.

                                                                                                                                                                                                                                                                          func (*LeaderboardEntry) MarshalJSON

                                                                                                                                                                                                                                                                          func (s *LeaderboardEntry) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                          type LeaderboardListResponse

                                                                                                                                                                                                                                                                          type LeaderboardListResponse struct {
                                                                                                                                                                                                                                                                          	// Items: The leaderboards.
                                                                                                                                                                                                                                                                          	Items []*Leaderboard `json:"items,omitempty"`
                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                          	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                          	// the fixed string games#leaderboardListResponse.
                                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                          	// NextPageToken: Token corresponding to the next page of results.
                                                                                                                                                                                                                                                                          	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                          	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                          	// server.
                                                                                                                                                                                                                                                                          	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Items") to
                                                                                                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "Items") to include in API
                                                                                                                                                                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                            LeaderboardListResponse: This is a JSON template for a list of leaderboard objects.

                                                                                                                                                                                                                                                                            func (*LeaderboardListResponse) MarshalJSON

                                                                                                                                                                                                                                                                            func (s *LeaderboardListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                            type LeaderboardScoreRank

                                                                                                                                                                                                                                                                            type LeaderboardScoreRank struct {
                                                                                                                                                                                                                                                                            	// FormattedNumScores: The number of scores in the leaderboard as a
                                                                                                                                                                                                                                                                            	// string.
                                                                                                                                                                                                                                                                            	FormattedNumScores string `json:"formattedNumScores,omitempty"`
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// FormattedRank: The rank in the leaderboard as a string.
                                                                                                                                                                                                                                                                            	FormattedRank string `json:"formattedRank,omitempty"`
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                            	// the fixed string games#leaderboardScoreRank.
                                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// NumScores: The number of scores in the leaderboard.
                                                                                                                                                                                                                                                                            	NumScores int64 `json:"numScores,omitempty,string"`
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// Rank: The rank in the leaderboard.
                                                                                                                                                                                                                                                                            	Rank int64 `json:"rank,omitempty,string"`
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "FormattedNumScores")
                                                                                                                                                                                                                                                                            	// to unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "FormattedNumScores") to
                                                                                                                                                                                                                                                                            	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                            	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                            	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                            	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                            	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                            	// requests.
                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                              LeaderboardScoreRank: This is a JSON template for a score rank in a leaderboard.

                                                                                                                                                                                                                                                                              func (*LeaderboardScoreRank) MarshalJSON

                                                                                                                                                                                                                                                                              func (s *LeaderboardScoreRank) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                              type LeaderboardScores

                                                                                                                                                                                                                                                                              type LeaderboardScores struct {
                                                                                                                                                                                                                                                                              	// Items: The scores in the leaderboard.
                                                                                                                                                                                                                                                                              	Items []*LeaderboardEntry `json:"items,omitempty"`
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                              	// the fixed string games#leaderboardScores.
                                                                                                                                                                                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              	// NextPageToken: The pagination token for the next page of results.
                                                                                                                                                                                                                                                                              	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              	// NumScores: The total number of scores in the leaderboard.
                                                                                                                                                                                                                                                                              	NumScores int64 `json:"numScores,omitempty,string"`
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              	// PlayerScore: The score of the requesting player on the leaderboard.
                                                                                                                                                                                                                                                                              	// The player's score may appear both here and in the list of scores
                                                                                                                                                                                                                                                                              	// above. If you are viewing a public leaderboard and the player is not
                                                                                                                                                                                                                                                                              	// sharing their gameplay information publicly, the scoreRank and
                                                                                                                                                                                                                                                                              	// formattedScoreRank values will not be present.
                                                                                                                                                                                                                                                                              	PlayerScore *LeaderboardEntry `json:"playerScore,omitempty"`
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              	// PrevPageToken: The pagination token for the previous page of results.
                                                                                                                                                                                                                                                                              	PrevPageToken string `json:"prevPageToken,omitempty"`
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                              	// server.
                                                                                                                                                                                                                                                                              	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "Items") to
                                                                                                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "Items") to include in API
                                                                                                                                                                                                                                                                              	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                              	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                LeaderboardScores: This is a JSON template for a ListScores response.

                                                                                                                                                                                                                                                                                func (*LeaderboardScores) MarshalJSON

                                                                                                                                                                                                                                                                                func (s *LeaderboardScores) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                type LeaderboardsGetCall

                                                                                                                                                                                                                                                                                type LeaderboardsGetCall struct {
                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                func (*LeaderboardsGetCall) Context

                                                                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                  func (*LeaderboardsGetCall) Do

                                                                                                                                                                                                                                                                                    Do executes the "games.leaderboards.get" call. Exactly one of *Leaderboard or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Leaderboard.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                    func (*LeaderboardsGetCall) Fields

                                                                                                                                                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                      func (*LeaderboardsGetCall) Header

                                                                                                                                                                                                                                                                                      func (c *LeaderboardsGetCall) Header() http.Header

                                                                                                                                                                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                        func (*LeaderboardsGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                        func (c *LeaderboardsGetCall) IfNoneMatch(entityTag string) *LeaderboardsGetCall

                                                                                                                                                                                                                                                                                          IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                          func (*LeaderboardsGetCall) Language

                                                                                                                                                                                                                                                                                          func (c *LeaderboardsGetCall) Language(language string) *LeaderboardsGetCall

                                                                                                                                                                                                                                                                                            Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                                                                            type LeaderboardsListCall

                                                                                                                                                                                                                                                                                            type LeaderboardsListCall struct {
                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                            func (*LeaderboardsListCall) Context

                                                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                              func (*LeaderboardsListCall) Do

                                                                                                                                                                                                                                                                                                Do executes the "games.leaderboards.list" call. Exactly one of *LeaderboardListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LeaderboardListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                func (*LeaderboardsListCall) Fields

                                                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                  func (*LeaderboardsListCall) Header

                                                                                                                                                                                                                                                                                                  func (c *LeaderboardsListCall) Header() http.Header

                                                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                    func (*LeaderboardsListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                    func (c *LeaderboardsListCall) IfNoneMatch(entityTag string) *LeaderboardsListCall

                                                                                                                                                                                                                                                                                                      IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                      func (*LeaderboardsListCall) Language

                                                                                                                                                                                                                                                                                                      func (c *LeaderboardsListCall) Language(language string) *LeaderboardsListCall

                                                                                                                                                                                                                                                                                                        Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                                                                                        func (*LeaderboardsListCall) MaxResults

                                                                                                                                                                                                                                                                                                        func (c *LeaderboardsListCall) MaxResults(maxResults int64) *LeaderboardsListCall

                                                                                                                                                                                                                                                                                                          MaxResults sets the optional parameter "maxResults": The maximum number of leaderboards to return in the response. For any response, the actual number of leaderboards returned may be less than the specified maxResults.

                                                                                                                                                                                                                                                                                                          func (*LeaderboardsListCall) PageToken

                                                                                                                                                                                                                                                                                                          func (c *LeaderboardsListCall) PageToken(pageToken string) *LeaderboardsListCall

                                                                                                                                                                                                                                                                                                            PageToken sets the optional parameter "pageToken": The token returned by the previous request.

                                                                                                                                                                                                                                                                                                            func (*LeaderboardsListCall) Pages

                                                                                                                                                                                                                                                                                                              Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                                                                                              type LeaderboardsService

                                                                                                                                                                                                                                                                                                              type LeaderboardsService struct {
                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                              func NewLeaderboardsService

                                                                                                                                                                                                                                                                                                              func NewLeaderboardsService(s *Service) *LeaderboardsService

                                                                                                                                                                                                                                                                                                              func (*LeaderboardsService) Get

                                                                                                                                                                                                                                                                                                              func (r *LeaderboardsService) Get(leaderboardId string) *LeaderboardsGetCall

                                                                                                                                                                                                                                                                                                                Get: Retrieves the metadata of the leaderboard with the given ID.

                                                                                                                                                                                                                                                                                                                func (*LeaderboardsService) List

                                                                                                                                                                                                                                                                                                                  List: Lists all the leaderboard metadata for your application.

                                                                                                                                                                                                                                                                                                                  type MetagameConfig

                                                                                                                                                                                                                                                                                                                  type MetagameConfig struct {
                                                                                                                                                                                                                                                                                                                  	// CurrentVersion: Current version of the metagame configuration data.
                                                                                                                                                                                                                                                                                                                  	// When this data is updated, the version number will be increased by
                                                                                                                                                                                                                                                                                                                  	// one.
                                                                                                                                                                                                                                                                                                                  	CurrentVersion int64 `json:"currentVersion,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                  	// the fixed string games#metagameConfig.
                                                                                                                                                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// PlayerLevels: The list of player levels.
                                                                                                                                                                                                                                                                                                                  	PlayerLevels []*PlayerLevel `json:"playerLevels,omitempty"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                  	// server.
                                                                                                                                                                                                                                                                                                                  	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "CurrentVersion") to
                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "CurrentVersion") to
                                                                                                                                                                                                                                                                                                                  	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                  	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                  	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                  	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                  	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                  	// requests.
                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                    MetagameConfig: This is a JSON template for the metagame config resource

                                                                                                                                                                                                                                                                                                                    func (*MetagameConfig) MarshalJSON

                                                                                                                                                                                                                                                                                                                    func (s *MetagameConfig) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                    type MetagameGetMetagameConfigCall

                                                                                                                                                                                                                                                                                                                    type MetagameGetMetagameConfigCall struct {
                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                    func (*MetagameGetMetagameConfigCall) Context

                                                                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                      func (*MetagameGetMetagameConfigCall) Do

                                                                                                                                                                                                                                                                                                                        Do executes the "games.metagame.getMetagameConfig" call. Exactly one of *MetagameConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *MetagameConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                        func (*MetagameGetMetagameConfigCall) Fields

                                                                                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                          func (*MetagameGetMetagameConfigCall) Header

                                                                                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                            func (*MetagameGetMetagameConfigCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                              IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                              type MetagameListCategoriesByPlayerCall

                                                                                                                                                                                                                                                                                                                              type MetagameListCategoriesByPlayerCall struct {
                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                              func (*MetagameListCategoriesByPlayerCall) Context

                                                                                                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                func (*MetagameListCategoriesByPlayerCall) Do

                                                                                                                                                                                                                                                                                                                                  Do executes the "games.metagame.listCategoriesByPlayer" call. Exactly one of *CategoryListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CategoryListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                  func (*MetagameListCategoriesByPlayerCall) Fields

                                                                                                                                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                    func (*MetagameListCategoriesByPlayerCall) Header

                                                                                                                                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                      func (*MetagameListCategoriesByPlayerCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                        IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                        func (*MetagameListCategoriesByPlayerCall) Language

                                                                                                                                                                                                                                                                                                                                          Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                                                                                                                          func (*MetagameListCategoriesByPlayerCall) MaxResults

                                                                                                                                                                                                                                                                                                                                            MaxResults sets the optional parameter "maxResults": The maximum number of category resources to return in the response, used for paging. For any response, the actual number of category resources returned may be less than the specified maxResults.

                                                                                                                                                                                                                                                                                                                                            func (*MetagameListCategoriesByPlayerCall) PageToken

                                                                                                                                                                                                                                                                                                                                              PageToken sets the optional parameter "pageToken": The token returned by the previous request.

                                                                                                                                                                                                                                                                                                                                              func (*MetagameListCategoriesByPlayerCall) Pages

                                                                                                                                                                                                                                                                                                                                                Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                                                                                                                                type MetagameService

                                                                                                                                                                                                                                                                                                                                                type MetagameService struct {
                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                func NewMetagameService

                                                                                                                                                                                                                                                                                                                                                func NewMetagameService(s *Service) *MetagameService

                                                                                                                                                                                                                                                                                                                                                func (*MetagameService) GetMetagameConfig

                                                                                                                                                                                                                                                                                                                                                func (r *MetagameService) GetMetagameConfig() *MetagameGetMetagameConfigCall

                                                                                                                                                                                                                                                                                                                                                  GetMetagameConfig: Return the metagame configuration data for the calling application.

                                                                                                                                                                                                                                                                                                                                                  func (*MetagameService) ListCategoriesByPlayer

                                                                                                                                                                                                                                                                                                                                                  func (r *MetagameService) ListCategoriesByPlayer(playerId string, collection string) *MetagameListCategoriesByPlayerCall

                                                                                                                                                                                                                                                                                                                                                    ListCategoriesByPlayer: List play data aggregated per category for the player corresponding to playerId.

                                                                                                                                                                                                                                                                                                                                                    type NetworkDiagnostics

                                                                                                                                                                                                                                                                                                                                                    type NetworkDiagnostics struct {
                                                                                                                                                                                                                                                                                                                                                    	// AndroidNetworkSubtype: The Android network subtype.
                                                                                                                                                                                                                                                                                                                                                    	AndroidNetworkSubtype int64 `json:"androidNetworkSubtype,omitempty"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// AndroidNetworkType: The Android network type.
                                                                                                                                                                                                                                                                                                                                                    	AndroidNetworkType int64 `json:"androidNetworkType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// IosNetworkType: iOS network type as defined in Reachability.h.
                                                                                                                                                                                                                                                                                                                                                    	IosNetworkType int64 `json:"iosNetworkType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                    	// the fixed string games#networkDiagnostics.
                                                                                                                                                                                                                                                                                                                                                    	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// NetworkOperatorCode: The MCC+MNC code for the client's network
                                                                                                                                                                                                                                                                                                                                                    	// connection. On Android:
                                                                                                                                                                                                                                                                                                                                                    	// http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperator() On iOS, see:
                                                                                                                                                                                                                                                                                                                                                    	// https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html
                                                                                                                                                                                                                                                                                                                                                    	NetworkOperatorCode string `json:"networkOperatorCode,omitempty"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// NetworkOperatorName: The name of the carrier of the client's network
                                                                                                                                                                                                                                                                                                                                                    	// connection. On Android:
                                                                                                                                                                                                                                                                                                                                                    	// http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperatorName() On iOS:
                                                                                                                                                                                                                                                                                                                                                    	// https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#//apple_ref/occ/instp/CTCarrier/carrierName
                                                                                                                                                                                                                                                                                                                                                    	NetworkOperatorName string `json:"networkOperatorName,omitempty"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// RegistrationLatencyMillis: The amount of time in milliseconds it took
                                                                                                                                                                                                                                                                                                                                                    	// for the client to establish a connection with the XMPP server.
                                                                                                                                                                                                                                                                                                                                                    	RegistrationLatencyMillis int64 `json:"registrationLatencyMillis,omitempty"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                                                                    	// "AndroidNetworkSubtype") to unconditionally include in API requests.
                                                                                                                                                                                                                                                                                                                                                    	// By default, fields with empty values are omitted from API requests.
                                                                                                                                                                                                                                                                                                                                                    	// However, any non-pointer, non-interface field appearing in
                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields will be sent to the server regardless of whether the
                                                                                                                                                                                                                                                                                                                                                    	// field is empty or not. This may be used to include empty fields in
                                                                                                                                                                                                                                                                                                                                                    	// Patch requests.
                                                                                                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "AndroidNetworkSubtype") to
                                                                                                                                                                                                                                                                                                                                                    	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                    	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                    	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                    	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                    	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                    	// requests.
                                                                                                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                      NetworkDiagnostics: This is a JSON template for network diagnostics reported for a client.

                                                                                                                                                                                                                                                                                                                                                      func (*NetworkDiagnostics) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                      func (s *NetworkDiagnostics) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                      type ParticipantResult

                                                                                                                                                                                                                                                                                                                                                      type ParticipantResult struct {
                                                                                                                                                                                                                                                                                                                                                      	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                      	// the fixed string games#participantResult.
                                                                                                                                                                                                                                                                                                                                                      	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// ParticipantId: The ID of the participant.
                                                                                                                                                                                                                                                                                                                                                      	ParticipantId string `json:"participantId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// Placing: The placement or ranking of the participant in the match
                                                                                                                                                                                                                                                                                                                                                      	// results; a number from one to the number of participants in the
                                                                                                                                                                                                                                                                                                                                                      	// match. Multiple participants may have the same placing value in case
                                                                                                                                                                                                                                                                                                                                                      	// of a type.
                                                                                                                                                                                                                                                                                                                                                      	Placing int64 `json:"placing,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// Result: The result of the participant for this match.
                                                                                                                                                                                                                                                                                                                                                      	// Possible values are:
                                                                                                                                                                                                                                                                                                                                                      	// - "MATCH_RESULT_WIN" - The participant won the match.
                                                                                                                                                                                                                                                                                                                                                      	// - "MATCH_RESULT_LOSS" - The participant lost the match.
                                                                                                                                                                                                                                                                                                                                                      	// - "MATCH_RESULT_TIE" - The participant tied the match.
                                                                                                                                                                                                                                                                                                                                                      	// - "MATCH_RESULT_NONE" - There was no winner for the match (nobody
                                                                                                                                                                                                                                                                                                                                                      	// wins or loses this kind of game.)
                                                                                                                                                                                                                                                                                                                                                      	// - "MATCH_RESULT_DISCONNECT" - The participant disconnected / left
                                                                                                                                                                                                                                                                                                                                                      	// during the match.
                                                                                                                                                                                                                                                                                                                                                      	// - "MATCH_RESULT_DISAGREED" - Different clients reported different
                                                                                                                                                                                                                                                                                                                                                      	// results for this participant.
                                                                                                                                                                                                                                                                                                                                                      	Result string `json:"result,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                      	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                      	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                      	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                      	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                      	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                      	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                      	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                      	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                      	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                      	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                      	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                        ParticipantResult: This is a JSON template for a result for a match participant.

                                                                                                                                                                                                                                                                                                                                                        func (*ParticipantResult) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                        func (s *ParticipantResult) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                        type PeerChannelDiagnostics

                                                                                                                                                                                                                                                                                                                                                        type PeerChannelDiagnostics struct {
                                                                                                                                                                                                                                                                                                                                                        	// BytesReceived: Number of bytes received.
                                                                                                                                                                                                                                                                                                                                                        	BytesReceived *AggregateStats `json:"bytesReceived,omitempty"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// BytesSent: Number of bytes sent.
                                                                                                                                                                                                                                                                                                                                                        	BytesSent *AggregateStats `json:"bytesSent,omitempty"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                        	// the fixed string games#peerChannelDiagnostics.
                                                                                                                                                                                                                                                                                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// NumMessagesLost: Number of messages lost.
                                                                                                                                                                                                                                                                                                                                                        	NumMessagesLost int64 `json:"numMessagesLost,omitempty"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// NumMessagesReceived: Number of messages received.
                                                                                                                                                                                                                                                                                                                                                        	NumMessagesReceived int64 `json:"numMessagesReceived,omitempty"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// NumMessagesSent: Number of messages sent.
                                                                                                                                                                                                                                                                                                                                                        	NumMessagesSent int64 `json:"numMessagesSent,omitempty"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// NumSendFailures: Number of send failures.
                                                                                                                                                                                                                                                                                                                                                        	NumSendFailures int64 `json:"numSendFailures,omitempty"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// RoundtripLatencyMillis: Roundtrip latency stats in milliseconds.
                                                                                                                                                                                                                                                                                                                                                        	RoundtripLatencyMillis *AggregateStats `json:"roundtripLatencyMillis,omitempty"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g. "BytesReceived") to
                                                                                                                                                                                                                                                                                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                        	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                        	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                        	// NullFields is a list of field names (e.g. "BytesReceived") to include
                                                                                                                                                                                                                                                                                                                                                        	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                                                        	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                                                        	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                        	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                        	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                        	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                          PeerChannelDiagnostics: This is a JSON template for peer channel diagnostics.

                                                                                                                                                                                                                                                                                                                                                          func (*PeerChannelDiagnostics) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                          func (s *PeerChannelDiagnostics) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                          type PeerSessionDiagnostics

                                                                                                                                                                                                                                                                                                                                                          type PeerSessionDiagnostics struct {
                                                                                                                                                                                                                                                                                                                                                          	// ConnectedTimestampMillis: Connected time in milliseconds.
                                                                                                                                                                                                                                                                                                                                                          	ConnectedTimestampMillis int64 `json:"connectedTimestampMillis,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                          	// the fixed string games#peerSessionDiagnostics.
                                                                                                                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          	// ParticipantId: The participant ID of the peer.
                                                                                                                                                                                                                                                                                                                                                          	ParticipantId string `json:"participantId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          	// ReliableChannel: Reliable channel diagnostics.
                                                                                                                                                                                                                                                                                                                                                          	ReliableChannel *PeerChannelDiagnostics `json:"reliableChannel,omitempty"`
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          	// UnreliableChannel: Unreliable channel diagnostics.
                                                                                                                                                                                                                                                                                                                                                          	UnreliableChannel *PeerChannelDiagnostics `json:"unreliableChannel,omitempty"`
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                                                                          	// "ConnectedTimestampMillis") to unconditionally include in API
                                                                                                                                                                                                                                                                                                                                                          	// requests. By default, fields with empty values are omitted from API
                                                                                                                                                                                                                                                                                                                                                          	// requests. However, any non-pointer, non-interface field appearing in
                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields will be sent to the server regardless of whether the
                                                                                                                                                                                                                                                                                                                                                          	// field is empty or not. This may be used to include empty fields in
                                                                                                                                                                                                                                                                                                                                                          	// Patch requests.
                                                                                                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "ConnectedTimestampMillis")
                                                                                                                                                                                                                                                                                                                                                          	// to include in API requests with the JSON null value. By default,
                                                                                                                                                                                                                                                                                                                                                          	// fields with empty values are omitted from API requests. However, any
                                                                                                                                                                                                                                                                                                                                                          	// field with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                          	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                          	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                          	// requests.
                                                                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                            PeerSessionDiagnostics: This is a JSON template for peer session diagnostics.

                                                                                                                                                                                                                                                                                                                                                            func (*PeerSessionDiagnostics) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                            func (s *PeerSessionDiagnostics) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                            type Played

                                                                                                                                                                                                                                                                                                                                                            type Played struct {
                                                                                                                                                                                                                                                                                                                                                            	// AutoMatched: True if the player was auto-matched with the currently
                                                                                                                                                                                                                                                                                                                                                            	// authenticated user.
                                                                                                                                                                                                                                                                                                                                                            	AutoMatched bool `json:"autoMatched,omitempty"`
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                            	// the fixed string games#played.
                                                                                                                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// TimeMillis: The last time the player played the game in milliseconds
                                                                                                                                                                                                                                                                                                                                                            	// since the epoch in UTC.
                                                                                                                                                                                                                                                                                                                                                            	TimeMillis int64 `json:"timeMillis,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "AutoMatched") to
                                                                                                                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "AutoMatched") to include
                                                                                                                                                                                                                                                                                                                                                            	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                                                            	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                              Played: This is a JSON template for metadata about a player playing a game with the currently authenticated user.

                                                                                                                                                                                                                                                                                                                                                              func (*Played) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                              func (s *Played) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                              type Player

                                                                                                                                                                                                                                                                                                                                                              type Player struct {
                                                                                                                                                                                                                                                                                                                                                              	// AvatarImageUrl: The base URL for the image that represents the
                                                                                                                                                                                                                                                                                                                                                              	// player.
                                                                                                                                                                                                                                                                                                                                                              	AvatarImageUrl string `json:"avatarImageUrl,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// BannerUrlLandscape: The url to the landscape mode player banner
                                                                                                                                                                                                                                                                                                                                                              	// image.
                                                                                                                                                                                                                                                                                                                                                              	BannerUrlLandscape string `json:"bannerUrlLandscape,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// BannerUrlPortrait: The url to the portrait mode player banner image.
                                                                                                                                                                                                                                                                                                                                                              	BannerUrlPortrait string `json:"bannerUrlPortrait,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 *PlayerExperienceInfo `json:"experienceInfo,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                              	// the fixed string games#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 *Played `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"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// OriginalPlayerId: The player ID that was used for this player the
                                                                                                                                                                                                                                                                                                                                                              	// first time they signed into the game in question. This is only
                                                                                                                                                                                                                                                                                                                                                              	// populated for calls to player.get for the requesting player, only if
                                                                                                                                                                                                                                                                                                                                                              	// the player ID has subsequently changed, and only to clients that
                                                                                                                                                                                                                                                                                                                                                              	// support remapping player IDs.
                                                                                                                                                                                                                                                                                                                                                              	OriginalPlayerId string `json:"originalPlayerId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// PlayerId: The ID of the player.
                                                                                                                                                                                                                                                                                                                                                              	PlayerId string `json:"playerId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	PlayerStattus string `json:"playerStattus,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// ProfileSettings: The player's profile settings. Controls whether or
                                                                                                                                                                                                                                                                                                                                                              	// not the player's profile is visible to other players.
                                                                                                                                                                                                                                                                                                                                                              	ProfileSettings *ProfileSettings `json:"profileSettings,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// Title: The player's title rewarded for their game activities.
                                                                                                                                                                                                                                                                                                                                                              	Title string `json:"title,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                              	// server.
                                                                                                                                                                                                                                                                                                                                                              	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "AvatarImageUrl") to
                                                                                                                                                                                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "AvatarImageUrl") to
                                                                                                                                                                                                                                                                                                                                                              	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                              	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                              	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                              	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                              	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                              	// requests.
                                                                                                                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                Player: This is a JSON template for a Player resource.

                                                                                                                                                                                                                                                                                                                                                                func (*Player) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                func (s *Player) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                type PlayerAchievement

                                                                                                                                                                                                                                                                                                                                                                type PlayerAchievement struct {
                                                                                                                                                                                                                                                                                                                                                                	// AchievementState: The state of the achievement.
                                                                                                                                                                                                                                                                                                                                                                	// Possible values are:
                                                                                                                                                                                                                                                                                                                                                                	// - "HIDDEN" - Achievement is hidden.
                                                                                                                                                                                                                                                                                                                                                                	// - "REVEALED" - Achievement is revealed.
                                                                                                                                                                                                                                                                                                                                                                	// - "UNLOCKED" - Achievement is unlocked.
                                                                                                                                                                                                                                                                                                                                                                	AchievementState string `json:"achievementState,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                	// CurrentSteps: The current steps for an incremental achievement.
                                                                                                                                                                                                                                                                                                                                                                	CurrentSteps int64 `json:"currentSteps,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                	// ExperiencePoints: Experience points earned for the achievement. This
                                                                                                                                                                                                                                                                                                                                                                	// field is absent for achievements that have not yet been unlocked and
                                                                                                                                                                                                                                                                                                                                                                	// 0 for achievements that have been unlocked by testers but that are
                                                                                                                                                                                                                                                                                                                                                                	// unpublished.
                                                                                                                                                                                                                                                                                                                                                                	ExperiencePoints int64 `json:"experiencePoints,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                	// FormattedCurrentStepsString: The current steps for an incremental
                                                                                                                                                                                                                                                                                                                                                                	// achievement as a string.
                                                                                                                                                                                                                                                                                                                                                                	FormattedCurrentStepsString string `json:"formattedCurrentStepsString,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                	// Id: The ID of the achievement.
                                                                                                                                                                                                                                                                                                                                                                	Id string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                	// the fixed string games#playerAchievement.
                                                                                                                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                	// LastUpdatedTimestamp: The timestamp of the last modification to this
                                                                                                                                                                                                                                                                                                                                                                	// achievement's state.
                                                                                                                                                                                                                                                                                                                                                                	LastUpdatedTimestamp int64 `json:"lastUpdatedTimestamp,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "AchievementState") to
                                                                                                                                                                                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "AchievementState") to
                                                                                                                                                                                                                                                                                                                                                                	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                	// requests.
                                                                                                                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                  PlayerAchievement: This is a JSON template for an achievement object.

                                                                                                                                                                                                                                                                                                                                                                  func (*PlayerAchievement) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                  func (s *PlayerAchievement) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                  type PlayerAchievementListResponse

                                                                                                                                                                                                                                                                                                                                                                  type PlayerAchievementListResponse struct {
                                                                                                                                                                                                                                                                                                                                                                  	// Items: The achievements.
                                                                                                                                                                                                                                                                                                                                                                  	Items []*PlayerAchievement `json:"items,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                  	// the fixed string games#playerAchievementListResponse.
                                                                                                                                                                                                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  	// NextPageToken: Token corresponding to the next page of results.
                                                                                                                                                                                                                                                                                                                                                                  	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                  	// server.
                                                                                                                                                                                                                                                                                                                                                                  	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "Items") to
                                                                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "Items") to include in API
                                                                                                                                                                                                                                                                                                                                                                  	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                  	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                  	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                    PlayerAchievementListResponse: This is a JSON template for a list of achievement objects.

                                                                                                                                                                                                                                                                                                                                                                    func (*PlayerAchievementListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                    func (s *PlayerAchievementListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                    type PlayerEvent

                                                                                                                                                                                                                                                                                                                                                                    type PlayerEvent struct {
                                                                                                                                                                                                                                                                                                                                                                    	// DefinitionId: The ID of the event definition.
                                                                                                                                                                                                                                                                                                                                                                    	DefinitionId string `json:"definitionId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                    	// FormattedNumEvents: The current number of times this event has
                                                                                                                                                                                                                                                                                                                                                                    	// occurred, as a string. The formatting of this string depends on the
                                                                                                                                                                                                                                                                                                                                                                    	// configuration of your event in the Play Games Developer Console.
                                                                                                                                                                                                                                                                                                                                                                    	FormattedNumEvents string `json:"formattedNumEvents,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                    	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                    	// the fixed string games#playerEvent.
                                                                                                                                                                                                                                                                                                                                                                    	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                    	// NumEvents: The current number of times this event has occurred.
                                                                                                                                                                                                                                                                                                                                                                    	NumEvents int64 `json:"numEvents,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                    	// PlayerId: The ID of the player.
                                                                                                                                                                                                                                                                                                                                                                    	PlayerId string `json:"playerId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "DefinitionId") to
                                                                                                                                                                                                                                                                                                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                    	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "DefinitionId") to include
                                                                                                                                                                                                                                                                                                                                                                    	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                                                                    	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                    	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                      PlayerEvent: This is a JSON template for an event status resource.

                                                                                                                                                                                                                                                                                                                                                                      func (*PlayerEvent) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                      func (s *PlayerEvent) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                      type PlayerEventListResponse

                                                                                                                                                                                                                                                                                                                                                                      type PlayerEventListResponse struct {
                                                                                                                                                                                                                                                                                                                                                                      	// Items: The player events.
                                                                                                                                                                                                                                                                                                                                                                      	Items []*PlayerEvent `json:"items,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                      	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                      	// the fixed string games#playerEventListResponse.
                                                                                                                                                                                                                                                                                                                                                                      	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                      	// NextPageToken: The pagination token for the next page of results.
                                                                                                                                                                                                                                                                                                                                                                      	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                      	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                      	// server.
                                                                                                                                                                                                                                                                                                                                                                      	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "Items") to
                                                                                                                                                                                                                                                                                                                                                                      	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                      	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                      	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                      	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                      	// NullFields is a list of field names (e.g. "Items") to include in API
                                                                                                                                                                                                                                                                                                                                                                      	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                      	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                      	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                      	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                      	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                      	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                        PlayerEventListResponse: This is a JSON template for a ListByPlayer response.

                                                                                                                                                                                                                                                                                                                                                                        func (*PlayerEventListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                        func (s *PlayerEventListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                        type PlayerExperienceInfo

                                                                                                                                                                                                                                                                                                                                                                        type PlayerExperienceInfo 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 *PlayerLevel `json:"currentLevel,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                        	// the fixed string games#playerExperienceInfo.
                                                                                                                                                                                                                                                                                                                                                                        	Kind string `json:"kind,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 *PlayerLevel `json:"nextLevel,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                                                                                        	// "CurrentExperiencePoints") to unconditionally include in API
                                                                                                                                                                                                                                                                                                                                                                        	// requests. By default, fields with empty values are omitted from API
                                                                                                                                                                                                                                                                                                                                                                        	// requests. However, any non-pointer, non-interface field appearing in
                                                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields will be sent to the server regardless of whether the
                                                                                                                                                                                                                                                                                                                                                                        	// field is empty or not. This may be used to include empty fields in
                                                                                                                                                                                                                                                                                                                                                                        	// Patch requests.
                                                                                                                                                                                                                                                                                                                                                                        	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                        	// NullFields is a list of field names (e.g. "CurrentExperiencePoints")
                                                                                                                                                                                                                                                                                                                                                                        	// to include in API requests with the JSON null value. By default,
                                                                                                                                                                                                                                                                                                                                                                        	// fields with empty values are omitted from API requests. However, any
                                                                                                                                                                                                                                                                                                                                                                        	// field with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                        	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                        	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                        	// requests.
                                                                                                                                                                                                                                                                                                                                                                        	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                          PlayerExperienceInfo: This is a JSON template for 1P/3P metadata about the player's experience.

                                                                                                                                                                                                                                                                                                                                                                          func (*PlayerExperienceInfo) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                          func (s *PlayerExperienceInfo) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                          type PlayerLeaderboardScore

                                                                                                                                                                                                                                                                                                                                                                          type PlayerLeaderboardScore struct {
                                                                                                                                                                                                                                                                                                                                                                          	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                          	// the fixed string games#playerLeaderboardScore.
                                                                                                                                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          	// LeaderboardId: The ID of the leaderboard this score is in.
                                                                                                                                                                                                                                                                                                                                                                          	LeaderboardId string `json:"leaderboard_id,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          	// PublicRank: The public rank of the score in this leaderboard. This
                                                                                                                                                                                                                                                                                                                                                                          	// object will not be present if the user is not sharing their scores
                                                                                                                                                                                                                                                                                                                                                                          	// publicly.
                                                                                                                                                                                                                                                                                                                                                                          	PublicRank *LeaderboardScoreRank `json:"publicRank,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          	// ScoreString: The formatted value of this score.
                                                                                                                                                                                                                                                                                                                                                                          	ScoreString string `json:"scoreString,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          	// ScoreTag: Additional information about the score. Values must contain
                                                                                                                                                                                                                                                                                                                                                                          	// no more than 64 URI-safe characters as defined by section 2.3 of RFC
                                                                                                                                                                                                                                                                                                                                                                          	// 3986.
                                                                                                                                                                                                                                                                                                                                                                          	ScoreTag string `json:"scoreTag,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          	// ScoreValue: The numerical value of this score.
                                                                                                                                                                                                                                                                                                                                                                          	ScoreValue int64 `json:"scoreValue,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          	// SocialRank: The social rank of the score in this leaderboard.
                                                                                                                                                                                                                                                                                                                                                                          	SocialRank *LeaderboardScoreRank `json:"socialRank,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          	// TimeSpan: The time span of this 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.
                                                                                                                                                                                                                                                                                                                                                                          	TimeSpan string `json:"timeSpan,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          	// WriteTimestamp: The timestamp at which this score was recorded, in
                                                                                                                                                                                                                                                                                                                                                                          	// milliseconds since the epoch in UTC.
                                                                                                                                                                                                                                                                                                                                                                          	WriteTimestamp int64 `json:"writeTimestamp,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                            PlayerLeaderboardScore: This is a JSON template for a player leaderboard score object.

                                                                                                                                                                                                                                                                                                                                                                            func (*PlayerLeaderboardScore) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                            func (s *PlayerLeaderboardScore) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                            type PlayerLeaderboardScoreListResponse

                                                                                                                                                                                                                                                                                                                                                                            type PlayerLeaderboardScoreListResponse struct {
                                                                                                                                                                                                                                                                                                                                                                            	// Items: The leaderboard scores.
                                                                                                                                                                                                                                                                                                                                                                            	Items []*PlayerLeaderboardScore `json:"items,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                            	// the fixed string games#playerLeaderboardScoreListResponse.
                                                                                                                                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            	// NextPageToken: The pagination token for the next page of results.
                                                                                                                                                                                                                                                                                                                                                                            	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            	// Player: The Player resources for the owner of this score.
                                                                                                                                                                                                                                                                                                                                                                            	Player *Player `json:"player,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                            	// server.
                                                                                                                                                                                                                                                                                                                                                                            	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Items") to
                                                                                                                                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Items") to include in API
                                                                                                                                                                                                                                                                                                                                                                            	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                              PlayerLeaderboardScoreListResponse: This is a JSON template for a list of player leaderboard scores.

                                                                                                                                                                                                                                                                                                                                                                              func (*PlayerLeaderboardScoreListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                              func (s *PlayerLeaderboardScoreListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                              type PlayerLevel

                                                                                                                                                                                                                                                                                                                                                                              type PlayerLevel struct {
                                                                                                                                                                                                                                                                                                                                                                              	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                              	// the fixed string games#playerLevel.
                                                                                                                                                                                                                                                                                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                              	// 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"`
                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                              	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                              	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                PlayerLevel: This is a JSON template for 1P/3P metadata about a user's level.

                                                                                                                                                                                                                                                                                                                                                                                func (*PlayerLevel) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                func (s *PlayerLevel) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                type PlayerListResponse

                                                                                                                                                                                                                                                                                                                                                                                type PlayerListResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                	// Items: The players.
                                                                                                                                                                                                                                                                                                                                                                                	Items []*Player `json:"items,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                	// the fixed string games#playerListResponse.
                                                                                                                                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                	// NextPageToken: Token corresponding to the next page of results.
                                                                                                                                                                                                                                                                                                                                                                                	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                	// server.
                                                                                                                                                                                                                                                                                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "Items") to
                                                                                                                                                                                                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "Items") to include in API
                                                                                                                                                                                                                                                                                                                                                                                	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                  PlayerListResponse: This is a JSON template for a third party player list response.

                                                                                                                                                                                                                                                                                                                                                                                  func (*PlayerListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                  func (s *PlayerListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                  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"`
                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "FamilyName") to
                                                                                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "FamilyName") to include in
                                                                                                                                                                                                                                                                                                                                                                                  	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                  	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                  	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                    PlayerName: An object representation of the individual components of the player's name. For some players, these fields may not be present.

                                                                                                                                                                                                                                                                                                                                                                                    func (*PlayerName) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                    func (s *PlayerName) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                    type PlayerScore

                                                                                                                                                                                                                                                                                                                                                                                    type PlayerScore struct {
                                                                                                                                                                                                                                                                                                                                                                                    	// FormattedScore: The formatted score for this player score.
                                                                                                                                                                                                                                                                                                                                                                                    	FormattedScore string `json:"formattedScore,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                    	// the fixed string games#playerScore.
                                                                                                                                                                                                                                                                                                                                                                                    	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    	// Score: The numerical value for this player score.
                                                                                                                                                                                                                                                                                                                                                                                    	Score int64 `json:"score,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    	// ScoreTag: Additional information about this score. Values will
                                                                                                                                                                                                                                                                                                                                                                                    	// contain no more than 64 URI-safe characters as defined by section 2.3
                                                                                                                                                                                                                                                                                                                                                                                    	// of RFC 3986.
                                                                                                                                                                                                                                                                                                                                                                                    	ScoreTag string `json:"scoreTag,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    	// TimeSpan: The time span for this player 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.
                                                                                                                                                                                                                                                                                                                                                                                    	TimeSpan string `json:"timeSpan,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "FormattedScore") to
                                                                                                                                                                                                                                                                                                                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                    	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "FormattedScore") to
                                                                                                                                                                                                                                                                                                                                                                                    	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                    	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                    	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                    	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                    	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                    	// requests.
                                                                                                                                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                      PlayerScore: This is a JSON template for a player score.

                                                                                                                                                                                                                                                                                                                                                                                      func (*PlayerScore) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                      func (s *PlayerScore) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                      type PlayerScoreListResponse

                                                                                                                                                                                                                                                                                                                                                                                      type PlayerScoreListResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                      	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                      	// the fixed string games#playerScoreListResponse.
                                                                                                                                                                                                                                                                                                                                                                                      	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                      	// SubmittedScores: The score submissions statuses.
                                                                                                                                                                                                                                                                                                                                                                                      	SubmittedScores []*PlayerScoreResponse `json:"submittedScores,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                      	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                      	// server.
                                                                                                                                                                                                                                                                                                                                                                                      	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                      	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                      	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                      	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                      	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                      	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                      	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                      	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                      	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                      	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                      	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                      	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                        PlayerScoreListResponse: This is a JSON template for a list of score submission statuses.

                                                                                                                                                                                                                                                                                                                                                                                        func (*PlayerScoreListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                        func (s *PlayerScoreListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                        type PlayerScoreResponse

                                                                                                                                                                                                                                                                                                                                                                                        type PlayerScoreResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                        	// BeatenScoreTimeSpans: The time spans where the submitted score is
                                                                                                                                                                                                                                                                                                                                                                                        	// better than the existing score for that time span.
                                                                                                                                                                                                                                                                                                                                                                                        	// 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.
                                                                                                                                                                                                                                                                                                                                                                                        	BeatenScoreTimeSpans []string `json:"beatenScoreTimeSpans,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                        	// FormattedScore: The formatted value of the submitted score.
                                                                                                                                                                                                                                                                                                                                                                                        	FormattedScore string `json:"formattedScore,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                        	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                        	// the fixed string games#playerScoreResponse.
                                                                                                                                                                                                                                                                                                                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                        	// LeaderboardId: The leaderboard ID that this score was submitted to.
                                                                                                                                                                                                                                                                                                                                                                                        	LeaderboardId string `json:"leaderboardId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                        	// ScoreTag: Additional information about this score. Values will
                                                                                                                                                                                                                                                                                                                                                                                        	// contain no more than 64 URI-safe characters as defined by section 2.3
                                                                                                                                                                                                                                                                                                                                                                                        	// of RFC 3986.
                                                                                                                                                                                                                                                                                                                                                                                        	ScoreTag string `json:"scoreTag,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                        	// UnbeatenScores: The scores in time spans that have not been beaten.
                                                                                                                                                                                                                                                                                                                                                                                        	// As an example, the submitted score may be better than the player's
                                                                                                                                                                                                                                                                                                                                                                                        	// DAILY score, but not better than the player's scores for the WEEKLY
                                                                                                                                                                                                                                                                                                                                                                                        	// or ALL_TIME time spans.
                                                                                                                                                                                                                                                                                                                                                                                        	UnbeatenScores []*PlayerScore `json:"unbeatenScores,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                        	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                        	// server.
                                                                                                                                                                                                                                                                                                                                                                                        	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                                                                                                        	// "BeatenScoreTimeSpans") to unconditionally include in API requests.
                                                                                                                                                                                                                                                                                                                                                                                        	// By default, fields with empty values are omitted from API requests.
                                                                                                                                                                                                                                                                                                                                                                                        	// However, any non-pointer, non-interface field appearing in
                                                                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields will be sent to the server regardless of whether the
                                                                                                                                                                                                                                                                                                                                                                                        	// field is empty or not. This may be used to include empty fields in
                                                                                                                                                                                                                                                                                                                                                                                        	// Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                        	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                        	// NullFields is a list of field names (e.g. "BeatenScoreTimeSpans") to
                                                                                                                                                                                                                                                                                                                                                                                        	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                        	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                        	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                        	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                        	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                        	// requests.
                                                                                                                                                                                                                                                                                                                                                                                        	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                          PlayerScoreResponse: This is a JSON template for a list of leaderboard entry resources.

                                                                                                                                                                                                                                                                                                                                                                                          func (*PlayerScoreResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                          func (s *PlayerScoreResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                          type PlayerScoreSubmissionList

                                                                                                                                                                                                                                                                                                                                                                                          type PlayerScoreSubmissionList struct {
                                                                                                                                                                                                                                                                                                                                                                                          	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                          	// the fixed string games#playerScoreSubmissionList.
                                                                                                                                                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          	// Scores: The score submissions.
                                                                                                                                                                                                                                                                                                                                                                                          	Scores []*ScoreSubmission `json:"scores,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                            PlayerScoreSubmissionList: This is a JSON template for a list of score submission requests

                                                                                                                                                                                                                                                                                                                                                                                            func (*PlayerScoreSubmissionList) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                            func (s *PlayerScoreSubmissionList) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                            type PlayersGetCall

                                                                                                                                                                                                                                                                                                                                                                                            type PlayersGetCall struct {
                                                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                            func (*PlayersGetCall) Context

                                                                                                                                                                                                                                                                                                                                                                                            func (c *PlayersGetCall) Context(ctx context.Context) *PlayersGetCall

                                                                                                                                                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                              func (*PlayersGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                                              func (c *PlayersGetCall) Do(opts ...googleapi.CallOption) (*Player, error)

                                                                                                                                                                                                                                                                                                                                                                                                Do executes the "games.players.get" call. Exactly one of *Player or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Player.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                func (*PlayersGetCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                func (c *PlayersGetCall) Fields(s ...googleapi.Field) *PlayersGetCall

                                                                                                                                                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                  func (*PlayersGetCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                  func (c *PlayersGetCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                    func (*PlayersGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                    func (c *PlayersGetCall) IfNoneMatch(entityTag string) *PlayersGetCall

                                                                                                                                                                                                                                                                                                                                                                                                      IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                      func (*PlayersGetCall) Language

                                                                                                                                                                                                                                                                                                                                                                                                      func (c *PlayersGetCall) Language(language string) *PlayersGetCall

                                                                                                                                                                                                                                                                                                                                                                                                        Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                                                                                                                                                                                        type PlayersListCall

                                                                                                                                                                                                                                                                                                                                                                                                        type PlayersListCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                        func (*PlayersListCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                          func (*PlayersListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                            Do executes the "games.players.list" call. Exactly one of *PlayerListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PlayerListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                            func (*PlayersListCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                              func (*PlayersListCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                              func (c *PlayersListCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                func (*PlayersListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                func (c *PlayersListCall) IfNoneMatch(entityTag string) *PlayersListCall

                                                                                                                                                                                                                                                                                                                                                                                                                  IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                  func (*PlayersListCall) Language

                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *PlayersListCall) Language(language string) *PlayersListCall

                                                                                                                                                                                                                                                                                                                                                                                                                    Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                                                                                                                                                                                                    func (*PlayersListCall) MaxResults

                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *PlayersListCall) MaxResults(maxResults int64) *PlayersListCall

                                                                                                                                                                                                                                                                                                                                                                                                                      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 (*PlayersListCall) PageToken

                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *PlayersListCall) PageToken(pageToken string) *PlayersListCall

                                                                                                                                                                                                                                                                                                                                                                                                                        PageToken sets the optional parameter "pageToken": The token returned by the previous request.

                                                                                                                                                                                                                                                                                                                                                                                                                        func (*PlayersListCall) Pages

                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *PlayersListCall) Pages(ctx context.Context, f func(*PlayerListResponse) error) error

                                                                                                                                                                                                                                                                                                                                                                                                                          Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                                                                                                                                                                                                          type PlayersService

                                                                                                                                                                                                                                                                                                                                                                                                                          type PlayersService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                          func NewPlayersService

                                                                                                                                                                                                                                                                                                                                                                                                                          func NewPlayersService(s *Service) *PlayersService

                                                                                                                                                                                                                                                                                                                                                                                                                          func (*PlayersService) Get

                                                                                                                                                                                                                                                                                                                                                                                                                          func (r *PlayersService) Get(playerId string) *PlayersGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                            Get: Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set playerId to me.

                                                                                                                                                                                                                                                                                                                                                                                                                            func (*PlayersService) List

                                                                                                                                                                                                                                                                                                                                                                                                                            func (r *PlayersService) List(collection string) *PlayersListCall

                                                                                                                                                                                                                                                                                                                                                                                                                              List: Get the collection of players for the currently authenticated user.

                                                                                                                                                                                                                                                                                                                                                                                                                              type ProfileSettings

                                                                                                                                                                                                                                                                                                                                                                                                                              type ProfileSettings struct {
                                                                                                                                                                                                                                                                                                                                                                                                                              	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                              	// the fixed string games#profileSettings.
                                                                                                                                                                                                                                                                                                                                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              	ProfileVisible bool `json:"profileVisible,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                              	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                              	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                ProfileSettings: This is a JSON template for profile settings

                                                                                                                                                                                                                                                                                                                                                                                                                                func (*ProfileSettings) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                func (s *ProfileSettings) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                type PushToken

                                                                                                                                                                                                                                                                                                                                                                                                                                type PushToken struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                	// ClientRevision: The revision of the client SDK used by your
                                                                                                                                                                                                                                                                                                                                                                                                                                	// application, in the same format that's used by revisions.check. Used
                                                                                                                                                                                                                                                                                                                                                                                                                                	// to send backward compatible messages. Format:
                                                                                                                                                                                                                                                                                                                                                                                                                                	// [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of PLATFORM_TYPE
                                                                                                                                                                                                                                                                                                                                                                                                                                	// are:
                                                                                                                                                                                                                                                                                                                                                                                                                                	// - IOS - Push token is for iOS
                                                                                                                                                                                                                                                                                                                                                                                                                                	ClientRevision string `json:"clientRevision,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                	// Id: Unique identifier for this push token.
                                                                                                                                                                                                                                                                                                                                                                                                                                	Id *PushTokenId `json:"id,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                	// the fixed string games#pushToken.
                                                                                                                                                                                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                	// Language: The preferred language for notifications that are sent
                                                                                                                                                                                                                                                                                                                                                                                                                                	// using this token.
                                                                                                                                                                                                                                                                                                                                                                                                                                	Language string `json:"language,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "ClientRevision") to
                                                                                                                                                                                                                                                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "ClientRevision") to
                                                                                                                                                                                                                                                                                                                                                                                                                                	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                                                                	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                                                                	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                                                                	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                                                                	// requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                  PushToken: This is a JSON template for a push token resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*PushToken) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *PushToken) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                  type PushTokenId

                                                                                                                                                                                                                                                                                                                                                                                                                                  type PushTokenId struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Ios: A push token ID for iOS devices.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	Ios *PushTokenIdIos `json:"ios,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// the fixed string games#pushTokenId.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "Ios") to
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "Ios") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                    PushTokenId: This is a JSON template for a push token ID resource.

                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*PushTokenId) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *PushTokenId) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                    type PushTokenIdIos

                                                                                                                                                                                                                                                                                                                                                                                                                                    type PushTokenIdIos struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ApnsDeviceToken: Device token supplied by an iOS system call to
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// register for remote notifications. Encode this field as web-safe
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// base64.
                                                                                                                                                                                                                                                                                                                                                                                                                                    	ApnsDeviceToken string `json:"apns_device_token,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ApnsEnvironment: Indicates whether this token should be used for the
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// production or sandbox APNS server.
                                                                                                                                                                                                                                                                                                                                                                                                                                    	ApnsEnvironment string `json:"apns_environment,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "ApnsDeviceToken") to
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "ApnsDeviceToken") to
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                                                                    	// requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                      PushTokenIdIos: A push token ID for iOS devices.

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*PushTokenIdIos) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *PushTokenIdIos) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                      type PushtokensRemoveCall

                                                                                                                                                                                                                                                                                                                                                                                                                                      type PushtokensRemoveCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*PushtokensRemoveCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*PushtokensRemoveCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                          Do executes the "games.pushtokens.remove" call.

                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*PushtokensRemoveCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*PushtokensRemoveCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *PushtokensRemoveCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                              type PushtokensService

                                                                                                                                                                                                                                                                                                                                                                                                                                              type PushtokensService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                              func NewPushtokensService

                                                                                                                                                                                                                                                                                                                                                                                                                                              func NewPushtokensService(s *Service) *PushtokensService

                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*PushtokensService) Remove

                                                                                                                                                                                                                                                                                                                                                                                                                                              func (r *PushtokensService) Remove(pushtokenid *PushTokenId) *PushtokensRemoveCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                Remove: Removes a push token for the current user and application. Removing a non-existent push token will report success.

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*PushtokensService) Update

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (r *PushtokensService) Update(pushtoken *PushToken) *PushtokensUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Update: Registers a push token for the current user and application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  type PushtokensUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                  type PushtokensUpdateCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*PushtokensUpdateCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*PushtokensUpdateCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Do executes the "games.pushtokens.update" call.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*PushtokensUpdateCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*PushtokensUpdateCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *PushtokensUpdateCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          type RevisionCheckResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                          type RevisionCheckResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ApiVersion: The version of the API this client revision should use
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// when calling API methods.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	ApiVersion string `json:"apiVersion,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// the fixed string games#revisionCheckResponse.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// RevisionStatus: The result of the revision check.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Possible values are:
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// - "OK" - The revision being used is current.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// - "DEPRECATED" - There is currently a newer version available, but
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// the revision being used still works.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// - "INVALID" - The revision being used is not supported in any
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// released version.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	RevisionStatus string `json:"revisionStatus,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "ApiVersion") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "ApiVersion") to include in
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                            RevisionCheckResponse: This is a JSON template for the result of checking a revision.

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*RevisionCheckResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s *RevisionCheckResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                            type RevisionsCheckCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                            type RevisionsCheckCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*RevisionsCheckCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*RevisionsCheckCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Do executes the "games.revisions.check" call. Exactly one of *RevisionCheckResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RevisionCheckResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*RevisionsCheckCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*RevisionsCheckCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *RevisionsCheckCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*RevisionsCheckCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *RevisionsCheckCall) IfNoneMatch(entityTag string) *RevisionsCheckCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type RevisionsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type RevisionsService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func NewRevisionsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func NewRevisionsService(s *Service) *RevisionsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*RevisionsService) Check

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (r *RevisionsService) Check(clientRevision string) *RevisionsCheckCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Check: Checks whether the games client is out of date.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type Room

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type Room struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ApplicationId: The ID of the application being played.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	ApplicationId string `json:"applicationId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// AutoMatchingCriteria: Criteria for auto-matching players into this
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	AutoMatchingCriteria *RoomAutoMatchingCriteria `json:"autoMatchingCriteria,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// AutoMatchingStatus: Auto-matching status for this room. Not set if
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// the room is not currently in the auto-matching queue.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	AutoMatchingStatus *RoomAutoMatchStatus `json:"autoMatchingStatus,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// CreationDetails: Details about the room creation.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	CreationDetails *RoomModification `json:"creationDetails,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Description: This short description is generated by our servers and
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// worded relative to the player requesting the room. It is intended to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// be displayed when the room is shown in a list (that is, an invitation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// to a room.)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Description string `json:"description,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// InviterId: The ID of the participant that invited the user to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// room. Not set if the user was not invited to the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	InviterId string `json:"inviterId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// the fixed string games#room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// LastUpdateDetails: Details about the last update to the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	LastUpdateDetails *RoomModification `json:"lastUpdateDetails,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Participants: The participants involved in the room, along with their
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// statuses. Includes participants who have left or declined
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// invitations.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Participants []*RoomParticipant `json:"participants,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// RoomId: Globally unique ID for a room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	RoomId string `json:"roomId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// RoomStatusVersion: The version of the room status: an increasing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// counter, used by the client to ignore out-of-order updates to room
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// status.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	RoomStatusVersion int64 `json:"roomStatusVersion,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Status: The status of the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Possible values are:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// - "ROOM_INVITING" - One or more players have been invited and not
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// responded.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// - "ROOM_AUTO_MATCHING" - One or more slots need to be filled by
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// auto-matching.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// - "ROOM_CONNECTING" - Players have joined and are connecting to each
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// other (either before or after auto-matching).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// - "ROOM_ACTIVE" - All players have joined and connected to each
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// other.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// - "ROOM_DELETED" - The room should no longer be shown on the client.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Returned in sync calls when a player joins a room (as a tombstone),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// or for rooms where all joined participants have left.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Status string `json:"status,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Variant: The variant / mode of the application being played; can be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// any integer value, or left blank.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Variant int64 `json:"variant,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g. "ApplicationId") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// NullFields is a list of field names (e.g. "ApplicationId") to include
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Room: This is a JSON template for a room resource object.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*Room) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s *Room) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type RoomAutoMatchStatus

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type RoomAutoMatchStatus struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// the fixed string games#roomAutoMatchStatus.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// WaitEstimateSeconds: An estimate for the amount of time (in seconds)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// that auto-matching is expected to take to complete.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	WaitEstimateSeconds int64 `json:"waitEstimateSeconds,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            RoomAutoMatchStatus: This is a JSON template for status of room automatching that is in progress.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*RoomAutoMatchStatus) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s *RoomAutoMatchStatus) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type RoomAutoMatchingCriteria

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type RoomAutoMatchingCriteria struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ExclusiveBitmask: A bitmask indicating when auto-matches are valid.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// When ANDed with other exclusive bitmasks, the result must be zero.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Can be used to support exclusive roles within a game.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ExclusiveBitmask int64 `json:"exclusiveBitmask,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// the fixed string games#roomAutoMatchingCriteria.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// MaxAutoMatchingPlayers: The maximum number of players that should be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// added to the room by auto-matching.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	MaxAutoMatchingPlayers int64 `json:"maxAutoMatchingPlayers,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// MinAutoMatchingPlayers: The minimum number of players that should be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// added to the room by auto-matching.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	MinAutoMatchingPlayers int64 `json:"minAutoMatchingPlayers,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "ExclusiveBitmask") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "ExclusiveBitmask") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RoomAutoMatchingCriteria: This is a JSON template for a room auto-match criteria object.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*RoomAutoMatchingCriteria) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s *RoomAutoMatchingCriteria) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type RoomClientAddress

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type RoomClientAddress struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// the fixed string games#roomClientAddress.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// XmppAddress: The XMPP address of the client on the Google Games XMPP
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// network.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	XmppAddress string `json:"xmppAddress,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                RoomClientAddress: This is a JSON template for the client address when setting up a room.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*RoomClientAddress) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s *RoomClientAddress) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type RoomCreateRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type RoomCreateRequest struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// AutoMatchingCriteria: Criteria for auto-matching players into this
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	AutoMatchingCriteria *RoomAutoMatchingCriteria `json:"autoMatchingCriteria,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Capabilities: The capabilities that this client supports for realtime
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// communication.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Capabilities []string `json:"capabilities,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ClientAddress: Client address for the player creating the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	ClientAddress *RoomClientAddress `json:"clientAddress,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// InvitedPlayerIds: The player IDs to invite to the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	InvitedPlayerIds []string `json:"invitedPlayerIds,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// the fixed string games#roomCreateRequest.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// NetworkDiagnostics: Network diagnostics for the client creating the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	NetworkDiagnostics *NetworkDiagnostics `json:"networkDiagnostics,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// RequestId: A randomly generated numeric ID. This number is used at
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// the server to ensure that the request is handled correctly across
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// retries.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	RequestId int64 `json:"requestId,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Variant: The variant / mode of the application to be played. This can
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// be any integer value, or left blank. You should use a small number of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// variants to keep the auto-matching pool as large as possible.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Variant int64 `json:"variant,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// "AutoMatchingCriteria") to unconditionally include in API requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// By default, fields with empty values are omitted from API requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// However, any non-pointer, non-interface field appearing in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields will be sent to the server regardless of whether the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// field is empty or not. This may be used to include empty fields in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "AutoMatchingCriteria") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RoomCreateRequest: This is a JSON template for a room creation request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*RoomCreateRequest) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *RoomCreateRequest) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type RoomJoinRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type RoomJoinRequest struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Capabilities: The capabilities that this client supports for realtime
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// communication.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Capabilities []string `json:"capabilities,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ClientAddress: Client address for the player joining the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ClientAddress *RoomClientAddress `json:"clientAddress,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// the fixed string games#roomJoinRequest.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// NetworkDiagnostics: Network diagnostics for the client joining the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	NetworkDiagnostics *NetworkDiagnostics `json:"networkDiagnostics,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "Capabilities") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "Capabilities") to include
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    RoomJoinRequest: This is a JSON template for a join room request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*RoomJoinRequest) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *RoomJoinRequest) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type RoomLeaveDiagnostics

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type RoomLeaveDiagnostics struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// AndroidNetworkSubtype: Android network subtype.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// http://developer.android.com/reference/android/net/NetworkInfo.html#getSubtype()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	AndroidNetworkSubtype int64 `json:"androidNetworkSubtype,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// AndroidNetworkType: Android network type.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// http://developer.android.com/reference/android/net/NetworkInfo.html#getType()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	AndroidNetworkType int64 `json:"androidNetworkType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// IosNetworkType: iOS network type as defined in Reachability.h.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	IosNetworkType int64 `json:"iosNetworkType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// the fixed string games#roomLeaveDiagnostics.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// NetworkOperatorCode: The MCC+MNC code for the client's network
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// connection. On Android:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperator() On iOS, see:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	NetworkOperatorCode string `json:"networkOperatorCode,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// NetworkOperatorName: The name of the carrier of the client's network
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// connection. On Android:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperatorName() On iOS:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#//apple_ref/occ/instp/CTCarrier/carrierName
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	NetworkOperatorName string `json:"networkOperatorName,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// PeerSession: Diagnostics about all peer sessions.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	PeerSession []*PeerSessionDiagnostics `json:"peerSession,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// SocketsUsed: Whether or not sockets were used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	SocketsUsed bool `json:"socketsUsed,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// "AndroidNetworkSubtype") to unconditionally include in API requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// By default, fields with empty values are omitted from API requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// However, any non-pointer, non-interface field appearing in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields will be sent to the server regardless of whether the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// field is empty or not. This may be used to include empty fields in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// NullFields is a list of field names (e.g. "AndroidNetworkSubtype") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      RoomLeaveDiagnostics: This is a JSON template for room leave diagnostics.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*RoomLeaveDiagnostics) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (s *RoomLeaveDiagnostics) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type RoomLeaveRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type RoomLeaveRequest struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// the fixed string games#roomLeaveRequest.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// LeaveDiagnostics: Diagnostics for a player leaving the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	LeaveDiagnostics *RoomLeaveDiagnostics `json:"leaveDiagnostics,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// Reason: Reason for leaving the match.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// Possible values are:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "PLAYER_LEFT" - The player chose to leave the room..
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "GAME_LEFT" - The game chose to remove the player from the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "REALTIME_ABANDONED" - The player switched to another application
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// and abandoned the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "REALTIME_PEER_CONNECTION_FAILURE" - The client was unable to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// establish a connection to other peer(s).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "REALTIME_SERVER_CONNECTION_FAILURE" - The client was unable to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// communicate with the server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "REALTIME_SERVER_ERROR" - The client received an error response
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// when it tried to communicate with the server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "REALTIME_TIMEOUT" - The client timed out while waiting for a room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "REALTIME_CLIENT_DISCONNECTING" - The client disconnects without
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// first calling Leave.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "REALTIME_SIGN_OUT" - The user signed out of G+ while in the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "REALTIME_GAME_CRASHED" - The game crashed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "REALTIME_ROOM_SERVICE_CRASHED" - RoomAndroidService crashed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "REALTIME_DIFFERENT_CLIENT_ROOM_OPERATION" - Another client is
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// trying to enter a room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// - "REALTIME_SAME_CLIENT_ROOM_OPERATION" - The same client is trying
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// to enter a new room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	Reason string `json:"reason,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        RoomLeaveRequest: This is a JSON template for a leave room request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*RoomLeaveRequest) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (s *RoomLeaveRequest) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type RoomList

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type RoomList struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Items: The rooms.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Items []*Room `json:"items,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// the fixed string games#roomList.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// NextPageToken: The pagination token for the next page of results.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g. "Items") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// NullFields is a list of field names (e.g. "Items") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          RoomList: This is a JSON template for a list of rooms.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*RoomList) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (s *RoomList) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type RoomModification

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type RoomModification struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// the fixed string games#roomModification.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ModifiedTimestampMillis: The timestamp at which they modified the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// room, in milliseconds since the epoch in UTC.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	ModifiedTimestampMillis int64 `json:"modifiedTimestampMillis,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ParticipantId: The ID of the participant that modified the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	ParticipantId string `json:"participantId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            RoomModification: This is a JSON template for room modification metadata.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*RoomModification) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (s *RoomModification) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type RoomP2PStatus

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type RoomP2PStatus struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ConnectionSetupLatencyMillis: The amount of time in milliseconds it
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// took to establish connections with this peer.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ConnectionSetupLatencyMillis int64 `json:"connectionSetupLatencyMillis,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Error: The error code in event of a failure.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Possible values are:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// - "P2P_FAILED" - The client failed to establish a P2P connection with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// the peer.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// - "PRESENCE_FAILED" - The client failed to register to receive P2P
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// connections.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// - "RELAY_SERVER_FAILED" - The client received an error when trying to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// use the relay server to establish a P2P connection with the peer.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Error string `json:"error,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ErrorReason: More detailed diagnostic message returned in event of a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// failure.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ErrorReason string `json:"error_reason,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// the fixed string games#roomP2PStatus.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ParticipantId: The ID of the participant.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ParticipantId string `json:"participantId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Status: The status of the peer in the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Possible values are:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// - "CONNECTION_ESTABLISHED" - The client established a P2P connection
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// with the peer.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// - "CONNECTION_FAILED" - The client failed to establish directed
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// presence with the peer.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Status string `json:"status,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// UnreliableRoundtripLatencyMillis: The amount of time in milliseconds
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// it took to send packets back and forth on the unreliable channel with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// this peer.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	UnreliableRoundtripLatencyMillis int64 `json:"unreliableRoundtripLatencyMillis,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// "ConnectionSetupLatencyMillis") to unconditionally include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// requests. By default, fields with empty values are omitted from API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// requests. However, any non-pointer, non-interface field appearing in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ForceSendFields will be sent to the server regardless of whether the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// field is empty or not. This may be used to include empty fields in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// "ConnectionSetupLatencyMillis") to include in API requests with the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// JSON null value. By default, fields with empty values are omitted
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// from API requests. However, any field with an empty value appearing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// in NullFields will be sent to the server as null. It is an error if a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// field in this list has a non-empty value. This may be used to include
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RoomP2PStatus: This is a JSON template for an update on the status of a peer in a room.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*RoomP2PStatus) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (s *RoomP2PStatus) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type RoomP2PStatuses

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type RoomP2PStatuses struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// the fixed string games#roomP2PStatuses.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Updates: The updates for the peers.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Updates []*RoomP2PStatus `json:"updates,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                RoomP2PStatuses: This is a JSON template for an update on the status of peers in a room.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*RoomP2PStatuses) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (s *RoomP2PStatuses) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type RoomParticipant

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type RoomParticipant struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// AutoMatched: True if this participant was auto-matched with the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// requesting player.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	AutoMatched bool `json:"autoMatched,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// AutoMatchedPlayer: Information about a player that has been
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// anonymously auto-matched against the requesting player. (Either
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// player or autoMatchedPlayer will be set.)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	AutoMatchedPlayer *AnonymousPlayer `json:"autoMatchedPlayer,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Capabilities: The capabilities which can be used when communicating
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// with this participant.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Capabilities []string `json:"capabilities,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ClientAddress: Client address for the participant.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	ClientAddress *RoomClientAddress `json:"clientAddress,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Connected: True if this participant is in the fully connected set of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// peers in the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Connected bool `json:"connected,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Id: An identifier for the participant in the scope of the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Cannot be used to identify a player across rooms or in other
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// contexts.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Id string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// the fixed string games#roomParticipant.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// LeaveReason: The reason the participant left the room; populated if
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// the participant status is PARTICIPANT_LEFT.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Possible values are:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// - "PLAYER_LEFT" - The player explicitly chose to leave the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// - "GAME_LEFT" - The game chose to remove the player from the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// - "ABANDONED" - The player switched to another application and
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// abandoned the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// - "PEER_CONNECTION_FAILURE" - The client was unable to establish or
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// maintain a connection to other peer(s) in the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// - "SERVER_ERROR" - The client received an error response when it
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// tried to communicate with the server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// - "TIMEOUT" - The client timed out while waiting for players to join
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// and connect.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// - "PRESENCE_FAILURE" - The client's XMPP connection ended abruptly.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	LeaveReason string `json:"leaveReason,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Player: Information about the player. Not populated if this player
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// was anonymously auto-matched against the requesting player. (Either
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// player or autoMatchedPlayer will be set.)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Player *Player `json:"player,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Status: The status of the participant with respect to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Possible values are:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// - "PARTICIPANT_INVITED" - The participant has been invited to join
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// the room, but has not yet responded.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// - "PARTICIPANT_JOINED" - The participant has joined the room (either
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// after creating it or accepting an invitation.)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// - "PARTICIPANT_DECLINED" - The participant declined an invitation to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// join the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// - "PARTICIPANT_LEFT" - The participant joined the room and then left
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// it.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Status string `json:"status,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "AutoMatched") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "AutoMatched") to include
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RoomParticipant: This is a JSON template for a participant in a room.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*RoomParticipant) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *RoomParticipant) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type RoomStatus

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type RoomStatus struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// AutoMatchingStatus: Auto-matching status for this room. Not set if
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// the room is not currently in the automatching queue.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	AutoMatchingStatus *RoomAutoMatchStatus `json:"autoMatchingStatus,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Kind: Uniquely identifies the type of this resource. Value is always
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// the fixed string games#roomStatus.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Participants: The participants involved in the room, along with their
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// statuses. Includes participants who have left or declined
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// invitations.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Participants []*RoomParticipant `json:"participants,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// RoomId: Globally unique ID for a room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	RoomId string `json:"roomId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Status: The status of the room.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Possible values are:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// - "ROOM_INVITING" - One or more players have been invited and not
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// responded.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// - "ROOM_AUTO_MATCHING" - One or more slots need to be filled by
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// auto-matching.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// - "ROOM_CONNECTING" - Players have joined are connecting to each
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// other (either before or after auto-matching).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// - "ROOM_ACTIVE" - All players have joined and connected to each
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// other.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// - "ROOM_DELETED" - All joined players have left.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Status string `json:"status,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// StatusVersion: The version of the status for the room: an increasing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// counter, used by the client to ignore out-of-order updates to room
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// status.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	StatusVersion int64 `json:"statusVersion,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "AutoMatchingStatus")
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// to unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// NullFields is a list of field names (e.g. "AutoMatchingStatus") to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// requests.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    RoomStatus: This is a JSON template for the status of a room that the player has joined.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*RoomStatus) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (s *RoomStatus) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type RoomsCreateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type RoomsCreateCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*RoomsCreateCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*RoomsCreateCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *RoomsCreateCall) Do(opts ...googleapi.CallOption) (*Room, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Do executes the "games.rooms.create" call. Exactly one of *Room or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Room.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*RoomsCreateCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*RoomsCreateCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *RoomsCreateCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*RoomsCreateCall) Language

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *RoomsCreateCall) Language(language string) *RoomsCreateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type RoomsDeclineCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type RoomsDeclineCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*RoomsDeclineCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*RoomsDeclineCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *RoomsDeclineCall) Do(opts ...googleapi.CallOption) (*Room, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Do executes the "games.rooms.decline" call. Exactly one of *Room or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Room.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*RoomsDeclineCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*RoomsDeclineCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *RoomsDeclineCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*RoomsDeclineCall) Language

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *RoomsDeclineCall) Language(language string) *RoomsDeclineCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type RoomsDismissCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type RoomsDismissCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*RoomsDismissCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*RoomsDismissCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *RoomsDismissCall) Do(opts ...googleapi.CallOption) error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Do executes the "games.rooms.dismiss" call.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*RoomsDismissCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*RoomsDismissCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *RoomsDismissCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type RoomsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type RoomsGetCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*RoomsGetCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *RoomsGetCall) Context(ctx context.Context) *RoomsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*RoomsGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *RoomsGetCall) Do(opts ...googleapi.CallOption) (*Room, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Do executes the "games.rooms.get" call. Exactly one of *Room or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Room.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*RoomsGetCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *RoomsGetCall) Fields(s ...googleapi.Field) *RoomsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*RoomsGetCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *RoomsGetCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*RoomsGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *RoomsGetCall) IfNoneMatch(entityTag string) *RoomsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*RoomsGetCall) Language

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *RoomsGetCall) Language(language string) *RoomsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type RoomsJoinCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type RoomsJoinCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*RoomsJoinCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *RoomsJoinCall) Context(ctx context.Context) *RoomsJoinCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*RoomsJoinCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *RoomsJoinCall) Do(opts ...googleapi.CallOption) (*Room, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Do executes the "games.rooms.join" call. Exactly one of *Room or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Room.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*RoomsJoinCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *RoomsJoinCall) Fields(s ...googleapi.Field) *RoomsJoinCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*RoomsJoinCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *RoomsJoinCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*RoomsJoinCall) Language

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *RoomsJoinCall) Language(language string) *RoomsJoinCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type RoomsLeaveCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type RoomsLeaveCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*RoomsLeaveCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *RoomsLeaveCall) Context(ctx context.Context) *RoomsLeaveCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*RoomsLeaveCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *RoomsLeaveCall) Do(opts ...googleapi.CallOption) (*Room, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Do executes the "games.rooms.leave" call. Exactly one of *Room or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Room.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*RoomsLeaveCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *RoomsLeaveCall) Fields(s ...googleapi.Field) *RoomsLeaveCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*RoomsLeaveCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *RoomsLeaveCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*RoomsLeaveCall) Language

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *RoomsLeaveCall) Language(language string) *RoomsLeaveCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type RoomsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type RoomsListCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*RoomsListCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *RoomsListCall) Context(ctx context.Context) *RoomsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*RoomsListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *RoomsListCall) Do(opts ...googleapi.CallOption) (*RoomList, error)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Do executes the "games.rooms.list" call. Exactly one of *RoomList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RoomList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*RoomsListCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *RoomsListCall) Fields(s ...googleapi.Field) *RoomsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*RoomsListCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (c *RoomsListCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*RoomsListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *RoomsListCall) IfNoneMatch(entityTag string) *RoomsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*RoomsListCall) Language

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *RoomsListCall) Language(language string) *RoomsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Language sets the optional parameter "language": The preferred language to use for strings returned by this method.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*RoomsListCall) MaxResults

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (c *RoomsListCall) MaxResults(maxResults int64) *RoomsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              MaxResults sets the optional parameter "maxResults": The maximum number of rooms to return in the response, used for paging. For any response, the actual number of rooms to return may be less than the specified maxResults.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*RoomsListCall) PageToken

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (c *RoomsListCall) PageToken(pageToken string) *RoomsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                PageToken sets the optional parameter "pageToken": The token returned by the previous request.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*RoomsListCall) Pages

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (c *RoomsListCall) Pages(ctx context.Context, f func(*RoomList) error) error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type RoomsReportStatusCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type RoomsReportStatusCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*RoomsReportStatusCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*RoomsReportStatusCall) Do