Documentation ¶
Overview ¶
Package androidpublisher provides access to the Google Play Android Developer API.
See https://developers.google.com/android-publisher
Usage example:
import "google.golang.org/api/androidpublisher/v2" ... androidpublisherService, err := androidpublisher.New(oauthHttpClient)
Index ¶
- Constants
- type Apk
- type ApkBinary
- type ApkListing
- type ApkListingsListResponse
- type ApksListResponse
- type AppDetails
- type AppEdit
- type EditsApklistingsDeleteCall
- type EditsApklistingsDeleteallCall
- type EditsApklistingsGetCall
- type EditsApklistingsListCall
- type 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
- type EditsApksListCall
- type EditsApksService
- type EditsApksUploadCall
- type EditsCommitCall
- type EditsDeleteCall
- type EditsDetailsGetCall
- type 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
- type EditsExpansionfilesGetCall
- type 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
- type EditsExpansionfilesUploadCall
- type EditsGetCall
- type EditsImagesDeleteCall
- type EditsImagesDeleteallCall
- type 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
- type EditsInsertCall
- type EditsListingsDeleteCall
- type EditsListingsDeleteallCall
- type EditsListingsGetCall
- type EditsListingsListCall
- type 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
- 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
- type 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
- type EditsTracksGetCall
- type EditsTracksListCall
- type 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
- type EditsValidateCall
- type ExpansionFile
- type ExpansionFilesUploadResponse
- type Image
- type ImagesDeleteAllResponse
- type ImagesListResponse
- type ImagesUploadResponse
- type InAppProduct
- type InAppProductListing
- type InappproductsBatchCall
- type InappproductsBatchRequest
- type InappproductsBatchRequestEntry
- type InappproductsBatchResponse
- type InappproductsBatchResponseEntry
- type InappproductsDeleteCall
- type InappproductsGetCall
- type InappproductsInsertCall
- type InappproductsInsertRequest
- type InappproductsInsertResponse
- type InappproductsListCall
- func (c *InappproductsListCall) Do() (*InappproductsListResponse, error)
- func (c *InappproductsListCall) Fields(s ...googleapi.Field) *InappproductsListCall
- func (c *InappproductsListCall) MaxResults(maxResults int64) *InappproductsListCall
- func (c *InappproductsListCall) StartIndex(startIndex int64) *InappproductsListCall
- func (c *InappproductsListCall) Token(token string) *InappproductsListCall
- type InappproductsListResponse
- type 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
- type InappproductsUpdateRequest
- type InappproductsUpdateResponse
- type Listing
- type ListingsListResponse
- type MonthDay
- type PageInfo
- type Price
- type ProductPurchase
- type PurchasesProductsGetCall
- type PurchasesProductsService
- type PurchasesService
- type PurchasesSubscriptionsCancelCall
- type PurchasesSubscriptionsDeferCall
- type PurchasesSubscriptionsGetCall
- type PurchasesSubscriptionsRefundCall
- type 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 Android 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 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"` }
type ApkListing ¶
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"` }
type ApksListResponse ¶
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"` }
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"` }
type EditsApklistingsDeleteCall ¶
type EditsApklistingsDeleteCall struct {
// contains filtered or unexported fields
}
func (*EditsApklistingsDeleteCall) Do ¶
func (c *EditsApklistingsDeleteCall) Do() error
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.
type EditsApklistingsDeleteallCall ¶
type EditsApklistingsDeleteallCall struct {
// contains filtered or unexported fields
}
func (*EditsApklistingsDeleteallCall) Do ¶
func (c *EditsApklistingsDeleteallCall) Do() error
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.
type EditsApklistingsGetCall ¶
type EditsApklistingsGetCall struct {
// contains filtered or unexported fields
}
func (*EditsApklistingsGetCall) Do ¶
func (c *EditsApklistingsGetCall) Do() (*ApkListing, error)
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.
type EditsApklistingsListCall ¶
type EditsApklistingsListCall struct {
// contains filtered or unexported fields
}
func (*EditsApklistingsListCall) Do ¶
func (c *EditsApklistingsListCall) Do() (*ApkListingsListResponse, error)
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.
type EditsApklistingsPatchCall ¶
type EditsApklistingsPatchCall struct {
// contains filtered or unexported fields
}
func (*EditsApklistingsPatchCall) Do ¶
func (c *EditsApklistingsPatchCall) Do() (*ApkListing, error)
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.
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) Do ¶
func (c *EditsApklistingsUpdateCall) Do() (*ApkListing, error)
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.
type EditsApksListCall ¶
type EditsApksListCall struct {
// contains filtered or unexported fields
}
func (*EditsApksListCall) Do ¶
func (c *EditsApksListCall) Do() (*ApksListResponse, error)
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.
type EditsApksService ¶
type EditsApksService struct {
// contains filtered or unexported fields
}
func NewEditsApksService ¶
func NewEditsApksService(s *Service) *EditsApksService
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) Do ¶
func (c *EditsApksUploadCall) Do() (*Apk, error)
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) *EditsApksUploadCall
type EditsCommitCall ¶
type EditsCommitCall struct {
// contains filtered or unexported fields
}
func (*EditsCommitCall) Do ¶
func (c *EditsCommitCall) Do() (*AppEdit, error)
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.
type EditsDeleteCall ¶
type EditsDeleteCall struct {
// contains filtered or unexported fields
}
func (*EditsDeleteCall) Do ¶
func (c *EditsDeleteCall) Do() error
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.
type EditsDetailsGetCall ¶
type EditsDetailsGetCall struct {
// contains filtered or unexported fields
}
func (*EditsDetailsGetCall) Do ¶
func (c *EditsDetailsGetCall) Do() (*AppDetails, error)
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.
type EditsDetailsPatchCall ¶
type EditsDetailsPatchCall struct {
// contains filtered or unexported fields
}
func (*EditsDetailsPatchCall) Do ¶
func (c *EditsDetailsPatchCall) Do() (*AppDetails, error)
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.
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) Do ¶
func (c *EditsDetailsUpdateCall) Do() (*AppDetails, error)
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.
type EditsExpansionfilesGetCall ¶
type EditsExpansionfilesGetCall struct {
// contains filtered or unexported fields
}
func (*EditsExpansionfilesGetCall) Do ¶
func (c *EditsExpansionfilesGetCall) Do() (*ExpansionFile, error)
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.
type EditsExpansionfilesPatchCall ¶
type EditsExpansionfilesPatchCall struct {
// contains filtered or unexported fields
}
func (*EditsExpansionfilesPatchCall) Do ¶
func (c *EditsExpansionfilesPatchCall) Do() (*ExpansionFile, error)
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.
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) Do ¶
func (c *EditsExpansionfilesUpdateCall) Do() (*ExpansionFile, error)
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.
type EditsExpansionfilesUploadCall ¶
type EditsExpansionfilesUploadCall struct {
// contains filtered or unexported fields
}
func (*EditsExpansionfilesUploadCall) Do ¶
func (c *EditsExpansionfilesUploadCall) Do() (*ExpansionFilesUploadResponse, error)
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) *EditsExpansionfilesUploadCall
type EditsGetCall ¶
type EditsGetCall struct {
// contains filtered or unexported fields
}
func (*EditsGetCall) Do ¶
func (c *EditsGetCall) Do() (*AppEdit, error)
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.
type EditsImagesDeleteCall ¶
type EditsImagesDeleteCall struct {
// contains filtered or unexported fields
}
func (*EditsImagesDeleteCall) Do ¶
func (c *EditsImagesDeleteCall) Do() error
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.
type EditsImagesDeleteallCall ¶
type EditsImagesDeleteallCall struct {
// contains filtered or unexported fields
}
func (*EditsImagesDeleteallCall) Do ¶
func (c *EditsImagesDeleteallCall) Do() (*ImagesDeleteAllResponse, error)
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.
type EditsImagesListCall ¶
type EditsImagesListCall struct {
// contains filtered or unexported fields
}
func (*EditsImagesListCall) Do ¶
func (c *EditsImagesListCall) Do() (*ImagesListResponse, error)
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.
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) Do ¶
func (c *EditsImagesUploadCall) Do() (*ImagesUploadResponse, error)
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) *EditsImagesUploadCall
type EditsInsertCall ¶
type EditsInsertCall struct {
// contains filtered or unexported fields
}
func (*EditsInsertCall) Do ¶
func (c *EditsInsertCall) Do() (*AppEdit, error)
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.
type EditsListingsDeleteCall ¶
type EditsListingsDeleteCall struct {
// contains filtered or unexported fields
}
func (*EditsListingsDeleteCall) Do ¶
func (c *EditsListingsDeleteCall) Do() error
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.
type EditsListingsDeleteallCall ¶
type EditsListingsDeleteallCall struct {
// contains filtered or unexported fields
}
func (*EditsListingsDeleteallCall) Do ¶
func (c *EditsListingsDeleteallCall) Do() error
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.
type EditsListingsGetCall ¶
type EditsListingsGetCall struct {
// contains filtered or unexported fields
}
func (*EditsListingsGetCall) Do ¶
func (c *EditsListingsGetCall) Do() (*Listing, error)
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.
type EditsListingsListCall ¶
type EditsListingsListCall struct {
// contains filtered or unexported fields
}
func (*EditsListingsListCall) Do ¶
func (c *EditsListingsListCall) Do() (*ListingsListResponse, error)
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.
type EditsListingsPatchCall ¶
type EditsListingsPatchCall struct {
// contains filtered or unexported fields
}
func (*EditsListingsPatchCall) Do ¶
func (c *EditsListingsPatchCall) Do() (*Listing, error)
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.
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) Do ¶
func (c *EditsListingsUpdateCall) Do() (*Listing, error)
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.
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) Do ¶
func (c *EditsTestersGetCall) Do() (*Testers, error)
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.
type EditsTestersPatchCall ¶
type EditsTestersPatchCall struct {
// contains filtered or unexported fields
}
func (*EditsTestersPatchCall) Do ¶
func (c *EditsTestersPatchCall) Do() (*Testers, error)
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.
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) Do ¶
func (c *EditsTestersUpdateCall) Do() (*Testers, error)
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.
type EditsTracksGetCall ¶
type EditsTracksGetCall struct {
// contains filtered or unexported fields
}
func (*EditsTracksGetCall) Do ¶
func (c *EditsTracksGetCall) Do() (*Track, error)
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.
type EditsTracksListCall ¶
type EditsTracksListCall struct {
// contains filtered or unexported fields
}
func (*EditsTracksListCall) Do ¶
func (c *EditsTracksListCall) Do() (*TracksListResponse, error)
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.
type EditsTracksPatchCall ¶
type EditsTracksPatchCall struct {
// contains filtered or unexported fields
}
func (*EditsTracksPatchCall) Do ¶
func (c *EditsTracksPatchCall) Do() (*Track, error)
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.
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. 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.
type EditsTracksUpdateCall ¶
type EditsTracksUpdateCall struct {
// contains filtered or unexported fields
}
func (*EditsTracksUpdateCall) Do ¶
func (c *EditsTracksUpdateCall) Do() (*Track, error)
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.
type EditsValidateCall ¶
type EditsValidateCall struct {
// contains filtered or unexported fields
}
func (*EditsValidateCall) Do ¶
func (c *EditsValidateCall) Do() (*AppEdit, error)
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.
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"` }
type ExpansionFilesUploadResponse ¶
type ExpansionFilesUploadResponse struct {
ExpansionFile *ExpansionFile `json:"expansionFile,omitempty"`
}
type ImagesDeleteAllResponse ¶
type ImagesDeleteAllResponse struct {
Deleted []*Image `json:"deleted,omitempty"`
}
type ImagesListResponse ¶
type ImagesListResponse struct {
Images []*Image `json:"images,omitempty"`
}
type ImagesUploadResponse ¶
type ImagesUploadResponse struct {
Image *Image `json:"image,omitempty"`
}
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: The period of the subscription (if any), i.e. // period at which payments must happen. Defined as ISO 8601 duration, // i.e. "P1M" for 1 month period. 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"` }
type InAppProductListing ¶
type InappproductsBatchCall ¶
type InappproductsBatchCall struct {
// contains filtered or unexported fields
}
func (*InappproductsBatchCall) Do ¶
func (c *InappproductsBatchCall) Do() (*InappproductsBatchResponse, error)
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.
type InappproductsBatchRequest ¶
type InappproductsBatchRequest struct {
Entrys []*InappproductsBatchRequestEntry `json:"entrys,omitempty"`
}
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"` }
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"` }
type InappproductsBatchResponseEntry ¶
type InappproductsBatchResponseEntry struct { BatchId int64 `json:"batchId,omitempty"` Inappproductsinsertresponse *InappproductsInsertResponse `json:"inappproductsinsertresponse,omitempty"` Inappproductsupdateresponse *InappproductsUpdateResponse `json:"inappproductsupdateresponse,omitempty"` }
type InappproductsDeleteCall ¶
type InappproductsDeleteCall struct {
// contains filtered or unexported fields
}
func (*InappproductsDeleteCall) Do ¶
func (c *InappproductsDeleteCall) Do() error
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.
type InappproductsGetCall ¶
type InappproductsGetCall struct {
// contains filtered or unexported fields
}
func (*InappproductsGetCall) Do ¶
func (c *InappproductsGetCall) Do() (*InAppProduct, error)
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.
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) Do ¶
func (c *InappproductsInsertCall) Do() (*InAppProduct, error)
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.
type InappproductsInsertRequest ¶
type InappproductsInsertRequest struct {
Inappproduct *InAppProduct `json:"inappproduct,omitempty"`
}
type InappproductsInsertResponse ¶
type InappproductsInsertResponse struct {
Inappproduct *InAppProduct `json:"inappproduct,omitempty"`
}
type InappproductsListCall ¶
type InappproductsListCall struct {
// contains filtered or unexported fields
}
func (*InappproductsListCall) Do ¶
func (c *InappproductsListCall) Do() (*InappproductsListResponse, error)
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) MaxResults ¶
func (c *InappproductsListCall) MaxResults(maxResults int64) *InappproductsListCall
MaxResults sets the optional parameter "maxResults":
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":
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"` }
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) Do ¶
func (c *InappproductsPatchCall) Do() (*InAppProduct, error)
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.
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) Do ¶
func (c *InappproductsUpdateCall) Do() (*InAppProduct, error)
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.
type InappproductsUpdateRequest ¶
type InappproductsUpdateRequest struct {
Inappproduct *InAppProduct `json:"inappproduct,omitempty"`
}
type InappproductsUpdateResponse ¶
type InappproductsUpdateResponse struct {
Inappproduct *InAppProduct `json:"inappproduct,omitempty"`
}
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"` }
type ListingsListResponse ¶
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"` }
type PurchasesProductsGetCall ¶
type PurchasesProductsGetCall struct {
// contains filtered or unexported fields
}
func (*PurchasesProductsGetCall) Do ¶
func (c *PurchasesProductsGetCall) Do() (*ProductPurchase, error)
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.
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) Do ¶
func (c *PurchasesSubscriptionsCancelCall) Do() error
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.
type PurchasesSubscriptionsDeferCall ¶
type PurchasesSubscriptionsDeferCall struct {
// contains filtered or unexported fields
}
func (*PurchasesSubscriptionsDeferCall) Do ¶
func (c *PurchasesSubscriptionsDeferCall) Do() (*SubscriptionPurchasesDeferResponse, error)
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.
type PurchasesSubscriptionsGetCall ¶
type PurchasesSubscriptionsGetCall struct {
// contains filtered or unexported fields
}
func (*PurchasesSubscriptionsGetCall) Do ¶
func (c *PurchasesSubscriptionsGetCall) Do() (*SubscriptionPurchase, error)
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.
type PurchasesSubscriptionsRefundCall ¶
type PurchasesSubscriptionsRefundCall struct {
// contains filtered or unexported fields
}
func (*PurchasesSubscriptionsRefundCall) Do ¶
func (c *PurchasesSubscriptionsRefundCall) Do() error
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.
type PurchasesSubscriptionsRevokeCall ¶
type PurchasesSubscriptionsRevokeCall struct {
// contains filtered or unexported fields
}
func (*PurchasesSubscriptionsRevokeCall) Do ¶
func (c *PurchasesSubscriptionsRevokeCall) Do() error
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.
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 Service ¶
type Service struct { BasePath string // API endpoint base URL Edits *EditsService 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"` }
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"` }
type SubscriptionPurchasesDeferRequest ¶
type SubscriptionPurchasesDeferRequest struct { // DeferralInfo: The information about the new desired expiry time for // the subscription. DeferralInfo *SubscriptionDeferralInfo `json:"deferralInfo,omitempty"` }
type SubscriptionPurchasesDeferResponse ¶
type SubscriptionPurchasesDeferResponse struct { // NewExpiryTimeMillis: The new expiry time for the subscription in // milliseconds since the Epoch. NewExpiryTimeMillis int64 `json:"newExpiryTimeMillis,omitempty,string"` }