update

package
v2.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2018 License: Apache-2.0 Imports: 13 Imported by: 1

README

API Client generation

The Update API client is automatically generated based on the API discovery functionality provided by the endpoints library. This document describes how to update updateservicectl to reflect changes in the API.

Most of the work is done by the Makefile. Before it can be run though, a couple of things have to be set up. First, stand up an instance of CoreUpdate with the API you want to generate the bindings for. Then, make sure you have the google-api-go-generator tool installed. Get it with the following command -

go get google.golang.org/api/google-api-go-generator

Once the environment is set up, simply run this make command -

make api-gen

and the bindings should be updated. Check its work, commit all the binding changes into a single, separate commit, and then update the necessary function calls to use the new bindings (if necessary).

Documentation

Overview

Package update provides access to the .

Usage example:

import "github.com/coreos/updateservicectl/client/update/v1"
...
updateService, err := update.New(oauthHttpClient)

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Size sets the optional parameter "size":

func (*AppPackageDeleteCall) Url

Url sets the optional parameter "url":

type AppPackageInsertCall

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

func (*AppPackageInsertCall) Context

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

func (*AppPackageInsertCall) Do

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

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

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

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

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

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

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

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

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

List: List all of the package versions.

func (*AppPackageService) PublicList added in v1.2.0

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) Get

func (r *AppService) Get(id string) *AppGetCall

Get: Get an application.

func (*AppService) Insert added in v1.3.0

func (r *AppService) Insert(appinsertreq *AppInsertReq) *AppInsertCall

Insert: Insert an application.

func (*AppService) List

func (r *AppService) List() *AppListCall

List: List all 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

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

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

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

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

List: List Client updates grouped by app/version.

type ChannelDeleteCall

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

func (*ChannelDeleteCall) Context

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

func (*ChannelDeleteCall) Do

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

AppId sets the optional parameter "appId":

func (*ClientupdateCountCall) Context

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

func (*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

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

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

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

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

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

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

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

Limit sets the optional parameter "limit":

func (*ClientupdateListCall) Oem

Oem sets the optional parameter "oem":

func (*ClientupdateListCall) Skip

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

Count: Get client count for criteria.

func (*ClientupdateService) List

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 (s *Frame) MarshalJSON() ([]byte, error)

func (*Frame) UnmarshalJSON

func (s *Frame) UnmarshalJSON(data []byte) error

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 (s *Group) MarshalJSON() ([]byte, error)

func (*Group) UnmarshalJSON

func (s *Group) UnmarshalJSON(data []byte) error

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (*GroupRequestsEventsRollupCall) Header

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

func (*GroupRequestsEventsRollupCall) IfNoneMatch

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

func (*GroupRequestsEventsRollupCall) Resolution

Resolution sets the optional parameter "resolution":

func (*GroupRequestsEventsRollupCall) Versions

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

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

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

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

func (*GroupRequestsVersionsRollupCall) Header

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

func (*GroupRequestsVersionsRollupCall) IfNoneMatch

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

func (*GroupRequestsVersionsRollupCall) Resolution

Resolution sets the optional parameter "resolution":

func (*GroupRequestsVersionsRollupCall) Versions

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

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

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

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

func (*GroupRolloutActiveGetCall) 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

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

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

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

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

func (*GroupRolloutActiveSetCall) 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

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

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

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

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

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

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

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

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

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

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

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

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
}

func New

func New(client *http.Client) (*Service, error)

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

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

type UpstreamDeleteCall added in v1.2.0

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

func (*UpstreamDeleteCall) Context

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

func (*UpstreamDeleteCall) Do added in v1.2.0

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

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

Url sets the optional parameter "url":

type UpstreamInsertCall added in v1.3.0

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

func (*UpstreamInsertCall) Context

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

func (*UpstreamInsertCall) Do added in v1.3.0

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

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

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

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

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

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

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

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

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

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

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

func (*UtilService) Uuid

func (r *UtilService) Uuid() *UtilUuidCall

Uuid: Generate a new UUID.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL