Documentation ¶
Overview ¶
Package androidpublisher provides access to the Google Play Developer API.
See https://developers.google.com/android-publisher
Usage example:
import "github.com/zippoxer/google-api-go-client/androidpublisher/v2" ... androidpublisherService, err := androidpublisher.New(oauthHttpClient)
Index ¶
- Constants
- type Apk
- type ApkBinary
- type ApkListing
- type ApkListingsListResponse
- type ApksAddExternallyHostedRequest
- type ApksAddExternallyHostedResponse
- type ApksListResponse
- type AppDetails
- type AppEdit
- type EditsApklistingsDeleteCall
- func (c *EditsApklistingsDeleteCall) Context(ctx context.Context) *EditsApklistingsDeleteCall
- func (c *EditsApklistingsDeleteCall) Do() error
- func (c *EditsApklistingsDeleteCall) Fields(s ...googleapi.Field) *EditsApklistingsDeleteCall
- func (c *EditsApklistingsDeleteCall) QuotaUser(quotaUser string) *EditsApklistingsDeleteCall
- func (c *EditsApklistingsDeleteCall) UserIP(userIP string) *EditsApklistingsDeleteCall
- type EditsApklistingsDeleteallCall
- func (c *EditsApklistingsDeleteallCall) Context(ctx context.Context) *EditsApklistingsDeleteallCall
- func (c *EditsApklistingsDeleteallCall) Do() error
- func (c *EditsApklistingsDeleteallCall) Fields(s ...googleapi.Field) *EditsApklistingsDeleteallCall
- func (c *EditsApklistingsDeleteallCall) QuotaUser(quotaUser string) *EditsApklistingsDeleteallCall
- func (c *EditsApklistingsDeleteallCall) UserIP(userIP string) *EditsApklistingsDeleteallCall
- type EditsApklistingsGetCall
- func (c *EditsApklistingsGetCall) Context(ctx context.Context) *EditsApklistingsGetCall
- func (c *EditsApklistingsGetCall) Do() (*ApkListing, error)
- func (c *EditsApklistingsGetCall) Fields(s ...googleapi.Field) *EditsApklistingsGetCall
- func (c *EditsApklistingsGetCall) IfNoneMatch(entityTag string) *EditsApklistingsGetCall
- func (c *EditsApklistingsGetCall) QuotaUser(quotaUser string) *EditsApklistingsGetCall
- func (c *EditsApklistingsGetCall) UserIP(userIP string) *EditsApklistingsGetCall
- type EditsApklistingsListCall
- func (c *EditsApklistingsListCall) Context(ctx context.Context) *EditsApklistingsListCall
- func (c *EditsApklistingsListCall) Do() (*ApkListingsListResponse, error)
- func (c *EditsApklistingsListCall) Fields(s ...googleapi.Field) *EditsApklistingsListCall
- func (c *EditsApklistingsListCall) IfNoneMatch(entityTag string) *EditsApklistingsListCall
- func (c *EditsApklistingsListCall) QuotaUser(quotaUser string) *EditsApklistingsListCall
- func (c *EditsApklistingsListCall) UserIP(userIP string) *EditsApklistingsListCall
- type EditsApklistingsPatchCall
- func (c *EditsApklistingsPatchCall) Context(ctx context.Context) *EditsApklistingsPatchCall
- func (c *EditsApklistingsPatchCall) Do() (*ApkListing, error)
- func (c *EditsApklistingsPatchCall) Fields(s ...googleapi.Field) *EditsApklistingsPatchCall
- func (c *EditsApklistingsPatchCall) QuotaUser(quotaUser string) *EditsApklistingsPatchCall
- func (c *EditsApklistingsPatchCall) UserIP(userIP string) *EditsApklistingsPatchCall
- type EditsApklistingsService
- func (r *EditsApklistingsService) Delete(packageNameid string, editId string, apkVersionCode int64, language string) *EditsApklistingsDeleteCall
- func (r *EditsApklistingsService) Deleteall(packageNameid string, editId string, apkVersionCode int64) *EditsApklistingsDeleteallCall
- func (r *EditsApklistingsService) Get(packageNameid string, editId string, apkVersionCode int64, language string) *EditsApklistingsGetCall
- func (r *EditsApklistingsService) List(packageNameid string, editId string, apkVersionCode int64) *EditsApklistingsListCall
- func (r *EditsApklistingsService) Patch(packageNameid string, editId string, apkVersionCode int64, language string, ...) *EditsApklistingsPatchCall
- func (r *EditsApklistingsService) Update(packageNameid string, editId string, apkVersionCode int64, language string, ...) *EditsApklistingsUpdateCall
- type EditsApklistingsUpdateCall
- func (c *EditsApklistingsUpdateCall) Context(ctx context.Context) *EditsApklistingsUpdateCall
- func (c *EditsApklistingsUpdateCall) Do() (*ApkListing, error)
- func (c *EditsApklistingsUpdateCall) Fields(s ...googleapi.Field) *EditsApklistingsUpdateCall
- func (c *EditsApklistingsUpdateCall) QuotaUser(quotaUser string) *EditsApklistingsUpdateCall
- func (c *EditsApklistingsUpdateCall) UserIP(userIP string) *EditsApklistingsUpdateCall
- type EditsApksAddexternallyhostedCall
- func (c *EditsApksAddexternallyhostedCall) Context(ctx context.Context) *EditsApksAddexternallyhostedCall
- func (c *EditsApksAddexternallyhostedCall) Do() (*ApksAddExternallyHostedResponse, error)
- func (c *EditsApksAddexternallyhostedCall) Fields(s ...googleapi.Field) *EditsApksAddexternallyhostedCall
- func (c *EditsApksAddexternallyhostedCall) QuotaUser(quotaUser string) *EditsApksAddexternallyhostedCall
- func (c *EditsApksAddexternallyhostedCall) UserIP(userIP string) *EditsApksAddexternallyhostedCall
- type EditsApksListCall
- func (c *EditsApksListCall) Context(ctx context.Context) *EditsApksListCall
- func (c *EditsApksListCall) Do() (*ApksListResponse, error)
- func (c *EditsApksListCall) Fields(s ...googleapi.Field) *EditsApksListCall
- func (c *EditsApksListCall) IfNoneMatch(entityTag string) *EditsApksListCall
- func (c *EditsApksListCall) QuotaUser(quotaUser string) *EditsApksListCall
- func (c *EditsApksListCall) UserIP(userIP string) *EditsApksListCall
- type EditsApksService
- func (r *EditsApksService) Addexternallyhosted(packageNameid string, editId string, ...) *EditsApksAddexternallyhostedCall
- func (r *EditsApksService) List(packageNameid string, editId string) *EditsApksListCall
- func (r *EditsApksService) Upload(packageNameid string, editId string) *EditsApksUploadCall
- type EditsApksUploadCall
- func (c *EditsApksUploadCall) Context(ctx context.Context) *EditsApksUploadCall
- func (c *EditsApksUploadCall) Do() (*Apk, error)
- func (c *EditsApksUploadCall) Fields(s ...googleapi.Field) *EditsApksUploadCall
- func (c *EditsApksUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsApksUploadCall
- func (c *EditsApksUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsApksUploadCall
- func (c *EditsApksUploadCall) QuotaUser(quotaUser string) *EditsApksUploadCall
- func (c *EditsApksUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsApksUploadCall
- func (c *EditsApksUploadCall) UserIP(userIP string) *EditsApksUploadCall
- type EditsCommitCall
- func (c *EditsCommitCall) Context(ctx context.Context) *EditsCommitCall
- func (c *EditsCommitCall) Do() (*AppEdit, error)
- func (c *EditsCommitCall) Fields(s ...googleapi.Field) *EditsCommitCall
- func (c *EditsCommitCall) QuotaUser(quotaUser string) *EditsCommitCall
- func (c *EditsCommitCall) UserIP(userIP string) *EditsCommitCall
- type EditsDeleteCall
- func (c *EditsDeleteCall) Context(ctx context.Context) *EditsDeleteCall
- func (c *EditsDeleteCall) Do() error
- func (c *EditsDeleteCall) Fields(s ...googleapi.Field) *EditsDeleteCall
- func (c *EditsDeleteCall) QuotaUser(quotaUser string) *EditsDeleteCall
- func (c *EditsDeleteCall) UserIP(userIP string) *EditsDeleteCall
- type EditsDetailsGetCall
- func (c *EditsDetailsGetCall) Context(ctx context.Context) *EditsDetailsGetCall
- func (c *EditsDetailsGetCall) Do() (*AppDetails, error)
- func (c *EditsDetailsGetCall) Fields(s ...googleapi.Field) *EditsDetailsGetCall
- func (c *EditsDetailsGetCall) IfNoneMatch(entityTag string) *EditsDetailsGetCall
- func (c *EditsDetailsGetCall) QuotaUser(quotaUser string) *EditsDetailsGetCall
- func (c *EditsDetailsGetCall) UserIP(userIP string) *EditsDetailsGetCall
- type EditsDetailsPatchCall
- func (c *EditsDetailsPatchCall) Context(ctx context.Context) *EditsDetailsPatchCall
- func (c *EditsDetailsPatchCall) Do() (*AppDetails, error)
- func (c *EditsDetailsPatchCall) Fields(s ...googleapi.Field) *EditsDetailsPatchCall
- func (c *EditsDetailsPatchCall) QuotaUser(quotaUser string) *EditsDetailsPatchCall
- func (c *EditsDetailsPatchCall) UserIP(userIP string) *EditsDetailsPatchCall
- type EditsDetailsService
- func (r *EditsDetailsService) Get(packageNameid string, editId string) *EditsDetailsGetCall
- func (r *EditsDetailsService) Patch(packageNameid string, editId string, appdetails *AppDetails) *EditsDetailsPatchCall
- func (r *EditsDetailsService) Update(packageNameid string, editId string, appdetails *AppDetails) *EditsDetailsUpdateCall
- type EditsDetailsUpdateCall
- func (c *EditsDetailsUpdateCall) Context(ctx context.Context) *EditsDetailsUpdateCall
- func (c *EditsDetailsUpdateCall) Do() (*AppDetails, error)
- func (c *EditsDetailsUpdateCall) Fields(s ...googleapi.Field) *EditsDetailsUpdateCall
- func (c *EditsDetailsUpdateCall) QuotaUser(quotaUser string) *EditsDetailsUpdateCall
- func (c *EditsDetailsUpdateCall) UserIP(userIP string) *EditsDetailsUpdateCall
- type EditsExpansionfilesGetCall
- func (c *EditsExpansionfilesGetCall) Context(ctx context.Context) *EditsExpansionfilesGetCall
- func (c *EditsExpansionfilesGetCall) Do() (*ExpansionFile, error)
- func (c *EditsExpansionfilesGetCall) Fields(s ...googleapi.Field) *EditsExpansionfilesGetCall
- func (c *EditsExpansionfilesGetCall) IfNoneMatch(entityTag string) *EditsExpansionfilesGetCall
- func (c *EditsExpansionfilesGetCall) QuotaUser(quotaUser string) *EditsExpansionfilesGetCall
- func (c *EditsExpansionfilesGetCall) UserIP(userIP string) *EditsExpansionfilesGetCall
- type EditsExpansionfilesPatchCall
- func (c *EditsExpansionfilesPatchCall) Context(ctx context.Context) *EditsExpansionfilesPatchCall
- func (c *EditsExpansionfilesPatchCall) Do() (*ExpansionFile, error)
- func (c *EditsExpansionfilesPatchCall) Fields(s ...googleapi.Field) *EditsExpansionfilesPatchCall
- func (c *EditsExpansionfilesPatchCall) QuotaUser(quotaUser string) *EditsExpansionfilesPatchCall
- func (c *EditsExpansionfilesPatchCall) UserIP(userIP string) *EditsExpansionfilesPatchCall
- type EditsExpansionfilesService
- func (r *EditsExpansionfilesService) Get(packageNameid string, editId string, apkVersionCode int64, ...) *EditsExpansionfilesGetCall
- func (r *EditsExpansionfilesService) Patch(packageNameid string, editId string, apkVersionCode int64, ...) *EditsExpansionfilesPatchCall
- func (r *EditsExpansionfilesService) Update(packageNameid string, editId string, apkVersionCode int64, ...) *EditsExpansionfilesUpdateCall
- func (r *EditsExpansionfilesService) Upload(packageNameid string, editId string, apkVersionCode int64, ...) *EditsExpansionfilesUploadCall
- type EditsExpansionfilesUpdateCall
- func (c *EditsExpansionfilesUpdateCall) Context(ctx context.Context) *EditsExpansionfilesUpdateCall
- func (c *EditsExpansionfilesUpdateCall) Do() (*ExpansionFile, error)
- func (c *EditsExpansionfilesUpdateCall) Fields(s ...googleapi.Field) *EditsExpansionfilesUpdateCall
- func (c *EditsExpansionfilesUpdateCall) QuotaUser(quotaUser string) *EditsExpansionfilesUpdateCall
- func (c *EditsExpansionfilesUpdateCall) UserIP(userIP string) *EditsExpansionfilesUpdateCall
- type EditsExpansionfilesUploadCall
- func (c *EditsExpansionfilesUploadCall) Context(ctx context.Context) *EditsExpansionfilesUploadCall
- func (c *EditsExpansionfilesUploadCall) Do() (*ExpansionFilesUploadResponse, error)
- func (c *EditsExpansionfilesUploadCall) Fields(s ...googleapi.Field) *EditsExpansionfilesUploadCall
- func (c *EditsExpansionfilesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsExpansionfilesUploadCall
- func (c *EditsExpansionfilesUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsExpansionfilesUploadCall
- func (c *EditsExpansionfilesUploadCall) QuotaUser(quotaUser string) *EditsExpansionfilesUploadCall
- func (c *EditsExpansionfilesUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsExpansionfilesUploadCall
- func (c *EditsExpansionfilesUploadCall) UserIP(userIP string) *EditsExpansionfilesUploadCall
- type EditsGetCall
- func (c *EditsGetCall) Context(ctx context.Context) *EditsGetCall
- func (c *EditsGetCall) Do() (*AppEdit, error)
- func (c *EditsGetCall) Fields(s ...googleapi.Field) *EditsGetCall
- func (c *EditsGetCall) IfNoneMatch(entityTag string) *EditsGetCall
- func (c *EditsGetCall) QuotaUser(quotaUser string) *EditsGetCall
- func (c *EditsGetCall) UserIP(userIP string) *EditsGetCall
- type EditsImagesDeleteCall
- func (c *EditsImagesDeleteCall) Context(ctx context.Context) *EditsImagesDeleteCall
- func (c *EditsImagesDeleteCall) Do() error
- func (c *EditsImagesDeleteCall) Fields(s ...googleapi.Field) *EditsImagesDeleteCall
- func (c *EditsImagesDeleteCall) QuotaUser(quotaUser string) *EditsImagesDeleteCall
- func (c *EditsImagesDeleteCall) UserIP(userIP string) *EditsImagesDeleteCall
- type EditsImagesDeleteallCall
- func (c *EditsImagesDeleteallCall) Context(ctx context.Context) *EditsImagesDeleteallCall
- func (c *EditsImagesDeleteallCall) Do() (*ImagesDeleteAllResponse, error)
- func (c *EditsImagesDeleteallCall) Fields(s ...googleapi.Field) *EditsImagesDeleteallCall
- func (c *EditsImagesDeleteallCall) QuotaUser(quotaUser string) *EditsImagesDeleteallCall
- func (c *EditsImagesDeleteallCall) UserIP(userIP string) *EditsImagesDeleteallCall
- type EditsImagesListCall
- func (c *EditsImagesListCall) Context(ctx context.Context) *EditsImagesListCall
- func (c *EditsImagesListCall) Do() (*ImagesListResponse, error)
- func (c *EditsImagesListCall) Fields(s ...googleapi.Field) *EditsImagesListCall
- func (c *EditsImagesListCall) IfNoneMatch(entityTag string) *EditsImagesListCall
- func (c *EditsImagesListCall) QuotaUser(quotaUser string) *EditsImagesListCall
- func (c *EditsImagesListCall) UserIP(userIP string) *EditsImagesListCall
- type EditsImagesService
- func (r *EditsImagesService) Delete(packageNameid string, editId string, language string, imageType string, ...) *EditsImagesDeleteCall
- func (r *EditsImagesService) Deleteall(packageNameid string, editId string, language string, imageType string) *EditsImagesDeleteallCall
- func (r *EditsImagesService) List(packageNameid string, editId string, language string, imageType string) *EditsImagesListCall
- func (r *EditsImagesService) Upload(packageNameid string, editId string, language string, imageType string) *EditsImagesUploadCall
- type EditsImagesUploadCall
- func (c *EditsImagesUploadCall) Context(ctx context.Context) *EditsImagesUploadCall
- func (c *EditsImagesUploadCall) Do() (*ImagesUploadResponse, error)
- func (c *EditsImagesUploadCall) Fields(s ...googleapi.Field) *EditsImagesUploadCall
- func (c *EditsImagesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsImagesUploadCall
- func (c *EditsImagesUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsImagesUploadCall
- func (c *EditsImagesUploadCall) QuotaUser(quotaUser string) *EditsImagesUploadCall
- func (c *EditsImagesUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsImagesUploadCall
- func (c *EditsImagesUploadCall) UserIP(userIP string) *EditsImagesUploadCall
- type EditsInsertCall
- func (c *EditsInsertCall) Context(ctx context.Context) *EditsInsertCall
- func (c *EditsInsertCall) Do() (*AppEdit, error)
- func (c *EditsInsertCall) Fields(s ...googleapi.Field) *EditsInsertCall
- func (c *EditsInsertCall) QuotaUser(quotaUser string) *EditsInsertCall
- func (c *EditsInsertCall) UserIP(userIP string) *EditsInsertCall
- type EditsListingsDeleteCall
- func (c *EditsListingsDeleteCall) Context(ctx context.Context) *EditsListingsDeleteCall
- func (c *EditsListingsDeleteCall) Do() error
- func (c *EditsListingsDeleteCall) Fields(s ...googleapi.Field) *EditsListingsDeleteCall
- func (c *EditsListingsDeleteCall) QuotaUser(quotaUser string) *EditsListingsDeleteCall
- func (c *EditsListingsDeleteCall) UserIP(userIP string) *EditsListingsDeleteCall
- type EditsListingsDeleteallCall
- func (c *EditsListingsDeleteallCall) Context(ctx context.Context) *EditsListingsDeleteallCall
- func (c *EditsListingsDeleteallCall) Do() error
- func (c *EditsListingsDeleteallCall) Fields(s ...googleapi.Field) *EditsListingsDeleteallCall
- func (c *EditsListingsDeleteallCall) QuotaUser(quotaUser string) *EditsListingsDeleteallCall
- func (c *EditsListingsDeleteallCall) UserIP(userIP string) *EditsListingsDeleteallCall
- type EditsListingsGetCall
- func (c *EditsListingsGetCall) Context(ctx context.Context) *EditsListingsGetCall
- func (c *EditsListingsGetCall) Do() (*Listing, error)
- func (c *EditsListingsGetCall) Fields(s ...googleapi.Field) *EditsListingsGetCall
- func (c *EditsListingsGetCall) IfNoneMatch(entityTag string) *EditsListingsGetCall
- func (c *EditsListingsGetCall) QuotaUser(quotaUser string) *EditsListingsGetCall
- func (c *EditsListingsGetCall) UserIP(userIP string) *EditsListingsGetCall
- type EditsListingsListCall
- func (c *EditsListingsListCall) Context(ctx context.Context) *EditsListingsListCall
- func (c *EditsListingsListCall) Do() (*ListingsListResponse, error)
- func (c *EditsListingsListCall) Fields(s ...googleapi.Field) *EditsListingsListCall
- func (c *EditsListingsListCall) IfNoneMatch(entityTag string) *EditsListingsListCall
- func (c *EditsListingsListCall) QuotaUser(quotaUser string) *EditsListingsListCall
- func (c *EditsListingsListCall) UserIP(userIP string) *EditsListingsListCall
- type EditsListingsPatchCall
- func (c *EditsListingsPatchCall) Context(ctx context.Context) *EditsListingsPatchCall
- func (c *EditsListingsPatchCall) Do() (*Listing, error)
- func (c *EditsListingsPatchCall) Fields(s ...googleapi.Field) *EditsListingsPatchCall
- func (c *EditsListingsPatchCall) QuotaUser(quotaUser string) *EditsListingsPatchCall
- func (c *EditsListingsPatchCall) UserIP(userIP string) *EditsListingsPatchCall
- type EditsListingsService
- func (r *EditsListingsService) Delete(packageNameid string, editId string, language string) *EditsListingsDeleteCall
- func (r *EditsListingsService) Deleteall(packageNameid string, editId string) *EditsListingsDeleteallCall
- func (r *EditsListingsService) Get(packageNameid string, editId string, language string) *EditsListingsGetCall
- func (r *EditsListingsService) List(packageNameid string, editId string) *EditsListingsListCall
- func (r *EditsListingsService) Patch(packageNameid string, editId string, language string, listing *Listing) *EditsListingsPatchCall
- func (r *EditsListingsService) Update(packageNameid string, editId string, language string, listing *Listing) *EditsListingsUpdateCall
- type EditsListingsUpdateCall
- func (c *EditsListingsUpdateCall) Context(ctx context.Context) *EditsListingsUpdateCall
- func (c *EditsListingsUpdateCall) Do() (*Listing, error)
- func (c *EditsListingsUpdateCall) Fields(s ...googleapi.Field) *EditsListingsUpdateCall
- func (c *EditsListingsUpdateCall) QuotaUser(quotaUser string) *EditsListingsUpdateCall
- func (c *EditsListingsUpdateCall) UserIP(userIP string) *EditsListingsUpdateCall
- type EditsService
- func (r *EditsService) Commit(packageNameid string, editId string) *EditsCommitCall
- func (r *EditsService) Delete(packageNameid string, editId string) *EditsDeleteCall
- func (r *EditsService) Get(packageNameid string, editId string) *EditsGetCall
- func (r *EditsService) Insert(packageNameid string, appedit *AppEdit) *EditsInsertCall
- func (r *EditsService) Validate(packageNameid string, editId string) *EditsValidateCall
- type EditsTestersGetCall
- func (c *EditsTestersGetCall) Context(ctx context.Context) *EditsTestersGetCall
- func (c *EditsTestersGetCall) Do() (*Testers, error)
- func (c *EditsTestersGetCall) Fields(s ...googleapi.Field) *EditsTestersGetCall
- func (c *EditsTestersGetCall) IfNoneMatch(entityTag string) *EditsTestersGetCall
- func (c *EditsTestersGetCall) QuotaUser(quotaUser string) *EditsTestersGetCall
- func (c *EditsTestersGetCall) UserIP(userIP string) *EditsTestersGetCall
- type EditsTestersPatchCall
- func (c *EditsTestersPatchCall) Context(ctx context.Context) *EditsTestersPatchCall
- func (c *EditsTestersPatchCall) Do() (*Testers, error)
- func (c *EditsTestersPatchCall) Fields(s ...googleapi.Field) *EditsTestersPatchCall
- func (c *EditsTestersPatchCall) QuotaUser(quotaUser string) *EditsTestersPatchCall
- func (c *EditsTestersPatchCall) UserIP(userIP string) *EditsTestersPatchCall
- type EditsTestersService
- func (r *EditsTestersService) Get(packageNameid string, editId string, track string) *EditsTestersGetCall
- func (r *EditsTestersService) Patch(packageNameid string, editId string, track string, testers *Testers) *EditsTestersPatchCall
- func (r *EditsTestersService) Update(packageNameid string, editId string, track string, testers *Testers) *EditsTestersUpdateCall
- type EditsTestersUpdateCall
- func (c *EditsTestersUpdateCall) Context(ctx context.Context) *EditsTestersUpdateCall
- func (c *EditsTestersUpdateCall) Do() (*Testers, error)
- func (c *EditsTestersUpdateCall) Fields(s ...googleapi.Field) *EditsTestersUpdateCall
- func (c *EditsTestersUpdateCall) QuotaUser(quotaUser string) *EditsTestersUpdateCall
- func (c *EditsTestersUpdateCall) UserIP(userIP string) *EditsTestersUpdateCall
- type EditsTracksGetCall
- func (c *EditsTracksGetCall) Context(ctx context.Context) *EditsTracksGetCall
- func (c *EditsTracksGetCall) Do() (*Track, error)
- func (c *EditsTracksGetCall) Fields(s ...googleapi.Field) *EditsTracksGetCall
- func (c *EditsTracksGetCall) IfNoneMatch(entityTag string) *EditsTracksGetCall
- func (c *EditsTracksGetCall) QuotaUser(quotaUser string) *EditsTracksGetCall
- func (c *EditsTracksGetCall) UserIP(userIP string) *EditsTracksGetCall
- type EditsTracksListCall
- func (c *EditsTracksListCall) Context(ctx context.Context) *EditsTracksListCall
- func (c *EditsTracksListCall) Do() (*TracksListResponse, error)
- func (c *EditsTracksListCall) Fields(s ...googleapi.Field) *EditsTracksListCall
- func (c *EditsTracksListCall) IfNoneMatch(entityTag string) *EditsTracksListCall
- func (c *EditsTracksListCall) QuotaUser(quotaUser string) *EditsTracksListCall
- func (c *EditsTracksListCall) UserIP(userIP string) *EditsTracksListCall
- type EditsTracksPatchCall
- func (c *EditsTracksPatchCall) Context(ctx context.Context) *EditsTracksPatchCall
- func (c *EditsTracksPatchCall) Do() (*Track, error)
- func (c *EditsTracksPatchCall) Fields(s ...googleapi.Field) *EditsTracksPatchCall
- func (c *EditsTracksPatchCall) QuotaUser(quotaUser string) *EditsTracksPatchCall
- func (c *EditsTracksPatchCall) UserIP(userIP string) *EditsTracksPatchCall
- type EditsTracksService
- func (r *EditsTracksService) Get(packageNameid string, editId string, track string) *EditsTracksGetCall
- func (r *EditsTracksService) List(packageNameid string, editId string) *EditsTracksListCall
- func (r *EditsTracksService) Patch(packageNameid string, editId string, track string, track2 *Track) *EditsTracksPatchCall
- func (r *EditsTracksService) Update(packageNameid string, editId string, track string, track2 *Track) *EditsTracksUpdateCall
- type EditsTracksUpdateCall
- func (c *EditsTracksUpdateCall) Context(ctx context.Context) *EditsTracksUpdateCall
- func (c *EditsTracksUpdateCall) Do() (*Track, error)
- func (c *EditsTracksUpdateCall) Fields(s ...googleapi.Field) *EditsTracksUpdateCall
- func (c *EditsTracksUpdateCall) QuotaUser(quotaUser string) *EditsTracksUpdateCall
- func (c *EditsTracksUpdateCall) UserIP(userIP string) *EditsTracksUpdateCall
- type EditsValidateCall
- func (c *EditsValidateCall) Context(ctx context.Context) *EditsValidateCall
- func (c *EditsValidateCall) Do() (*AppEdit, error)
- func (c *EditsValidateCall) Fields(s ...googleapi.Field) *EditsValidateCall
- func (c *EditsValidateCall) QuotaUser(quotaUser string) *EditsValidateCall
- func (c *EditsValidateCall) UserIP(userIP string) *EditsValidateCall
- type Entitlement
- type EntitlementsListCall
- func (c *EntitlementsListCall) Context(ctx context.Context) *EntitlementsListCall
- func (c *EntitlementsListCall) Do() (*EntitlementsListResponse, error)
- func (c *EntitlementsListCall) Fields(s ...googleapi.Field) *EntitlementsListCall
- func (c *EntitlementsListCall) IfNoneMatch(entityTag string) *EntitlementsListCall
- func (c *EntitlementsListCall) MaxResults(maxResults int64) *EntitlementsListCall
- func (c *EntitlementsListCall) ProductId(productId string) *EntitlementsListCall
- func (c *EntitlementsListCall) QuotaUser(quotaUser string) *EntitlementsListCall
- func (c *EntitlementsListCall) StartIndex(startIndex int64) *EntitlementsListCall
- func (c *EntitlementsListCall) Token(token string) *EntitlementsListCall
- func (c *EntitlementsListCall) UserIP(userIP string) *EntitlementsListCall
- type EntitlementsListResponse
- type EntitlementsService
- type ExpansionFile
- type ExpansionFilesUploadResponse
- type ExternallyHostedApk
- type ExternallyHostedApkUsesPermission
- type Image
- type ImagesDeleteAllResponse
- type ImagesListResponse
- type ImagesUploadResponse
- type InAppProduct
- type InAppProductListing
- type InappproductsBatchCall
- func (c *InappproductsBatchCall) Context(ctx context.Context) *InappproductsBatchCall
- func (c *InappproductsBatchCall) Do() (*InappproductsBatchResponse, error)
- func (c *InappproductsBatchCall) Fields(s ...googleapi.Field) *InappproductsBatchCall
- func (c *InappproductsBatchCall) QuotaUser(quotaUser string) *InappproductsBatchCall
- func (c *InappproductsBatchCall) UserIP(userIP string) *InappproductsBatchCall
- type InappproductsBatchRequest
- type InappproductsBatchRequestEntry
- type InappproductsBatchResponse
- type InappproductsBatchResponseEntry
- type InappproductsDeleteCall
- func (c *InappproductsDeleteCall) Context(ctx context.Context) *InappproductsDeleteCall
- func (c *InappproductsDeleteCall) Do() error
- func (c *InappproductsDeleteCall) Fields(s ...googleapi.Field) *InappproductsDeleteCall
- func (c *InappproductsDeleteCall) QuotaUser(quotaUser string) *InappproductsDeleteCall
- func (c *InappproductsDeleteCall) UserIP(userIP string) *InappproductsDeleteCall
- type InappproductsGetCall
- func (c *InappproductsGetCall) Context(ctx context.Context) *InappproductsGetCall
- func (c *InappproductsGetCall) Do() (*InAppProduct, error)
- func (c *InappproductsGetCall) Fields(s ...googleapi.Field) *InappproductsGetCall
- func (c *InappproductsGetCall) IfNoneMatch(entityTag string) *InappproductsGetCall
- func (c *InappproductsGetCall) QuotaUser(quotaUser string) *InappproductsGetCall
- func (c *InappproductsGetCall) UserIP(userIP string) *InappproductsGetCall
- type InappproductsInsertCall
- func (c *InappproductsInsertCall) AutoConvertMissingPrices(autoConvertMissingPrices bool) *InappproductsInsertCall
- func (c *InappproductsInsertCall) Context(ctx context.Context) *InappproductsInsertCall
- func (c *InappproductsInsertCall) Do() (*InAppProduct, error)
- func (c *InappproductsInsertCall) Fields(s ...googleapi.Field) *InappproductsInsertCall
- func (c *InappproductsInsertCall) QuotaUser(quotaUser string) *InappproductsInsertCall
- func (c *InappproductsInsertCall) UserIP(userIP string) *InappproductsInsertCall
- type InappproductsInsertRequest
- type InappproductsInsertResponse
- type InappproductsListCall
- func (c *InappproductsListCall) Context(ctx context.Context) *InappproductsListCall
- func (c *InappproductsListCall) Do() (*InappproductsListResponse, error)
- func (c *InappproductsListCall) Fields(s ...googleapi.Field) *InappproductsListCall
- func (c *InappproductsListCall) IfNoneMatch(entityTag string) *InappproductsListCall
- func (c *InappproductsListCall) MaxResults(maxResults int64) *InappproductsListCall
- func (c *InappproductsListCall) QuotaUser(quotaUser string) *InappproductsListCall
- func (c *InappproductsListCall) StartIndex(startIndex int64) *InappproductsListCall
- func (c *InappproductsListCall) Token(token string) *InappproductsListCall
- func (c *InappproductsListCall) UserIP(userIP string) *InappproductsListCall
- type InappproductsListResponse
- type InappproductsPatchCall
- func (c *InappproductsPatchCall) AutoConvertMissingPrices(autoConvertMissingPrices bool) *InappproductsPatchCall
- func (c *InappproductsPatchCall) Context(ctx context.Context) *InappproductsPatchCall
- func (c *InappproductsPatchCall) Do() (*InAppProduct, error)
- func (c *InappproductsPatchCall) Fields(s ...googleapi.Field) *InappproductsPatchCall
- func (c *InappproductsPatchCall) QuotaUser(quotaUser string) *InappproductsPatchCall
- func (c *InappproductsPatchCall) UserIP(userIP string) *InappproductsPatchCall
- type InappproductsService
- func (r *InappproductsService) Batch(inappproductsbatchrequest *InappproductsBatchRequest) *InappproductsBatchCall
- func (r *InappproductsService) Delete(packageNameid string, skuid string) *InappproductsDeleteCall
- func (r *InappproductsService) Get(packageName string, skuid string) *InappproductsGetCall
- func (r *InappproductsService) Insert(packageNameid string, inappproduct *InAppProduct) *InappproductsInsertCall
- func (r *InappproductsService) List(packageNameid string) *InappproductsListCall
- func (r *InappproductsService) Patch(packageNameid string, skuid string, inappproduct *InAppProduct) *InappproductsPatchCall
- func (r *InappproductsService) Update(packageNameid string, skuid string, inappproduct *InAppProduct) *InappproductsUpdateCall
- type InappproductsUpdateCall
- func (c *InappproductsUpdateCall) AutoConvertMissingPrices(autoConvertMissingPrices bool) *InappproductsUpdateCall
- func (c *InappproductsUpdateCall) Context(ctx context.Context) *InappproductsUpdateCall
- func (c *InappproductsUpdateCall) Do() (*InAppProduct, error)
- func (c *InappproductsUpdateCall) Fields(s ...googleapi.Field) *InappproductsUpdateCall
- func (c *InappproductsUpdateCall) QuotaUser(quotaUser string) *InappproductsUpdateCall
- func (c *InappproductsUpdateCall) UserIP(userIP string) *InappproductsUpdateCall
- type InappproductsUpdateRequest
- type InappproductsUpdateResponse
- type Listing
- type ListingsListResponse
- type MonthDay
- type PageInfo
- type Price
- type ProductPurchase
- type Prorate
- type PurchasesProductsGetCall
- func (c *PurchasesProductsGetCall) Context(ctx context.Context) *PurchasesProductsGetCall
- func (c *PurchasesProductsGetCall) Do() (*ProductPurchase, error)
- func (c *PurchasesProductsGetCall) Fields(s ...googleapi.Field) *PurchasesProductsGetCall
- func (c *PurchasesProductsGetCall) IfNoneMatch(entityTag string) *PurchasesProductsGetCall
- func (c *PurchasesProductsGetCall) QuotaUser(quotaUser string) *PurchasesProductsGetCall
- func (c *PurchasesProductsGetCall) UserIP(userIP string) *PurchasesProductsGetCall
- type PurchasesProductsService
- type PurchasesService
- type PurchasesSubscriptionsCancelCall
- func (c *PurchasesSubscriptionsCancelCall) Context(ctx context.Context) *PurchasesSubscriptionsCancelCall
- func (c *PurchasesSubscriptionsCancelCall) Do() error
- func (c *PurchasesSubscriptionsCancelCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsCancelCall
- func (c *PurchasesSubscriptionsCancelCall) QuotaUser(quotaUser string) *PurchasesSubscriptionsCancelCall
- func (c *PurchasesSubscriptionsCancelCall) UserIP(userIP string) *PurchasesSubscriptionsCancelCall
- type PurchasesSubscriptionsDeferCall
- func (c *PurchasesSubscriptionsDeferCall) Context(ctx context.Context) *PurchasesSubscriptionsDeferCall
- func (c *PurchasesSubscriptionsDeferCall) Do() (*SubscriptionPurchasesDeferResponse, error)
- func (c *PurchasesSubscriptionsDeferCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsDeferCall
- func (c *PurchasesSubscriptionsDeferCall) QuotaUser(quotaUser string) *PurchasesSubscriptionsDeferCall
- func (c *PurchasesSubscriptionsDeferCall) UserIP(userIP string) *PurchasesSubscriptionsDeferCall
- type PurchasesSubscriptionsGetCall
- func (c *PurchasesSubscriptionsGetCall) Context(ctx context.Context) *PurchasesSubscriptionsGetCall
- func (c *PurchasesSubscriptionsGetCall) Do() (*SubscriptionPurchase, error)
- func (c *PurchasesSubscriptionsGetCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsGetCall
- func (c *PurchasesSubscriptionsGetCall) IfNoneMatch(entityTag string) *PurchasesSubscriptionsGetCall
- func (c *PurchasesSubscriptionsGetCall) QuotaUser(quotaUser string) *PurchasesSubscriptionsGetCall
- func (c *PurchasesSubscriptionsGetCall) UserIP(userIP string) *PurchasesSubscriptionsGetCall
- type PurchasesSubscriptionsRefundCall
- func (c *PurchasesSubscriptionsRefundCall) Context(ctx context.Context) *PurchasesSubscriptionsRefundCall
- func (c *PurchasesSubscriptionsRefundCall) Do() error
- func (c *PurchasesSubscriptionsRefundCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsRefundCall
- func (c *PurchasesSubscriptionsRefundCall) QuotaUser(quotaUser string) *PurchasesSubscriptionsRefundCall
- func (c *PurchasesSubscriptionsRefundCall) UserIP(userIP string) *PurchasesSubscriptionsRefundCall
- type PurchasesSubscriptionsRevokeCall
- func (c *PurchasesSubscriptionsRevokeCall) Context(ctx context.Context) *PurchasesSubscriptionsRevokeCall
- func (c *PurchasesSubscriptionsRevokeCall) Do() error
- func (c *PurchasesSubscriptionsRevokeCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsRevokeCall
- func (c *PurchasesSubscriptionsRevokeCall) QuotaUser(quotaUser string) *PurchasesSubscriptionsRevokeCall
- func (c *PurchasesSubscriptionsRevokeCall) UserIP(userIP string) *PurchasesSubscriptionsRevokeCall
- type PurchasesSubscriptionsService
- func (r *PurchasesSubscriptionsService) Cancel(packageName string, subscriptionId string, token string) *PurchasesSubscriptionsCancelCall
- func (r *PurchasesSubscriptionsService) Defer(packageName string, subscriptionId string, token string, ...) *PurchasesSubscriptionsDeferCall
- func (r *PurchasesSubscriptionsService) Get(packageName string, subscriptionId string, token string) *PurchasesSubscriptionsGetCall
- func (r *PurchasesSubscriptionsService) Refund(packageName string, subscriptionId string, token string) *PurchasesSubscriptionsRefundCall
- func (r *PurchasesSubscriptionsService) Revoke(packageName string, subscriptionId string, token string) *PurchasesSubscriptionsRevokeCall
- type Season
- type Service
- type SubscriptionDeferralInfo
- type SubscriptionPurchase
- type SubscriptionPurchasesDeferRequest
- type SubscriptionPurchasesDeferResponse
- type Testers
- type TokenPagination
- type Track
- type TracksListResponse
Constants ¶
const (
// View and manage your Google Play Developer account
AndroidpublisherScope = "https://www.googleapis.com/auth/androidpublisher"
)
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apk ¶
type Apk struct { // Binary: Information about the binary payload of this APK. Binary *ApkBinary `json:"binary,omitempty"` // VersionCode: The version code of the APK, as specified in the APK's // manifest file. VersionCode int64 `json:"versionCode,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Binary") 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:"-"` }
func (*Apk) MarshalJSON ¶
type ApkBinary ¶
type ApkBinary struct { // Sha1: A sha1 hash of the APK payload, encoded as a hex string and // matching the output of the sha1sum command. Sha1 string `json:"sha1,omitempty"` // ForceSendFields is a list of field names (e.g. "Sha1") 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:"-"` }
ApkBinary: Represents the binary payload of an APK.
func (*ApkBinary) MarshalJSON ¶
type ApkListing ¶
type ApkListing struct { // Language: The language code, in BCP 47 format (eg "en-US"). Language string `json:"language,omitempty"` // RecentChanges: Describe what's new in your APK. RecentChanges string `json:"recentChanges,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Language") 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:"-"` }
func (*ApkListing) MarshalJSON ¶
func (s *ApkListing) MarshalJSON() ([]byte, error)
type ApkListingsListResponse ¶
type ApkListingsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "androidpublisher#apkListingsListResponse". Kind string `json:"kind,omitempty"` Listings []*ApkListing `json:"listings,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*ApkListingsListResponse) MarshalJSON ¶
func (s *ApkListingsListResponse) MarshalJSON() ([]byte, error)
type ApksAddExternallyHostedRequest ¶
type ApksAddExternallyHostedRequest struct { // ExternallyHostedApk: The definition of the externally-hosted APK and // where it is located. ExternallyHostedApk *ExternallyHostedApk `json:"externallyHostedApk,omitempty"` // ForceSendFields is a list of field names (e.g. "ExternallyHostedApk") // 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:"-"` }
func (*ApksAddExternallyHostedRequest) MarshalJSON ¶
func (s *ApksAddExternallyHostedRequest) MarshalJSON() ([]byte, error)
type ApksAddExternallyHostedResponse ¶
type ApksAddExternallyHostedResponse struct { // ExternallyHostedApk: The definition of the externally-hosted APK and // where it is located. ExternallyHostedApk *ExternallyHostedApk `json:"externallyHostedApk,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ExternallyHostedApk") // 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:"-"` }
func (*ApksAddExternallyHostedResponse) MarshalJSON ¶
func (s *ApksAddExternallyHostedResponse) MarshalJSON() ([]byte, error)
type ApksListResponse ¶
type ApksListResponse struct { Apks []*Apk `json:"apks,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "androidpublisher#apksListResponse". Kind string `json:"kind,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Apks") 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:"-"` }
func (*ApksListResponse) MarshalJSON ¶
func (s *ApksListResponse) MarshalJSON() ([]byte, error)
type AppDetails ¶
type AppDetails struct { // ContactEmail: The user-visible support email for this app. ContactEmail string `json:"contactEmail,omitempty"` // ContactPhone: The user-visible support telephone number for this app. ContactPhone string `json:"contactPhone,omitempty"` // ContactWebsite: The user-visible website for this app. ContactWebsite string `json:"contactWebsite,omitempty"` // DefaultLanguage: Default language code, in BCP 47 format (eg // "en-US"). DefaultLanguage string `json:"defaultLanguage,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ContactEmail") 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:"-"` }
func (*AppDetails) MarshalJSON ¶
func (s *AppDetails) MarshalJSON() ([]byte, error)
type AppEdit ¶
type AppEdit struct { // ExpiryTimeSeconds: The time at which the edit will expire and will be // no longer valid for use in any subsequent API calls (encoded as // seconds since the Epoch). ExpiryTimeSeconds string `json:"expiryTimeSeconds,omitempty"` // Id: The ID of the edit that can be used in subsequent API calls. Id string `json:"id,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ExpiryTimeSeconds") // 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:"-"` }
AppEdit: Represents an edit of an app. An edit allows clients to make multiple changes before committing them in one operation.
func (*AppEdit) MarshalJSON ¶
type EditsApklistingsDeleteCall ¶
type EditsApklistingsDeleteCall struct {
// contains filtered or unexported fields
}
func (*EditsApklistingsDeleteCall) Context ¶
func (c *EditsApklistingsDeleteCall) Context(ctx context.Context) *EditsApklistingsDeleteCall
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 (*EditsApklistingsDeleteCall) Do ¶
func (c *EditsApklistingsDeleteCall) Do() error
Do executes the "androidpublisher.edits.apklistings.delete" call.
func (*EditsApklistingsDeleteCall) Fields ¶
func (c *EditsApklistingsDeleteCall) Fields(s ...googleapi.Field) *EditsApklistingsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsApklistingsDeleteCall) QuotaUser ¶
func (c *EditsApklistingsDeleteCall) QuotaUser(quotaUser string) *EditsApklistingsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsApklistingsDeleteCall) UserIP ¶
func (c *EditsApklistingsDeleteCall) UserIP(userIP string) *EditsApklistingsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsApklistingsDeleteallCall ¶
type EditsApklistingsDeleteallCall struct {
// contains filtered or unexported fields
}
func (*EditsApklistingsDeleteallCall) Context ¶
func (c *EditsApklistingsDeleteallCall) Context(ctx context.Context) *EditsApklistingsDeleteallCall
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 (*EditsApklistingsDeleteallCall) Do ¶
func (c *EditsApklistingsDeleteallCall) Do() error
Do executes the "androidpublisher.edits.apklistings.deleteall" call.
func (*EditsApklistingsDeleteallCall) Fields ¶
func (c *EditsApklistingsDeleteallCall) Fields(s ...googleapi.Field) *EditsApklistingsDeleteallCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsApklistingsDeleteallCall) QuotaUser ¶
func (c *EditsApklistingsDeleteallCall) QuotaUser(quotaUser string) *EditsApklistingsDeleteallCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsApklistingsDeleteallCall) UserIP ¶
func (c *EditsApklistingsDeleteallCall) UserIP(userIP string) *EditsApklistingsDeleteallCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsApklistingsGetCall ¶
type EditsApklistingsGetCall struct {
// contains filtered or unexported fields
}
func (*EditsApklistingsGetCall) Context ¶
func (c *EditsApklistingsGetCall) Context(ctx context.Context) *EditsApklistingsGetCall
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 (*EditsApklistingsGetCall) Do ¶
func (c *EditsApklistingsGetCall) Do() (*ApkListing, error)
Do executes the "androidpublisher.edits.apklistings.get" call. Exactly one of *ApkListing or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ApkListing.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 (*EditsApklistingsGetCall) Fields ¶
func (c *EditsApklistingsGetCall) Fields(s ...googleapi.Field) *EditsApklistingsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsApklistingsGetCall) IfNoneMatch ¶
func (c *EditsApklistingsGetCall) IfNoneMatch(entityTag string) *EditsApklistingsGetCall
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 (*EditsApklistingsGetCall) QuotaUser ¶
func (c *EditsApklistingsGetCall) QuotaUser(quotaUser string) *EditsApklistingsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsApklistingsGetCall) UserIP ¶
func (c *EditsApklistingsGetCall) UserIP(userIP string) *EditsApklistingsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsApklistingsListCall ¶
type EditsApklistingsListCall struct {
// contains filtered or unexported fields
}
func (*EditsApklistingsListCall) Context ¶
func (c *EditsApklistingsListCall) Context(ctx context.Context) *EditsApklistingsListCall
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 (*EditsApklistingsListCall) Do ¶
func (c *EditsApklistingsListCall) Do() (*ApkListingsListResponse, error)
Do executes the "androidpublisher.edits.apklistings.list" call. Exactly one of *ApkListingsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ApkListingsListResponse.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 (*EditsApklistingsListCall) Fields ¶
func (c *EditsApklistingsListCall) Fields(s ...googleapi.Field) *EditsApklistingsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsApklistingsListCall) IfNoneMatch ¶
func (c *EditsApklistingsListCall) IfNoneMatch(entityTag string) *EditsApklistingsListCall
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 (*EditsApklistingsListCall) QuotaUser ¶
func (c *EditsApklistingsListCall) QuotaUser(quotaUser string) *EditsApklistingsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsApklistingsListCall) UserIP ¶
func (c *EditsApklistingsListCall) UserIP(userIP string) *EditsApklistingsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsApklistingsPatchCall ¶
type EditsApklistingsPatchCall struct {
// contains filtered or unexported fields
}
func (*EditsApklistingsPatchCall) Context ¶
func (c *EditsApklistingsPatchCall) Context(ctx context.Context) *EditsApklistingsPatchCall
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 (*EditsApklistingsPatchCall) Do ¶
func (c *EditsApklistingsPatchCall) Do() (*ApkListing, error)
Do executes the "androidpublisher.edits.apklistings.patch" call. Exactly one of *ApkListing or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ApkListing.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 (*EditsApklistingsPatchCall) Fields ¶
func (c *EditsApklistingsPatchCall) Fields(s ...googleapi.Field) *EditsApklistingsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsApklistingsPatchCall) QuotaUser ¶
func (c *EditsApklistingsPatchCall) QuotaUser(quotaUser string) *EditsApklistingsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsApklistingsPatchCall) UserIP ¶
func (c *EditsApklistingsPatchCall) UserIP(userIP string) *EditsApklistingsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsApklistingsService ¶
type EditsApklistingsService struct {
// contains filtered or unexported fields
}
func NewEditsApklistingsService ¶
func NewEditsApklistingsService(s *Service) *EditsApklistingsService
func (*EditsApklistingsService) Delete ¶
func (r *EditsApklistingsService) Delete(packageNameid string, editId string, apkVersionCode int64, language string) *EditsApklistingsDeleteCall
Delete: Deletes the APK-specific localized listing for a specified APK and language code.
func (*EditsApklistingsService) Deleteall ¶
func (r *EditsApklistingsService) Deleteall(packageNameid string, editId string, apkVersionCode int64) *EditsApklistingsDeleteallCall
Deleteall: Deletes all the APK-specific localized listings for a specified APK.
func (*EditsApklistingsService) Get ¶
func (r *EditsApklistingsService) Get(packageNameid string, editId string, apkVersionCode int64, language string) *EditsApklistingsGetCall
Get: Fetches the APK-specific localized listing for a specified APK and language code.
func (*EditsApklistingsService) List ¶
func (r *EditsApklistingsService) List(packageNameid string, editId string, apkVersionCode int64) *EditsApklistingsListCall
List: Lists all the APK-specific localized listings for a specified APK.
func (*EditsApklistingsService) Patch ¶
func (r *EditsApklistingsService) Patch(packageNameid string, editId string, apkVersionCode int64, language string, apklisting *ApkListing) *EditsApklistingsPatchCall
Patch: Updates or creates the APK-specific localized listing for a specified APK and language code. This method supports patch semantics.
func (*EditsApklistingsService) Update ¶
func (r *EditsApklistingsService) Update(packageNameid string, editId string, apkVersionCode int64, language string, apklisting *ApkListing) *EditsApklistingsUpdateCall
Update: Updates or creates the APK-specific localized listing for a specified APK and language code.
type EditsApklistingsUpdateCall ¶
type EditsApklistingsUpdateCall struct {
// contains filtered or unexported fields
}
func (*EditsApklistingsUpdateCall) Context ¶
func (c *EditsApklistingsUpdateCall) Context(ctx context.Context) *EditsApklistingsUpdateCall
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 (*EditsApklistingsUpdateCall) Do ¶
func (c *EditsApklistingsUpdateCall) Do() (*ApkListing, error)
Do executes the "androidpublisher.edits.apklistings.update" call. Exactly one of *ApkListing or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ApkListing.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 (*EditsApklistingsUpdateCall) Fields ¶
func (c *EditsApklistingsUpdateCall) Fields(s ...googleapi.Field) *EditsApklistingsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsApklistingsUpdateCall) QuotaUser ¶
func (c *EditsApklistingsUpdateCall) QuotaUser(quotaUser string) *EditsApklistingsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsApklistingsUpdateCall) UserIP ¶
func (c *EditsApklistingsUpdateCall) UserIP(userIP string) *EditsApklistingsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsApksAddexternallyhostedCall ¶
type EditsApksAddexternallyhostedCall struct {
// contains filtered or unexported fields
}
func (*EditsApksAddexternallyhostedCall) Context ¶
func (c *EditsApksAddexternallyhostedCall) Context(ctx context.Context) *EditsApksAddexternallyhostedCall
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 (*EditsApksAddexternallyhostedCall) Do ¶
func (c *EditsApksAddexternallyhostedCall) Do() (*ApksAddExternallyHostedResponse, error)
Do executes the "androidpublisher.edits.apks.addexternallyhosted" call. Exactly one of *ApksAddExternallyHostedResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ApksAddExternallyHostedResponse.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 (*EditsApksAddexternallyhostedCall) Fields ¶
func (c *EditsApksAddexternallyhostedCall) Fields(s ...googleapi.Field) *EditsApksAddexternallyhostedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsApksAddexternallyhostedCall) QuotaUser ¶
func (c *EditsApksAddexternallyhostedCall) QuotaUser(quotaUser string) *EditsApksAddexternallyhostedCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsApksAddexternallyhostedCall) UserIP ¶
func (c *EditsApksAddexternallyhostedCall) UserIP(userIP string) *EditsApksAddexternallyhostedCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsApksListCall ¶
type EditsApksListCall struct {
// contains filtered or unexported fields
}
func (*EditsApksListCall) Context ¶
func (c *EditsApksListCall) Context(ctx context.Context) *EditsApksListCall
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 (*EditsApksListCall) Do ¶
func (c *EditsApksListCall) Do() (*ApksListResponse, error)
Do executes the "androidpublisher.edits.apks.list" call. Exactly one of *ApksListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ApksListResponse.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 (*EditsApksListCall) Fields ¶
func (c *EditsApksListCall) Fields(s ...googleapi.Field) *EditsApksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsApksListCall) IfNoneMatch ¶
func (c *EditsApksListCall) IfNoneMatch(entityTag string) *EditsApksListCall
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 (*EditsApksListCall) QuotaUser ¶
func (c *EditsApksListCall) QuotaUser(quotaUser string) *EditsApksListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsApksListCall) UserIP ¶
func (c *EditsApksListCall) UserIP(userIP string) *EditsApksListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsApksService ¶
type EditsApksService struct {
// contains filtered or unexported fields
}
func NewEditsApksService ¶
func NewEditsApksService(s *Service) *EditsApksService
func (*EditsApksService) Addexternallyhosted ¶
func (r *EditsApksService) Addexternallyhosted(packageNameid string, editId string, apksaddexternallyhostedrequest *ApksAddExternallyHostedRequest) *EditsApksAddexternallyhostedCall
Addexternallyhosted: Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. This function is only available to enterprises using Google Play for Work whose application is configured to restrict distribution to the enterprise domain.
func (*EditsApksService) List ¶
func (r *EditsApksService) List(packageNameid string, editId string) *EditsApksListCall
List:
func (*EditsApksService) Upload ¶
func (r *EditsApksService) Upload(packageNameid string, editId string) *EditsApksUploadCall
Upload:
type EditsApksUploadCall ¶
type EditsApksUploadCall struct {
// contains filtered or unexported fields
}
func (*EditsApksUploadCall) Context ¶
func (c *EditsApksUploadCall) Context(ctx context.Context) *EditsApksUploadCall
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. This context will supersede any context previously provided to the ResumableMedia method.
func (*EditsApksUploadCall) Do ¶
func (c *EditsApksUploadCall) Do() (*Apk, error)
Do executes the "androidpublisher.edits.apks.upload" call. Exactly one of *Apk or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Apk.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 (*EditsApksUploadCall) Fields ¶
func (c *EditsApksUploadCall) Fields(s ...googleapi.Field) *EditsApksUploadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsApksUploadCall) Media ¶
func (c *EditsApksUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsApksUploadCall
Media specifies the media to upload in a single chunk. At most one of Media and ResumableMedia may be set.
func (*EditsApksUploadCall) ProgressUpdater ¶
func (c *EditsApksUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsApksUploadCall
ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).
func (*EditsApksUploadCall) QuotaUser ¶
func (c *EditsApksUploadCall) QuotaUser(quotaUser string) *EditsApksUploadCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsApksUploadCall) ResumableMedia ¶
func (c *EditsApksUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsApksUploadCall
ResumableMedia specifies the media to upload in chunks and can be canceled with ctx. At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.
func (*EditsApksUploadCall) UserIP ¶
func (c *EditsApksUploadCall) UserIP(userIP string) *EditsApksUploadCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsCommitCall ¶
type EditsCommitCall struct {
// contains filtered or unexported fields
}
func (*EditsCommitCall) Context ¶
func (c *EditsCommitCall) Context(ctx context.Context) *EditsCommitCall
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 (*EditsCommitCall) Do ¶
func (c *EditsCommitCall) Do() (*AppEdit, error)
Do executes the "androidpublisher.edits.commit" call. Exactly one of *AppEdit or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppEdit.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 (*EditsCommitCall) Fields ¶
func (c *EditsCommitCall) Fields(s ...googleapi.Field) *EditsCommitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsCommitCall) QuotaUser ¶
func (c *EditsCommitCall) QuotaUser(quotaUser string) *EditsCommitCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsCommitCall) UserIP ¶
func (c *EditsCommitCall) UserIP(userIP string) *EditsCommitCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsDeleteCall ¶
type EditsDeleteCall struct {
// contains filtered or unexported fields
}
func (*EditsDeleteCall) Context ¶
func (c *EditsDeleteCall) Context(ctx context.Context) *EditsDeleteCall
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 (*EditsDeleteCall) Do ¶
func (c *EditsDeleteCall) Do() error
Do executes the "androidpublisher.edits.delete" call.
func (*EditsDeleteCall) Fields ¶
func (c *EditsDeleteCall) Fields(s ...googleapi.Field) *EditsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsDeleteCall) QuotaUser ¶
func (c *EditsDeleteCall) QuotaUser(quotaUser string) *EditsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsDeleteCall) UserIP ¶
func (c *EditsDeleteCall) UserIP(userIP string) *EditsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsDetailsGetCall ¶
type EditsDetailsGetCall struct {
// contains filtered or unexported fields
}
func (*EditsDetailsGetCall) Context ¶
func (c *EditsDetailsGetCall) Context(ctx context.Context) *EditsDetailsGetCall
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 (*EditsDetailsGetCall) Do ¶
func (c *EditsDetailsGetCall) Do() (*AppDetails, error)
Do executes the "androidpublisher.edits.details.get" call. Exactly one of *AppDetails or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppDetails.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 (*EditsDetailsGetCall) Fields ¶
func (c *EditsDetailsGetCall) Fields(s ...googleapi.Field) *EditsDetailsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsDetailsGetCall) IfNoneMatch ¶
func (c *EditsDetailsGetCall) IfNoneMatch(entityTag string) *EditsDetailsGetCall
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 (*EditsDetailsGetCall) QuotaUser ¶
func (c *EditsDetailsGetCall) QuotaUser(quotaUser string) *EditsDetailsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsDetailsGetCall) UserIP ¶
func (c *EditsDetailsGetCall) UserIP(userIP string) *EditsDetailsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsDetailsPatchCall ¶
type EditsDetailsPatchCall struct {
// contains filtered or unexported fields
}
func (*EditsDetailsPatchCall) Context ¶
func (c *EditsDetailsPatchCall) Context(ctx context.Context) *EditsDetailsPatchCall
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 (*EditsDetailsPatchCall) Do ¶
func (c *EditsDetailsPatchCall) Do() (*AppDetails, error)
Do executes the "androidpublisher.edits.details.patch" call. Exactly one of *AppDetails or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppDetails.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 (*EditsDetailsPatchCall) Fields ¶
func (c *EditsDetailsPatchCall) Fields(s ...googleapi.Field) *EditsDetailsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsDetailsPatchCall) QuotaUser ¶
func (c *EditsDetailsPatchCall) QuotaUser(quotaUser string) *EditsDetailsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsDetailsPatchCall) UserIP ¶
func (c *EditsDetailsPatchCall) UserIP(userIP string) *EditsDetailsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsDetailsService ¶
type EditsDetailsService struct {
// contains filtered or unexported fields
}
func NewEditsDetailsService ¶
func NewEditsDetailsService(s *Service) *EditsDetailsService
func (*EditsDetailsService) Get ¶
func (r *EditsDetailsService) Get(packageNameid string, editId string) *EditsDetailsGetCall
Get: Fetches app details for this edit. This includes the default language and developer support contact information.
func (*EditsDetailsService) Patch ¶
func (r *EditsDetailsService) Patch(packageNameid string, editId string, appdetails *AppDetails) *EditsDetailsPatchCall
Patch: Updates app details for this edit. This method supports patch semantics.
func (*EditsDetailsService) Update ¶
func (r *EditsDetailsService) Update(packageNameid string, editId string, appdetails *AppDetails) *EditsDetailsUpdateCall
Update: Updates app details for this edit.
type EditsDetailsUpdateCall ¶
type EditsDetailsUpdateCall struct {
// contains filtered or unexported fields
}
func (*EditsDetailsUpdateCall) Context ¶
func (c *EditsDetailsUpdateCall) Context(ctx context.Context) *EditsDetailsUpdateCall
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 (*EditsDetailsUpdateCall) Do ¶
func (c *EditsDetailsUpdateCall) Do() (*AppDetails, error)
Do executes the "androidpublisher.edits.details.update" call. Exactly one of *AppDetails or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppDetails.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 (*EditsDetailsUpdateCall) Fields ¶
func (c *EditsDetailsUpdateCall) Fields(s ...googleapi.Field) *EditsDetailsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsDetailsUpdateCall) QuotaUser ¶
func (c *EditsDetailsUpdateCall) QuotaUser(quotaUser string) *EditsDetailsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsDetailsUpdateCall) UserIP ¶
func (c *EditsDetailsUpdateCall) UserIP(userIP string) *EditsDetailsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsExpansionfilesGetCall ¶
type EditsExpansionfilesGetCall struct {
// contains filtered or unexported fields
}
func (*EditsExpansionfilesGetCall) Context ¶
func (c *EditsExpansionfilesGetCall) Context(ctx context.Context) *EditsExpansionfilesGetCall
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 (*EditsExpansionfilesGetCall) Do ¶
func (c *EditsExpansionfilesGetCall) Do() (*ExpansionFile, error)
Do executes the "androidpublisher.edits.expansionfiles.get" call. Exactly one of *ExpansionFile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ExpansionFile.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 (*EditsExpansionfilesGetCall) Fields ¶
func (c *EditsExpansionfilesGetCall) Fields(s ...googleapi.Field) *EditsExpansionfilesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsExpansionfilesGetCall) IfNoneMatch ¶
func (c *EditsExpansionfilesGetCall) IfNoneMatch(entityTag string) *EditsExpansionfilesGetCall
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 (*EditsExpansionfilesGetCall) QuotaUser ¶
func (c *EditsExpansionfilesGetCall) QuotaUser(quotaUser string) *EditsExpansionfilesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsExpansionfilesGetCall) UserIP ¶
func (c *EditsExpansionfilesGetCall) UserIP(userIP string) *EditsExpansionfilesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsExpansionfilesPatchCall ¶
type EditsExpansionfilesPatchCall struct {
// contains filtered or unexported fields
}
func (*EditsExpansionfilesPatchCall) Context ¶
func (c *EditsExpansionfilesPatchCall) Context(ctx context.Context) *EditsExpansionfilesPatchCall
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 (*EditsExpansionfilesPatchCall) Do ¶
func (c *EditsExpansionfilesPatchCall) Do() (*ExpansionFile, error)
Do executes the "androidpublisher.edits.expansionfiles.patch" call. Exactly one of *ExpansionFile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ExpansionFile.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 (*EditsExpansionfilesPatchCall) Fields ¶
func (c *EditsExpansionfilesPatchCall) Fields(s ...googleapi.Field) *EditsExpansionfilesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsExpansionfilesPatchCall) QuotaUser ¶
func (c *EditsExpansionfilesPatchCall) QuotaUser(quotaUser string) *EditsExpansionfilesPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsExpansionfilesPatchCall) UserIP ¶
func (c *EditsExpansionfilesPatchCall) UserIP(userIP string) *EditsExpansionfilesPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsExpansionfilesService ¶
type EditsExpansionfilesService struct {
// contains filtered or unexported fields
}
func NewEditsExpansionfilesService ¶
func NewEditsExpansionfilesService(s *Service) *EditsExpansionfilesService
func (*EditsExpansionfilesService) Get ¶
func (r *EditsExpansionfilesService) Get(packageNameid string, editId string, apkVersionCode int64, expansionFileType string) *EditsExpansionfilesGetCall
Get: Fetches the Expansion File configuration for the APK specified.
func (*EditsExpansionfilesService) Patch ¶
func (r *EditsExpansionfilesService) Patch(packageNameid string, editId string, apkVersionCode int64, expansionFileType string, expansionfile *ExpansionFile) *EditsExpansionfilesPatchCall
Patch: Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method. This method supports patch semantics.
func (*EditsExpansionfilesService) Update ¶
func (r *EditsExpansionfilesService) Update(packageNameid string, editId string, apkVersionCode int64, expansionFileType string, expansionfile *ExpansionFile) *EditsExpansionfilesUpdateCall
Update: Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method.
func (*EditsExpansionfilesService) Upload ¶
func (r *EditsExpansionfilesService) Upload(packageNameid string, editId string, apkVersionCode int64, expansionFileType string) *EditsExpansionfilesUploadCall
Upload: Uploads and attaches a new Expansion File to the APK specified.
type EditsExpansionfilesUpdateCall ¶
type EditsExpansionfilesUpdateCall struct {
// contains filtered or unexported fields
}
func (*EditsExpansionfilesUpdateCall) Context ¶
func (c *EditsExpansionfilesUpdateCall) Context(ctx context.Context) *EditsExpansionfilesUpdateCall
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 (*EditsExpansionfilesUpdateCall) Do ¶
func (c *EditsExpansionfilesUpdateCall) Do() (*ExpansionFile, error)
Do executes the "androidpublisher.edits.expansionfiles.update" call. Exactly one of *ExpansionFile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ExpansionFile.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 (*EditsExpansionfilesUpdateCall) Fields ¶
func (c *EditsExpansionfilesUpdateCall) Fields(s ...googleapi.Field) *EditsExpansionfilesUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsExpansionfilesUpdateCall) QuotaUser ¶
func (c *EditsExpansionfilesUpdateCall) QuotaUser(quotaUser string) *EditsExpansionfilesUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsExpansionfilesUpdateCall) UserIP ¶
func (c *EditsExpansionfilesUpdateCall) UserIP(userIP string) *EditsExpansionfilesUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsExpansionfilesUploadCall ¶
type EditsExpansionfilesUploadCall struct {
// contains filtered or unexported fields
}
func (*EditsExpansionfilesUploadCall) Context ¶
func (c *EditsExpansionfilesUploadCall) Context(ctx context.Context) *EditsExpansionfilesUploadCall
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. This context will supersede any context previously provided to the ResumableMedia method.
func (*EditsExpansionfilesUploadCall) Do ¶
func (c *EditsExpansionfilesUploadCall) Do() (*ExpansionFilesUploadResponse, error)
Do executes the "androidpublisher.edits.expansionfiles.upload" call. Exactly one of *ExpansionFilesUploadResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ExpansionFilesUploadResponse.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 (*EditsExpansionfilesUploadCall) Fields ¶
func (c *EditsExpansionfilesUploadCall) Fields(s ...googleapi.Field) *EditsExpansionfilesUploadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsExpansionfilesUploadCall) Media ¶
func (c *EditsExpansionfilesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsExpansionfilesUploadCall
Media specifies the media to upload in a single chunk. At most one of Media and ResumableMedia may be set.
func (*EditsExpansionfilesUploadCall) ProgressUpdater ¶
func (c *EditsExpansionfilesUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsExpansionfilesUploadCall
ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).
func (*EditsExpansionfilesUploadCall) QuotaUser ¶
func (c *EditsExpansionfilesUploadCall) QuotaUser(quotaUser string) *EditsExpansionfilesUploadCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsExpansionfilesUploadCall) ResumableMedia ¶
func (c *EditsExpansionfilesUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsExpansionfilesUploadCall
ResumableMedia specifies the media to upload in chunks and can be canceled with ctx. At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.
func (*EditsExpansionfilesUploadCall) UserIP ¶
func (c *EditsExpansionfilesUploadCall) UserIP(userIP string) *EditsExpansionfilesUploadCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsGetCall ¶
type EditsGetCall struct {
// contains filtered or unexported fields
}
func (*EditsGetCall) Context ¶
func (c *EditsGetCall) Context(ctx context.Context) *EditsGetCall
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 (*EditsGetCall) Do ¶
func (c *EditsGetCall) Do() (*AppEdit, error)
Do executes the "androidpublisher.edits.get" call. Exactly one of *AppEdit or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppEdit.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 (*EditsGetCall) Fields ¶
func (c *EditsGetCall) Fields(s ...googleapi.Field) *EditsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsGetCall) IfNoneMatch ¶
func (c *EditsGetCall) IfNoneMatch(entityTag string) *EditsGetCall
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 (*EditsGetCall) QuotaUser ¶
func (c *EditsGetCall) QuotaUser(quotaUser string) *EditsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsGetCall) UserIP ¶
func (c *EditsGetCall) UserIP(userIP string) *EditsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsImagesDeleteCall ¶
type EditsImagesDeleteCall struct {
// contains filtered or unexported fields
}
func (*EditsImagesDeleteCall) Context ¶
func (c *EditsImagesDeleteCall) Context(ctx context.Context) *EditsImagesDeleteCall
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 (*EditsImagesDeleteCall) Do ¶
func (c *EditsImagesDeleteCall) Do() error
Do executes the "androidpublisher.edits.images.delete" call.
func (*EditsImagesDeleteCall) Fields ¶
func (c *EditsImagesDeleteCall) Fields(s ...googleapi.Field) *EditsImagesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsImagesDeleteCall) QuotaUser ¶
func (c *EditsImagesDeleteCall) QuotaUser(quotaUser string) *EditsImagesDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsImagesDeleteCall) UserIP ¶
func (c *EditsImagesDeleteCall) UserIP(userIP string) *EditsImagesDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsImagesDeleteallCall ¶
type EditsImagesDeleteallCall struct {
// contains filtered or unexported fields
}
func (*EditsImagesDeleteallCall) Context ¶
func (c *EditsImagesDeleteallCall) Context(ctx context.Context) *EditsImagesDeleteallCall
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 (*EditsImagesDeleteallCall) Do ¶
func (c *EditsImagesDeleteallCall) Do() (*ImagesDeleteAllResponse, error)
Do executes the "androidpublisher.edits.images.deleteall" call. Exactly one of *ImagesDeleteAllResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ImagesDeleteAllResponse.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 (*EditsImagesDeleteallCall) Fields ¶
func (c *EditsImagesDeleteallCall) Fields(s ...googleapi.Field) *EditsImagesDeleteallCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsImagesDeleteallCall) QuotaUser ¶
func (c *EditsImagesDeleteallCall) QuotaUser(quotaUser string) *EditsImagesDeleteallCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsImagesDeleteallCall) UserIP ¶
func (c *EditsImagesDeleteallCall) UserIP(userIP string) *EditsImagesDeleteallCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsImagesListCall ¶
type EditsImagesListCall struct {
// contains filtered or unexported fields
}
func (*EditsImagesListCall) Context ¶
func (c *EditsImagesListCall) Context(ctx context.Context) *EditsImagesListCall
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 (*EditsImagesListCall) Do ¶
func (c *EditsImagesListCall) Do() (*ImagesListResponse, error)
Do executes the "androidpublisher.edits.images.list" call. Exactly one of *ImagesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ImagesListResponse.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 (*EditsImagesListCall) Fields ¶
func (c *EditsImagesListCall) Fields(s ...googleapi.Field) *EditsImagesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsImagesListCall) IfNoneMatch ¶
func (c *EditsImagesListCall) IfNoneMatch(entityTag string) *EditsImagesListCall
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 (*EditsImagesListCall) QuotaUser ¶
func (c *EditsImagesListCall) QuotaUser(quotaUser string) *EditsImagesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsImagesListCall) UserIP ¶
func (c *EditsImagesListCall) UserIP(userIP string) *EditsImagesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsImagesService ¶
type EditsImagesService struct {
// contains filtered or unexported fields
}
func NewEditsImagesService ¶
func NewEditsImagesService(s *Service) *EditsImagesService
func (*EditsImagesService) Delete ¶
func (r *EditsImagesService) Delete(packageNameid string, editId string, language string, imageType string, imageId string) *EditsImagesDeleteCall
Delete: Deletes the image (specified by id) from the edit.
func (*EditsImagesService) Deleteall ¶
func (r *EditsImagesService) Deleteall(packageNameid string, editId string, language string, imageType string) *EditsImagesDeleteallCall
Deleteall: Deletes all images for the specified language and image type.
func (*EditsImagesService) List ¶
func (r *EditsImagesService) List(packageNameid string, editId string, language string, imageType string) *EditsImagesListCall
List: Lists all images for the specified language and image type.
func (*EditsImagesService) Upload ¶
func (r *EditsImagesService) Upload(packageNameid string, editId string, language string, imageType string) *EditsImagesUploadCall
Upload: Uploads a new image and adds it to the list of images for the specified language and image type.
type EditsImagesUploadCall ¶
type EditsImagesUploadCall struct {
// contains filtered or unexported fields
}
func (*EditsImagesUploadCall) Context ¶
func (c *EditsImagesUploadCall) Context(ctx context.Context) *EditsImagesUploadCall
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. This context will supersede any context previously provided to the ResumableMedia method.
func (*EditsImagesUploadCall) Do ¶
func (c *EditsImagesUploadCall) Do() (*ImagesUploadResponse, error)
Do executes the "androidpublisher.edits.images.upload" call. Exactly one of *ImagesUploadResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ImagesUploadResponse.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 (*EditsImagesUploadCall) Fields ¶
func (c *EditsImagesUploadCall) Fields(s ...googleapi.Field) *EditsImagesUploadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsImagesUploadCall) Media ¶
func (c *EditsImagesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsImagesUploadCall
Media specifies the media to upload in a single chunk. At most one of Media and ResumableMedia may be set.
func (*EditsImagesUploadCall) ProgressUpdater ¶
func (c *EditsImagesUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsImagesUploadCall
ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).
func (*EditsImagesUploadCall) QuotaUser ¶
func (c *EditsImagesUploadCall) QuotaUser(quotaUser string) *EditsImagesUploadCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsImagesUploadCall) ResumableMedia ¶
func (c *EditsImagesUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsImagesUploadCall
ResumableMedia specifies the media to upload in chunks and can be canceled with ctx. At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.
func (*EditsImagesUploadCall) UserIP ¶
func (c *EditsImagesUploadCall) UserIP(userIP string) *EditsImagesUploadCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsInsertCall ¶
type EditsInsertCall struct {
// contains filtered or unexported fields
}
func (*EditsInsertCall) Context ¶
func (c *EditsInsertCall) Context(ctx context.Context) *EditsInsertCall
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 (*EditsInsertCall) Do ¶
func (c *EditsInsertCall) Do() (*AppEdit, error)
Do executes the "androidpublisher.edits.insert" call. Exactly one of *AppEdit or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppEdit.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 (*EditsInsertCall) Fields ¶
func (c *EditsInsertCall) Fields(s ...googleapi.Field) *EditsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsInsertCall) QuotaUser ¶
func (c *EditsInsertCall) QuotaUser(quotaUser string) *EditsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsInsertCall) UserIP ¶
func (c *EditsInsertCall) UserIP(userIP string) *EditsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsListingsDeleteCall ¶
type EditsListingsDeleteCall struct {
// contains filtered or unexported fields
}
func (*EditsListingsDeleteCall) Context ¶
func (c *EditsListingsDeleteCall) Context(ctx context.Context) *EditsListingsDeleteCall
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 (*EditsListingsDeleteCall) Do ¶
func (c *EditsListingsDeleteCall) Do() error
Do executes the "androidpublisher.edits.listings.delete" call.
func (*EditsListingsDeleteCall) Fields ¶
func (c *EditsListingsDeleteCall) Fields(s ...googleapi.Field) *EditsListingsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsListingsDeleteCall) QuotaUser ¶
func (c *EditsListingsDeleteCall) QuotaUser(quotaUser string) *EditsListingsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsListingsDeleteCall) UserIP ¶
func (c *EditsListingsDeleteCall) UserIP(userIP string) *EditsListingsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsListingsDeleteallCall ¶
type EditsListingsDeleteallCall struct {
// contains filtered or unexported fields
}
func (*EditsListingsDeleteallCall) Context ¶
func (c *EditsListingsDeleteallCall) Context(ctx context.Context) *EditsListingsDeleteallCall
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 (*EditsListingsDeleteallCall) Do ¶
func (c *EditsListingsDeleteallCall) Do() error
Do executes the "androidpublisher.edits.listings.deleteall" call.
func (*EditsListingsDeleteallCall) Fields ¶
func (c *EditsListingsDeleteallCall) Fields(s ...googleapi.Field) *EditsListingsDeleteallCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsListingsDeleteallCall) QuotaUser ¶
func (c *EditsListingsDeleteallCall) QuotaUser(quotaUser string) *EditsListingsDeleteallCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsListingsDeleteallCall) UserIP ¶
func (c *EditsListingsDeleteallCall) UserIP(userIP string) *EditsListingsDeleteallCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsListingsGetCall ¶
type EditsListingsGetCall struct {
// contains filtered or unexported fields
}
func (*EditsListingsGetCall) Context ¶
func (c *EditsListingsGetCall) Context(ctx context.Context) *EditsListingsGetCall
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 (*EditsListingsGetCall) Do ¶
func (c *EditsListingsGetCall) Do() (*Listing, error)
Do executes the "androidpublisher.edits.listings.get" call. Exactly one of *Listing or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Listing.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 (*EditsListingsGetCall) Fields ¶
func (c *EditsListingsGetCall) Fields(s ...googleapi.Field) *EditsListingsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsListingsGetCall) IfNoneMatch ¶
func (c *EditsListingsGetCall) IfNoneMatch(entityTag string) *EditsListingsGetCall
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 (*EditsListingsGetCall) QuotaUser ¶
func (c *EditsListingsGetCall) QuotaUser(quotaUser string) *EditsListingsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsListingsGetCall) UserIP ¶
func (c *EditsListingsGetCall) UserIP(userIP string) *EditsListingsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsListingsListCall ¶
type EditsListingsListCall struct {
// contains filtered or unexported fields
}
func (*EditsListingsListCall) Context ¶
func (c *EditsListingsListCall) Context(ctx context.Context) *EditsListingsListCall
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 (*EditsListingsListCall) Do ¶
func (c *EditsListingsListCall) Do() (*ListingsListResponse, error)
Do executes the "androidpublisher.edits.listings.list" call. Exactly one of *ListingsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListingsListResponse.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 (*EditsListingsListCall) Fields ¶
func (c *EditsListingsListCall) Fields(s ...googleapi.Field) *EditsListingsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsListingsListCall) IfNoneMatch ¶
func (c *EditsListingsListCall) IfNoneMatch(entityTag string) *EditsListingsListCall
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 (*EditsListingsListCall) QuotaUser ¶
func (c *EditsListingsListCall) QuotaUser(quotaUser string) *EditsListingsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsListingsListCall) UserIP ¶
func (c *EditsListingsListCall) UserIP(userIP string) *EditsListingsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsListingsPatchCall ¶
type EditsListingsPatchCall struct {
// contains filtered or unexported fields
}
func (*EditsListingsPatchCall) Context ¶
func (c *EditsListingsPatchCall) Context(ctx context.Context) *EditsListingsPatchCall
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 (*EditsListingsPatchCall) Do ¶
func (c *EditsListingsPatchCall) Do() (*Listing, error)
Do executes the "androidpublisher.edits.listings.patch" call. Exactly one of *Listing or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Listing.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 (*EditsListingsPatchCall) Fields ¶
func (c *EditsListingsPatchCall) Fields(s ...googleapi.Field) *EditsListingsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsListingsPatchCall) QuotaUser ¶
func (c *EditsListingsPatchCall) QuotaUser(quotaUser string) *EditsListingsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsListingsPatchCall) UserIP ¶
func (c *EditsListingsPatchCall) UserIP(userIP string) *EditsListingsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsListingsService ¶
type EditsListingsService struct {
// contains filtered or unexported fields
}
func NewEditsListingsService ¶
func NewEditsListingsService(s *Service) *EditsListingsService
func (*EditsListingsService) Delete ¶
func (r *EditsListingsService) Delete(packageNameid string, editId string, language string) *EditsListingsDeleteCall
Delete: Deletes the specified localized store listing from an edit.
func (*EditsListingsService) Deleteall ¶
func (r *EditsListingsService) Deleteall(packageNameid string, editId string) *EditsListingsDeleteallCall
Deleteall: Deletes all localized listings from an edit.
func (*EditsListingsService) Get ¶
func (r *EditsListingsService) Get(packageNameid string, editId string, language string) *EditsListingsGetCall
Get: Fetches information about a localized store listing.
func (*EditsListingsService) List ¶
func (r *EditsListingsService) List(packageNameid string, editId string) *EditsListingsListCall
List: Returns all of the localized store listings attached to this edit.
func (*EditsListingsService) Patch ¶
func (r *EditsListingsService) Patch(packageNameid string, editId string, language string, listing *Listing) *EditsListingsPatchCall
Patch: Creates or updates a localized store listing. This method supports patch semantics.
func (*EditsListingsService) Update ¶
func (r *EditsListingsService) Update(packageNameid string, editId string, language string, listing *Listing) *EditsListingsUpdateCall
Update: Creates or updates a localized store listing.
type EditsListingsUpdateCall ¶
type EditsListingsUpdateCall struct {
// contains filtered or unexported fields
}
func (*EditsListingsUpdateCall) Context ¶
func (c *EditsListingsUpdateCall) Context(ctx context.Context) *EditsListingsUpdateCall
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 (*EditsListingsUpdateCall) Do ¶
func (c *EditsListingsUpdateCall) Do() (*Listing, error)
Do executes the "androidpublisher.edits.listings.update" call. Exactly one of *Listing or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Listing.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 (*EditsListingsUpdateCall) Fields ¶
func (c *EditsListingsUpdateCall) Fields(s ...googleapi.Field) *EditsListingsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsListingsUpdateCall) QuotaUser ¶
func (c *EditsListingsUpdateCall) QuotaUser(quotaUser string) *EditsListingsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsListingsUpdateCall) UserIP ¶
func (c *EditsListingsUpdateCall) UserIP(userIP string) *EditsListingsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsService ¶
type EditsService struct { Apklistings *EditsApklistingsService Apks *EditsApksService Details *EditsDetailsService Expansionfiles *EditsExpansionfilesService Images *EditsImagesService Listings *EditsListingsService Testers *EditsTestersService Tracks *EditsTracksService // contains filtered or unexported fields }
func NewEditsService ¶
func NewEditsService(s *Service) *EditsService
func (*EditsService) Commit ¶
func (r *EditsService) Commit(packageNameid string, editId string) *EditsCommitCall
Commit: Commits/applies the changes made in this edit back to the app.
func (*EditsService) Delete ¶
func (r *EditsService) Delete(packageNameid string, editId string) *EditsDeleteCall
Delete: Deletes an edit for an app. Creating a new edit will automatically delete any of your previous edits so this method need only be called if you want to preemptively abandon an edit.
func (*EditsService) Get ¶
func (r *EditsService) Get(packageNameid string, editId string) *EditsGetCall
Get: Returns information about the edit specified. Calls will fail if the edit is no long active (e.g. has been deleted, superseded or expired).
func (*EditsService) Insert ¶
func (r *EditsService) Insert(packageNameid string, appedit *AppEdit) *EditsInsertCall
Insert: Creates a new edit for an app, populated with the app's current state.
func (*EditsService) Validate ¶
func (r *EditsService) Validate(packageNameid string, editId string) *EditsValidateCall
Validate: Checks that the edit can be successfully committed. The edit's changes are not applied to the live app.
type EditsTestersGetCall ¶
type EditsTestersGetCall struct {
// contains filtered or unexported fields
}
func (*EditsTestersGetCall) Context ¶
func (c *EditsTestersGetCall) Context(ctx context.Context) *EditsTestersGetCall
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 (*EditsTestersGetCall) Do ¶
func (c *EditsTestersGetCall) Do() (*Testers, error)
Do executes the "androidpublisher.edits.testers.get" call. Exactly one of *Testers or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Testers.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 (*EditsTestersGetCall) Fields ¶
func (c *EditsTestersGetCall) Fields(s ...googleapi.Field) *EditsTestersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsTestersGetCall) IfNoneMatch ¶
func (c *EditsTestersGetCall) IfNoneMatch(entityTag string) *EditsTestersGetCall
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 (*EditsTestersGetCall) QuotaUser ¶
func (c *EditsTestersGetCall) QuotaUser(quotaUser string) *EditsTestersGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsTestersGetCall) UserIP ¶
func (c *EditsTestersGetCall) UserIP(userIP string) *EditsTestersGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsTestersPatchCall ¶
type EditsTestersPatchCall struct {
// contains filtered or unexported fields
}
func (*EditsTestersPatchCall) Context ¶
func (c *EditsTestersPatchCall) Context(ctx context.Context) *EditsTestersPatchCall
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 (*EditsTestersPatchCall) Do ¶
func (c *EditsTestersPatchCall) Do() (*Testers, error)
Do executes the "androidpublisher.edits.testers.patch" call. Exactly one of *Testers or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Testers.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 (*EditsTestersPatchCall) Fields ¶
func (c *EditsTestersPatchCall) Fields(s ...googleapi.Field) *EditsTestersPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsTestersPatchCall) QuotaUser ¶
func (c *EditsTestersPatchCall) QuotaUser(quotaUser string) *EditsTestersPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsTestersPatchCall) UserIP ¶
func (c *EditsTestersPatchCall) UserIP(userIP string) *EditsTestersPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsTestersService ¶
type EditsTestersService struct {
// contains filtered or unexported fields
}
func NewEditsTestersService ¶
func NewEditsTestersService(s *Service) *EditsTestersService
func (*EditsTestersService) Get ¶
func (r *EditsTestersService) Get(packageNameid string, editId string, track string) *EditsTestersGetCall
Get:
func (*EditsTestersService) Patch ¶
func (r *EditsTestersService) Patch(packageNameid string, editId string, track string, testers *Testers) *EditsTestersPatchCall
Patch:
func (*EditsTestersService) Update ¶
func (r *EditsTestersService) Update(packageNameid string, editId string, track string, testers *Testers) *EditsTestersUpdateCall
Update:
type EditsTestersUpdateCall ¶
type EditsTestersUpdateCall struct {
// contains filtered or unexported fields
}
func (*EditsTestersUpdateCall) Context ¶
func (c *EditsTestersUpdateCall) Context(ctx context.Context) *EditsTestersUpdateCall
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 (*EditsTestersUpdateCall) Do ¶
func (c *EditsTestersUpdateCall) Do() (*Testers, error)
Do executes the "androidpublisher.edits.testers.update" call. Exactly one of *Testers or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Testers.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 (*EditsTestersUpdateCall) Fields ¶
func (c *EditsTestersUpdateCall) Fields(s ...googleapi.Field) *EditsTestersUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsTestersUpdateCall) QuotaUser ¶
func (c *EditsTestersUpdateCall) QuotaUser(quotaUser string) *EditsTestersUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsTestersUpdateCall) UserIP ¶
func (c *EditsTestersUpdateCall) UserIP(userIP string) *EditsTestersUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsTracksGetCall ¶
type EditsTracksGetCall struct {
// contains filtered or unexported fields
}
func (*EditsTracksGetCall) Context ¶
func (c *EditsTracksGetCall) Context(ctx context.Context) *EditsTracksGetCall
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 (*EditsTracksGetCall) Do ¶
func (c *EditsTracksGetCall) Do() (*Track, error)
Do executes the "androidpublisher.edits.tracks.get" call. Exactly one of *Track or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Track.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 (*EditsTracksGetCall) Fields ¶
func (c *EditsTracksGetCall) Fields(s ...googleapi.Field) *EditsTracksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsTracksGetCall) IfNoneMatch ¶
func (c *EditsTracksGetCall) IfNoneMatch(entityTag string) *EditsTracksGetCall
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 (*EditsTracksGetCall) QuotaUser ¶
func (c *EditsTracksGetCall) QuotaUser(quotaUser string) *EditsTracksGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsTracksGetCall) UserIP ¶
func (c *EditsTracksGetCall) UserIP(userIP string) *EditsTracksGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsTracksListCall ¶
type EditsTracksListCall struct {
// contains filtered or unexported fields
}
func (*EditsTracksListCall) Context ¶
func (c *EditsTracksListCall) Context(ctx context.Context) *EditsTracksListCall
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 (*EditsTracksListCall) Do ¶
func (c *EditsTracksListCall) Do() (*TracksListResponse, error)
Do executes the "androidpublisher.edits.tracks.list" call. Exactly one of *TracksListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TracksListResponse.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 (*EditsTracksListCall) Fields ¶
func (c *EditsTracksListCall) Fields(s ...googleapi.Field) *EditsTracksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsTracksListCall) IfNoneMatch ¶
func (c *EditsTracksListCall) IfNoneMatch(entityTag string) *EditsTracksListCall
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 (*EditsTracksListCall) QuotaUser ¶
func (c *EditsTracksListCall) QuotaUser(quotaUser string) *EditsTracksListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsTracksListCall) UserIP ¶
func (c *EditsTracksListCall) UserIP(userIP string) *EditsTracksListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsTracksPatchCall ¶
type EditsTracksPatchCall struct {
// contains filtered or unexported fields
}
func (*EditsTracksPatchCall) Context ¶
func (c *EditsTracksPatchCall) Context(ctx context.Context) *EditsTracksPatchCall
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 (*EditsTracksPatchCall) Do ¶
func (c *EditsTracksPatchCall) Do() (*Track, error)
Do executes the "androidpublisher.edits.tracks.patch" call. Exactly one of *Track or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Track.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 (*EditsTracksPatchCall) Fields ¶
func (c *EditsTracksPatchCall) Fields(s ...googleapi.Field) *EditsTracksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsTracksPatchCall) QuotaUser ¶
func (c *EditsTracksPatchCall) QuotaUser(quotaUser string) *EditsTracksPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsTracksPatchCall) UserIP ¶
func (c *EditsTracksPatchCall) UserIP(userIP string) *EditsTracksPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsTracksService ¶
type EditsTracksService struct {
// contains filtered or unexported fields
}
func NewEditsTracksService ¶
func NewEditsTracksService(s *Service) *EditsTracksService
func (*EditsTracksService) Get ¶
func (r *EditsTracksService) Get(packageNameid string, editId string, track string) *EditsTracksGetCall
Get: Fetches the track configuration for the specified track type. Includes the APK version codes that are in this track.
func (*EditsTracksService) List ¶
func (r *EditsTracksService) List(packageNameid string, editId string) *EditsTracksListCall
List: Lists all the track configurations for this edit.
func (*EditsTracksService) Patch ¶
func (r *EditsTracksService) Patch(packageNameid string, editId string, track string, track2 *Track) *EditsTracksPatchCall
Patch: Updates the track configuration for the specified track type. When halted, the rollout track cannot be updated without adding new APKs, and adding new APKs will cause it to resume. This method supports patch semantics.
func (*EditsTracksService) Update ¶
func (r *EditsTracksService) Update(packageNameid string, editId string, track string, track2 *Track) *EditsTracksUpdateCall
Update: Updates the track configuration for the specified track type. When halted, the rollout track cannot be updated without adding new APKs, and adding new APKs will cause it to resume.
type EditsTracksUpdateCall ¶
type EditsTracksUpdateCall struct {
// contains filtered or unexported fields
}
func (*EditsTracksUpdateCall) Context ¶
func (c *EditsTracksUpdateCall) Context(ctx context.Context) *EditsTracksUpdateCall
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 (*EditsTracksUpdateCall) Do ¶
func (c *EditsTracksUpdateCall) Do() (*Track, error)
Do executes the "androidpublisher.edits.tracks.update" call. Exactly one of *Track or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Track.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 (*EditsTracksUpdateCall) Fields ¶
func (c *EditsTracksUpdateCall) Fields(s ...googleapi.Field) *EditsTracksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsTracksUpdateCall) QuotaUser ¶
func (c *EditsTracksUpdateCall) QuotaUser(quotaUser string) *EditsTracksUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsTracksUpdateCall) UserIP ¶
func (c *EditsTracksUpdateCall) UserIP(userIP string) *EditsTracksUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EditsValidateCall ¶
type EditsValidateCall struct {
// contains filtered or unexported fields
}
func (*EditsValidateCall) Context ¶
func (c *EditsValidateCall) Context(ctx context.Context) *EditsValidateCall
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 (*EditsValidateCall) Do ¶
func (c *EditsValidateCall) Do() (*AppEdit, error)
Do executes the "androidpublisher.edits.validate" call. Exactly one of *AppEdit or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppEdit.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 (*EditsValidateCall) Fields ¶
func (c *EditsValidateCall) Fields(s ...googleapi.Field) *EditsValidateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EditsValidateCall) QuotaUser ¶
func (c *EditsValidateCall) QuotaUser(quotaUser string) *EditsValidateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EditsValidateCall) UserIP ¶
func (c *EditsValidateCall) UserIP(userIP string) *EditsValidateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type Entitlement ¶
type Entitlement struct { // Kind: This kind represents an entitlement object in the // androidpublisher service. Kind string `json:"kind,omitempty"` // ProductId: The SKU of the product. ProductId string `json:"productId,omitempty"` // ProductType: The type of the inapp product. Possible values are: // - In-app item: "inapp" // - Subscription: "subs" ProductType string `json:"productType,omitempty"` // Token: The token which can be verified using the subscriptions or // products API. Token string `json:"token,omitempty"` // ForceSendFields is a list of field names (e.g. "Kind") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Entitlement: An Entitlement resource indicates a user's current entitlement to an inapp item or subscription.
func (*Entitlement) MarshalJSON ¶
func (s *Entitlement) MarshalJSON() ([]byte, error)
type EntitlementsListCall ¶
type EntitlementsListCall struct {
// contains filtered or unexported fields
}
func (*EntitlementsListCall) Context ¶
func (c *EntitlementsListCall) Context(ctx context.Context) *EntitlementsListCall
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 (*EntitlementsListCall) Do ¶
func (c *EntitlementsListCall) Do() (*EntitlementsListResponse, error)
Do executes the "androidpublisher.entitlements.list" call. Exactly one of *EntitlementsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *EntitlementsListResponse.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 (*EntitlementsListCall) Fields ¶
func (c *EntitlementsListCall) Fields(s ...googleapi.Field) *EntitlementsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EntitlementsListCall) IfNoneMatch ¶
func (c *EntitlementsListCall) IfNoneMatch(entityTag string) *EntitlementsListCall
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 (*EntitlementsListCall) MaxResults ¶
func (c *EntitlementsListCall) MaxResults(maxResults int64) *EntitlementsListCall
MaxResults sets the optional parameter "maxResults":
func (*EntitlementsListCall) ProductId ¶
func (c *EntitlementsListCall) ProductId(productId string) *EntitlementsListCall
ProductId sets the optional parameter "productId": The product id of the inapp product (for example, 'sku1'). This can be used to restrict the result set.
func (*EntitlementsListCall) QuotaUser ¶
func (c *EntitlementsListCall) QuotaUser(quotaUser string) *EntitlementsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*EntitlementsListCall) StartIndex ¶
func (c *EntitlementsListCall) StartIndex(startIndex int64) *EntitlementsListCall
StartIndex sets the optional parameter "startIndex":
func (*EntitlementsListCall) Token ¶
func (c *EntitlementsListCall) Token(token string) *EntitlementsListCall
Token sets the optional parameter "token":
func (*EntitlementsListCall) UserIP ¶
func (c *EntitlementsListCall) UserIP(userIP string) *EntitlementsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type EntitlementsListResponse ¶
type EntitlementsListResponse struct { PageInfo *PageInfo `json:"pageInfo,omitempty"` Resources []*Entitlement `json:"resources,omitempty"` TokenPagination *TokenPagination `json:"tokenPagination,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "PageInfo") 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:"-"` }
func (*EntitlementsListResponse) MarshalJSON ¶
func (s *EntitlementsListResponse) MarshalJSON() ([]byte, error)
type EntitlementsService ¶
type EntitlementsService struct {
// contains filtered or unexported fields
}
func NewEntitlementsService ¶
func NewEntitlementsService(s *Service) *EntitlementsService
func (*EntitlementsService) List ¶
func (r *EntitlementsService) List(packageName string) *EntitlementsListCall
List: Lists the user's current inapp item or subscription entitlements
type ExpansionFile ¶
type ExpansionFile struct { // FileSize: If set this field indicates that this APK has an Expansion // File uploaded to it: this APK does not reference another APK's // Expansion File. The field's value is the size of the uploaded // Expansion File in bytes. FileSize int64 `json:"fileSize,omitempty,string"` // ReferencesVersion: If set this APK's Expansion File references // another APK's Expansion File. The file_size field will not be set. ReferencesVersion int64 `json:"referencesVersion,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FileSize") 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:"-"` }
func (*ExpansionFile) MarshalJSON ¶
func (s *ExpansionFile) MarshalJSON() ([]byte, error)
type ExpansionFilesUploadResponse ¶
type ExpansionFilesUploadResponse struct { ExpansionFile *ExpansionFile `json:"expansionFile,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ExpansionFile") 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:"-"` }
func (*ExpansionFilesUploadResponse) MarshalJSON ¶
func (s *ExpansionFilesUploadResponse) MarshalJSON() ([]byte, error)
type ExternallyHostedApk ¶
type ExternallyHostedApk struct { // ApplicationLabel: The application label. ApplicationLabel string `json:"applicationLabel,omitempty"` // CertificateBase64s: A certificate (or array of certificates if a // certificate-chain is used) used to signed this APK, represented as a // base64 encoded byte array. CertificateBase64s []string `json:"certificateBase64s,omitempty"` // ExternallyHostedUrl: The URL at which the APK is hosted. This must be // an https URL. ExternallyHostedUrl string `json:"externallyHostedUrl,omitempty"` // FileSha1Base64: The SHA1 checksum of this APK, represented as a // base64 encoded byte array. FileSha1Base64 string `json:"fileSha1Base64,omitempty"` // FileSha256Base64: The SHA256 checksum of this APK, represented as a // base64 encoded byte array. FileSha256Base64 string `json:"fileSha256Base64,omitempty"` // FileSize: The file size in bytes of this APK. FileSize int64 `json:"fileSize,omitempty,string"` // IconBase64: The icon image from the APK, as a base64 encoded byte // array. IconBase64 string `json:"iconBase64,omitempty"` // MaximumSdk: The maximum SDK supported by this APK (optional). MaximumSdk int64 `json:"maximumSdk,omitempty"` // MinimumSdk: The minimum SDK targeted by this APK. MinimumSdk int64 `json:"minimumSdk,omitempty"` // NativeCodes: The native code environments supported by this APK // (optional). NativeCodes []string `json:"nativeCodes,omitempty"` // PackageName: The package name. PackageName string `json:"packageName,omitempty"` // UsesFeatures: The features required by this APK (optional). UsesFeatures []string `json:"usesFeatures,omitempty"` // UsesPermissions: The permissions requested by this APK. UsesPermissions []*ExternallyHostedApkUsesPermission `json:"usesPermissions,omitempty"` // VersionCode: The version code of this APK. VersionCode int64 `json:"versionCode,omitempty"` // VersionName: The version name of this APK. VersionName string `json:"versionName,omitempty"` // ForceSendFields is a list of field names (e.g. "ApplicationLabel") 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:"-"` }
ExternallyHostedApk: Defines an APK available for this application that is hosted externally and not uploaded to Google Play. This function is only available to enterprises who are using Google Play for Work, and whos application is restricted to the enterprise private channel
func (*ExternallyHostedApk) MarshalJSON ¶
func (s *ExternallyHostedApk) MarshalJSON() ([]byte, error)
type ExternallyHostedApkUsesPermission ¶
type ExternallyHostedApkUsesPermission struct { // MaxSdkVersion: Optionally, the maximum SDK version for which the // permission is required. MaxSdkVersion int64 `json:"maxSdkVersion,omitempty"` // Name: The name of the permission requested. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxSdkVersion") 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:"-"` }
ExternallyHostedApkUsesPermission: A permission used by this APK.
func (*ExternallyHostedApkUsesPermission) MarshalJSON ¶
func (s *ExternallyHostedApkUsesPermission) MarshalJSON() ([]byte, error)
type Image ¶
type Image struct { // Id: A unique id representing this image. Id string `json:"id,omitempty"` // Sha1: A sha1 hash of the image that was uploaded. Sha1 string `json:"sha1,omitempty"` // Url: A URL that will serve a preview of the image. Url string `json:"url,omitempty"` // 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:"-"` }
func (*Image) MarshalJSON ¶
type ImagesDeleteAllResponse ¶
type ImagesDeleteAllResponse struct { Deleted []*Image `json:"deleted,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Deleted") 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:"-"` }
func (*ImagesDeleteAllResponse) MarshalJSON ¶
func (s *ImagesDeleteAllResponse) MarshalJSON() ([]byte, error)
type ImagesListResponse ¶
type ImagesListResponse struct { Images []*Image `json:"images,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Images") 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:"-"` }
func (*ImagesListResponse) MarshalJSON ¶
func (s *ImagesListResponse) MarshalJSON() ([]byte, error)
type ImagesUploadResponse ¶
type ImagesUploadResponse struct { Image *Image `json:"image,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Image") 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:"-"` }
func (*ImagesUploadResponse) MarshalJSON ¶
func (s *ImagesUploadResponse) MarshalJSON() ([]byte, error)
type InAppProduct ¶
type InAppProduct struct { // DefaultLanguage: The default language of the localized data, as // defined by BCP 47. e.g. "en-US", "en-GB". DefaultLanguage string `json:"defaultLanguage,omitempty"` // DefaultPrice: Default price cannot be zero. In-app products can never // be free. Default price is always in the developer's Checkout merchant // currency. DefaultPrice *Price `json:"defaultPrice,omitempty"` // Listings: List of localized title and description data. Listings map[string]InAppProductListing `json:"listings,omitempty"` // PackageName: The package name of the parent app. PackageName string `json:"packageName,omitempty"` // Prices: Prices per buyer region. None of these prices should be zero. // In-app products can never be free. Prices map[string]Price `json:"prices,omitempty"` // PurchaseType: Purchase type enum value. Unmodifiable after creation. PurchaseType string `json:"purchaseType,omitempty"` // Season: Definition of a season for a seasonal subscription. Can be // defined only for yearly subscriptions. Season *Season `json:"season,omitempty"` // Sku: The stock-keeping-unit (SKU) of the product, unique within an // app. Sku string `json:"sku,omitempty"` Status string `json:"status,omitempty"` // SubscriptionPeriod: Subscription period, specified in ISO 8601 // format. Acceptable values are "P1W" (one week), "P1M" (one month), // "P3M" (three months), "P6M" (six months), and "P1Y" (one year). SubscriptionPeriod string `json:"subscriptionPeriod,omitempty"` // TrialPeriod: Trial period, specified in ISO 8601 format. Acceptable // values are anything between "P7D" (seven days) and "P999D" (999 // days). Seasonal subscriptions cannot have a trial period. TrialPeriod string `json:"trialPeriod,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DefaultLanguage") 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:"-"` }
func (*InAppProduct) MarshalJSON ¶
func (s *InAppProduct) MarshalJSON() ([]byte, error)
type InAppProductListing ¶
type InAppProductListing struct { Description string `json:"description,omitempty"` Title string `json:"title,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:"-"` }
func (*InAppProductListing) MarshalJSON ¶
func (s *InAppProductListing) MarshalJSON() ([]byte, error)
type InappproductsBatchCall ¶
type InappproductsBatchCall struct {
// contains filtered or unexported fields
}
func (*InappproductsBatchCall) Context ¶
func (c *InappproductsBatchCall) Context(ctx context.Context) *InappproductsBatchCall
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 (*InappproductsBatchCall) Do ¶
func (c *InappproductsBatchCall) Do() (*InappproductsBatchResponse, error)
Do executes the "androidpublisher.inappproducts.batch" call. Exactly one of *InappproductsBatchResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InappproductsBatchResponse.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 (*InappproductsBatchCall) Fields ¶
func (c *InappproductsBatchCall) Fields(s ...googleapi.Field) *InappproductsBatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InappproductsBatchCall) QuotaUser ¶
func (c *InappproductsBatchCall) QuotaUser(quotaUser string) *InappproductsBatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*InappproductsBatchCall) UserIP ¶
func (c *InappproductsBatchCall) UserIP(userIP string) *InappproductsBatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type InappproductsBatchRequest ¶
type InappproductsBatchRequest struct { Entrys []*InappproductsBatchRequestEntry `json:"entrys,omitempty"` // ForceSendFields is a list of field names (e.g. "Entrys") 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:"-"` }
func (*InappproductsBatchRequest) MarshalJSON ¶
func (s *InappproductsBatchRequest) MarshalJSON() ([]byte, error)
type InappproductsBatchRequestEntry ¶
type InappproductsBatchRequestEntry struct { BatchId int64 `json:"batchId,omitempty"` Inappproductsinsertrequest *InappproductsInsertRequest `json:"inappproductsinsertrequest,omitempty"` Inappproductsupdaterequest *InappproductsUpdateRequest `json:"inappproductsupdaterequest,omitempty"` MethodName string `json:"methodName,omitempty"` // ForceSendFields is a list of field names (e.g. "BatchId") 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:"-"` }
func (*InappproductsBatchRequestEntry) MarshalJSON ¶
func (s *InappproductsBatchRequestEntry) MarshalJSON() ([]byte, error)
type InappproductsBatchResponse ¶
type InappproductsBatchResponse struct { Entrys []*InappproductsBatchResponseEntry `json:"entrys,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "androidpublisher#inappproductsBatchResponse". Kind string `json:"kind,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Entrys") 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:"-"` }
func (*InappproductsBatchResponse) MarshalJSON ¶
func (s *InappproductsBatchResponse) MarshalJSON() ([]byte, error)
type InappproductsBatchResponseEntry ¶
type InappproductsBatchResponseEntry struct { BatchId int64 `json:"batchId,omitempty"` Inappproductsinsertresponse *InappproductsInsertResponse `json:"inappproductsinsertresponse,omitempty"` Inappproductsupdateresponse *InappproductsUpdateResponse `json:"inappproductsupdateresponse,omitempty"` // ForceSendFields is a list of field names (e.g. "BatchId") 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:"-"` }
func (*InappproductsBatchResponseEntry) MarshalJSON ¶
func (s *InappproductsBatchResponseEntry) MarshalJSON() ([]byte, error)
type InappproductsDeleteCall ¶
type InappproductsDeleteCall struct {
// contains filtered or unexported fields
}
func (*InappproductsDeleteCall) Context ¶
func (c *InappproductsDeleteCall) Context(ctx context.Context) *InappproductsDeleteCall
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 (*InappproductsDeleteCall) Do ¶
func (c *InappproductsDeleteCall) Do() error
Do executes the "androidpublisher.inappproducts.delete" call.
func (*InappproductsDeleteCall) Fields ¶
func (c *InappproductsDeleteCall) Fields(s ...googleapi.Field) *InappproductsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InappproductsDeleteCall) QuotaUser ¶
func (c *InappproductsDeleteCall) QuotaUser(quotaUser string) *InappproductsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*InappproductsDeleteCall) UserIP ¶
func (c *InappproductsDeleteCall) UserIP(userIP string) *InappproductsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type InappproductsGetCall ¶
type InappproductsGetCall struct {
// contains filtered or unexported fields
}
func (*InappproductsGetCall) Context ¶
func (c *InappproductsGetCall) Context(ctx context.Context) *InappproductsGetCall
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 (*InappproductsGetCall) Do ¶
func (c *InappproductsGetCall) Do() (*InAppProduct, error)
Do executes the "androidpublisher.inappproducts.get" call. Exactly one of *InAppProduct or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InAppProduct.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 (*InappproductsGetCall) Fields ¶
func (c *InappproductsGetCall) Fields(s ...googleapi.Field) *InappproductsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InappproductsGetCall) IfNoneMatch ¶
func (c *InappproductsGetCall) IfNoneMatch(entityTag string) *InappproductsGetCall
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 (*InappproductsGetCall) QuotaUser ¶
func (c *InappproductsGetCall) QuotaUser(quotaUser string) *InappproductsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*InappproductsGetCall) UserIP ¶
func (c *InappproductsGetCall) UserIP(userIP string) *InappproductsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type InappproductsInsertCall ¶
type InappproductsInsertCall struct {
// contains filtered or unexported fields
}
func (*InappproductsInsertCall) AutoConvertMissingPrices ¶
func (c *InappproductsInsertCall) AutoConvertMissingPrices(autoConvertMissingPrices bool) *InappproductsInsertCall
AutoConvertMissingPrices sets the optional parameter "autoConvertMissingPrices": If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.
func (*InappproductsInsertCall) Context ¶
func (c *InappproductsInsertCall) Context(ctx context.Context) *InappproductsInsertCall
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 (*InappproductsInsertCall) Do ¶
func (c *InappproductsInsertCall) Do() (*InAppProduct, error)
Do executes the "androidpublisher.inappproducts.insert" call. Exactly one of *InAppProduct or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InAppProduct.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 (*InappproductsInsertCall) Fields ¶
func (c *InappproductsInsertCall) Fields(s ...googleapi.Field) *InappproductsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InappproductsInsertCall) QuotaUser ¶
func (c *InappproductsInsertCall) QuotaUser(quotaUser string) *InappproductsInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*InappproductsInsertCall) UserIP ¶
func (c *InappproductsInsertCall) UserIP(userIP string) *InappproductsInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type InappproductsInsertRequest ¶
type InappproductsInsertRequest struct { Inappproduct *InAppProduct `json:"inappproduct,omitempty"` // ForceSendFields is a list of field names (e.g. "Inappproduct") 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:"-"` }
func (*InappproductsInsertRequest) MarshalJSON ¶
func (s *InappproductsInsertRequest) MarshalJSON() ([]byte, error)
type InappproductsInsertResponse ¶
type InappproductsInsertResponse struct { Inappproduct *InAppProduct `json:"inappproduct,omitempty"` // ForceSendFields is a list of field names (e.g. "Inappproduct") 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:"-"` }
func (*InappproductsInsertResponse) MarshalJSON ¶
func (s *InappproductsInsertResponse) MarshalJSON() ([]byte, error)
type InappproductsListCall ¶
type InappproductsListCall struct {
// contains filtered or unexported fields
}
func (*InappproductsListCall) Context ¶
func (c *InappproductsListCall) Context(ctx context.Context) *InappproductsListCall
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 (*InappproductsListCall) Do ¶
func (c *InappproductsListCall) Do() (*InappproductsListResponse, error)
Do executes the "androidpublisher.inappproducts.list" call. Exactly one of *InappproductsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InappproductsListResponse.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 (*InappproductsListCall) Fields ¶
func (c *InappproductsListCall) Fields(s ...googleapi.Field) *InappproductsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InappproductsListCall) IfNoneMatch ¶
func (c *InappproductsListCall) IfNoneMatch(entityTag string) *InappproductsListCall
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 (*InappproductsListCall) MaxResults ¶
func (c *InappproductsListCall) MaxResults(maxResults int64) *InappproductsListCall
MaxResults sets the optional parameter "maxResults":
func (*InappproductsListCall) QuotaUser ¶
func (c *InappproductsListCall) QuotaUser(quotaUser string) *InappproductsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*InappproductsListCall) StartIndex ¶
func (c *InappproductsListCall) StartIndex(startIndex int64) *InappproductsListCall
StartIndex sets the optional parameter "startIndex":
func (*InappproductsListCall) Token ¶
func (c *InappproductsListCall) Token(token string) *InappproductsListCall
Token sets the optional parameter "token":
func (*InappproductsListCall) UserIP ¶
func (c *InappproductsListCall) UserIP(userIP string) *InappproductsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type InappproductsListResponse ¶
type InappproductsListResponse struct { Inappproduct []*InAppProduct `json:"inappproduct,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "androidpublisher#inappproductsListResponse". Kind string `json:"kind,omitempty"` PageInfo *PageInfo `json:"pageInfo,omitempty"` TokenPagination *TokenPagination `json:"tokenPagination,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Inappproduct") 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:"-"` }
func (*InappproductsListResponse) MarshalJSON ¶
func (s *InappproductsListResponse) MarshalJSON() ([]byte, error)
type InappproductsPatchCall ¶
type InappproductsPatchCall struct {
// contains filtered or unexported fields
}
func (*InappproductsPatchCall) AutoConvertMissingPrices ¶
func (c *InappproductsPatchCall) AutoConvertMissingPrices(autoConvertMissingPrices bool) *InappproductsPatchCall
AutoConvertMissingPrices sets the optional parameter "autoConvertMissingPrices": If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.
func (*InappproductsPatchCall) Context ¶
func (c *InappproductsPatchCall) Context(ctx context.Context) *InappproductsPatchCall
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 (*InappproductsPatchCall) Do ¶
func (c *InappproductsPatchCall) Do() (*InAppProduct, error)
Do executes the "androidpublisher.inappproducts.patch" call. Exactly one of *InAppProduct or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InAppProduct.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 (*InappproductsPatchCall) Fields ¶
func (c *InappproductsPatchCall) Fields(s ...googleapi.Field) *InappproductsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InappproductsPatchCall) QuotaUser ¶
func (c *InappproductsPatchCall) QuotaUser(quotaUser string) *InappproductsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*InappproductsPatchCall) UserIP ¶
func (c *InappproductsPatchCall) UserIP(userIP string) *InappproductsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type InappproductsService ¶
type InappproductsService struct {
// contains filtered or unexported fields
}
func NewInappproductsService ¶
func NewInappproductsService(s *Service) *InappproductsService
func (*InappproductsService) Batch ¶
func (r *InappproductsService) Batch(inappproductsbatchrequest *InappproductsBatchRequest) *InappproductsBatchCall
Batch:
func (*InappproductsService) Delete ¶
func (r *InappproductsService) Delete(packageNameid string, skuid string) *InappproductsDeleteCall
Delete: Delete an in-app product for an app.
func (*InappproductsService) Get ¶
func (r *InappproductsService) Get(packageName string, skuid string) *InappproductsGetCall
Get: Returns information about the in-app product specified.
func (*InappproductsService) Insert ¶
func (r *InappproductsService) Insert(packageNameid string, inappproduct *InAppProduct) *InappproductsInsertCall
Insert: Creates a new in-app product for an app.
func (*InappproductsService) List ¶
func (r *InappproductsService) List(packageNameid string) *InappproductsListCall
List: List all the in-app products for an Android app, both subscriptions and managed in-app products..
func (*InappproductsService) Patch ¶
func (r *InappproductsService) Patch(packageNameid string, skuid string, inappproduct *InAppProduct) *InappproductsPatchCall
Patch: Updates the details of an in-app product. This method supports patch semantics.
func (*InappproductsService) Update ¶
func (r *InappproductsService) Update(packageNameid string, skuid string, inappproduct *InAppProduct) *InappproductsUpdateCall
Update: Updates the details of an in-app product.
type InappproductsUpdateCall ¶
type InappproductsUpdateCall struct {
// contains filtered or unexported fields
}
func (*InappproductsUpdateCall) AutoConvertMissingPrices ¶
func (c *InappproductsUpdateCall) AutoConvertMissingPrices(autoConvertMissingPrices bool) *InappproductsUpdateCall
AutoConvertMissingPrices sets the optional parameter "autoConvertMissingPrices": If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.
func (*InappproductsUpdateCall) Context ¶
func (c *InappproductsUpdateCall) Context(ctx context.Context) *InappproductsUpdateCall
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 (*InappproductsUpdateCall) Do ¶
func (c *InappproductsUpdateCall) Do() (*InAppProduct, error)
Do executes the "androidpublisher.inappproducts.update" call. Exactly one of *InAppProduct or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InAppProduct.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 (*InappproductsUpdateCall) Fields ¶
func (c *InappproductsUpdateCall) Fields(s ...googleapi.Field) *InappproductsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InappproductsUpdateCall) QuotaUser ¶
func (c *InappproductsUpdateCall) QuotaUser(quotaUser string) *InappproductsUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*InappproductsUpdateCall) UserIP ¶
func (c *InappproductsUpdateCall) UserIP(userIP string) *InappproductsUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type InappproductsUpdateRequest ¶
type InappproductsUpdateRequest struct { Inappproduct *InAppProduct `json:"inappproduct,omitempty"` // ForceSendFields is a list of field names (e.g. "Inappproduct") 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:"-"` }
func (*InappproductsUpdateRequest) MarshalJSON ¶
func (s *InappproductsUpdateRequest) MarshalJSON() ([]byte, error)
type InappproductsUpdateResponse ¶
type InappproductsUpdateResponse struct { Inappproduct *InAppProduct `json:"inappproduct,omitempty"` // ForceSendFields is a list of field names (e.g. "Inappproduct") 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:"-"` }
func (*InappproductsUpdateResponse) MarshalJSON ¶
func (s *InappproductsUpdateResponse) MarshalJSON() ([]byte, error)
type Listing ¶
type Listing struct { // FullDescription: Full description of the app; this may be up to 4000 // characters in length. FullDescription string `json:"fullDescription,omitempty"` // Language: Language localization code (for example, "de-AT" for // Austrian German). Language string `json:"language,omitempty"` // ShortDescription: Short description of the app (previously known as // promo text); this may be up to 80 characters in length. ShortDescription string `json:"shortDescription,omitempty"` // Title: App's localized title. Title string `json:"title,omitempty"` // Video: URL of a promotional YouTube video for the app. Video string `json:"video,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FullDescription") 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:"-"` }
func (*Listing) MarshalJSON ¶
type ListingsListResponse ¶
type ListingsListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "androidpublisher#listingsListResponse". Kind string `json:"kind,omitempty"` Listings []*Listing `json:"listings,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*ListingsListResponse) MarshalJSON ¶
func (s *ListingsListResponse) MarshalJSON() ([]byte, error)
type MonthDay ¶
type MonthDay struct { // Day: Day of a month, value in [1, 31] range. Valid range depends on // the specified month. Day int64 `json:"day,omitempty"` // Month: Month of a year. e.g. 1 = JAN, 2 = FEB etc. Month int64 `json:"month,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") 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:"-"` }
func (*MonthDay) MarshalJSON ¶
type PageInfo ¶
type PageInfo struct { ResultPerPage int64 `json:"resultPerPage,omitempty"` StartIndex int64 `json:"startIndex,omitempty"` TotalResults int64 `json:"totalResults,omitempty"` // ForceSendFields is a list of field names (e.g. "ResultPerPage") 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:"-"` }
func (*PageInfo) MarshalJSON ¶
type Price ¶
type Price struct { // Currency: 3 letter Currency code, as defined by ISO 4217. Currency string `json:"currency,omitempty"` // PriceMicros: The price in millionths of the currency base unit // represented as a string. PriceMicros string `json:"priceMicros,omitempty"` // ForceSendFields is a list of field names (e.g. "Currency") 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:"-"` }
func (*Price) MarshalJSON ¶
type ProductPurchase ¶
type ProductPurchase struct { // ConsumptionState: The consumption state of the inapp product. // Possible values are: // - Yet to be consumed // - Consumed ConsumptionState int64 `json:"consumptionState,omitempty"` // DeveloperPayload: A developer-specified string that contains // supplemental information about an order. DeveloperPayload string `json:"developerPayload,omitempty"` // Kind: This kind represents an inappPurchase object in the // androidpublisher service. Kind string `json:"kind,omitempty"` // PurchaseState: The purchase state of the order. Possible values are: // // - Purchased // - Cancelled PurchaseState int64 `json:"purchaseState,omitempty"` // PurchaseTimeMillis: The time the product was purchased, in // milliseconds since the epoch (Jan 1, 1970). PurchaseTimeMillis int64 `json:"purchaseTimeMillis,omitempty,string"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ConsumptionState") 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:"-"` }
ProductPurchase: A ProductPurchase resource indicates the status of a user's inapp product purchase.
func (*ProductPurchase) MarshalJSON ¶
func (s *ProductPurchase) MarshalJSON() ([]byte, error)
type Prorate ¶
type Prorate struct { // DefaultPrice: Default price cannot be zero and must be less than the // full subscription price. Default price is always in the developer's // Checkout merchant currency. Targeted countries have their prices set // automatically based on the default_price. DefaultPrice *Price `json:"defaultPrice,omitempty"` // Start: Defines the first day on which the price takes effect. Start *MonthDay `json:"start,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultPrice") 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:"-"` }
func (*Prorate) MarshalJSON ¶
type PurchasesProductsGetCall ¶
type PurchasesProductsGetCall struct {
// contains filtered or unexported fields
}
func (*PurchasesProductsGetCall) Context ¶
func (c *PurchasesProductsGetCall) Context(ctx context.Context) *PurchasesProductsGetCall
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 (*PurchasesProductsGetCall) Do ¶
func (c *PurchasesProductsGetCall) Do() (*ProductPurchase, error)
Do executes the "androidpublisher.purchases.products.get" call. Exactly one of *ProductPurchase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ProductPurchase.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 (*PurchasesProductsGetCall) Fields ¶
func (c *PurchasesProductsGetCall) Fields(s ...googleapi.Field) *PurchasesProductsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PurchasesProductsGetCall) IfNoneMatch ¶
func (c *PurchasesProductsGetCall) IfNoneMatch(entityTag string) *PurchasesProductsGetCall
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 (*PurchasesProductsGetCall) QuotaUser ¶
func (c *PurchasesProductsGetCall) QuotaUser(quotaUser string) *PurchasesProductsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PurchasesProductsGetCall) UserIP ¶
func (c *PurchasesProductsGetCall) UserIP(userIP string) *PurchasesProductsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PurchasesProductsService ¶
type PurchasesProductsService struct {
// contains filtered or unexported fields
}
func NewPurchasesProductsService ¶
func NewPurchasesProductsService(s *Service) *PurchasesProductsService
func (*PurchasesProductsService) Get ¶
func (r *PurchasesProductsService) Get(packageName string, productId string, token string) *PurchasesProductsGetCall
Get: Checks the purchase and consumption status of an inapp item.
type PurchasesService ¶
type PurchasesService struct { Products *PurchasesProductsService Subscriptions *PurchasesSubscriptionsService // contains filtered or unexported fields }
func NewPurchasesService ¶
func NewPurchasesService(s *Service) *PurchasesService
type PurchasesSubscriptionsCancelCall ¶
type PurchasesSubscriptionsCancelCall struct {
// contains filtered or unexported fields
}
func (*PurchasesSubscriptionsCancelCall) Context ¶
func (c *PurchasesSubscriptionsCancelCall) Context(ctx context.Context) *PurchasesSubscriptionsCancelCall
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 (*PurchasesSubscriptionsCancelCall) Do ¶
func (c *PurchasesSubscriptionsCancelCall) Do() error
Do executes the "androidpublisher.purchases.subscriptions.cancel" call.
func (*PurchasesSubscriptionsCancelCall) Fields ¶
func (c *PurchasesSubscriptionsCancelCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PurchasesSubscriptionsCancelCall) QuotaUser ¶
func (c *PurchasesSubscriptionsCancelCall) QuotaUser(quotaUser string) *PurchasesSubscriptionsCancelCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PurchasesSubscriptionsCancelCall) UserIP ¶
func (c *PurchasesSubscriptionsCancelCall) UserIP(userIP string) *PurchasesSubscriptionsCancelCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PurchasesSubscriptionsDeferCall ¶
type PurchasesSubscriptionsDeferCall struct {
// contains filtered or unexported fields
}
func (*PurchasesSubscriptionsDeferCall) Context ¶
func (c *PurchasesSubscriptionsDeferCall) Context(ctx context.Context) *PurchasesSubscriptionsDeferCall
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 (*PurchasesSubscriptionsDeferCall) Do ¶
func (c *PurchasesSubscriptionsDeferCall) Do() (*SubscriptionPurchasesDeferResponse, error)
Do executes the "androidpublisher.purchases.subscriptions.defer" call. Exactly one of *SubscriptionPurchasesDeferResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SubscriptionPurchasesDeferResponse.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 (*PurchasesSubscriptionsDeferCall) Fields ¶
func (c *PurchasesSubscriptionsDeferCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsDeferCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PurchasesSubscriptionsDeferCall) QuotaUser ¶
func (c *PurchasesSubscriptionsDeferCall) QuotaUser(quotaUser string) *PurchasesSubscriptionsDeferCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PurchasesSubscriptionsDeferCall) UserIP ¶
func (c *PurchasesSubscriptionsDeferCall) UserIP(userIP string) *PurchasesSubscriptionsDeferCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PurchasesSubscriptionsGetCall ¶
type PurchasesSubscriptionsGetCall struct {
// contains filtered or unexported fields
}
func (*PurchasesSubscriptionsGetCall) Context ¶
func (c *PurchasesSubscriptionsGetCall) Context(ctx context.Context) *PurchasesSubscriptionsGetCall
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 (*PurchasesSubscriptionsGetCall) Do ¶
func (c *PurchasesSubscriptionsGetCall) Do() (*SubscriptionPurchase, error)
Do executes the "androidpublisher.purchases.subscriptions.get" call. Exactly one of *SubscriptionPurchase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SubscriptionPurchase.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 (*PurchasesSubscriptionsGetCall) Fields ¶
func (c *PurchasesSubscriptionsGetCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PurchasesSubscriptionsGetCall) IfNoneMatch ¶
func (c *PurchasesSubscriptionsGetCall) IfNoneMatch(entityTag string) *PurchasesSubscriptionsGetCall
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 (*PurchasesSubscriptionsGetCall) QuotaUser ¶
func (c *PurchasesSubscriptionsGetCall) QuotaUser(quotaUser string) *PurchasesSubscriptionsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PurchasesSubscriptionsGetCall) UserIP ¶
func (c *PurchasesSubscriptionsGetCall) UserIP(userIP string) *PurchasesSubscriptionsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PurchasesSubscriptionsRefundCall ¶
type PurchasesSubscriptionsRefundCall struct {
// contains filtered or unexported fields
}
func (*PurchasesSubscriptionsRefundCall) Context ¶
func (c *PurchasesSubscriptionsRefundCall) Context(ctx context.Context) *PurchasesSubscriptionsRefundCall
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 (*PurchasesSubscriptionsRefundCall) Do ¶
func (c *PurchasesSubscriptionsRefundCall) Do() error
Do executes the "androidpublisher.purchases.subscriptions.refund" call.
func (*PurchasesSubscriptionsRefundCall) Fields ¶
func (c *PurchasesSubscriptionsRefundCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsRefundCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PurchasesSubscriptionsRefundCall) QuotaUser ¶
func (c *PurchasesSubscriptionsRefundCall) QuotaUser(quotaUser string) *PurchasesSubscriptionsRefundCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PurchasesSubscriptionsRefundCall) UserIP ¶
func (c *PurchasesSubscriptionsRefundCall) UserIP(userIP string) *PurchasesSubscriptionsRefundCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PurchasesSubscriptionsRevokeCall ¶
type PurchasesSubscriptionsRevokeCall struct {
// contains filtered or unexported fields
}
func (*PurchasesSubscriptionsRevokeCall) Context ¶
func (c *PurchasesSubscriptionsRevokeCall) Context(ctx context.Context) *PurchasesSubscriptionsRevokeCall
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 (*PurchasesSubscriptionsRevokeCall) Do ¶
func (c *PurchasesSubscriptionsRevokeCall) Do() error
Do executes the "androidpublisher.purchases.subscriptions.revoke" call.
func (*PurchasesSubscriptionsRevokeCall) Fields ¶
func (c *PurchasesSubscriptionsRevokeCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsRevokeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*PurchasesSubscriptionsRevokeCall) QuotaUser ¶
func (c *PurchasesSubscriptionsRevokeCall) QuotaUser(quotaUser string) *PurchasesSubscriptionsRevokeCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*PurchasesSubscriptionsRevokeCall) UserIP ¶
func (c *PurchasesSubscriptionsRevokeCall) UserIP(userIP string) *PurchasesSubscriptionsRevokeCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type PurchasesSubscriptionsService ¶
type PurchasesSubscriptionsService struct {
// contains filtered or unexported fields
}
func NewPurchasesSubscriptionsService ¶
func NewPurchasesSubscriptionsService(s *Service) *PurchasesSubscriptionsService
func (*PurchasesSubscriptionsService) Cancel ¶
func (r *PurchasesSubscriptionsService) Cancel(packageName string, subscriptionId string, token string) *PurchasesSubscriptionsCancelCall
Cancel: Cancels a user's subscription purchase. The subscription remains valid until its expiration time.
func (*PurchasesSubscriptionsService) Defer ¶
func (r *PurchasesSubscriptionsService) Defer(packageName string, subscriptionId string, token string, subscriptionpurchasesdeferrequest *SubscriptionPurchasesDeferRequest) *PurchasesSubscriptionsDeferCall
Defer: Defers a user's subscription purchase until a specified future expiration time.
func (*PurchasesSubscriptionsService) Get ¶
func (r *PurchasesSubscriptionsService) Get(packageName string, subscriptionId string, token string) *PurchasesSubscriptionsGetCall
Get: Checks whether a user's subscription purchase is valid and returns its expiry time.
func (*PurchasesSubscriptionsService) Refund ¶
func (r *PurchasesSubscriptionsService) Refund(packageName string, subscriptionId string, token string) *PurchasesSubscriptionsRefundCall
Refund: Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.
func (*PurchasesSubscriptionsService) Revoke ¶
func (r *PurchasesSubscriptionsService) Revoke(packageName string, subscriptionId string, token string) *PurchasesSubscriptionsRevokeCall
Revoke: Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.
type Season ¶
type Season struct { // End: Inclusive end date of the recurrence period. End *MonthDay `json:"end,omitempty"` // Prorations: Optionally present list of prorations for the season. // Each proration is a one-off discounted entry into a subscription. // Each proration contains the first date on which the discount is // available and the new pricing information. Prorations []*Prorate `json:"prorations,omitempty"` // Start: Inclusive start date of the recurrence period. Start *MonthDay `json:"start,omitempty"` // ForceSendFields is a list of field names (e.g. "End") 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:"-"` }
func (*Season) MarshalJSON ¶
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Edits *EditsService Entitlements *EntitlementsService Inappproducts *InappproductsService Purchases *PurchasesService // contains filtered or unexported fields }
type SubscriptionDeferralInfo ¶
type SubscriptionDeferralInfo struct { // DesiredExpiryTimeMillis: The desired next expiry time for the // subscription in milliseconds since Epoch. The given time must be // after the current expiry time for the subscription. DesiredExpiryTimeMillis int64 `json:"desiredExpiryTimeMillis,omitempty,string"` // ExpectedExpiryTimeMillis: The expected expiry time for the // subscription. If the current expiry time for the subscription is not // the value specified here, the deferral will not occur. ExpectedExpiryTimeMillis int64 `json:"expectedExpiryTimeMillis,omitempty,string"` // ForceSendFields is a list of field names (e.g. // "DesiredExpiryTimeMillis") 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:"-"` }
SubscriptionDeferralInfo: A SubscriptionDeferralInfo contains the data needed to defer a subscription purchase to a future expiry time.
func (*SubscriptionDeferralInfo) MarshalJSON ¶
func (s *SubscriptionDeferralInfo) MarshalJSON() ([]byte, error)
type SubscriptionPurchase ¶
type SubscriptionPurchase struct { // AutoRenewing: Whether the subscription will automatically be renewed // when it reaches its current expiry time. AutoRenewing bool `json:"autoRenewing,omitempty"` // ExpiryTimeMillis: Time at which the subscription will expire, in // milliseconds since Epoch. ExpiryTimeMillis int64 `json:"expiryTimeMillis,omitempty,string"` // Kind: This kind represents a subscriptionPurchase object in the // androidpublisher service. Kind string `json:"kind,omitempty"` // StartTimeMillis: Time at which the subscription was granted, in // milliseconds since Epoch. StartTimeMillis int64 `json:"startTimeMillis,omitempty,string"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AutoRenewing") 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:"-"` }
SubscriptionPurchase: A SubscriptionPurchase resource indicates the status of a user's subscription purchase.
func (*SubscriptionPurchase) MarshalJSON ¶
func (s *SubscriptionPurchase) MarshalJSON() ([]byte, error)
type SubscriptionPurchasesDeferRequest ¶
type SubscriptionPurchasesDeferRequest struct { // DeferralInfo: The information about the new desired expiry time for // the subscription. DeferralInfo *SubscriptionDeferralInfo `json:"deferralInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "DeferralInfo") 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:"-"` }
func (*SubscriptionPurchasesDeferRequest) MarshalJSON ¶
func (s *SubscriptionPurchasesDeferRequest) MarshalJSON() ([]byte, error)
type SubscriptionPurchasesDeferResponse ¶
type SubscriptionPurchasesDeferResponse struct { // NewExpiryTimeMillis: The new expiry time for the subscription in // milliseconds since the Epoch. NewExpiryTimeMillis int64 `json:"newExpiryTimeMillis,omitempty,string"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NewExpiryTimeMillis") // 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:"-"` }
func (*SubscriptionPurchasesDeferResponse) MarshalJSON ¶
func (s *SubscriptionPurchasesDeferResponse) MarshalJSON() ([]byte, error)
type Testers ¶
type Testers struct { GoogleGroups []string `json:"googleGroups,omitempty"` GooglePlusCommunities []string `json:"googlePlusCommunities,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "GoogleGroups") 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:"-"` }
func (*Testers) MarshalJSON ¶
type TokenPagination ¶
type TokenPagination struct { NextPageToken string `json:"nextPageToken,omitempty"` PreviousPageToken string `json:"previousPageToken,omitempty"` // ForceSendFields is a list of field names (e.g. "NextPageToken") 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:"-"` }
func (*TokenPagination) MarshalJSON ¶
func (s *TokenPagination) MarshalJSON() ([]byte, error)
type Track ¶
type Track struct { Track string `json:"track,omitempty"` UserFraction float64 `json:"userFraction,omitempty"` VersionCodes []int64 `json:"versionCodes,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Track") 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:"-"` }
func (*Track) MarshalJSON ¶
type TracksListResponse ¶
type TracksListResponse struct { // Kind: Identifies what kind of resource this is. Value: the fixed // string "androidpublisher#tracksListResponse". Kind string `json:"kind,omitempty"` Tracks []*Track `json:"tracks,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Kind") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*TracksListResponse) MarshalJSON ¶
func (s *TracksListResponse) MarshalJSON() ([]byte, error)