Documentation ¶
Overview ¶
Package update provides access to the .
Usage example:
import "github.com/coreos/updateservicectl/client/update/v1" ... updateService, err := update.New(oauthHttpClient)
Index ¶
- type AdminCreateUserCall
- type AdminDeleteUserCall
- type AdminGenTokenCall
- type AdminGetUserCall
- func (c *AdminGetUserCall) Context(ctx context.Context) *AdminGetUserCall
- func (c *AdminGetUserCall) Do(opts ...googleapi.CallOption) (*AdminUser, error)
- func (c *AdminGetUserCall) Fields(s ...googleapi.Field) *AdminGetUserCall
- func (c *AdminGetUserCall) Header() http.Header
- func (c *AdminGetUserCall) IfNoneMatch(entityTag string) *AdminGetUserCall
- type AdminListUsersCall
- func (c *AdminListUsersCall) Context(ctx context.Context) *AdminListUsersCall
- func (c *AdminListUsersCall) Do(opts ...googleapi.CallOption) (*AdminListUsersResp, error)
- func (c *AdminListUsersCall) Fields(s ...googleapi.Field) *AdminListUsersCall
- func (c *AdminListUsersCall) Header() http.Header
- func (c *AdminListUsersCall) IfNoneMatch(entityTag string) *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
- func (c *AppListCall) Context(ctx context.Context) *AppListCall
- func (c *AppListCall) Do(opts ...googleapi.CallOption) (*AppListResp, error)
- func (c *AppListCall) Fields(s ...googleapi.Field) *AppListCall
- func (c *AppListCall) Header() http.Header
- func (c *AppListCall) IfNoneMatch(entityTag string) *AppListCall
- type AppListResp
- type AppPackageDeleteCall
- func (c *AppPackageDeleteCall) Context(ctx context.Context) *AppPackageDeleteCall
- func (c *AppPackageDeleteCall) Do(opts ...googleapi.CallOption) (*Package, error)
- func (c *AppPackageDeleteCall) Fields(s ...googleapi.Field) *AppPackageDeleteCall
- func (c *AppPackageDeleteCall) Header() http.Header
- 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
- func (c *AppPackageListCall) Context(ctx context.Context) *AppPackageListCall
- func (c *AppPackageListCall) Do(opts ...googleapi.CallOption) (*PackageList, error)
- func (c *AppPackageListCall) Fields(s ...googleapi.Field) *AppPackageListCall
- func (c *AppPackageListCall) Header() http.Header
- func (c *AppPackageListCall) IfNoneMatch(entityTag string) *AppPackageListCall
- func (c *AppPackageListCall) Limit(limit int64) *AppPackageListCall
- func (c *AppPackageListCall) Skip(skip int64) *AppPackageListCall
- func (c *AppPackageListCall) Version(version string) *AppPackageListCall
- type AppPackagePublicListCall
- func (c *AppPackagePublicListCall) Context(ctx context.Context) *AppPackagePublicListCall
- func (c *AppPackagePublicListCall) Do(opts ...googleapi.CallOption) (*PublicPackageList, error)
- func (c *AppPackagePublicListCall) Fields(s ...googleapi.Field) *AppPackagePublicListCall
- func (c *AppPackagePublicListCall) Header() http.Header
- func (c *AppPackagePublicListCall) IfNoneMatch(entityTag string) *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) Context(ctx context.Context) *AppversionListCall
- func (c *AppversionListCall) DateEnd(dateEnd int64) *AppversionListCall
- func (c *AppversionListCall) DateStart(dateStart int64) *AppversionListCall
- func (c *AppversionListCall) Do(opts ...googleapi.CallOption) (*AppVersionList, error)
- func (c *AppversionListCall) EventResult(eventResult string) *AppversionListCall
- func (c *AppversionListCall) EventType(eventType string) *AppversionListCall
- func (c *AppversionListCall) Fields(s ...googleapi.Field) *AppversionListCall
- func (c *AppversionListCall) GroupId(groupId string) *AppversionListCall
- func (c *AppversionListCall) Header() http.Header
- func (c *AppversionListCall) IfNoneMatch(entityTag string) *AppversionListCall
- func (c *AppversionListCall) Oem(oem string) *AppversionListCall
- func (c *AppversionListCall) Version(version string) *AppversionListCall
- type AppversionService
- type ChannelDeleteCall
- func (c *ChannelDeleteCall) Context(ctx context.Context) *ChannelDeleteCall
- func (c *ChannelDeleteCall) Do(opts ...googleapi.CallOption) (*ChannelRequest, error)
- func (c *ChannelDeleteCall) Fields(s ...googleapi.Field) *ChannelDeleteCall
- func (c *ChannelDeleteCall) Header() http.Header
- func (c *ChannelDeleteCall) Publish(publish bool) *ChannelDeleteCall
- func (c *ChannelDeleteCall) Version(version string) *ChannelDeleteCall
- type ChannelInsertCall
- type ChannelListCall
- func (c *ChannelListCall) Context(ctx context.Context) *ChannelListCall
- func (c *ChannelListCall) Do(opts ...googleapi.CallOption) (*ChannelListResp, error)
- func (c *ChannelListCall) Fields(s ...googleapi.Field) *ChannelListCall
- func (c *ChannelListCall) Header() http.Header
- func (c *ChannelListCall) IfNoneMatch(entityTag string) *ChannelListCall
- type ChannelListResp
- type ChannelPublicListCall
- func (c *ChannelPublicListCall) Context(ctx context.Context) *ChannelPublicListCall
- func (c *ChannelPublicListCall) Do(opts ...googleapi.CallOption) (*ChannelListResp, error)
- func (c *ChannelPublicListCall) Fields(s ...googleapi.Field) *ChannelPublicListCall
- func (c *ChannelPublicListCall) Header() http.Header
- func (c *ChannelPublicListCall) IfNoneMatch(entityTag string) *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
- func (c *ClientHistoryCall) Context(ctx context.Context) *ClientHistoryCall
- func (c *ClientHistoryCall) Do(opts ...googleapi.CallOption) (*ClientHistoryResp, error)
- func (c *ClientHistoryCall) Fields(s ...googleapi.Field) *ClientHistoryCall
- func (c *ClientHistoryCall) Header() http.Header
- func (c *ClientHistoryCall) IfNoneMatch(entityTag string) *ClientHistoryCall
- type ClientHistoryItem
- type ClientHistoryResp
- type ClientService
- type ClientUpdate
- type ClientUpdateList
- type ClientupdateCountCall
- func (c *ClientupdateCountCall) AppId(appId string) *ClientupdateCountCall
- func (c *ClientupdateCountCall) Context(ctx context.Context) *ClientupdateCountCall
- func (c *ClientupdateCountCall) DateEnd(dateEnd int64) *ClientupdateCountCall
- func (c *ClientupdateCountCall) DateStart(dateStart int64) *ClientupdateCountCall
- func (c *ClientupdateCountCall) Do(opts ...googleapi.CallOption) (*ClientCountResp, error)
- func (c *ClientupdateCountCall) EventResult(eventResult string) *ClientupdateCountCall
- func (c *ClientupdateCountCall) EventType(eventType string) *ClientupdateCountCall
- func (c *ClientupdateCountCall) Fields(s ...googleapi.Field) *ClientupdateCountCall
- func (c *ClientupdateCountCall) GroupId(groupId string) *ClientupdateCountCall
- func (c *ClientupdateCountCall) Header() http.Header
- func (c *ClientupdateCountCall) IfNoneMatch(entityTag 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) Context(ctx context.Context) *ClientupdateListCall
- func (c *ClientupdateListCall) DateEnd(dateEnd int64) *ClientupdateListCall
- func (c *ClientupdateListCall) DateStart(dateStart int64) *ClientupdateListCall
- func (c *ClientupdateListCall) Do(opts ...googleapi.CallOption) (*ClientUpdateList, error)
- func (c *ClientupdateListCall) EventResult(eventResult string) *ClientupdateListCall
- func (c *ClientupdateListCall) EventType(eventType string) *ClientupdateListCall
- func (c *ClientupdateListCall) Fields(s ...googleapi.Field) *ClientupdateListCall
- func (c *ClientupdateListCall) GroupId(groupId string) *ClientupdateListCall
- func (c *ClientupdateListCall) Header() http.Header
- func (c *ClientupdateListCall) IfNoneMatch(entityTag 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 Frame
- type GenerateUuidResp
- type Group
- type GroupDeleteCall
- func (c *GroupDeleteCall) ChannelId(channelId string) *GroupDeleteCall
- func (c *GroupDeleteCall) Context(ctx context.Context) *GroupDeleteCall
- func (c *GroupDeleteCall) Do(opts ...googleapi.CallOption) (*Group, error)
- func (c *GroupDeleteCall) Fields(s ...googleapi.Field) *GroupDeleteCall
- func (c *GroupDeleteCall) Header() http.Header
- func (c *GroupDeleteCall) Label(label string) *GroupDeleteCall
- func (c *GroupDeleteCall) OemBlacklist(oemBlacklist string) *GroupDeleteCall
- func (c *GroupDeleteCall) RolloutActive(rolloutActive bool) *GroupDeleteCall
- func (c *GroupDeleteCall) UpdatePercent(updatePercent float64) *GroupDeleteCall
- func (c *GroupDeleteCall) UpdatesPaused(updatesPaused bool) *GroupDeleteCall
- type GroupGetCall
- func (c *GroupGetCall) ChannelId(channelId string) *GroupGetCall
- func (c *GroupGetCall) Context(ctx context.Context) *GroupGetCall
- func (c *GroupGetCall) Do(opts ...googleapi.CallOption) (*Group, error)
- func (c *GroupGetCall) Fields(s ...googleapi.Field) *GroupGetCall
- func (c *GroupGetCall) Header() http.Header
- func (c *GroupGetCall) IfNoneMatch(entityTag string) *GroupGetCall
- func (c *GroupGetCall) Label(label string) *GroupGetCall
- func (c *GroupGetCall) OemBlacklist(oemBlacklist string) *GroupGetCall
- func (c *GroupGetCall) RolloutActive(rolloutActive bool) *GroupGetCall
- func (c *GroupGetCall) UpdatePercent(updatePercent float64) *GroupGetCall
- func (c *GroupGetCall) UpdatesPaused(updatesPaused bool) *GroupGetCall
- type GroupInsertCall
- type GroupList
- type GroupListCall
- func (c *GroupListCall) Context(ctx context.Context) *GroupListCall
- func (c *GroupListCall) Do(opts ...googleapi.CallOption) (*GroupList, error)
- func (c *GroupListCall) Fields(s ...googleapi.Field) *GroupListCall
- func (c *GroupListCall) Header() http.Header
- func (c *GroupListCall) IfNoneMatch(entityTag string) *GroupListCall
- func (c *GroupListCall) Limit(limit int64) *GroupListCall
- type GroupPatchCall
- type GroupPercent
- type GroupPercentGetCall
- func (c *GroupPercentGetCall) Context(ctx context.Context) *GroupPercentGetCall
- func (c *GroupPercentGetCall) Do(opts ...googleapi.CallOption) (*GroupPercent, error)
- func (c *GroupPercentGetCall) Fields(s ...googleapi.Field) *GroupPercentGetCall
- func (c *GroupPercentGetCall) Header() http.Header
- func (c *GroupPercentGetCall) IfNoneMatch(entityTag string) *GroupPercentGetCall
- type GroupPercentService
- type GroupPercentSetCall
- type GroupRequestsEventsRollupCall
- func (c *GroupRequestsEventsRollupCall) Context(ctx context.Context) *GroupRequestsEventsRollupCall
- func (c *GroupRequestsEventsRollupCall) Do(opts ...googleapi.CallOption) (*GroupRequestsRollup, error)
- func (c *GroupRequestsEventsRollupCall) Fields(s ...googleapi.Field) *GroupRequestsEventsRollupCall
- func (c *GroupRequestsEventsRollupCall) Header() http.Header
- func (c *GroupRequestsEventsRollupCall) IfNoneMatch(entityTag string) *GroupRequestsEventsRollupCall
- func (c *GroupRequestsEventsRollupCall) Resolution(resolution int64) *GroupRequestsEventsRollupCall
- func (c *GroupRequestsEventsRollupCall) Versions(versions string) *GroupRequestsEventsRollupCall
- type GroupRequestsEventsService
- type GroupRequestsItem
- type GroupRequestsRollup
- type GroupRequestsService
- type GroupRequestsValues
- type GroupRequestsVersionsRollupCall
- func (c *GroupRequestsVersionsRollupCall) Context(ctx context.Context) *GroupRequestsVersionsRollupCall
- func (c *GroupRequestsVersionsRollupCall) Do(opts ...googleapi.CallOption) (*GroupRequestsRollup, error)
- func (c *GroupRequestsVersionsRollupCall) Fields(s ...googleapi.Field) *GroupRequestsVersionsRollupCall
- func (c *GroupRequestsVersionsRollupCall) Header() http.Header
- func (c *GroupRequestsVersionsRollupCall) IfNoneMatch(entityTag string) *GroupRequestsVersionsRollupCall
- func (c *GroupRequestsVersionsRollupCall) Resolution(resolution int64) *GroupRequestsVersionsRollupCall
- func (c *GroupRequestsVersionsRollupCall) Versions(versions string) *GroupRequestsVersionsRollupCall
- type GroupRequestsVersionsService
- type GroupRolloutActiveGetCall
- func (c *GroupRolloutActiveGetCall) Context(ctx context.Context) *GroupRolloutActiveGetCall
- func (c *GroupRolloutActiveGetCall) Do(opts ...googleapi.CallOption) (*RolloutActive, error)
- func (c *GroupRolloutActiveGetCall) Fields(s ...googleapi.Field) *GroupRolloutActiveGetCall
- func (c *GroupRolloutActiveGetCall) Header() http.Header
- func (c *GroupRolloutActiveGetCall) IfNoneMatch(entityTag string) *GroupRolloutActiveGetCall
- type GroupRolloutActiveService
- type GroupRolloutActiveSetCall
- func (c *GroupRolloutActiveSetCall) Context(ctx context.Context) *GroupRolloutActiveSetCall
- func (c *GroupRolloutActiveSetCall) Do(opts ...googleapi.CallOption) (*RolloutActive, error)
- func (c *GroupRolloutActiveSetCall) Fields(s ...googleapi.Field) *GroupRolloutActiveSetCall
- func (c *GroupRolloutActiveSetCall) Header() http.Header
- type GroupRolloutGetCall
- func (c *GroupRolloutGetCall) Context(ctx context.Context) *GroupRolloutGetCall
- func (c *GroupRolloutGetCall) Do(opts ...googleapi.CallOption) (*Rollout, error)
- func (c *GroupRolloutGetCall) Fields(s ...googleapi.Field) *GroupRolloutGetCall
- func (c *GroupRolloutGetCall) Header() http.Header
- func (c *GroupRolloutGetCall) IfNoneMatch(entityTag string) *GroupRolloutGetCall
- type GroupRolloutService
- type GroupRolloutSetCall
- 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 Rollout
- type RolloutActive
- type Service
- type Upstream
- type UpstreamDeleteCall
- func (c *UpstreamDeleteCall) Context(ctx context.Context) *UpstreamDeleteCall
- func (c *UpstreamDeleteCall) Do(opts ...googleapi.CallOption) (*Upstream, error)
- func (c *UpstreamDeleteCall) Fields(s ...googleapi.Field) *UpstreamDeleteCall
- func (c *UpstreamDeleteCall) Header() http.Header
- func (c *UpstreamDeleteCall) Label(label string) *UpstreamDeleteCall
- func (c *UpstreamDeleteCall) Url(url string) *UpstreamDeleteCall
- type UpstreamInsertCall
- type UpstreamListCall
- func (c *UpstreamListCall) Context(ctx context.Context) *UpstreamListCall
- func (c *UpstreamListCall) Do(opts ...googleapi.CallOption) (*UpstreamListResp, error)
- func (c *UpstreamListCall) Fields(s ...googleapi.Field) *UpstreamListCall
- func (c *UpstreamListCall) Header() http.Header
- func (c *UpstreamListCall) IfNoneMatch(entityTag string) *UpstreamListCall
- type UpstreamListResp
- type UpstreamService
- func (r *UpstreamService) Delete(id string) *UpstreamDeleteCall
- func (r *UpstreamService) Insert(upstream *Upstream) *UpstreamInsertCall
- func (r *UpstreamService) List() *UpstreamListCall
- func (r *UpstreamService) Sync() *UpstreamSyncCall
- func (r *UpstreamService) Update(id string, upstream *Upstream) *UpstreamUpdateCall
- type UpstreamSyncCall
- type UpstreamSyncResp
- type UpstreamUpdateCall
- type UtilService
- type UtilUuidCall
- func (c *UtilUuidCall) Context(ctx context.Context) *UtilUuidCall
- func (c *UtilUuidCall) Do(opts ...googleapi.CallOption) (*GenerateUuidResp, error)
- func (c *UtilUuidCall) Fields(s ...googleapi.Field) *UtilUuidCall
- func (c *UtilUuidCall) Header() http.Header
- func (c *UtilUuidCall) IfNoneMatch(entityTag string) *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) Context ¶
func (c *AdminCreateUserCall) Context(ctx context.Context) *AdminCreateUserCall
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 (*AdminCreateUserCall) Do ¶
func (c *AdminCreateUserCall) Do(opts ...googleapi.CallOption) (*AdminUser, error)
Do executes the "update.admin.createUser" call. Exactly one of *AdminUser or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdminUser.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 (*AdminCreateUserCall) Fields ¶
func (c *AdminCreateUserCall) Fields(s ...googleapi.Field) *AdminCreateUserCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AdminCreateUserCall) Header ¶
func (c *AdminCreateUserCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AdminDeleteUserCall ¶
type AdminDeleteUserCall struct {
// contains filtered or unexported fields
}
func (*AdminDeleteUserCall) Context ¶
func (c *AdminDeleteUserCall) Context(ctx context.Context) *AdminDeleteUserCall
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 (*AdminDeleteUserCall) Do ¶
func (c *AdminDeleteUserCall) Do(opts ...googleapi.CallOption) (*AdminUser, error)
Do executes the "update.admin.deleteUser" call. Exactly one of *AdminUser or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdminUser.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 (*AdminDeleteUserCall) Fields ¶
func (c *AdminDeleteUserCall) Fields(s ...googleapi.Field) *AdminDeleteUserCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AdminDeleteUserCall) Header ¶
func (c *AdminDeleteUserCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AdminGenTokenCall ¶
type AdminGenTokenCall struct {
// contains filtered or unexported fields
}
func (*AdminGenTokenCall) Context ¶
func (c *AdminGenTokenCall) Context(ctx context.Context) *AdminGenTokenCall
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 (*AdminGenTokenCall) Do ¶
func (c *AdminGenTokenCall) Do(opts ...googleapi.CallOption) (*AdminUser, error)
Do executes the "update.admin.genToken" call. Exactly one of *AdminUser or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdminUser.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 (*AdminGenTokenCall) Fields ¶
func (c *AdminGenTokenCall) Fields(s ...googleapi.Field) *AdminGenTokenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AdminGenTokenCall) Header ¶
func (c *AdminGenTokenCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AdminGetUserCall ¶
type AdminGetUserCall struct {
// contains filtered or unexported fields
}
func (*AdminGetUserCall) Context ¶
func (c *AdminGetUserCall) Context(ctx context.Context) *AdminGetUserCall
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 (*AdminGetUserCall) Do ¶
func (c *AdminGetUserCall) Do(opts ...googleapi.CallOption) (*AdminUser, error)
Do executes the "update.admin.getUser" call. Exactly one of *AdminUser or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdminUser.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 (*AdminGetUserCall) Fields ¶
func (c *AdminGetUserCall) Fields(s ...googleapi.Field) *AdminGetUserCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AdminGetUserCall) Header ¶
func (c *AdminGetUserCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AdminGetUserCall) IfNoneMatch ¶
func (c *AdminGetUserCall) IfNoneMatch(entityTag string) *AdminGetUserCall
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 AdminListUsersCall ¶
type AdminListUsersCall struct {
// contains filtered or unexported fields
}
func (*AdminListUsersCall) Context ¶
func (c *AdminListUsersCall) Context(ctx context.Context) *AdminListUsersCall
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 (*AdminListUsersCall) Do ¶
func (c *AdminListUsersCall) Do(opts ...googleapi.CallOption) (*AdminListUsersResp, error)
Do executes the "update.admin.listUsers" call. Exactly one of *AdminListUsersResp or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdminListUsersResp.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 (*AdminListUsersCall) Fields ¶
func (c *AdminListUsersCall) Fields(s ...googleapi.Field) *AdminListUsersCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AdminListUsersCall) Header ¶
func (c *AdminListUsersCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AdminListUsersCall) IfNoneMatch ¶
func (c *AdminListUsersCall) IfNoneMatch(entityTag string) *AdminListUsersCall
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 AdminListUsersResp ¶
type AdminListUsersResp struct { Users []*AdminUser `json:"users,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Users") 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. "Users") 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:"-"` }
func (*AdminListUsersResp) MarshalJSON ¶
func (s *AdminListUsersResp) MarshalJSON() ([]byte, error)
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 AdminUser ¶
type AdminUser struct { Token string `json:"token,omitempty"` User string `json:"user,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Token") 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. "Token") 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:"-"` }
func (*AdminUser) MarshalJSON ¶
type AdminUserReq ¶
type AdminUserReq struct { UserName string `json:"userName,omitempty"` // ForceSendFields is a list of field names (e.g. "UserName") 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. "UserName") 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:"-"` }
func (*AdminUserReq) MarshalJSON ¶
func (s *AdminUserReq) MarshalJSON() ([]byte, error)
type App ¶
type App struct { Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Label string `json:"label,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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:"-"` }
func (*App) MarshalJSON ¶
type AppChannel ¶
type AppChannel struct { AppId string `json:"appId,omitempty"` DateCreated string `json:"dateCreated,omitempty"` Label string `json:"label,omitempty"` Publish bool `json:"publish,omitempty"` Upstream string `json:"upstream,omitempty"` Version string `json:"version,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AppId") 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. "AppId") 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:"-"` }
func (*AppChannel) MarshalJSON ¶
func (s *AppChannel) MarshalJSON() ([]byte, error)
type AppDeleteCall ¶
type AppDeleteCall struct {
// contains filtered or unexported fields
}
func (*AppDeleteCall) Context ¶
func (c *AppDeleteCall) Context(ctx context.Context) *AppDeleteCall
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 (*AppDeleteCall) Do ¶
func (c *AppDeleteCall) Do(opts ...googleapi.CallOption) (*App, error)
Do executes the "update.app.delete" call. Exactly one of *App or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *App.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 (*AppDeleteCall) Fields ¶
func (c *AppDeleteCall) Fields(s ...googleapi.Field) *AppDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppDeleteCall) Header ¶
func (c *AppDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AppGetCall ¶
type AppGetCall struct {
// contains filtered or unexported fields
}
func (*AppGetCall) Context ¶
func (c *AppGetCall) Context(ctx context.Context) *AppGetCall
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 (*AppGetCall) Do ¶
func (c *AppGetCall) Do(opts ...googleapi.CallOption) (*App, error)
Do executes the "update.app.get" call. Exactly one of *App or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *App.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 (*AppGetCall) Fields ¶
func (c *AppGetCall) Fields(s ...googleapi.Field) *AppGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppGetCall) Header ¶
func (c *AppGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppGetCall) IfNoneMatch ¶
func (c *AppGetCall) IfNoneMatch(entityTag string) *AppGetCall
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 AppInsertCall ¶ added in v1.3.0
type AppInsertCall struct {
// contains filtered or unexported fields
}
func (*AppInsertCall) Context ¶
func (c *AppInsertCall) Context(ctx context.Context) *AppInsertCall
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 (*AppInsertCall) Do ¶ added in v1.3.0
func (c *AppInsertCall) Do(opts ...googleapi.CallOption) (*App, error)
Do executes the "update.app.insert" call. Exactly one of *App or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *App.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 (*AppInsertCall) Fields ¶
func (c *AppInsertCall) Fields(s ...googleapi.Field) *AppInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppInsertCall) Header ¶
func (c *AppInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AppInsertReq ¶ added in v1.3.0
type AppInsertReq struct { Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Label string `json:"label,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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:"-"` }
func (*AppInsertReq) MarshalJSON ¶
func (s *AppInsertReq) MarshalJSON() ([]byte, error)
type AppListCall ¶
type AppListCall struct {
// contains filtered or unexported fields
}
func (*AppListCall) Context ¶
func (c *AppListCall) Context(ctx context.Context) *AppListCall
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 (*AppListCall) Do ¶
func (c *AppListCall) Do(opts ...googleapi.CallOption) (*AppListResp, error)
Do executes the "update.app.list" call. Exactly one of *AppListResp or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppListResp.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 (*AppListCall) Fields ¶
func (c *AppListCall) Fields(s ...googleapi.Field) *AppListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppListCall) Header ¶
func (c *AppListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppListCall) IfNoneMatch ¶
func (c *AppListCall) IfNoneMatch(entityTag string) *AppListCall
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 AppListResp ¶
type AppListResp struct { Items []*App `json:"items,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:"-"` }
func (*AppListResp) MarshalJSON ¶
func (s *AppListResp) MarshalJSON() ([]byte, error)
type AppPackageDeleteCall ¶
type AppPackageDeleteCall struct {
// contains filtered or unexported fields
}
func (*AppPackageDeleteCall) Context ¶
func (c *AppPackageDeleteCall) Context(ctx context.Context) *AppPackageDeleteCall
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 (*AppPackageDeleteCall) Do ¶
func (c *AppPackageDeleteCall) Do(opts ...googleapi.CallOption) (*Package, error)
Do executes the "update.app.package.delete" call. Exactly one of *Package or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Package.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 (*AppPackageDeleteCall) Fields ¶
func (c *AppPackageDeleteCall) Fields(s ...googleapi.Field) *AppPackageDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppPackageDeleteCall) Header ¶
func (c *AppPackageDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
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) Context ¶
func (c *AppPackageInsertCall) Context(ctx context.Context) *AppPackageInsertCall
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 (*AppPackageInsertCall) Do ¶
func (c *AppPackageInsertCall) Do(opts ...googleapi.CallOption) (*Package, error)
Do executes the "update.app.package.insert" call. Exactly one of *Package or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Package.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 (*AppPackageInsertCall) Fields ¶
func (c *AppPackageInsertCall) Fields(s ...googleapi.Field) *AppPackageInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppPackageInsertCall) Header ¶
func (c *AppPackageInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AppPackageListCall ¶
type AppPackageListCall struct {
// contains filtered or unexported fields
}
func (*AppPackageListCall) Context ¶
func (c *AppPackageListCall) Context(ctx context.Context) *AppPackageListCall
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 (*AppPackageListCall) Do ¶
func (c *AppPackageListCall) Do(opts ...googleapi.CallOption) (*PackageList, error)
Do executes the "update.app.package.list" call. Exactly one of *PackageList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PackageList.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 (*AppPackageListCall) Fields ¶
func (c *AppPackageListCall) Fields(s ...googleapi.Field) *AppPackageListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppPackageListCall) Header ¶
func (c *AppPackageListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppPackageListCall) IfNoneMatch ¶
func (c *AppPackageListCall) IfNoneMatch(entityTag string) *AppPackageListCall
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 (*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) Context ¶
func (c *AppPackagePublicListCall) Context(ctx context.Context) *AppPackagePublicListCall
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 (*AppPackagePublicListCall) Do ¶ added in v1.2.0
func (c *AppPackagePublicListCall) Do(opts ...googleapi.CallOption) (*PublicPackageList, error)
Do executes the "update.app.package.publicList" call. Exactly one of *PublicPackageList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PublicPackageList.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 (*AppPackagePublicListCall) Fields ¶
func (c *AppPackagePublicListCall) Fields(s ...googleapi.Field) *AppPackagePublicListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppPackagePublicListCall) Header ¶
func (c *AppPackagePublicListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppPackagePublicListCall) IfNoneMatch ¶
func (c *AppPackagePublicListCall) IfNoneMatch(entityTag string) *AppPackagePublicListCall
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 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) Context ¶
func (c *AppPatchCall) Context(ctx context.Context) *AppPatchCall
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 (*AppPatchCall) Do ¶
func (c *AppPatchCall) Do(opts ...googleapi.CallOption) (*App, error)
Do executes the "update.app.patch" call. Exactly one of *App or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *App.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 (*AppPatchCall) Fields ¶
func (c *AppPatchCall) Fields(s ...googleapi.Field) *AppPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppPatchCall) Header ¶
func (c *AppPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
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) Context ¶
func (c *AppUpdateCall) Context(ctx context.Context) *AppUpdateCall
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 (*AppUpdateCall) Do ¶
func (c *AppUpdateCall) Do(opts ...googleapi.CallOption) (*App, error)
Do executes the "update.app.update" call. Exactly one of *App or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *App.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 (*AppUpdateCall) Fields ¶
func (c *AppUpdateCall) Fields(s ...googleapi.Field) *AppUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppUpdateCall) Header ¶
func (c *AppUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AppUpdateReq ¶
type AppUpdateReq struct { Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Label string `json:"label,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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:"-"` }
func (*AppUpdateReq) MarshalJSON ¶
func (s *AppUpdateReq) MarshalJSON() ([]byte, error)
type AppVersionItem ¶
type AppVersionItem struct { AppId string `json:"appId,omitempty"` Count int64 `json:"count,omitempty"` GroupId string `json:"groupId,omitempty"` Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "AppId") 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. "AppId") 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:"-"` }
func (*AppVersionItem) MarshalJSON ¶
func (s *AppVersionItem) MarshalJSON() ([]byte, error)
type AppVersionList ¶
type AppVersionList struct { Items []*AppVersionItem `json:"items,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:"-"` }
func (*AppVersionList) MarshalJSON ¶
func (s *AppVersionList) MarshalJSON() ([]byte, error)
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) Context ¶
func (c *AppversionListCall) Context(ctx context.Context) *AppversionListCall
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 (*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(opts ...googleapi.CallOption) (*AppVersionList, error)
Do executes the "update.appversion.list" call. Exactly one of *AppVersionList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppVersionList.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 (*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) Fields ¶
func (c *AppversionListCall) Fields(s ...googleapi.Field) *AppversionListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppversionListCall) GroupId ¶
func (c *AppversionListCall) GroupId(groupId string) *AppversionListCall
GroupId sets the optional parameter "groupId":
func (*AppversionListCall) Header ¶
func (c *AppversionListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppversionListCall) IfNoneMatch ¶
func (c *AppversionListCall) IfNoneMatch(entityTag string) *AppversionListCall
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 (*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) Context ¶
func (c *ChannelDeleteCall) Context(ctx context.Context) *ChannelDeleteCall
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 (*ChannelDeleteCall) Do ¶
func (c *ChannelDeleteCall) Do(opts ...googleapi.CallOption) (*ChannelRequest, error)
Do executes the "update.channel.delete" call. Exactly one of *ChannelRequest or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ChannelRequest.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 (*ChannelDeleteCall) Fields ¶
func (c *ChannelDeleteCall) Fields(s ...googleapi.Field) *ChannelDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ChannelDeleteCall) Header ¶
func (c *ChannelDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
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) Context ¶
func (c *ChannelInsertCall) Context(ctx context.Context) *ChannelInsertCall
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 (*ChannelInsertCall) Do ¶ added in v1.3.0
func (c *ChannelInsertCall) Do(opts ...googleapi.CallOption) (*AppChannel, error)
Do executes the "update.channel.insert" call. Exactly one of *AppChannel or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppChannel.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 (*ChannelInsertCall) Fields ¶
func (c *ChannelInsertCall) Fields(s ...googleapi.Field) *ChannelInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ChannelInsertCall) Header ¶
func (c *ChannelInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ChannelListCall ¶
type ChannelListCall struct {
// contains filtered or unexported fields
}
func (*ChannelListCall) Context ¶
func (c *ChannelListCall) Context(ctx context.Context) *ChannelListCall
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 (*ChannelListCall) Do ¶
func (c *ChannelListCall) Do(opts ...googleapi.CallOption) (*ChannelListResp, error)
Do executes the "update.channel.list" call. Exactly one of *ChannelListResp or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ChannelListResp.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 (*ChannelListCall) Fields ¶
func (c *ChannelListCall) Fields(s ...googleapi.Field) *ChannelListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ChannelListCall) Header ¶
func (c *ChannelListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ChannelListCall) IfNoneMatch ¶
func (c *ChannelListCall) IfNoneMatch(entityTag string) *ChannelListCall
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 ChannelListResp ¶
type ChannelListResp struct { Items []*AppChannel `json:"items,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:"-"` }
func (*ChannelListResp) MarshalJSON ¶
func (s *ChannelListResp) MarshalJSON() ([]byte, error)
type ChannelPublicListCall ¶ added in v1.2.0
type ChannelPublicListCall struct {
// contains filtered or unexported fields
}
func (*ChannelPublicListCall) Context ¶
func (c *ChannelPublicListCall) Context(ctx context.Context) *ChannelPublicListCall
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 (*ChannelPublicListCall) Do ¶ added in v1.2.0
func (c *ChannelPublicListCall) Do(opts ...googleapi.CallOption) (*ChannelListResp, error)
Do executes the "update.channel.publicList" call. Exactly one of *ChannelListResp or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ChannelListResp.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 (*ChannelPublicListCall) Fields ¶
func (c *ChannelPublicListCall) Fields(s ...googleapi.Field) *ChannelPublicListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ChannelPublicListCall) Header ¶
func (c *ChannelPublicListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ChannelPublicListCall) IfNoneMatch ¶
func (c *ChannelPublicListCall) IfNoneMatch(entityTag string) *ChannelPublicListCall
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 ChannelRequest ¶
type ChannelRequest struct { AppId string `json:"appId,omitempty"` Label string `json:"label,omitempty"` Publish bool `json:"publish,omitempty"` Version string `json:"version,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AppId") 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. "AppId") 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:"-"` }
func (*ChannelRequest) MarshalJSON ¶
func (s *ChannelRequest) MarshalJSON() ([]byte, error)
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) Context ¶
func (c *ChannelUpdateCall) Context(ctx context.Context) *ChannelUpdateCall
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 (*ChannelUpdateCall) Do ¶
func (c *ChannelUpdateCall) Do(opts ...googleapi.CallOption) (*AppChannel, error)
Do executes the "update.channel.update" call. Exactly one of *AppChannel or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppChannel.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 (*ChannelUpdateCall) Fields ¶
func (c *ChannelUpdateCall) Fields(s ...googleapi.Field) *ChannelUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ChannelUpdateCall) Header ¶
func (c *ChannelUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ClientCountResp ¶
type ClientCountResp struct { Count int64 `json:"count,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // 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:"-"` }
func (*ClientCountResp) MarshalJSON ¶
func (s *ClientCountResp) MarshalJSON() ([]byte, error)
type ClientHistoryCall ¶
type ClientHistoryCall struct {
// contains filtered or unexported fields
}
func (*ClientHistoryCall) Context ¶
func (c *ClientHistoryCall) Context(ctx context.Context) *ClientHistoryCall
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 (*ClientHistoryCall) Do ¶
func (c *ClientHistoryCall) Do(opts ...googleapi.CallOption) (*ClientHistoryResp, error)
Do executes the "update.client.history" call. Exactly one of *ClientHistoryResp or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ClientHistoryResp.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 (*ClientHistoryCall) Fields ¶
func (c *ClientHistoryCall) Fields(s ...googleapi.Field) *ClientHistoryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ClientHistoryCall) Header ¶
func (c *ClientHistoryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ClientHistoryCall) IfNoneMatch ¶
func (c *ClientHistoryCall) IfNoneMatch(entityTag string) *ClientHistoryCall
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 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"` InstallSource string `json:"installSource,omitempty"` Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "DateTime") 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. "DateTime") 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:"-"` }
func (*ClientHistoryItem) MarshalJSON ¶
func (s *ClientHistoryItem) MarshalJSON() ([]byte, error)
type ClientHistoryResp ¶
type ClientHistoryResp struct { Items []*ClientHistoryItem `json:"items,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:"-"` }
func (*ClientHistoryResp) MarshalJSON ¶
func (s *ClientHistoryResp) MarshalJSON() ([]byte, error)
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"` // ForceSendFields is a list of field names (e.g. "AppId") 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. "AppId") 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:"-"` }
func (*ClientUpdate) MarshalJSON ¶
func (s *ClientUpdate) MarshalJSON() ([]byte, error)
type ClientUpdateList ¶
type ClientUpdateList struct { Items []*ClientUpdate `json:"items,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:"-"` }
func (*ClientUpdateList) MarshalJSON ¶
func (s *ClientUpdateList) MarshalJSON() ([]byte, error)
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) Context ¶
func (c *ClientupdateCountCall) Context(ctx context.Context) *ClientupdateCountCall
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 (*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(opts ...googleapi.CallOption) (*ClientCountResp, error)
Do executes the "update.clientupdate.count" call. Exactly one of *ClientCountResp or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ClientCountResp.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 (*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) Fields ¶
func (c *ClientupdateCountCall) Fields(s ...googleapi.Field) *ClientupdateCountCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ClientupdateCountCall) GroupId ¶
func (c *ClientupdateCountCall) GroupId(groupId string) *ClientupdateCountCall
GroupId sets the optional parameter "groupId":
func (*ClientupdateCountCall) Header ¶
func (c *ClientupdateCountCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ClientupdateCountCall) IfNoneMatch ¶
func (c *ClientupdateCountCall) IfNoneMatch(entityTag string) *ClientupdateCountCall
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 (*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) Context ¶
func (c *ClientupdateListCall) Context(ctx context.Context) *ClientupdateListCall
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 (*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(opts ...googleapi.CallOption) (*ClientUpdateList, error)
Do executes the "update.clientupdate.list" call. Exactly one of *ClientUpdateList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ClientUpdateList.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 (*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) Fields ¶
func (c *ClientupdateListCall) Fields(s ...googleapi.Field) *ClientupdateListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ClientupdateListCall) GroupId ¶
func (c *ClientupdateListCall) GroupId(groupId string) *ClientupdateListCall
GroupId sets the optional parameter "groupId":
func (*ClientupdateListCall) Header ¶
func (c *ClientupdateListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ClientupdateListCall) IfNoneMatch ¶
func (c *ClientupdateListCall) IfNoneMatch(entityTag string) *ClientupdateListCall
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 (*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 Frame ¶
type Frame struct { Duration int64 `json:"duration,omitempty,string"` Percent float64 `json:"percent,omitempty"` // ForceSendFields is a list of field names (e.g. "Duration") 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. "Duration") 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:"-"` }
func (*Frame) MarshalJSON ¶
func (*Frame) UnmarshalJSON ¶
type GenerateUuidResp ¶
type GenerateUuidResp struct { Uuid string `json:"uuid,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Uuid") 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. "Uuid") 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:"-"` }
func (*GenerateUuidResp) MarshalJSON ¶
func (s *GenerateUuidResp) MarshalJSON() ([]byte, error)
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"` RolloutActive bool `json:"rolloutActive,omitempty"` UpdatePercent float64 `json:"updatePercent,omitempty"` UpdatesPaused bool `json:"updatesPaused,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AppId") 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. "AppId") 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:"-"` }
func (*Group) MarshalJSON ¶
func (*Group) UnmarshalJSON ¶
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) Context ¶
func (c *GroupDeleteCall) Context(ctx context.Context) *GroupDeleteCall
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 (*GroupDeleteCall) Do ¶
func (c *GroupDeleteCall) Do(opts ...googleapi.CallOption) (*Group, error)
Do executes the "update.group.delete" call. Exactly one of *Group or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Group.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 (*GroupDeleteCall) Fields ¶
func (c *GroupDeleteCall) Fields(s ...googleapi.Field) *GroupDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupDeleteCall) Header ¶
func (c *GroupDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
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) RolloutActive ¶
func (c *GroupDeleteCall) RolloutActive(rolloutActive bool) *GroupDeleteCall
RolloutActive sets the optional parameter "rolloutActive":
func (*GroupDeleteCall) UpdatePercent ¶
func (c *GroupDeleteCall) UpdatePercent(updatePercent float64) *GroupDeleteCall
UpdatePercent sets the optional parameter "updatePercent":
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) Context ¶
func (c *GroupGetCall) Context(ctx context.Context) *GroupGetCall
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 (*GroupGetCall) Do ¶
func (c *GroupGetCall) Do(opts ...googleapi.CallOption) (*Group, error)
Do executes the "update.group.get" call. Exactly one of *Group or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Group.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 (*GroupGetCall) Fields ¶
func (c *GroupGetCall) Fields(s ...googleapi.Field) *GroupGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupGetCall) Header ¶
func (c *GroupGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GroupGetCall) IfNoneMatch ¶
func (c *GroupGetCall) IfNoneMatch(entityTag string) *GroupGetCall
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 (*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) RolloutActive ¶
func (c *GroupGetCall) RolloutActive(rolloutActive bool) *GroupGetCall
RolloutActive sets the optional parameter "rolloutActive":
func (*GroupGetCall) UpdatePercent ¶
func (c *GroupGetCall) UpdatePercent(updatePercent float64) *GroupGetCall
UpdatePercent sets the optional parameter "updatePercent":
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) Context ¶
func (c *GroupInsertCall) Context(ctx context.Context) *GroupInsertCall
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 (*GroupInsertCall) Do ¶
func (c *GroupInsertCall) Do(opts ...googleapi.CallOption) (*Group, error)
Do executes the "update.group.insert" call. Exactly one of *Group or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Group.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 (*GroupInsertCall) Fields ¶
func (c *GroupInsertCall) Fields(s ...googleapi.Field) *GroupInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupInsertCall) Header ¶
func (c *GroupInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type GroupList ¶
type GroupList struct { Items []*Group `json:"items,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:"-"` }
func (*GroupList) MarshalJSON ¶
type GroupListCall ¶
type GroupListCall struct {
// contains filtered or unexported fields
}
func (*GroupListCall) Context ¶
func (c *GroupListCall) Context(ctx context.Context) *GroupListCall
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 (*GroupListCall) Do ¶
func (c *GroupListCall) Do(opts ...googleapi.CallOption) (*GroupList, error)
Do executes the "update.group.list" call. Exactly one of *GroupList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GroupList.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 (*GroupListCall) Fields ¶
func (c *GroupListCall) Fields(s ...googleapi.Field) *GroupListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupListCall) Header ¶
func (c *GroupListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GroupListCall) IfNoneMatch ¶
func (c *GroupListCall) IfNoneMatch(entityTag string) *GroupListCall
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 (*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) Context ¶
func (c *GroupPatchCall) Context(ctx context.Context) *GroupPatchCall
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 (*GroupPatchCall) Do ¶
func (c *GroupPatchCall) Do(opts ...googleapi.CallOption) (*Group, error)
Do executes the "update.group.patch" call. Exactly one of *Group or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Group.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 (*GroupPatchCall) Fields ¶
func (c *GroupPatchCall) Fields(s ...googleapi.Field) *GroupPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupPatchCall) Header ¶
func (c *GroupPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type GroupPercent ¶
type GroupPercent struct { AppId string `json:"appId,omitempty"` Id string `json:"id,omitempty"` UpdatePercent float64 `json:"updatePercent,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AppId") 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. "AppId") 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:"-"` }
func (*GroupPercent) MarshalJSON ¶
func (s *GroupPercent) MarshalJSON() ([]byte, error)
func (*GroupPercent) UnmarshalJSON ¶
func (s *GroupPercent) UnmarshalJSON(data []byte) error
type GroupPercentGetCall ¶
type GroupPercentGetCall struct {
// contains filtered or unexported fields
}
func (*GroupPercentGetCall) Context ¶
func (c *GroupPercentGetCall) Context(ctx context.Context) *GroupPercentGetCall
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 (*GroupPercentGetCall) Do ¶
func (c *GroupPercentGetCall) Do(opts ...googleapi.CallOption) (*GroupPercent, error)
Do executes the "update.group.percent.get" call. Exactly one of *GroupPercent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GroupPercent.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 (*GroupPercentGetCall) Fields ¶
func (c *GroupPercentGetCall) Fields(s ...googleapi.Field) *GroupPercentGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupPercentGetCall) Header ¶
func (c *GroupPercentGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GroupPercentGetCall) IfNoneMatch ¶
func (c *GroupPercentGetCall) IfNoneMatch(entityTag string) *GroupPercentGetCall
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 GroupPercentService ¶
type GroupPercentService struct {
// contains filtered or unexported fields
}
func NewGroupPercentService ¶
func NewGroupPercentService(s *Service) *GroupPercentService
func (*GroupPercentService) Get ¶
func (r *GroupPercentService) Get(appId string, id string) *GroupPercentGetCall
Get: Get the update percentage for this group.
func (*GroupPercentService) Set ¶
func (r *GroupPercentService) Set(appId string, id string, grouppercent *GroupPercent) *GroupPercentSetCall
Set: Set the update percentage for this group.
type GroupPercentSetCall ¶
type GroupPercentSetCall struct {
// contains filtered or unexported fields
}
func (*GroupPercentSetCall) Context ¶
func (c *GroupPercentSetCall) Context(ctx context.Context) *GroupPercentSetCall
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 (*GroupPercentSetCall) Do ¶
func (c *GroupPercentSetCall) Do(opts ...googleapi.CallOption) (*GroupPercent, error)
Do executes the "update.group.percent.set" call. Exactly one of *GroupPercent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GroupPercent.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 (*GroupPercentSetCall) Fields ¶
func (c *GroupPercentSetCall) Fields(s ...googleapi.Field) *GroupPercentSetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupPercentSetCall) Header ¶
func (c *GroupPercentSetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type GroupRequestsEventsRollupCall ¶
type GroupRequestsEventsRollupCall struct {
// contains filtered or unexported fields
}
func (*GroupRequestsEventsRollupCall) Context ¶
func (c *GroupRequestsEventsRollupCall) Context(ctx context.Context) *GroupRequestsEventsRollupCall
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 (*GroupRequestsEventsRollupCall) Do ¶
func (c *GroupRequestsEventsRollupCall) Do(opts ...googleapi.CallOption) (*GroupRequestsRollup, error)
Do executes the "update.group.requests.events.rollup" call. Exactly one of *GroupRequestsRollup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GroupRequestsRollup.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 (*GroupRequestsEventsRollupCall) Fields ¶
func (c *GroupRequestsEventsRollupCall) Fields(s ...googleapi.Field) *GroupRequestsEventsRollupCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupRequestsEventsRollupCall) Header ¶
func (c *GroupRequestsEventsRollupCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GroupRequestsEventsRollupCall) IfNoneMatch ¶
func (c *GroupRequestsEventsRollupCall) IfNoneMatch(entityTag string) *GroupRequestsEventsRollupCall
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 (*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"` // ForceSendFields is a list of field names (e.g. "Result") 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. "Result") 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:"-"` }
func (*GroupRequestsItem) MarshalJSON ¶
func (s *GroupRequestsItem) MarshalJSON() ([]byte, error)
type GroupRequestsRollup ¶
type GroupRequestsRollup struct { Items []*GroupRequestsItem `json:"items,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:"-"` }
func (*GroupRequestsRollup) MarshalJSON ¶
func (s *GroupRequestsRollup) MarshalJSON() ([]byte, error)
type GroupRequestsService ¶
type GroupRequestsService struct { Events *GroupRequestsEventsService Versions *GroupRequestsVersionsService // contains filtered or unexported fields }
func NewGroupRequestsService ¶
func NewGroupRequestsService(s *Service) *GroupRequestsService
type GroupRequestsValues ¶
type GroupRequestsValues struct { Count int64 `json:"count,omitempty,string"` Timestamp int64 `json:"timestamp,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:"-"` }
func (*GroupRequestsValues) MarshalJSON ¶
func (s *GroupRequestsValues) MarshalJSON() ([]byte, error)
type GroupRequestsVersionsRollupCall ¶
type GroupRequestsVersionsRollupCall struct {
// contains filtered or unexported fields
}
func (*GroupRequestsVersionsRollupCall) Context ¶
func (c *GroupRequestsVersionsRollupCall) Context(ctx context.Context) *GroupRequestsVersionsRollupCall
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 (*GroupRequestsVersionsRollupCall) Do ¶
func (c *GroupRequestsVersionsRollupCall) Do(opts ...googleapi.CallOption) (*GroupRequestsRollup, error)
Do executes the "update.group.requests.versions.rollup" call. Exactly one of *GroupRequestsRollup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GroupRequestsRollup.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 (*GroupRequestsVersionsRollupCall) Fields ¶
func (c *GroupRequestsVersionsRollupCall) Fields(s ...googleapi.Field) *GroupRequestsVersionsRollupCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupRequestsVersionsRollupCall) Header ¶
func (c *GroupRequestsVersionsRollupCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GroupRequestsVersionsRollupCall) IfNoneMatch ¶
func (c *GroupRequestsVersionsRollupCall) IfNoneMatch(entityTag string) *GroupRequestsVersionsRollupCall
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 (*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 GroupRolloutActiveGetCall ¶
type GroupRolloutActiveGetCall struct {
// contains filtered or unexported fields
}
func (*GroupRolloutActiveGetCall) Context ¶
func (c *GroupRolloutActiveGetCall) Context(ctx context.Context) *GroupRolloutActiveGetCall
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 (*GroupRolloutActiveGetCall) Do ¶
func (c *GroupRolloutActiveGetCall) Do(opts ...googleapi.CallOption) (*RolloutActive, error)
Do executes the "update.group.rollout.active.get" call. Exactly one of *RolloutActive or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RolloutActive.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 (*GroupRolloutActiveGetCall) Fields ¶
func (c *GroupRolloutActiveGetCall) Fields(s ...googleapi.Field) *GroupRolloutActiveGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupRolloutActiveGetCall) Header ¶
func (c *GroupRolloutActiveGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GroupRolloutActiveGetCall) IfNoneMatch ¶
func (c *GroupRolloutActiveGetCall) IfNoneMatch(entityTag string) *GroupRolloutActiveGetCall
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 GroupRolloutActiveService ¶
type GroupRolloutActiveService struct {
// contains filtered or unexported fields
}
func NewGroupRolloutActiveService ¶
func NewGroupRolloutActiveService(s *Service) *GroupRolloutActiveService
func (*GroupRolloutActiveService) Get ¶
func (r *GroupRolloutActiveService) Get(appId string, groupId string) *GroupRolloutActiveGetCall
Get: Get the active status of the rollout for this group.
func (*GroupRolloutActiveService) Set ¶
func (r *GroupRolloutActiveService) Set(appId string, groupId string, rolloutactive *RolloutActive) *GroupRolloutActiveSetCall
Set: Set the active status of the rollout for this group.
type GroupRolloutActiveSetCall ¶
type GroupRolloutActiveSetCall struct {
// contains filtered or unexported fields
}
func (*GroupRolloutActiveSetCall) Context ¶
func (c *GroupRolloutActiveSetCall) Context(ctx context.Context) *GroupRolloutActiveSetCall
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 (*GroupRolloutActiveSetCall) Do ¶
func (c *GroupRolloutActiveSetCall) Do(opts ...googleapi.CallOption) (*RolloutActive, error)
Do executes the "update.group.rollout.active.set" call. Exactly one of *RolloutActive or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RolloutActive.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 (*GroupRolloutActiveSetCall) Fields ¶
func (c *GroupRolloutActiveSetCall) Fields(s ...googleapi.Field) *GroupRolloutActiveSetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupRolloutActiveSetCall) Header ¶
func (c *GroupRolloutActiveSetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type GroupRolloutGetCall ¶
type GroupRolloutGetCall struct {
// contains filtered or unexported fields
}
func (*GroupRolloutGetCall) Context ¶
func (c *GroupRolloutGetCall) Context(ctx context.Context) *GroupRolloutGetCall
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 (*GroupRolloutGetCall) Do ¶
func (c *GroupRolloutGetCall) Do(opts ...googleapi.CallOption) (*Rollout, error)
Do executes the "update.group.rollout.get" call. Exactly one of *Rollout or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Rollout.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 (*GroupRolloutGetCall) Fields ¶
func (c *GroupRolloutGetCall) Fields(s ...googleapi.Field) *GroupRolloutGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupRolloutGetCall) Header ¶
func (c *GroupRolloutGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GroupRolloutGetCall) IfNoneMatch ¶
func (c *GroupRolloutGetCall) IfNoneMatch(entityTag string) *GroupRolloutGetCall
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 GroupRolloutService ¶
type GroupRolloutService struct { Active *GroupRolloutActiveService // contains filtered or unexported fields }
func NewGroupRolloutService ¶
func NewGroupRolloutService(s *Service) *GroupRolloutService
func (*GroupRolloutService) Get ¶
func (r *GroupRolloutService) Get(appId string, groupId string) *GroupRolloutGetCall
Get: Get the current rollout strategy for this group.
func (*GroupRolloutService) Set ¶
func (r *GroupRolloutService) Set(appId string, groupId string, rollout *Rollout) *GroupRolloutSetCall
Set: Set (and start) a new rollout strategy for this group.
type GroupRolloutSetCall ¶
type GroupRolloutSetCall struct {
// contains filtered or unexported fields
}
func (*GroupRolloutSetCall) Context ¶
func (c *GroupRolloutSetCall) Context(ctx context.Context) *GroupRolloutSetCall
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 (*GroupRolloutSetCall) Do ¶
func (c *GroupRolloutSetCall) Do(opts ...googleapi.CallOption) (*Rollout, error)
Do executes the "update.group.rollout.set" call. Exactly one of *Rollout or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Rollout.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 (*GroupRolloutSetCall) Fields ¶
func (c *GroupRolloutSetCall) Fields(s ...googleapi.Field) *GroupRolloutSetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupRolloutSetCall) Header ¶
func (c *GroupRolloutSetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type GroupService ¶
type GroupService struct { Percent *GroupPercentService Requests *GroupRequestsService Rollout *GroupRolloutService // 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) Context ¶
func (c *GroupUpdateCall) Context(ctx context.Context) *GroupUpdateCall
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 (*GroupUpdateCall) Do ¶ added in v1.3.1
func (c *GroupUpdateCall) Do(opts ...googleapi.CallOption) (*Group, error)
Do executes the "update.group.update" call. Exactly one of *Group or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Group.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 (*GroupUpdateCall) Fields ¶
func (c *GroupUpdateCall) Fields(s ...googleapi.Field) *GroupUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GroupUpdateCall) Header ¶
func (c *GroupUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AppId") 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. "AppId") 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:"-"` }
func (*Package) MarshalJSON ¶
type PackageList ¶
type PackageList struct { Items []*Package `json:"items,omitempty"` Total int64 `json:"total,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:"-"` }
func (*PackageList) MarshalJSON ¶
func (s *PackageList) MarshalJSON() ([]byte, error)
type PublicPackageItem ¶ added in v1.2.0
type PublicPackageItem struct { AppId string `json:"AppId,omitempty"` Packages []*Package `json:"packages,omitempty"` // ForceSendFields is a list of field names (e.g. "AppId") 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. "AppId") 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:"-"` }
func (*PublicPackageItem) MarshalJSON ¶
func (s *PublicPackageItem) MarshalJSON() ([]byte, error)
type PublicPackageList ¶ added in v1.2.0
type PublicPackageList struct { Items []*PublicPackageItem `json:"items,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:"-"` }
func (*PublicPackageList) MarshalJSON ¶
func (s *PublicPackageList) MarshalJSON() ([]byte, error)
type Rollout ¶
type Rollout struct { AppId string `json:"appId,omitempty"` GroupId string `json:"groupId,omitempty"` Rollout []*Frame `json:"rollout,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AppId") 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. "AppId") 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:"-"` }
func (*Rollout) MarshalJSON ¶
type RolloutActive ¶
type RolloutActive struct { Active bool `json:"active,omitempty"` AppId string `json:"appId,omitempty"` GroupId string `json:"groupId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Active") 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. "Active") 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:"-"` }
func (*RolloutActive) MarshalJSON ¶
func (s *RolloutActive) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Admin *AdminService App *AppService Appversion *AppversionService Channel *ChannelService Client *ClientService Clientupdate *ClientupdateService Group *GroupService Upstream *UpstreamService Util *UtilService // contains filtered or unexported fields }
type Upstream ¶ added in v1.2.0
type Upstream struct { Id string `json:"id,omitempty"` Label string `json:"label,omitempty"` Url string `json:"url,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Id") 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. "Id") 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:"-"` }
func (*Upstream) MarshalJSON ¶
type UpstreamDeleteCall ¶ added in v1.2.0
type UpstreamDeleteCall struct {
// contains filtered or unexported fields
}
func (*UpstreamDeleteCall) Context ¶
func (c *UpstreamDeleteCall) Context(ctx context.Context) *UpstreamDeleteCall
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 (*UpstreamDeleteCall) Do ¶ added in v1.2.0
func (c *UpstreamDeleteCall) Do(opts ...googleapi.CallOption) (*Upstream, error)
Do executes the "update.upstream.delete" call. Exactly one of *Upstream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Upstream.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 (*UpstreamDeleteCall) Fields ¶
func (c *UpstreamDeleteCall) Fields(s ...googleapi.Field) *UpstreamDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UpstreamDeleteCall) Header ¶
func (c *UpstreamDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
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) Context ¶
func (c *UpstreamInsertCall) Context(ctx context.Context) *UpstreamInsertCall
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 (*UpstreamInsertCall) Do ¶ added in v1.3.0
func (c *UpstreamInsertCall) Do(opts ...googleapi.CallOption) (*Upstream, error)
Do executes the "update.upstream.insert" call. Exactly one of *Upstream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Upstream.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 (*UpstreamInsertCall) Fields ¶
func (c *UpstreamInsertCall) Fields(s ...googleapi.Field) *UpstreamInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UpstreamInsertCall) Header ¶
func (c *UpstreamInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type UpstreamListCall ¶ added in v1.2.0
type UpstreamListCall struct {
// contains filtered or unexported fields
}
func (*UpstreamListCall) Context ¶
func (c *UpstreamListCall) Context(ctx context.Context) *UpstreamListCall
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 (*UpstreamListCall) Do ¶ added in v1.2.0
func (c *UpstreamListCall) Do(opts ...googleapi.CallOption) (*UpstreamListResp, error)
Do executes the "update.upstream.list" call. Exactly one of *UpstreamListResp or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UpstreamListResp.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 (*UpstreamListCall) Fields ¶
func (c *UpstreamListCall) Fields(s ...googleapi.Field) *UpstreamListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UpstreamListCall) Header ¶
func (c *UpstreamListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*UpstreamListCall) IfNoneMatch ¶
func (c *UpstreamListCall) IfNoneMatch(entityTag string) *UpstreamListCall
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 UpstreamListResp ¶ added in v1.2.0
type UpstreamListResp struct { Items []*Upstream `json:"items,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:"-"` }
func (*UpstreamListResp) MarshalJSON ¶
func (s *UpstreamListResp) MarshalJSON() ([]byte, error)
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 string) *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 string, upstream *Upstream) *UpstreamUpdateCall
Update: Update an upstream.
type UpstreamSyncCall ¶ added in v1.2.0
type UpstreamSyncCall struct {
// contains filtered or unexported fields
}
func (*UpstreamSyncCall) Context ¶
func (c *UpstreamSyncCall) Context(ctx context.Context) *UpstreamSyncCall
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 (*UpstreamSyncCall) Do ¶ added in v1.2.0
func (c *UpstreamSyncCall) Do(opts ...googleapi.CallOption) (*UpstreamSyncResp, error)
Do executes the "update.upstream.sync" call. Exactly one of *UpstreamSyncResp or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *UpstreamSyncResp.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 (*UpstreamSyncCall) Fields ¶
func (c *UpstreamSyncCall) Fields(s ...googleapi.Field) *UpstreamSyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UpstreamSyncCall) Header ¶
func (c *UpstreamSyncCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type UpstreamSyncResp ¶ added in v1.2.0
type UpstreamSyncResp struct { Detail string `json:"detail,omitempty"` Status string `json:"status,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Detail") 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. "Detail") 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:"-"` }
func (*UpstreamSyncResp) MarshalJSON ¶
func (s *UpstreamSyncResp) MarshalJSON() ([]byte, error)
type UpstreamUpdateCall ¶ added in v1.2.0
type UpstreamUpdateCall struct {
// contains filtered or unexported fields
}
func (*UpstreamUpdateCall) Context ¶
func (c *UpstreamUpdateCall) Context(ctx context.Context) *UpstreamUpdateCall
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 (*UpstreamUpdateCall) Do ¶ added in v1.2.0
func (c *UpstreamUpdateCall) Do(opts ...googleapi.CallOption) (*Upstream, error)
Do executes the "update.upstream.update" call. Exactly one of *Upstream or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Upstream.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 (*UpstreamUpdateCall) Fields ¶
func (c *UpstreamUpdateCall) Fields(s ...googleapi.Field) *UpstreamUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UpstreamUpdateCall) Header ¶
func (c *UpstreamUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
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) Context ¶
func (c *UtilUuidCall) Context(ctx context.Context) *UtilUuidCall
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 (*UtilUuidCall) Do ¶
func (c *UtilUuidCall) Do(opts ...googleapi.CallOption) (*GenerateUuidResp, error)
Do executes the "update.util.uuid" call. Exactly one of *GenerateUuidResp or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GenerateUuidResp.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 (*UtilUuidCall) Fields ¶
func (c *UtilUuidCall) Fields(s ...googleapi.Field) *UtilUuidCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*UtilUuidCall) Header ¶
func (c *UtilUuidCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*UtilUuidCall) IfNoneMatch ¶
func (c *UtilUuidCall) IfNoneMatch(entityTag string) *UtilUuidCall
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.