Documentation ¶
Overview ¶
Package update provides access to the .
Usage example:
import "code.google.com/p/google-api-go-client/update/v1" ... updateService, err := update.New(oauthHttpClient)
Index ¶
- type AdminCreateUserCall
- type AdminDeleteUserCall
- type AdminGenTokenCall
- type AdminGetUserCall
- type AdminListUsersCall
- type AdminListUsersResp
- type AdminService
- func (r *AdminService) CreateUser(adminuserreq *AdminUserReq) *AdminCreateUserCall
- func (r *AdminService) DeleteUser(userName string) *AdminDeleteUserCall
- func (r *AdminService) GenToken(userName string, adminuserreq *AdminUserReq) *AdminGenTokenCall
- func (r *AdminService) GetUser(userName string) *AdminGetUserCall
- func (r *AdminService) ListUsers() *AdminListUsersCall
- type AdminUser
- type AdminUserReq
- type App
- type AppChannel
- type AppDeleteCall
- type AppGetCall
- type AppInsertCall
- type AppInsertReq
- type AppListCall
- type AppListResp
- type AppPackageDeleteCall
- func (c *AppPackageDeleteCall) Do() (*Package, error)
- func (c *AppPackageDeleteCall) MetadataSignatureRsa(metadataSignatureRsa string) *AppPackageDeleteCall
- func (c *AppPackageDeleteCall) MetadataSize(metadataSize string) *AppPackageDeleteCall
- func (c *AppPackageDeleteCall) ReleaseNotes(releaseNotes string) *AppPackageDeleteCall
- func (c *AppPackageDeleteCall) Required(required bool) *AppPackageDeleteCall
- func (c *AppPackageDeleteCall) Sha1Sum(sha1Sum string) *AppPackageDeleteCall
- func (c *AppPackageDeleteCall) Sha256Sum(sha256Sum string) *AppPackageDeleteCall
- func (c *AppPackageDeleteCall) Size(size string) *AppPackageDeleteCall
- func (c *AppPackageDeleteCall) Url(url string) *AppPackageDeleteCall
- type AppPackageInsertCall
- type AppPackageListCall
- type AppPackagePublicListCall
- type AppPackageService
- func (r *AppPackageService) Delete(appId string, version string) *AppPackageDeleteCall
- func (r *AppPackageService) Insert(appId string, version string, package_ *Package) *AppPackageInsertCall
- func (r *AppPackageService) List(appId string) *AppPackageListCall
- func (r *AppPackageService) PublicList() *AppPackagePublicListCall
- type AppPatchCall
- type AppService
- func (r *AppService) Delete(id string) *AppDeleteCall
- func (r *AppService) Get(id string) *AppGetCall
- func (r *AppService) Insert(appinsertreq *AppInsertReq) *AppInsertCall
- func (r *AppService) List() *AppListCall
- func (r *AppService) Patch(id string, appupdatereq *AppUpdateReq) *AppPatchCall
- func (r *AppService) Update(id string, appupdatereq *AppUpdateReq) *AppUpdateCall
- type AppUpdateCall
- type AppUpdateReq
- type AppVersionItem
- type AppVersionList
- type AppversionListCall
- func (c *AppversionListCall) AppId(appId string) *AppversionListCall
- func (c *AppversionListCall) DateEnd(dateEnd int64) *AppversionListCall
- func (c *AppversionListCall) DateStart(dateStart int64) *AppversionListCall
- func (c *AppversionListCall) Do() (*AppVersionList, error)
- func (c *AppversionListCall) EventResult(eventResult string) *AppversionListCall
- func (c *AppversionListCall) EventType(eventType string) *AppversionListCall
- func (c *AppversionListCall) GroupId(groupId string) *AppversionListCall
- func (c *AppversionListCall) Oem(oem string) *AppversionListCall
- func (c *AppversionListCall) Version(version string) *AppversionListCall
- type AppversionService
- type ChannelDeleteCall
- type ChannelInsertCall
- type ChannelListCall
- type ChannelListResp
- type ChannelPublicListCall
- type ChannelRequest
- type ChannelService
- func (r *ChannelService) Delete(appId string, label string) *ChannelDeleteCall
- func (r *ChannelService) Insert(appId string, channelrequest *ChannelRequest) *ChannelInsertCall
- func (r *ChannelService) List(appId string) *ChannelListCall
- func (r *ChannelService) PublicList() *ChannelPublicListCall
- func (r *ChannelService) Update(appId string, label string, channelrequest *ChannelRequest) *ChannelUpdateCall
- type ChannelUpdateCall
- type ClientCountResp
- type ClientHistoryCall
- type ClientHistoryItem
- type ClientHistoryResp
- type ClientService
- type ClientUpdate
- type ClientUpdateList
- type ClientupdateCountCall
- func (c *ClientupdateCountCall) AppId(appId string) *ClientupdateCountCall
- func (c *ClientupdateCountCall) DateEnd(dateEnd int64) *ClientupdateCountCall
- func (c *ClientupdateCountCall) DateStart(dateStart int64) *ClientupdateCountCall
- func (c *ClientupdateCountCall) Do() (*ClientCountResp, error)
- func (c *ClientupdateCountCall) EventResult(eventResult string) *ClientupdateCountCall
- func (c *ClientupdateCountCall) EventType(eventType string) *ClientupdateCountCall
- func (c *ClientupdateCountCall) GroupId(groupId string) *ClientupdateCountCall
- func (c *ClientupdateCountCall) Oem(oem string) *ClientupdateCountCall
- func (c *ClientupdateCountCall) Version(version string) *ClientupdateCountCall
- type ClientupdateListCall
- func (c *ClientupdateListCall) AppId(appId string) *ClientupdateListCall
- func (c *ClientupdateListCall) ClientId(clientId string) *ClientupdateListCall
- func (c *ClientupdateListCall) DateEnd(dateEnd int64) *ClientupdateListCall
- func (c *ClientupdateListCall) DateStart(dateStart int64) *ClientupdateListCall
- func (c *ClientupdateListCall) Do() (*ClientUpdateList, error)
- func (c *ClientupdateListCall) EventResult(eventResult string) *ClientupdateListCall
- func (c *ClientupdateListCall) EventType(eventType string) *ClientupdateListCall
- func (c *ClientupdateListCall) GroupId(groupId string) *ClientupdateListCall
- func (c *ClientupdateListCall) Limit(limit int64) *ClientupdateListCall
- func (c *ClientupdateListCall) Oem(oem string) *ClientupdateListCall
- func (c *ClientupdateListCall) Skip(skip int64) *ClientupdateListCall
- func (c *ClientupdateListCall) Version(version string) *ClientupdateListCall
- type ClientupdateService
- type GenerateUuidResp
- type Group
- type GroupDeleteCall
- func (c *GroupDeleteCall) ChannelId(channelId string) *GroupDeleteCall
- func (c *GroupDeleteCall) Do() (*Group, error)
- func (c *GroupDeleteCall) Label(label string) *GroupDeleteCall
- func (c *GroupDeleteCall) OemBlacklist(oemBlacklist string) *GroupDeleteCall
- func (c *GroupDeleteCall) UpdateCount(updateCount int64) *GroupDeleteCall
- func (c *GroupDeleteCall) UpdateInterval(updateInterval int64) *GroupDeleteCall
- func (c *GroupDeleteCall) UpdatePooling(updatePooling bool) *GroupDeleteCall
- func (c *GroupDeleteCall) UpdatesPaused(updatesPaused bool) *GroupDeleteCall
- type GroupGetCall
- func (c *GroupGetCall) ChannelId(channelId string) *GroupGetCall
- func (c *GroupGetCall) Do() (*Group, error)
- func (c *GroupGetCall) Label(label string) *GroupGetCall
- func (c *GroupGetCall) OemBlacklist(oemBlacklist string) *GroupGetCall
- func (c *GroupGetCall) UpdateCount(updateCount int64) *GroupGetCall
- func (c *GroupGetCall) UpdateInterval(updateInterval int64) *GroupGetCall
- func (c *GroupGetCall) UpdatePooling(updatePooling bool) *GroupGetCall
- func (c *GroupGetCall) UpdatesPaused(updatesPaused bool) *GroupGetCall
- type GroupInsertCall
- type GroupList
- type GroupListCall
- type GroupPatchCall
- type GroupRequestsEventsRollupCall
- type GroupRequestsEventsService
- type GroupRequestsItem
- type GroupRequestsRollup
- type GroupRequestsService
- type GroupRequestsValues
- type GroupRequestsVersionsRollupCall
- type GroupRequestsVersionsService
- type GroupService
- func (r *GroupService) Delete(appId string, id string) *GroupDeleteCall
- func (r *GroupService) Get(appId string, id string) *GroupGetCall
- func (r *GroupService) Insert(appId string, group *Group) *GroupInsertCall
- func (r *GroupService) List(appId string) *GroupListCall
- func (r *GroupService) Patch(appId string, id string, group *Group) *GroupPatchCall
- func (r *GroupService) Update(appId string, id string, group *Group) *GroupUpdateCall
- type GroupUpdateCall
- type Package
- type PackageList
- type PublicPackageItem
- type PublicPackageList
- type Service
- type Upstream
- type UpstreamDeleteCall
- type UpstreamInsertCall
- type UpstreamListCall
- type UpstreamListResp
- type UpstreamService
- func (r *UpstreamService) Delete(id int64) *UpstreamDeleteCall
- func (r *UpstreamService) Insert(upstream *Upstream) *UpstreamInsertCall
- func (r *UpstreamService) List() *UpstreamListCall
- func (r *UpstreamService) Sync() *UpstreamSyncCall
- func (r *UpstreamService) Update(id int64, upstream *Upstream) *UpstreamUpdateCall
- type UpstreamSyncCall
- type UpstreamSyncResp
- type UpstreamUpdateCall
- type UtilService
- type UtilUuidCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminCreateUserCall ¶
type AdminCreateUserCall struct {
// contains filtered or unexported fields
}
func (*AdminCreateUserCall) Do ¶
func (c *AdminCreateUserCall) Do() (*AdminUser, error)
type AdminDeleteUserCall ¶
type AdminDeleteUserCall struct {
// contains filtered or unexported fields
}
func (*AdminDeleteUserCall) Do ¶
func (c *AdminDeleteUserCall) Do() (*AdminUser, error)
type AdminGenTokenCall ¶
type AdminGenTokenCall struct {
// contains filtered or unexported fields
}
func (*AdminGenTokenCall) Do ¶
func (c *AdminGenTokenCall) Do() (*AdminUser, error)
type AdminGetUserCall ¶
type AdminGetUserCall struct {
// contains filtered or unexported fields
}
func (*AdminGetUserCall) Do ¶
func (c *AdminGetUserCall) Do() (*AdminUser, error)
type AdminListUsersCall ¶
type AdminListUsersCall struct {
// contains filtered or unexported fields
}
func (*AdminListUsersCall) Do ¶
func (c *AdminListUsersCall) Do() (*AdminListUsersResp, error)
type AdminListUsersResp ¶
type AdminListUsersResp struct {
Users []*AdminUser `json:"users,omitempty"`
}
type AdminService ¶
type AdminService struct {
// contains filtered or unexported fields
}
func NewAdminService ¶
func NewAdminService(s *Service) *AdminService
func (*AdminService) CreateUser ¶
func (r *AdminService) CreateUser(adminuserreq *AdminUserReq) *AdminCreateUserCall
CreateUser: Create a new user.
func (*AdminService) DeleteUser ¶
func (r *AdminService) DeleteUser(userName string) *AdminDeleteUserCall
DeleteUser: Delete a user.
func (*AdminService) GenToken ¶
func (r *AdminService) GenToken(userName string, adminuserreq *AdminUserReq) *AdminGenTokenCall
GenToken: Generate a new token.
func (*AdminService) GetUser ¶
func (r *AdminService) GetUser(userName string) *AdminGetUserCall
GetUser: Get a user.
func (*AdminService) ListUsers ¶
func (r *AdminService) ListUsers() *AdminListUsersCall
ListUsers: List Users.
type AdminUserReq ¶
type AdminUserReq struct {
UserName string `json:"userName,omitempty"`
}
type AppChannel ¶
type AppDeleteCall ¶
type AppDeleteCall struct {
// contains filtered or unexported fields
}
func (*AppDeleteCall) Do ¶
func (c *AppDeleteCall) Do() (*App, error)
type AppGetCall ¶
type AppGetCall struct {
// contains filtered or unexported fields
}
func (*AppGetCall) Do ¶
func (c *AppGetCall) Do() (*App, error)
type AppInsertCall ¶ added in v1.3.0
type AppInsertCall struct {
// contains filtered or unexported fields
}
func (*AppInsertCall) Do ¶ added in v1.3.0
func (c *AppInsertCall) Do() (*App, error)
type AppInsertReq ¶ added in v1.3.0
type AppListCall ¶
type AppListCall struct {
// contains filtered or unexported fields
}
func (*AppListCall) Do ¶
func (c *AppListCall) Do() (*AppListResp, error)
type AppListResp ¶
type AppListResp struct {
Items []*App `json:"items,omitempty"`
}
type AppPackageDeleteCall ¶
type AppPackageDeleteCall struct {
// contains filtered or unexported fields
}
func (*AppPackageDeleteCall) Do ¶
func (c *AppPackageDeleteCall) Do() (*Package, error)
func (*AppPackageDeleteCall) MetadataSignatureRsa ¶
func (c *AppPackageDeleteCall) MetadataSignatureRsa(metadataSignatureRsa string) *AppPackageDeleteCall
MetadataSignatureRsa sets the optional parameter "metadataSignatureRsa":
func (*AppPackageDeleteCall) MetadataSize ¶
func (c *AppPackageDeleteCall) MetadataSize(metadataSize string) *AppPackageDeleteCall
MetadataSize sets the optional parameter "metadataSize":
func (*AppPackageDeleteCall) ReleaseNotes ¶ added in v1.3.1
func (c *AppPackageDeleteCall) ReleaseNotes(releaseNotes string) *AppPackageDeleteCall
ReleaseNotes sets the optional parameter "releaseNotes":
func (*AppPackageDeleteCall) Required ¶
func (c *AppPackageDeleteCall) Required(required bool) *AppPackageDeleteCall
Required sets the optional parameter "required":
func (*AppPackageDeleteCall) Sha1Sum ¶
func (c *AppPackageDeleteCall) Sha1Sum(sha1Sum string) *AppPackageDeleteCall
Sha1Sum sets the optional parameter "sha1Sum":
func (*AppPackageDeleteCall) Sha256Sum ¶
func (c *AppPackageDeleteCall) Sha256Sum(sha256Sum string) *AppPackageDeleteCall
Sha256Sum sets the optional parameter "sha256Sum":
func (*AppPackageDeleteCall) Size ¶
func (c *AppPackageDeleteCall) Size(size string) *AppPackageDeleteCall
Size sets the optional parameter "size":
func (*AppPackageDeleteCall) Url ¶
func (c *AppPackageDeleteCall) Url(url string) *AppPackageDeleteCall
Url sets the optional parameter "url":
type AppPackageInsertCall ¶
type AppPackageInsertCall struct {
// contains filtered or unexported fields
}
func (*AppPackageInsertCall) Do ¶
func (c *AppPackageInsertCall) Do() (*Package, error)
type AppPackageListCall ¶
type AppPackageListCall struct {
// contains filtered or unexported fields
}
func (*AppPackageListCall) Do ¶
func (c *AppPackageListCall) Do() (*PackageList, error)
func (*AppPackageListCall) Limit ¶ added in v1.2.0
func (c *AppPackageListCall) Limit(limit int64) *AppPackageListCall
Limit sets the optional parameter "limit":
func (*AppPackageListCall) Skip ¶ added in v1.2.0
func (c *AppPackageListCall) Skip(skip int64) *AppPackageListCall
Skip sets the optional parameter "skip":
func (*AppPackageListCall) Version ¶
func (c *AppPackageListCall) Version(version string) *AppPackageListCall
Version sets the optional parameter "version":
type AppPackagePublicListCall ¶ added in v1.2.0
type AppPackagePublicListCall struct {
// contains filtered or unexported fields
}
func (*AppPackagePublicListCall) Do ¶ added in v1.2.0
func (c *AppPackagePublicListCall) Do() (*PublicPackageList, error)
type AppPackageService ¶
type AppPackageService struct {
// contains filtered or unexported fields
}
func NewAppPackageService ¶
func NewAppPackageService(s *Service) *AppPackageService
func (*AppPackageService) Delete ¶
func (r *AppPackageService) Delete(appId string, version string) *AppPackageDeleteCall
Delete: Delete an package.
func (*AppPackageService) Insert ¶
func (r *AppPackageService) Insert(appId string, version string, package_ *Package) *AppPackageInsertCall
Insert: Insert a new package version.
func (*AppPackageService) List ¶
func (r *AppPackageService) List(appId string) *AppPackageListCall
List: List all of the package versions.
func (*AppPackageService) PublicList ¶ added in v1.2.0
func (r *AppPackageService) PublicList() *AppPackagePublicListCall
PublicList: List all of the publicly available published packages.
type AppPatchCall ¶
type AppPatchCall struct {
// contains filtered or unexported fields
}
func (*AppPatchCall) Do ¶
func (c *AppPatchCall) Do() (*App, error)
type AppService ¶
type AppService struct { Package *AppPackageService // contains filtered or unexported fields }
func NewAppService ¶
func NewAppService(s *Service) *AppService
func (*AppService) Delete ¶
func (r *AppService) Delete(id string) *AppDeleteCall
Delete: Delete an application.
func (*AppService) Insert ¶ added in v1.3.0
func (r *AppService) Insert(appinsertreq *AppInsertReq) *AppInsertCall
Insert: Insert an application.
func (*AppService) Patch ¶
func (r *AppService) Patch(id string, appupdatereq *AppUpdateReq) *AppPatchCall
Patch: Update an application. This method supports patch semantics.
func (*AppService) Update ¶
func (r *AppService) Update(id string, appupdatereq *AppUpdateReq) *AppUpdateCall
Update: Update an application.
type AppUpdateCall ¶
type AppUpdateCall struct {
// contains filtered or unexported fields
}
func (*AppUpdateCall) Do ¶
func (c *AppUpdateCall) Do() (*App, error)
type AppUpdateReq ¶
type AppVersionItem ¶
type AppVersionList ¶
type AppVersionList struct {
Items []*AppVersionItem `json:"items,omitempty"`
}
type AppversionListCall ¶
type AppversionListCall struct {
// contains filtered or unexported fields
}
func (*AppversionListCall) AppId ¶
func (c *AppversionListCall) AppId(appId string) *AppversionListCall
AppId sets the optional parameter "appId":
func (*AppversionListCall) DateEnd ¶
func (c *AppversionListCall) DateEnd(dateEnd int64) *AppversionListCall
DateEnd sets the optional parameter "dateEnd":
func (*AppversionListCall) DateStart ¶
func (c *AppversionListCall) DateStart(dateStart int64) *AppversionListCall
DateStart sets the optional parameter "dateStart":
func (*AppversionListCall) Do ¶
func (c *AppversionListCall) Do() (*AppVersionList, error)
func (*AppversionListCall) EventResult ¶
func (c *AppversionListCall) EventResult(eventResult string) *AppversionListCall
EventResult sets the optional parameter "eventResult":
func (*AppversionListCall) EventType ¶
func (c *AppversionListCall) EventType(eventType string) *AppversionListCall
EventType sets the optional parameter "eventType":
func (*AppversionListCall) GroupId ¶
func (c *AppversionListCall) GroupId(groupId string) *AppversionListCall
GroupId sets the optional parameter "groupId":
func (*AppversionListCall) Oem ¶
func (c *AppversionListCall) Oem(oem string) *AppversionListCall
Oem sets the optional parameter "oem":
func (*AppversionListCall) Version ¶
func (c *AppversionListCall) Version(version string) *AppversionListCall
Version sets the optional parameter "version":
type AppversionService ¶
type AppversionService struct {
// contains filtered or unexported fields
}
func NewAppversionService ¶
func NewAppversionService(s *Service) *AppversionService
func (*AppversionService) List ¶
func (r *AppversionService) List() *AppversionListCall
List: List Client updates grouped by app/version.
type ChannelDeleteCall ¶
type ChannelDeleteCall struct {
// contains filtered or unexported fields
}
func (*ChannelDeleteCall) Do ¶
func (c *ChannelDeleteCall) Do() (*ChannelRequest, error)
func (*ChannelDeleteCall) Publish ¶ added in v1.2.0
func (c *ChannelDeleteCall) Publish(publish bool) *ChannelDeleteCall
Publish sets the optional parameter "publish":
func (*ChannelDeleteCall) Version ¶
func (c *ChannelDeleteCall) Version(version string) *ChannelDeleteCall
Version sets the optional parameter "version":
type ChannelInsertCall ¶ added in v1.3.0
type ChannelInsertCall struct {
// contains filtered or unexported fields
}
func (*ChannelInsertCall) Do ¶ added in v1.3.0
func (c *ChannelInsertCall) Do() (*AppChannel, error)
type ChannelListCall ¶
type ChannelListCall struct {
// contains filtered or unexported fields
}
func (*ChannelListCall) Do ¶
func (c *ChannelListCall) Do() (*ChannelListResp, error)
type ChannelListResp ¶
type ChannelListResp struct {
Items []*AppChannel `json:"items,omitempty"`
}
type ChannelPublicListCall ¶ added in v1.2.0
type ChannelPublicListCall struct {
// contains filtered or unexported fields
}
func (*ChannelPublicListCall) Do ¶ added in v1.2.0
func (c *ChannelPublicListCall) Do() (*ChannelListResp, error)
type ChannelRequest ¶
type ChannelService ¶
type ChannelService struct {
// contains filtered or unexported fields
}
func NewChannelService ¶
func NewChannelService(s *Service) *ChannelService
func (*ChannelService) Delete ¶
func (r *ChannelService) Delete(appId string, label string) *ChannelDeleteCall
Delete: Delete a channel.
func (*ChannelService) Insert ¶ added in v1.3.0
func (r *ChannelService) Insert(appId string, channelrequest *ChannelRequest) *ChannelInsertCall
Insert: Insert a channel.
func (*ChannelService) List ¶
func (r *ChannelService) List(appId string) *ChannelListCall
List: List channels.
func (*ChannelService) PublicList ¶ added in v1.2.0
func (r *ChannelService) PublicList() *ChannelPublicListCall
PublicList: List all publicly available published channels.
func (*ChannelService) Update ¶
func (r *ChannelService) Update(appId string, label string, channelrequest *ChannelRequest) *ChannelUpdateCall
Update: Update a channel.
type ChannelUpdateCall ¶
type ChannelUpdateCall struct {
// contains filtered or unexported fields
}
func (*ChannelUpdateCall) Do ¶
func (c *ChannelUpdateCall) Do() (*AppChannel, error)
type ClientCountResp ¶
type ClientCountResp struct {
Count int64 `json:"count,omitempty"`
}
type ClientHistoryCall ¶
type ClientHistoryCall struct {
// contains filtered or unexported fields
}
func (*ClientHistoryCall) Do ¶
func (c *ClientHistoryCall) Do() (*ClientHistoryResp, error)
type ClientHistoryItem ¶
type ClientHistoryItem struct { DateTime int64 `json:"dateTime,omitempty,string"` ErrorCode string `json:"errorCode,omitempty"` EventResult string `json:"eventResult,omitempty"` EventType string `json:"eventType,omitempty"` GroupId string `json:"groupId,omitempty"` Version string `json:"version,omitempty"` }
type ClientHistoryResp ¶
type ClientHistoryResp struct {
Items []*ClientHistoryItem `json:"items,omitempty"`
}
type ClientService ¶
type ClientService struct {
// contains filtered or unexported fields
}
func NewClientService ¶
func NewClientService(s *Service) *ClientService
func (*ClientService) History ¶
func (r *ClientService) History(clientId string) *ClientHistoryCall
History: Get the update history of a single client.
type ClientUpdate ¶
type ClientUpdate struct { AppId string `json:"appId,omitempty"` ClientId string `json:"clientId,omitempty"` ErrorCode string `json:"errorCode,omitempty"` EventResult string `json:"eventResult,omitempty"` EventType string `json:"eventType,omitempty"` GroupId string `json:"groupId,omitempty"` LastSeen string `json:"lastSeen,omitempty"` Oem string `json:"oem,omitempty"` Version string `json:"version,omitempty"` }
type ClientUpdateList ¶
type ClientUpdateList struct {
Items []*ClientUpdate `json:"items,omitempty"`
}
type ClientupdateCountCall ¶
type ClientupdateCountCall struct {
// contains filtered or unexported fields
}
func (*ClientupdateCountCall) AppId ¶
func (c *ClientupdateCountCall) AppId(appId string) *ClientupdateCountCall
AppId sets the optional parameter "appId":
func (*ClientupdateCountCall) DateEnd ¶
func (c *ClientupdateCountCall) DateEnd(dateEnd int64) *ClientupdateCountCall
DateEnd sets the optional parameter "dateEnd":
func (*ClientupdateCountCall) DateStart ¶
func (c *ClientupdateCountCall) DateStart(dateStart int64) *ClientupdateCountCall
DateStart sets the optional parameter "dateStart":
func (*ClientupdateCountCall) Do ¶
func (c *ClientupdateCountCall) Do() (*ClientCountResp, error)
func (*ClientupdateCountCall) EventResult ¶
func (c *ClientupdateCountCall) EventResult(eventResult string) *ClientupdateCountCall
EventResult sets the optional parameter "eventResult":
func (*ClientupdateCountCall) EventType ¶
func (c *ClientupdateCountCall) EventType(eventType string) *ClientupdateCountCall
EventType sets the optional parameter "eventType":
func (*ClientupdateCountCall) GroupId ¶
func (c *ClientupdateCountCall) GroupId(groupId string) *ClientupdateCountCall
GroupId sets the optional parameter "groupId":
func (*ClientupdateCountCall) Oem ¶
func (c *ClientupdateCountCall) Oem(oem string) *ClientupdateCountCall
Oem sets the optional parameter "oem":
func (*ClientupdateCountCall) Version ¶
func (c *ClientupdateCountCall) Version(version string) *ClientupdateCountCall
Version sets the optional parameter "version":
type ClientupdateListCall ¶
type ClientupdateListCall struct {
// contains filtered or unexported fields
}
func (*ClientupdateListCall) AppId ¶
func (c *ClientupdateListCall) AppId(appId string) *ClientupdateListCall
AppId sets the optional parameter "appId":
func (*ClientupdateListCall) ClientId ¶
func (c *ClientupdateListCall) ClientId(clientId string) *ClientupdateListCall
ClientId sets the optional parameter "clientId":
func (*ClientupdateListCall) DateEnd ¶
func (c *ClientupdateListCall) DateEnd(dateEnd int64) *ClientupdateListCall
DateEnd sets the optional parameter "dateEnd":
func (*ClientupdateListCall) DateStart ¶
func (c *ClientupdateListCall) DateStart(dateStart int64) *ClientupdateListCall
DateStart sets the optional parameter "dateStart":
func (*ClientupdateListCall) Do ¶
func (c *ClientupdateListCall) Do() (*ClientUpdateList, error)
func (*ClientupdateListCall) EventResult ¶
func (c *ClientupdateListCall) EventResult(eventResult string) *ClientupdateListCall
EventResult sets the optional parameter "eventResult":
func (*ClientupdateListCall) EventType ¶
func (c *ClientupdateListCall) EventType(eventType string) *ClientupdateListCall
EventType sets the optional parameter "eventType":
func (*ClientupdateListCall) GroupId ¶
func (c *ClientupdateListCall) GroupId(groupId string) *ClientupdateListCall
GroupId sets the optional parameter "groupId":
func (*ClientupdateListCall) Limit ¶
func (c *ClientupdateListCall) Limit(limit int64) *ClientupdateListCall
Limit sets the optional parameter "limit":
func (*ClientupdateListCall) Oem ¶
func (c *ClientupdateListCall) Oem(oem string) *ClientupdateListCall
Oem sets the optional parameter "oem":
func (*ClientupdateListCall) Skip ¶
func (c *ClientupdateListCall) Skip(skip int64) *ClientupdateListCall
Skip sets the optional parameter "skip":
func (*ClientupdateListCall) Version ¶
func (c *ClientupdateListCall) Version(version string) *ClientupdateListCall
Version sets the optional parameter "version":
type ClientupdateService ¶
type ClientupdateService struct {
// contains filtered or unexported fields
}
func NewClientupdateService ¶
func NewClientupdateService(s *Service) *ClientupdateService
func (*ClientupdateService) Count ¶
func (r *ClientupdateService) Count() *ClientupdateCountCall
Count: Get client count for criteria.
func (*ClientupdateService) List ¶
func (r *ClientupdateService) List() *ClientupdateListCall
List: List all client updates.
type GenerateUuidResp ¶
type GenerateUuidResp struct {
Uuid string `json:"uuid,omitempty"`
}
type Group ¶
type Group struct { AppId string `json:"appId,omitempty"` ChannelId string `json:"channelId,omitempty"` Id string `json:"id,omitempty"` Label string `json:"label,omitempty"` OemBlacklist string `json:"oemBlacklist,omitempty"` UpdateCount int64 `json:"updateCount,omitempty"` UpdateInterval int64 `json:"updateInterval,omitempty"` UpdatePooling bool `json:"updatePooling,omitempty"` UpdatesPaused bool `json:"updatesPaused,omitempty"` }
type GroupDeleteCall ¶
type GroupDeleteCall struct {
// contains filtered or unexported fields
}
func (*GroupDeleteCall) ChannelId ¶
func (c *GroupDeleteCall) ChannelId(channelId string) *GroupDeleteCall
ChannelId sets the optional parameter "channelId":
func (*GroupDeleteCall) Do ¶
func (c *GroupDeleteCall) Do() (*Group, error)
func (*GroupDeleteCall) Label ¶
func (c *GroupDeleteCall) Label(label string) *GroupDeleteCall
Label sets the optional parameter "label":
func (*GroupDeleteCall) OemBlacklist ¶ added in v1.3.4
func (c *GroupDeleteCall) OemBlacklist(oemBlacklist string) *GroupDeleteCall
OemBlacklist sets the optional parameter "oemBlacklist":
func (*GroupDeleteCall) UpdateCount ¶
func (c *GroupDeleteCall) UpdateCount(updateCount int64) *GroupDeleteCall
UpdateCount sets the optional parameter "updateCount":
func (*GroupDeleteCall) UpdateInterval ¶
func (c *GroupDeleteCall) UpdateInterval(updateInterval int64) *GroupDeleteCall
UpdateInterval sets the optional parameter "updateInterval":
func (*GroupDeleteCall) UpdatePooling ¶
func (c *GroupDeleteCall) UpdatePooling(updatePooling bool) *GroupDeleteCall
UpdatePooling sets the optional parameter "updatePooling":
func (*GroupDeleteCall) UpdatesPaused ¶
func (c *GroupDeleteCall) UpdatesPaused(updatesPaused bool) *GroupDeleteCall
UpdatesPaused sets the optional parameter "updatesPaused":
type GroupGetCall ¶
type GroupGetCall struct {
// contains filtered or unexported fields
}
func (*GroupGetCall) ChannelId ¶
func (c *GroupGetCall) ChannelId(channelId string) *GroupGetCall
ChannelId sets the optional parameter "channelId":
func (*GroupGetCall) Do ¶
func (c *GroupGetCall) Do() (*Group, error)
func (*GroupGetCall) Label ¶
func (c *GroupGetCall) Label(label string) *GroupGetCall
Label sets the optional parameter "label":
func (*GroupGetCall) OemBlacklist ¶ added in v1.3.4
func (c *GroupGetCall) OemBlacklist(oemBlacklist string) *GroupGetCall
OemBlacklist sets the optional parameter "oemBlacklist":
func (*GroupGetCall) UpdateCount ¶
func (c *GroupGetCall) UpdateCount(updateCount int64) *GroupGetCall
UpdateCount sets the optional parameter "updateCount":
func (*GroupGetCall) UpdateInterval ¶
func (c *GroupGetCall) UpdateInterval(updateInterval int64) *GroupGetCall
UpdateInterval sets the optional parameter "updateInterval":
func (*GroupGetCall) UpdatePooling ¶
func (c *GroupGetCall) UpdatePooling(updatePooling bool) *GroupGetCall
UpdatePooling sets the optional parameter "updatePooling":
func (*GroupGetCall) UpdatesPaused ¶
func (c *GroupGetCall) UpdatesPaused(updatesPaused bool) *GroupGetCall
UpdatesPaused sets the optional parameter "updatesPaused":
type GroupInsertCall ¶
type GroupInsertCall struct {
// contains filtered or unexported fields
}
func (*GroupInsertCall) Do ¶
func (c *GroupInsertCall) Do() (*Group, error)
type GroupListCall ¶
type GroupListCall struct {
// contains filtered or unexported fields
}
func (*GroupListCall) Do ¶
func (c *GroupListCall) Do() (*GroupList, error)
func (*GroupListCall) Limit ¶
func (c *GroupListCall) Limit(limit int64) *GroupListCall
Limit sets the optional parameter "limit":
type GroupPatchCall ¶
type GroupPatchCall struct {
// contains filtered or unexported fields
}
func (*GroupPatchCall) Do ¶
func (c *GroupPatchCall) Do() (*Group, error)
type GroupRequestsEventsRollupCall ¶
type GroupRequestsEventsRollupCall struct {
// contains filtered or unexported fields
}
func (*GroupRequestsEventsRollupCall) Do ¶
func (c *GroupRequestsEventsRollupCall) Do() (*GroupRequestsRollup, error)
func (*GroupRequestsEventsRollupCall) Resolution ¶
func (c *GroupRequestsEventsRollupCall) Resolution(resolution int64) *GroupRequestsEventsRollupCall
Resolution sets the optional parameter "resolution":
func (*GroupRequestsEventsRollupCall) Versions ¶
func (c *GroupRequestsEventsRollupCall) Versions(versions string) *GroupRequestsEventsRollupCall
Versions sets the optional parameter "versions":
type GroupRequestsEventsService ¶
type GroupRequestsEventsService struct {
// contains filtered or unexported fields
}
func NewGroupRequestsEventsService ¶
func NewGroupRequestsEventsService(s *Service) *GroupRequestsEventsService
func (*GroupRequestsEventsService) Rollup ¶
func (r *GroupRequestsEventsService) Rollup(appId string, groupId string, dateStart int64, dateEnd int64) *GroupRequestsEventsRollupCall
Rollup: Rollup all client requests by event for this group.
type GroupRequestsItem ¶
type GroupRequestsItem struct { Result string `json:"result,omitempty"` Type string `json:"type,omitempty"` Values []*GroupRequestsValues `json:"values,omitempty"` Version string `json:"version,omitempty"` }
type GroupRequestsRollup ¶
type GroupRequestsRollup struct {
Items []*GroupRequestsItem `json:"items,omitempty"`
}
type GroupRequestsService ¶
type GroupRequestsService struct { Events *GroupRequestsEventsService Versions *GroupRequestsVersionsService // contains filtered or unexported fields }
func NewGroupRequestsService ¶
func NewGroupRequestsService(s *Service) *GroupRequestsService
type GroupRequestsValues ¶
type GroupRequestsVersionsRollupCall ¶
type GroupRequestsVersionsRollupCall struct {
// contains filtered or unexported fields
}
func (*GroupRequestsVersionsRollupCall) Do ¶
func (c *GroupRequestsVersionsRollupCall) Do() (*GroupRequestsRollup, error)
func (*GroupRequestsVersionsRollupCall) Resolution ¶
func (c *GroupRequestsVersionsRollupCall) Resolution(resolution int64) *GroupRequestsVersionsRollupCall
Resolution sets the optional parameter "resolution":
func (*GroupRequestsVersionsRollupCall) Versions ¶
func (c *GroupRequestsVersionsRollupCall) Versions(versions string) *GroupRequestsVersionsRollupCall
Versions sets the optional parameter "versions":
type GroupRequestsVersionsService ¶
type GroupRequestsVersionsService struct {
// contains filtered or unexported fields
}
func NewGroupRequestsVersionsService ¶
func NewGroupRequestsVersionsService(s *Service) *GroupRequestsVersionsService
func (*GroupRequestsVersionsService) Rollup ¶
func (r *GroupRequestsVersionsService) Rollup(appId string, groupId string, dateStart int64, dateEnd int64) *GroupRequestsVersionsRollupCall
Rollup: Rollup all clients requests by version for this group.
type GroupService ¶
type GroupService struct { Requests *GroupRequestsService // contains filtered or unexported fields }
func NewGroupService ¶
func NewGroupService(s *Service) *GroupService
func (*GroupService) Delete ¶
func (r *GroupService) Delete(appId string, id string) *GroupDeleteCall
Delete: Delete a group.
func (*GroupService) Get ¶
func (r *GroupService) Get(appId string, id string) *GroupGetCall
Get: Get a group.
func (*GroupService) Insert ¶
func (r *GroupService) Insert(appId string, group *Group) *GroupInsertCall
Insert: Create a new group.
func (*GroupService) List ¶
func (r *GroupService) List(appId string) *GroupListCall
List: List all of the groups.
func (*GroupService) Patch ¶
func (r *GroupService) Patch(appId string, id string, group *Group) *GroupPatchCall
Patch: Patch a group. This method supports patch semantics.
func (*GroupService) Update ¶ added in v1.3.1
func (r *GroupService) Update(appId string, id string, group *Group) *GroupUpdateCall
Update: Patch a group.
type GroupUpdateCall ¶ added in v1.3.1
type GroupUpdateCall struct {
// contains filtered or unexported fields
}
func (*GroupUpdateCall) Do ¶ added in v1.3.1
func (c *GroupUpdateCall) Do() (*Group, error)
type Package ¶
type Package struct { AppId string `json:"appId,omitempty"` DateCreated string `json:"dateCreated,omitempty"` MetadataSignatureRsa string `json:"metadataSignatureRsa,omitempty"` MetadataSize string `json:"metadataSize,omitempty"` ReleaseNotes string `json:"releaseNotes,omitempty"` Required bool `json:"required,omitempty"` Sha1Sum string `json:"sha1Sum,omitempty"` Sha256Sum string `json:"sha256Sum,omitempty"` Size string `json:"size,omitempty"` Url string `json:"url,omitempty"` Version string `json:"version,omitempty"` }
type PackageList ¶
type PublicPackageItem ¶ added in v1.2.0
type PublicPackageList ¶ added in v1.2.0
type PublicPackageList struct {
Items []*PublicPackageItem `json:"items,omitempty"`
}
type Service ¶
type Service struct { BasePath string // API endpoint base URL Admin *AdminService App *AppService Appversion *AppversionService Channel *ChannelService Client *ClientService Clientupdate *ClientupdateService Group *GroupService Upstream *UpstreamService Util *UtilService // contains filtered or unexported fields }
type UpstreamDeleteCall ¶ added in v1.2.0
type UpstreamDeleteCall struct {
// contains filtered or unexported fields
}
func (*UpstreamDeleteCall) Do ¶ added in v1.2.0
func (c *UpstreamDeleteCall) Do() (*Upstream, error)
func (*UpstreamDeleteCall) Label ¶ added in v1.2.0
func (c *UpstreamDeleteCall) Label(label string) *UpstreamDeleteCall
Label sets the optional parameter "label":
func (*UpstreamDeleteCall) Url ¶ added in v1.2.0
func (c *UpstreamDeleteCall) Url(url string) *UpstreamDeleteCall
Url sets the optional parameter "url":
type UpstreamInsertCall ¶ added in v1.3.0
type UpstreamInsertCall struct {
// contains filtered or unexported fields
}
func (*UpstreamInsertCall) Do ¶ added in v1.3.0
func (c *UpstreamInsertCall) Do() (*Upstream, error)
type UpstreamListCall ¶ added in v1.2.0
type UpstreamListCall struct {
// contains filtered or unexported fields
}
func (*UpstreamListCall) Do ¶ added in v1.2.0
func (c *UpstreamListCall) Do() (*UpstreamListResp, error)
type UpstreamListResp ¶ added in v1.2.0
type UpstreamListResp struct {
Items []*Upstream `json:"items,omitempty"`
}
type UpstreamService ¶ added in v1.2.0
type UpstreamService struct {
// contains filtered or unexported fields
}
func NewUpstreamService ¶ added in v1.2.0
func NewUpstreamService(s *Service) *UpstreamService
func (*UpstreamService) Delete ¶ added in v1.2.0
func (r *UpstreamService) Delete(id int64) *UpstreamDeleteCall
Delete: Delete an upstream.
func (*UpstreamService) Insert ¶ added in v1.3.0
func (r *UpstreamService) Insert(upstream *Upstream) *UpstreamInsertCall
Insert: Insert an upstream.
func (*UpstreamService) List ¶ added in v1.2.0
func (r *UpstreamService) List() *UpstreamListCall
List: List all upstreams.
func (*UpstreamService) Sync ¶ added in v1.2.0
func (r *UpstreamService) Sync() *UpstreamSyncCall
Sync: Synchronize all upstreams.
func (*UpstreamService) Update ¶ added in v1.2.0
func (r *UpstreamService) Update(id int64, upstream *Upstream) *UpstreamUpdateCall
Update: Update an upstream.
type UpstreamSyncCall ¶ added in v1.2.0
type UpstreamSyncCall struct {
// contains filtered or unexported fields
}
func (*UpstreamSyncCall) Do ¶ added in v1.2.0
func (c *UpstreamSyncCall) Do() (*UpstreamSyncResp, error)
type UpstreamSyncResp ¶ added in v1.2.0
type UpstreamUpdateCall ¶ added in v1.2.0
type UpstreamUpdateCall struct {
// contains filtered or unexported fields
}
func (*UpstreamUpdateCall) Do ¶ added in v1.2.0
func (c *UpstreamUpdateCall) Do() (*Upstream, error)
type UtilService ¶
type UtilService struct {
// contains filtered or unexported fields
}
func NewUtilService ¶
func NewUtilService(s *Service) *UtilService
type UtilUuidCall ¶
type UtilUuidCall struct {
// contains filtered or unexported fields
}
func (*UtilUuidCall) Do ¶
func (c *UtilUuidCall) Do() (*GenerateUuidResp, error)