...

Package androidpublisher

import "google.golang.org/api/androidpublisher/v3"
Overview
Index

Overview ▾

Package androidpublisher provides access to the Google Play Android Developer API.

For product documentation, see: https://developers.google.com/android-publisher

Library status

These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.

When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.

Creating a client

Usage example:

import "google.golang.org/api/androidpublisher/v3"
...
ctx := context.Background()
androidpublisherService, err := androidpublisher.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:

androidpublisherService, err := androidpublisher.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
androidpublisherService, err := androidpublisher.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See google.golang.org/api/option.ClientOption for details on options.

Index ▾

Constants
type Abi
    func (s *Abi) MarshalJSON() ([]byte, error)
type AbiTargeting
    func (s *AbiTargeting) MarshalJSON() ([]byte, error)
type AcquisitionTargetingRule
    func (s *AcquisitionTargetingRule) MarshalJSON() ([]byte, error)
type ActivateBasePlanRequest
    func (s *ActivateBasePlanRequest) MarshalJSON() ([]byte, error)
type ActivateSubscriptionOfferRequest
    func (s *ActivateSubscriptionOfferRequest) MarshalJSON() ([]byte, error)
type AddTargetingRequest
    func (s *AddTargetingRequest) MarshalJSON() ([]byte, error)
type AddTargetingResponse
type AllUsers
    func (s *AllUsers) MarshalJSON() ([]byte, error)
type AndroidSdks
    func (s *AndroidSdks) MarshalJSON() ([]byte, error)
type Apk
    func (s *Apk) MarshalJSON() ([]byte, error)
type ApkBinary
    func (s *ApkBinary) MarshalJSON() ([]byte, error)
type ApkDescription
    func (s *ApkDescription) MarshalJSON() ([]byte, error)
type ApkSet
    func (s *ApkSet) MarshalJSON() ([]byte, error)
type ApkTargeting
    func (s *ApkTargeting) MarshalJSON() ([]byte, error)
type ApksAddExternallyHostedRequest
    func (s *ApksAddExternallyHostedRequest) MarshalJSON() ([]byte, error)
type ApksAddExternallyHostedResponse
    func (s *ApksAddExternallyHostedResponse) MarshalJSON() ([]byte, error)
type ApksListResponse
    func (s *ApksListResponse) MarshalJSON() ([]byte, error)
type AppDetails
    func (s *AppDetails) MarshalJSON() ([]byte, error)
type AppEdit
    func (s *AppEdit) MarshalJSON() ([]byte, error)
type AppRecoveryAction
    func (s *AppRecoveryAction) MarshalJSON() ([]byte, error)
type AppVersionList
    func (s *AppVersionList) MarshalJSON() ([]byte, error)
type AppVersionRange
    func (s *AppVersionRange) MarshalJSON() ([]byte, error)
type ApplicationsDataSafetyCall
    func (c *ApplicationsDataSafetyCall) Context(ctx context.Context) *ApplicationsDataSafetyCall
    func (c *ApplicationsDataSafetyCall) Do(opts ...googleapi.CallOption) (*SafetyLabelsUpdateResponse, error)
    func (c *ApplicationsDataSafetyCall) Fields(s ...googleapi.Field) *ApplicationsDataSafetyCall
    func (c *ApplicationsDataSafetyCall) Header() http.Header
type ApplicationsDeviceTierConfigsCreateCall
    func (c *ApplicationsDeviceTierConfigsCreateCall) AllowUnknownDevices(allowUnknownDevices bool) *ApplicationsDeviceTierConfigsCreateCall
    func (c *ApplicationsDeviceTierConfigsCreateCall) Context(ctx context.Context) *ApplicationsDeviceTierConfigsCreateCall
    func (c *ApplicationsDeviceTierConfigsCreateCall) Do(opts ...googleapi.CallOption) (*DeviceTierConfig, error)
    func (c *ApplicationsDeviceTierConfigsCreateCall) Fields(s ...googleapi.Field) *ApplicationsDeviceTierConfigsCreateCall
    func (c *ApplicationsDeviceTierConfigsCreateCall) Header() http.Header
type ApplicationsDeviceTierConfigsGetCall
    func (c *ApplicationsDeviceTierConfigsGetCall) Context(ctx context.Context) *ApplicationsDeviceTierConfigsGetCall
    func (c *ApplicationsDeviceTierConfigsGetCall) Do(opts ...googleapi.CallOption) (*DeviceTierConfig, error)
    func (c *ApplicationsDeviceTierConfigsGetCall) Fields(s ...googleapi.Field) *ApplicationsDeviceTierConfigsGetCall
    func (c *ApplicationsDeviceTierConfigsGetCall) Header() http.Header
    func (c *ApplicationsDeviceTierConfigsGetCall) IfNoneMatch(entityTag string) *ApplicationsDeviceTierConfigsGetCall
type ApplicationsDeviceTierConfigsListCall
    func (c *ApplicationsDeviceTierConfigsListCall) Context(ctx context.Context) *ApplicationsDeviceTierConfigsListCall
    func (c *ApplicationsDeviceTierConfigsListCall) Do(opts ...googleapi.CallOption) (*ListDeviceTierConfigsResponse, error)
    func (c *ApplicationsDeviceTierConfigsListCall) Fields(s ...googleapi.Field) *ApplicationsDeviceTierConfigsListCall
    func (c *ApplicationsDeviceTierConfigsListCall) Header() http.Header
    func (c *ApplicationsDeviceTierConfigsListCall) IfNoneMatch(entityTag string) *ApplicationsDeviceTierConfigsListCall
    func (c *ApplicationsDeviceTierConfigsListCall) PageSize(pageSize int64) *ApplicationsDeviceTierConfigsListCall
    func (c *ApplicationsDeviceTierConfigsListCall) PageToken(pageToken string) *ApplicationsDeviceTierConfigsListCall
    func (c *ApplicationsDeviceTierConfigsListCall) Pages(ctx context.Context, f func(*ListDeviceTierConfigsResponse) error) error
type ApplicationsDeviceTierConfigsService
    func NewApplicationsDeviceTierConfigsService(s *Service) *ApplicationsDeviceTierConfigsService
    func (r *ApplicationsDeviceTierConfigsService) Create(packageName string, devicetierconfig *DeviceTierConfig) *ApplicationsDeviceTierConfigsCreateCall
    func (r *ApplicationsDeviceTierConfigsService) Get(packageName string, deviceTierConfigId int64) *ApplicationsDeviceTierConfigsGetCall
    func (r *ApplicationsDeviceTierConfigsService) List(packageName string) *ApplicationsDeviceTierConfigsListCall
type ApplicationsService
    func NewApplicationsService(s *Service) *ApplicationsService
    func (r *ApplicationsService) DataSafety(packageName string, safetylabelsupdaterequest *SafetyLabelsUpdateRequest) *ApplicationsDataSafetyCall
type ApprecoveryAddTargetingCall
    func (c *ApprecoveryAddTargetingCall) Context(ctx context.Context) *ApprecoveryAddTargetingCall
    func (c *ApprecoveryAddTargetingCall) Do(opts ...googleapi.CallOption) (*AddTargetingResponse, error)
    func (c *ApprecoveryAddTargetingCall) Fields(s ...googleapi.Field) *ApprecoveryAddTargetingCall
    func (c *ApprecoveryAddTargetingCall) Header() http.Header
type ApprecoveryAppRecoveriesCall
    func (c *ApprecoveryAppRecoveriesCall) Context(ctx context.Context) *ApprecoveryAppRecoveriesCall
    func (c *ApprecoveryAppRecoveriesCall) Do(opts ...googleapi.CallOption) (*ListAppRecoveriesResponse, error)
    func (c *ApprecoveryAppRecoveriesCall) Fields(s ...googleapi.Field) *ApprecoveryAppRecoveriesCall
    func (c *ApprecoveryAppRecoveriesCall) Header() http.Header
    func (c *ApprecoveryAppRecoveriesCall) VersionCode(versionCode int64) *ApprecoveryAppRecoveriesCall
type ApprecoveryCancelCall
    func (c *ApprecoveryCancelCall) Context(ctx context.Context) *ApprecoveryCancelCall
    func (c *ApprecoveryCancelCall) Do(opts ...googleapi.CallOption) (*CancelAppRecoveryResponse, error)
    func (c *ApprecoveryCancelCall) Fields(s ...googleapi.Field) *ApprecoveryCancelCall
    func (c *ApprecoveryCancelCall) Header() http.Header
type ApprecoveryCreateCall
    func (c *ApprecoveryCreateCall) Context(ctx context.Context) *ApprecoveryCreateCall
    func (c *ApprecoveryCreateCall) Do(opts ...googleapi.CallOption) (*AppRecoveryAction, error)
    func (c *ApprecoveryCreateCall) Fields(s ...googleapi.Field) *ApprecoveryCreateCall
    func (c *ApprecoveryCreateCall) Header() http.Header
type ApprecoveryDeployCall
    func (c *ApprecoveryDeployCall) Context(ctx context.Context) *ApprecoveryDeployCall
    func (c *ApprecoveryDeployCall) Do(opts ...googleapi.CallOption) (*DeployAppRecoveryResponse, error)
    func (c *ApprecoveryDeployCall) Fields(s ...googleapi.Field) *ApprecoveryDeployCall
    func (c *ApprecoveryDeployCall) Header() http.Header
type ApprecoveryService
    func NewApprecoveryService(s *Service) *ApprecoveryService
    func (r *ApprecoveryService) AddTargeting(packageName string, appRecoveryId int64, addtargetingrequest *AddTargetingRequest) *ApprecoveryAddTargetingCall
    func (r *ApprecoveryService) AppRecoveries(packageName string) *ApprecoveryAppRecoveriesCall
    func (r *ApprecoveryService) Cancel(packageName string, appRecoveryId int64, cancelapprecoveryrequest *CancelAppRecoveryRequest) *ApprecoveryCancelCall
    func (r *ApprecoveryService) Create(packageName string, createdraftapprecoveryrequest *CreateDraftAppRecoveryRequest) *ApprecoveryCreateCall
    func (r *ApprecoveryService) Deploy(packageName string, appRecoveryId int64, deployapprecoveryrequest *DeployAppRecoveryRequest) *ApprecoveryDeployCall
type ArchiveSubscriptionRequest
type AssetModuleMetadata
    func (s *AssetModuleMetadata) MarshalJSON() ([]byte, error)
type AssetSliceSet
    func (s *AssetSliceSet) MarshalJSON() ([]byte, error)
type AutoRenewingBasePlanType
    func (s *AutoRenewingBasePlanType) MarshalJSON() ([]byte, error)
type AutoRenewingPlan
    func (s *AutoRenewingPlan) MarshalJSON() ([]byte, error)
type BasePlan
    func (s *BasePlan) MarshalJSON() ([]byte, error)
type BatchGetSubscriptionOffersRequest
    func (s *BatchGetSubscriptionOffersRequest) MarshalJSON() ([]byte, error)
type BatchGetSubscriptionOffersResponse
    func (s *BatchGetSubscriptionOffersResponse) MarshalJSON() ([]byte, error)
type BatchGetSubscriptionsResponse
    func (s *BatchGetSubscriptionsResponse) MarshalJSON() ([]byte, error)
type BatchMigrateBasePlanPricesRequest
    func (s *BatchMigrateBasePlanPricesRequest) MarshalJSON() ([]byte, error)
type BatchMigrateBasePlanPricesResponse
    func (s *BatchMigrateBasePlanPricesResponse) MarshalJSON() ([]byte, error)
type BatchUpdateBasePlanStatesRequest
    func (s *BatchUpdateBasePlanStatesRequest) MarshalJSON() ([]byte, error)
type BatchUpdateBasePlanStatesResponse
    func (s *BatchUpdateBasePlanStatesResponse) MarshalJSON() ([]byte, error)
type BatchUpdateSubscriptionOfferStatesRequest
    func (s *BatchUpdateSubscriptionOfferStatesRequest) MarshalJSON() ([]byte, error)
type BatchUpdateSubscriptionOfferStatesResponse
    func (s *BatchUpdateSubscriptionOfferStatesResponse) MarshalJSON() ([]byte, error)
type BatchUpdateSubscriptionOffersRequest
    func (s *BatchUpdateSubscriptionOffersRequest) MarshalJSON() ([]byte, error)
type BatchUpdateSubscriptionOffersResponse
    func (s *BatchUpdateSubscriptionOffersResponse) MarshalJSON() ([]byte, error)
type BatchUpdateSubscriptionsRequest
    func (s *BatchUpdateSubscriptionsRequest) MarshalJSON() ([]byte, error)
type BatchUpdateSubscriptionsResponse
    func (s *BatchUpdateSubscriptionsResponse) MarshalJSON() ([]byte, error)
type Bundle
    func (s *Bundle) MarshalJSON() ([]byte, error)
type BundlesListResponse
    func (s *BundlesListResponse) MarshalJSON() ([]byte, error)
type CancelAppRecoveryRequest
type CancelAppRecoveryResponse
type CancelSurveyResult
    func (s *CancelSurveyResult) MarshalJSON() ([]byte, error)
type CanceledStateContext
    func (s *CanceledStateContext) MarshalJSON() ([]byte, error)
type Comment
    func (s *Comment) MarshalJSON() ([]byte, error)
type ConvertRegionPricesRequest
    func (s *ConvertRegionPricesRequest) MarshalJSON() ([]byte, error)
type ConvertRegionPricesResponse
    func (s *ConvertRegionPricesResponse) MarshalJSON() ([]byte, error)
type ConvertedOtherRegionsPrice
    func (s *ConvertedOtherRegionsPrice) MarshalJSON() ([]byte, error)
type ConvertedRegionPrice
    func (s *ConvertedRegionPrice) MarshalJSON() ([]byte, error)
type CountryTargeting
    func (s *CountryTargeting) MarshalJSON() ([]byte, error)
type CreateDraftAppRecoveryRequest
    func (s *CreateDraftAppRecoveryRequest) MarshalJSON() ([]byte, error)
type DeactivateBasePlanRequest
    func (s *DeactivateBasePlanRequest) MarshalJSON() ([]byte, error)
type DeactivateSubscriptionOfferRequest
    func (s *DeactivateSubscriptionOfferRequest) MarshalJSON() ([]byte, error)
type DeferredItemReplacement
    func (s *DeferredItemReplacement) MarshalJSON() ([]byte, error)
type DeobfuscationFile
    func (s *DeobfuscationFile) MarshalJSON() ([]byte, error)
type DeobfuscationFilesUploadResponse
    func (s *DeobfuscationFilesUploadResponse) MarshalJSON() ([]byte, error)
type DeployAppRecoveryRequest
type DeployAppRecoveryResponse
type DeveloperComment
    func (s *DeveloperComment) MarshalJSON() ([]byte, error)
type DeveloperInitiatedCancellation
type DeviceFeature
    func (s *DeviceFeature) MarshalJSON() ([]byte, error)
type DeviceFeatureTargeting
    func (s *DeviceFeatureTargeting) MarshalJSON() ([]byte, error)
type DeviceGroup
    func (s *DeviceGroup) MarshalJSON() ([]byte, error)
type DeviceId
    func (s *DeviceId) MarshalJSON() ([]byte, error)
type DeviceMetadata
    func (s *DeviceMetadata) MarshalJSON() ([]byte, error)
type DeviceRam
    func (s *DeviceRam) MarshalJSON() ([]byte, error)
type DeviceSelector
    func (s *DeviceSelector) MarshalJSON() ([]byte, error)
type DeviceSpec
    func (s *DeviceSpec) MarshalJSON() ([]byte, error)
type DeviceTier
    func (s *DeviceTier) MarshalJSON() ([]byte, error)
type DeviceTierConfig
    func (s *DeviceTierConfig) MarshalJSON() ([]byte, error)
type DeviceTierSet
    func (s *DeviceTierSet) MarshalJSON() ([]byte, error)
type EditsApksAddexternallyhostedCall
    func (c *EditsApksAddexternallyhostedCall) Context(ctx context.Context) *EditsApksAddexternallyhostedCall
    func (c *EditsApksAddexternallyhostedCall) Do(opts ...googleapi.CallOption) (*ApksAddExternallyHostedResponse, error)
    func (c *EditsApksAddexternallyhostedCall) Fields(s ...googleapi.Field) *EditsApksAddexternallyhostedCall
    func (c *EditsApksAddexternallyhostedCall) Header() http.Header
type EditsApksListCall
    func (c *EditsApksListCall) Context(ctx context.Context) *EditsApksListCall
    func (c *EditsApksListCall) Do(opts ...googleapi.CallOption) (*ApksListResponse, error)
    func (c *EditsApksListCall) Fields(s ...googleapi.Field) *EditsApksListCall
    func (c *EditsApksListCall) Header() http.Header
    func (c *EditsApksListCall) IfNoneMatch(entityTag string) *EditsApksListCall
type EditsApksService
    func NewEditsApksService(s *Service) *EditsApksService
    func (r *EditsApksService) Addexternallyhosted(packageName string, editId string, apksaddexternallyhostedrequest *ApksAddExternallyHostedRequest) *EditsApksAddexternallyhostedCall
    func (r *EditsApksService) List(packageName string, editId string) *EditsApksListCall
    func (r *EditsApksService) Upload(packageName string, editId string) *EditsApksUploadCall
type EditsApksUploadCall
    func (c *EditsApksUploadCall) Context(ctx context.Context) *EditsApksUploadCall
    func (c *EditsApksUploadCall) Do(opts ...googleapi.CallOption) (*Apk, error)
    func (c *EditsApksUploadCall) Fields(s ...googleapi.Field) *EditsApksUploadCall
    func (c *EditsApksUploadCall) Header() http.Header
    func (c *EditsApksUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsApksUploadCall
    func (c *EditsApksUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsApksUploadCall
    func (c *EditsApksUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsApksUploadCall
type EditsBundlesListCall
    func (c *EditsBundlesListCall) Context(ctx context.Context) *EditsBundlesListCall
    func (c *EditsBundlesListCall) Do(opts ...googleapi.CallOption) (*BundlesListResponse, error)
    func (c *EditsBundlesListCall) Fields(s ...googleapi.Field) *EditsBundlesListCall
    func (c *EditsBundlesListCall) Header() http.Header
    func (c *EditsBundlesListCall) IfNoneMatch(entityTag string) *EditsBundlesListCall
type EditsBundlesService
    func NewEditsBundlesService(s *Service) *EditsBundlesService
    func (r *EditsBundlesService) List(packageName string, editId string) *EditsBundlesListCall
    func (r *EditsBundlesService) Upload(packageName string, editId string) *EditsBundlesUploadCall
type EditsBundlesUploadCall
    func (c *EditsBundlesUploadCall) AckBundleInstallationWarning(ackBundleInstallationWarning bool) *EditsBundlesUploadCall
    func (c *EditsBundlesUploadCall) Context(ctx context.Context) *EditsBundlesUploadCall
    func (c *EditsBundlesUploadCall) DeviceTierConfigId(deviceTierConfigId string) *EditsBundlesUploadCall
    func (c *EditsBundlesUploadCall) Do(opts ...googleapi.CallOption) (*Bundle, error)
    func (c *EditsBundlesUploadCall) Fields(s ...googleapi.Field) *EditsBundlesUploadCall
    func (c *EditsBundlesUploadCall) Header() http.Header
    func (c *EditsBundlesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsBundlesUploadCall
    func (c *EditsBundlesUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsBundlesUploadCall
    func (c *EditsBundlesUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsBundlesUploadCall
type EditsCommitCall
    func (c *EditsCommitCall) ChangesNotSentForReview(changesNotSentForReview bool) *EditsCommitCall
    func (c *EditsCommitCall) Context(ctx context.Context) *EditsCommitCall
    func (c *EditsCommitCall) Do(opts ...googleapi.CallOption) (*AppEdit, error)
    func (c *EditsCommitCall) Fields(s ...googleapi.Field) *EditsCommitCall
    func (c *EditsCommitCall) Header() http.Header
type EditsCountryavailabilityGetCall
    func (c *EditsCountryavailabilityGetCall) Context(ctx context.Context) *EditsCountryavailabilityGetCall
    func (c *EditsCountryavailabilityGetCall) Do(opts ...googleapi.CallOption) (*TrackCountryAvailability, error)
    func (c *EditsCountryavailabilityGetCall) Fields(s ...googleapi.Field) *EditsCountryavailabilityGetCall
    func (c *EditsCountryavailabilityGetCall) Header() http.Header
    func (c *EditsCountryavailabilityGetCall) IfNoneMatch(entityTag string) *EditsCountryavailabilityGetCall
type EditsCountryavailabilityService
    func NewEditsCountryavailabilityService(s *Service) *EditsCountryavailabilityService
    func (r *EditsCountryavailabilityService) Get(packageName string, editId string, track string) *EditsCountryavailabilityGetCall
type EditsDeleteCall
    func (c *EditsDeleteCall) Context(ctx context.Context) *EditsDeleteCall
    func (c *EditsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *EditsDeleteCall) Fields(s ...googleapi.Field) *EditsDeleteCall
    func (c *EditsDeleteCall) Header() http.Header
type EditsDeobfuscationfilesService
    func NewEditsDeobfuscationfilesService(s *Service) *EditsDeobfuscationfilesService
    func (r *EditsDeobfuscationfilesService) Upload(packageNameid string, editId string, apkVersionCode int64, deobfuscationFileType string) *EditsDeobfuscationfilesUploadCall
type EditsDeobfuscationfilesUploadCall
    func (c *EditsDeobfuscationfilesUploadCall) Context(ctx context.Context) *EditsDeobfuscationfilesUploadCall
    func (c *EditsDeobfuscationfilesUploadCall) Do(opts ...googleapi.CallOption) (*DeobfuscationFilesUploadResponse, error)
    func (c *EditsDeobfuscationfilesUploadCall) Fields(s ...googleapi.Field) *EditsDeobfuscationfilesUploadCall
    func (c *EditsDeobfuscationfilesUploadCall) Header() http.Header
    func (c *EditsDeobfuscationfilesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsDeobfuscationfilesUploadCall
    func (c *EditsDeobfuscationfilesUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsDeobfuscationfilesUploadCall
    func (c *EditsDeobfuscationfilesUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsDeobfuscationfilesUploadCall
type EditsDetailsGetCall
    func (c *EditsDetailsGetCall) Context(ctx context.Context) *EditsDetailsGetCall
    func (c *EditsDetailsGetCall) Do(opts ...googleapi.CallOption) (*AppDetails, error)
    func (c *EditsDetailsGetCall) Fields(s ...googleapi.Field) *EditsDetailsGetCall
    func (c *EditsDetailsGetCall) Header() http.Header
    func (c *EditsDetailsGetCall) IfNoneMatch(entityTag string) *EditsDetailsGetCall
type EditsDetailsPatchCall
    func (c *EditsDetailsPatchCall) Context(ctx context.Context) *EditsDetailsPatchCall
    func (c *EditsDetailsPatchCall) Do(opts ...googleapi.CallOption) (*AppDetails, error)
    func (c *EditsDetailsPatchCall) Fields(s ...googleapi.Field) *EditsDetailsPatchCall
    func (c *EditsDetailsPatchCall) Header() http.Header
type EditsDetailsService
    func NewEditsDetailsService(s *Service) *EditsDetailsService
    func (r *EditsDetailsService) Get(packageName string, editId string) *EditsDetailsGetCall
    func (r *EditsDetailsService) Patch(packageName string, editId string, appdetails *AppDetails) *EditsDetailsPatchCall
    func (r *EditsDetailsService) Update(packageName string, editId string, appdetails *AppDetails) *EditsDetailsUpdateCall
type EditsDetailsUpdateCall
    func (c *EditsDetailsUpdateCall) Context(ctx context.Context) *EditsDetailsUpdateCall
    func (c *EditsDetailsUpdateCall) Do(opts ...googleapi.CallOption) (*AppDetails, error)
    func (c *EditsDetailsUpdateCall) Fields(s ...googleapi.Field) *EditsDetailsUpdateCall
    func (c *EditsDetailsUpdateCall) Header() http.Header
type EditsExpansionfilesGetCall
    func (c *EditsExpansionfilesGetCall) Context(ctx context.Context) *EditsExpansionfilesGetCall
    func (c *EditsExpansionfilesGetCall) Do(opts ...googleapi.CallOption) (*ExpansionFile, error)
    func (c *EditsExpansionfilesGetCall) Fields(s ...googleapi.Field) *EditsExpansionfilesGetCall
    func (c *EditsExpansionfilesGetCall) Header() http.Header
    func (c *EditsExpansionfilesGetCall) IfNoneMatch(entityTag string) *EditsExpansionfilesGetCall
type EditsExpansionfilesPatchCall
    func (c *EditsExpansionfilesPatchCall) Context(ctx context.Context) *EditsExpansionfilesPatchCall
    func (c *EditsExpansionfilesPatchCall) Do(opts ...googleapi.CallOption) (*ExpansionFile, error)
    func (c *EditsExpansionfilesPatchCall) Fields(s ...googleapi.Field) *EditsExpansionfilesPatchCall
    func (c *EditsExpansionfilesPatchCall) Header() http.Header
type EditsExpansionfilesService
    func NewEditsExpansionfilesService(s *Service) *EditsExpansionfilesService
    func (r *EditsExpansionfilesService) Get(packageName string, editId string, apkVersionCode int64, expansionFileType string) *EditsExpansionfilesGetCall
    func (r *EditsExpansionfilesService) Patch(packageName string, editId string, apkVersionCode int64, expansionFileType string, expansionfile *ExpansionFile) *EditsExpansionfilesPatchCall
    func (r *EditsExpansionfilesService) Update(packageName string, editId string, apkVersionCode int64, expansionFileType string, expansionfile *ExpansionFile) *EditsExpansionfilesUpdateCall
    func (r *EditsExpansionfilesService) Upload(packageName string, editId string, apkVersionCode int64, expansionFileType string) *EditsExpansionfilesUploadCall
type EditsExpansionfilesUpdateCall
    func (c *EditsExpansionfilesUpdateCall) Context(ctx context.Context) *EditsExpansionfilesUpdateCall
    func (c *EditsExpansionfilesUpdateCall) Do(opts ...googleapi.CallOption) (*ExpansionFile, error)
    func (c *EditsExpansionfilesUpdateCall) Fields(s ...googleapi.Field) *EditsExpansionfilesUpdateCall
    func (c *EditsExpansionfilesUpdateCall) Header() http.Header
type EditsExpansionfilesUploadCall
    func (c *EditsExpansionfilesUploadCall) Context(ctx context.Context) *EditsExpansionfilesUploadCall
    func (c *EditsExpansionfilesUploadCall) Do(opts ...googleapi.CallOption) (*ExpansionFilesUploadResponse, error)
    func (c *EditsExpansionfilesUploadCall) Fields(s ...googleapi.Field) *EditsExpansionfilesUploadCall
    func (c *EditsExpansionfilesUploadCall) Header() http.Header
    func (c *EditsExpansionfilesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsExpansionfilesUploadCall
    func (c *EditsExpansionfilesUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsExpansionfilesUploadCall
    func (c *EditsExpansionfilesUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsExpansionfilesUploadCall
type EditsGetCall
    func (c *EditsGetCall) Context(ctx context.Context) *EditsGetCall
    func (c *EditsGetCall) Do(opts ...googleapi.CallOption) (*AppEdit, error)
    func (c *EditsGetCall) Fields(s ...googleapi.Field) *EditsGetCall
    func (c *EditsGetCall) Header() http.Header
    func (c *EditsGetCall) IfNoneMatch(entityTag string) *EditsGetCall
type EditsImagesDeleteCall
    func (c *EditsImagesDeleteCall) Context(ctx context.Context) *EditsImagesDeleteCall
    func (c *EditsImagesDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *EditsImagesDeleteCall) Fields(s ...googleapi.Field) *EditsImagesDeleteCall
    func (c *EditsImagesDeleteCall) Header() http.Header
type EditsImagesDeleteallCall
    func (c *EditsImagesDeleteallCall) Context(ctx context.Context) *EditsImagesDeleteallCall
    func (c *EditsImagesDeleteallCall) Do(opts ...googleapi.CallOption) (*ImagesDeleteAllResponse, error)
    func (c *EditsImagesDeleteallCall) Fields(s ...googleapi.Field) *EditsImagesDeleteallCall
    func (c *EditsImagesDeleteallCall) Header() http.Header
type EditsImagesListCall
    func (c *EditsImagesListCall) Context(ctx context.Context) *EditsImagesListCall
    func (c *EditsImagesListCall) Do(opts ...googleapi.CallOption) (*ImagesListResponse, error)
    func (c *EditsImagesListCall) Fields(s ...googleapi.Field) *EditsImagesListCall
    func (c *EditsImagesListCall) Header() http.Header
    func (c *EditsImagesListCall) IfNoneMatch(entityTag string) *EditsImagesListCall
type EditsImagesService
    func NewEditsImagesService(s *Service) *EditsImagesService
    func (r *EditsImagesService) Delete(packageName string, editId string, language string, imageType string, imageId string) *EditsImagesDeleteCall
    func (r *EditsImagesService) Deleteall(packageName string, editId string, language string, imageType string) *EditsImagesDeleteallCall
    func (r *EditsImagesService) List(packageName string, editId string, language string, imageType string) *EditsImagesListCall
    func (r *EditsImagesService) Upload(packageName string, editId string, language string, imageType string) *EditsImagesUploadCall
type EditsImagesUploadCall
    func (c *EditsImagesUploadCall) Context(ctx context.Context) *EditsImagesUploadCall
    func (c *EditsImagesUploadCall) Do(opts ...googleapi.CallOption) (*ImagesUploadResponse, error)
    func (c *EditsImagesUploadCall) Fields(s ...googleapi.Field) *EditsImagesUploadCall
    func (c *EditsImagesUploadCall) Header() http.Header
    func (c *EditsImagesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsImagesUploadCall
    func (c *EditsImagesUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsImagesUploadCall
    func (c *EditsImagesUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsImagesUploadCall
type EditsInsertCall
    func (c *EditsInsertCall) Context(ctx context.Context) *EditsInsertCall
    func (c *EditsInsertCall) Do(opts ...googleapi.CallOption) (*AppEdit, error)
    func (c *EditsInsertCall) Fields(s ...googleapi.Field) *EditsInsertCall
    func (c *EditsInsertCall) Header() http.Header
type EditsListingsDeleteCall
    func (c *EditsListingsDeleteCall) Context(ctx context.Context) *EditsListingsDeleteCall
    func (c *EditsListingsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *EditsListingsDeleteCall) Fields(s ...googleapi.Field) *EditsListingsDeleteCall
    func (c *EditsListingsDeleteCall) Header() http.Header
type EditsListingsDeleteallCall
    func (c *EditsListingsDeleteallCall) Context(ctx context.Context) *EditsListingsDeleteallCall
    func (c *EditsListingsDeleteallCall) Do(opts ...googleapi.CallOption) error
    func (c *EditsListingsDeleteallCall) Fields(s ...googleapi.Field) *EditsListingsDeleteallCall
    func (c *EditsListingsDeleteallCall) Header() http.Header
type EditsListingsGetCall
    func (c *EditsListingsGetCall) Context(ctx context.Context) *EditsListingsGetCall
    func (c *EditsListingsGetCall) Do(opts ...googleapi.CallOption) (*Listing, error)
    func (c *EditsListingsGetCall) Fields(s ...googleapi.Field) *EditsListingsGetCall
    func (c *EditsListingsGetCall) Header() http.Header
    func (c *EditsListingsGetCall) IfNoneMatch(entityTag string) *EditsListingsGetCall
type EditsListingsListCall
    func (c *EditsListingsListCall) Context(ctx context.Context) *EditsListingsListCall
    func (c *EditsListingsListCall) Do(opts ...googleapi.CallOption) (*ListingsListResponse, error)
    func (c *EditsListingsListCall) Fields(s ...googleapi.Field) *EditsListingsListCall
    func (c *EditsListingsListCall) Header() http.Header
    func (c *EditsListingsListCall) IfNoneMatch(entityTag string) *EditsListingsListCall
type EditsListingsPatchCall
    func (c *EditsListingsPatchCall) Context(ctx context.Context) *EditsListingsPatchCall
    func (c *EditsListingsPatchCall) Do(opts ...googleapi.CallOption) (*Listing, error)
    func (c *EditsListingsPatchCall) Fields(s ...googleapi.Field) *EditsListingsPatchCall
    func (c *EditsListingsPatchCall) Header() http.Header
type EditsListingsService
    func NewEditsListingsService(s *Service) *EditsListingsService
    func (r *EditsListingsService) Delete(packageName string, editId string, language string) *EditsListingsDeleteCall
    func (r *EditsListingsService) Deleteall(packageName string, editId string) *EditsListingsDeleteallCall
    func (r *EditsListingsService) Get(packageName string, editId string, language string) *EditsListingsGetCall
    func (r *EditsListingsService) List(packageName string, editId string) *EditsListingsListCall
    func (r *EditsListingsService) Patch(packageName string, editId string, language string, listing *Listing) *EditsListingsPatchCall
    func (r *EditsListingsService) Update(packageName string, editId string, language string, listing *Listing) *EditsListingsUpdateCall
type EditsListingsUpdateCall
    func (c *EditsListingsUpdateCall) Context(ctx context.Context) *EditsListingsUpdateCall
    func (c *EditsListingsUpdateCall) Do(opts ...googleapi.CallOption) (*Listing, error)
    func (c *EditsListingsUpdateCall) Fields(s ...googleapi.Field) *EditsListingsUpdateCall
    func (c *EditsListingsUpdateCall) Header() http.Header
type EditsService
    func NewEditsService(s *Service) *EditsService
    func (r *EditsService) Commit(packageName string, editId string) *EditsCommitCall
    func (r *EditsService) Delete(packageName string, editId string) *EditsDeleteCall
    func (r *EditsService) Get(packageName string, editId string) *EditsGetCall
    func (r *EditsService) Insert(packageName string, appedit *AppEdit) *EditsInsertCall
    func (r *EditsService) Validate(packageName string, editId string) *EditsValidateCall
type EditsTestersGetCall
    func (c *EditsTestersGetCall) Context(ctx context.Context) *EditsTestersGetCall
    func (c *EditsTestersGetCall) Do(opts ...googleapi.CallOption) (*Testers, error)
    func (c *EditsTestersGetCall) Fields(s ...googleapi.Field) *EditsTestersGetCall
    func (c *EditsTestersGetCall) Header() http.Header
    func (c *EditsTestersGetCall) IfNoneMatch(entityTag string) *EditsTestersGetCall
type EditsTestersPatchCall
    func (c *EditsTestersPatchCall) Context(ctx context.Context) *EditsTestersPatchCall
    func (c *EditsTestersPatchCall) Do(opts ...googleapi.CallOption) (*Testers, error)
    func (c *EditsTestersPatchCall) Fields(s ...googleapi.Field) *EditsTestersPatchCall
    func (c *EditsTestersPatchCall) Header() http.Header
type EditsTestersService
    func NewEditsTestersService(s *Service) *EditsTestersService
    func (r *EditsTestersService) Get(packageName string, editId string, track string) *EditsTestersGetCall
    func (r *EditsTestersService) Patch(packageName string, editId string, track string, testers *Testers) *EditsTestersPatchCall
    func (r *EditsTestersService) Update(packageName string, editId string, track string, testers *Testers) *EditsTestersUpdateCall
type EditsTestersUpdateCall
    func (c *EditsTestersUpdateCall) Context(ctx context.Context) *EditsTestersUpdateCall
    func (c *EditsTestersUpdateCall) Do(opts ...googleapi.CallOption) (*Testers, error)
    func (c *EditsTestersUpdateCall) Fields(s ...googleapi.Field) *EditsTestersUpdateCall
    func (c *EditsTestersUpdateCall) Header() http.Header
type EditsTracksCreateCall
    func (c *EditsTracksCreateCall) Context(ctx context.Context) *EditsTracksCreateCall
    func (c *EditsTracksCreateCall) Do(opts ...googleapi.CallOption) (*Track, error)
    func (c *EditsTracksCreateCall) Fields(s ...googleapi.Field) *EditsTracksCreateCall
    func (c *EditsTracksCreateCall) Header() http.Header
type EditsTracksGetCall
    func (c *EditsTracksGetCall) Context(ctx context.Context) *EditsTracksGetCall
    func (c *EditsTracksGetCall) Do(opts ...googleapi.CallOption) (*Track, error)
    func (c *EditsTracksGetCall) Fields(s ...googleapi.Field) *EditsTracksGetCall
    func (c *EditsTracksGetCall) Header() http.Header
    func (c *EditsTracksGetCall) IfNoneMatch(entityTag string) *EditsTracksGetCall
type EditsTracksListCall
    func (c *EditsTracksListCall) Context(ctx context.Context) *EditsTracksListCall
    func (c *EditsTracksListCall) Do(opts ...googleapi.CallOption) (*TracksListResponse, error)
    func (c *EditsTracksListCall) Fields(s ...googleapi.Field) *EditsTracksListCall
    func (c *EditsTracksListCall) Header() http.Header
    func (c *EditsTracksListCall) IfNoneMatch(entityTag string) *EditsTracksListCall
type EditsTracksPatchCall
    func (c *EditsTracksPatchCall) Context(ctx context.Context) *EditsTracksPatchCall
    func (c *EditsTracksPatchCall) Do(opts ...googleapi.CallOption) (*Track, error)
    func (c *EditsTracksPatchCall) Fields(s ...googleapi.Field) *EditsTracksPatchCall
    func (c *EditsTracksPatchCall) Header() http.Header
type EditsTracksService
    func NewEditsTracksService(s *Service) *EditsTracksService
    func (r *EditsTracksService) Create(packageName string, editId string, trackconfig *TrackConfig) *EditsTracksCreateCall
    func (r *EditsTracksService) Get(packageName string, editId string, track string) *EditsTracksGetCall
    func (r *EditsTracksService) List(packageName string, editId string) *EditsTracksListCall
    func (r *EditsTracksService) Patch(packageName string, editId string, track string, track2 *Track) *EditsTracksPatchCall
    func (r *EditsTracksService) Update(packageName string, editId string, track string, track2 *Track) *EditsTracksUpdateCall
type EditsTracksUpdateCall
    func (c *EditsTracksUpdateCall) Context(ctx context.Context) *EditsTracksUpdateCall
    func (c *EditsTracksUpdateCall) Do(opts ...googleapi.CallOption) (*Track, error)
    func (c *EditsTracksUpdateCall) Fields(s ...googleapi.Field) *EditsTracksUpdateCall
    func (c *EditsTracksUpdateCall) Header() http.Header
type EditsValidateCall
    func (c *EditsValidateCall) Context(ctx context.Context) *EditsValidateCall
    func (c *EditsValidateCall) Do(opts ...googleapi.CallOption) (*AppEdit, error)
    func (c *EditsValidateCall) Fields(s ...googleapi.Field) *EditsValidateCall
    func (c *EditsValidateCall) Header() http.Header
type ExpansionFile
    func (s *ExpansionFile) MarshalJSON() ([]byte, error)
type ExpansionFilesUploadResponse
    func (s *ExpansionFilesUploadResponse) MarshalJSON() ([]byte, error)
type ExternalAccountIdentifiers
    func (s *ExternalAccountIdentifiers) MarshalJSON() ([]byte, error)
type ExternalSubscription
    func (s *ExternalSubscription) MarshalJSON() ([]byte, error)
type ExternalTransaction
    func (s *ExternalTransaction) MarshalJSON() ([]byte, error)
type ExternalTransactionAddress
    func (s *ExternalTransactionAddress) MarshalJSON() ([]byte, error)
type ExternalTransactionTestPurchase
type ExternallyHostedApk
    func (s *ExternallyHostedApk) MarshalJSON() ([]byte, error)
type ExternaltransactionsCreateexternaltransactionCall
    func (c *ExternaltransactionsCreateexternaltransactionCall) Context(ctx context.Context) *ExternaltransactionsCreateexternaltransactionCall
    func (c *ExternaltransactionsCreateexternaltransactionCall) Do(opts ...googleapi.CallOption) (*ExternalTransaction, error)
    func (c *ExternaltransactionsCreateexternaltransactionCall) ExternalTransactionId(externalTransactionId string) *ExternaltransactionsCreateexternaltransactionCall
    func (c *ExternaltransactionsCreateexternaltransactionCall) Fields(s ...googleapi.Field) *ExternaltransactionsCreateexternaltransactionCall
    func (c *ExternaltransactionsCreateexternaltransactionCall) Header() http.Header
type ExternaltransactionsGetexternaltransactionCall
    func (c *ExternaltransactionsGetexternaltransactionCall) Context(ctx context.Context) *ExternaltransactionsGetexternaltransactionCall
    func (c *ExternaltransactionsGetexternaltransactionCall) Do(opts ...googleapi.CallOption) (*ExternalTransaction, error)
    func (c *ExternaltransactionsGetexternaltransactionCall) Fields(s ...googleapi.Field) *ExternaltransactionsGetexternaltransactionCall
    func (c *ExternaltransactionsGetexternaltransactionCall) Header() http.Header
    func (c *ExternaltransactionsGetexternaltransactionCall) IfNoneMatch(entityTag string) *ExternaltransactionsGetexternaltransactionCall
type ExternaltransactionsRefundexternaltransactionCall
    func (c *ExternaltransactionsRefundexternaltransactionCall) Context(ctx context.Context) *ExternaltransactionsRefundexternaltransactionCall
    func (c *ExternaltransactionsRefundexternaltransactionCall) Do(opts ...googleapi.CallOption) (*ExternalTransaction, error)
    func (c *ExternaltransactionsRefundexternaltransactionCall) Fields(s ...googleapi.Field) *ExternaltransactionsRefundexternaltransactionCall
    func (c *ExternaltransactionsRefundexternaltransactionCall) Header() http.Header
type ExternaltransactionsService
    func NewExternaltransactionsService(s *Service) *ExternaltransactionsService
    func (r *ExternaltransactionsService) Createexternaltransaction(parent string, externaltransaction *ExternalTransaction) *ExternaltransactionsCreateexternaltransactionCall
    func (r *ExternaltransactionsService) Getexternaltransaction(name string) *ExternaltransactionsGetexternaltransactionCall
    func (r *ExternaltransactionsService) Refundexternaltransaction(name string, refundexternaltransactionrequest *RefundExternalTransactionRequest) *ExternaltransactionsRefundexternaltransactionCall
type FullRefund
type GeneratedApksListResponse
    func (s *GeneratedApksListResponse) MarshalJSON() ([]byte, error)
type GeneratedApksPerSigningKey
    func (s *GeneratedApksPerSigningKey) MarshalJSON() ([]byte, error)
type GeneratedAssetPackSlice
    func (s *GeneratedAssetPackSlice) MarshalJSON() ([]byte, error)
type GeneratedRecoveryApk
    func (s *GeneratedRecoveryApk) MarshalJSON() ([]byte, error)
type GeneratedSplitApk
    func (s *GeneratedSplitApk) MarshalJSON() ([]byte, error)
type GeneratedStandaloneApk
    func (s *GeneratedStandaloneApk) MarshalJSON() ([]byte, error)
type GeneratedUniversalApk
    func (s *GeneratedUniversalApk) MarshalJSON() ([]byte, error)
type GeneratedapksDownloadCall
    func (c *GeneratedapksDownloadCall) Context(ctx context.Context) *GeneratedapksDownloadCall
    func (c *GeneratedapksDownloadCall) Do(opts ...googleapi.CallOption) error
    func (c *GeneratedapksDownloadCall) Download(opts ...googleapi.CallOption) (*http.Response, error)
    func (c *GeneratedapksDownloadCall) Fields(s ...googleapi.Field) *GeneratedapksDownloadCall
    func (c *GeneratedapksDownloadCall) Header() http.Header
    func (c *GeneratedapksDownloadCall) IfNoneMatch(entityTag string) *GeneratedapksDownloadCall
type GeneratedapksListCall
    func (c *GeneratedapksListCall) Context(ctx context.Context) *GeneratedapksListCall
    func (c *GeneratedapksListCall) Do(opts ...googleapi.CallOption) (*GeneratedApksListResponse, error)
    func (c *GeneratedapksListCall) Fields(s ...googleapi.Field) *GeneratedapksListCall
    func (c *GeneratedapksListCall) Header() http.Header
    func (c *GeneratedapksListCall) IfNoneMatch(entityTag string) *GeneratedapksListCall
type GeneratedapksService
    func NewGeneratedapksService(s *Service) *GeneratedapksService
    func (r *GeneratedapksService) Download(packageName string, versionCode int64, downloadId string) *GeneratedapksDownloadCall
    func (r *GeneratedapksService) List(packageName string, versionCode int64) *GeneratedapksListCall
type GetSubscriptionOfferRequest
    func (s *GetSubscriptionOfferRequest) MarshalJSON() ([]byte, error)
type Grant
    func (s *Grant) MarshalJSON() ([]byte, error)
type GrantsCreateCall
    func (c *GrantsCreateCall) Context(ctx context.Context) *GrantsCreateCall
    func (c *GrantsCreateCall) Do(opts ...googleapi.CallOption) (*Grant, error)
    func (c *GrantsCreateCall) Fields(s ...googleapi.Field) *GrantsCreateCall
    func (c *GrantsCreateCall) Header() http.Header
type GrantsDeleteCall
    func (c *GrantsDeleteCall) Context(ctx context.Context) *GrantsDeleteCall
    func (c *GrantsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *GrantsDeleteCall) Fields(s ...googleapi.Field) *GrantsDeleteCall
    func (c *GrantsDeleteCall) Header() http.Header
type GrantsPatchCall
    func (c *GrantsPatchCall) Context(ctx context.Context) *GrantsPatchCall
    func (c *GrantsPatchCall) Do(opts ...googleapi.CallOption) (*Grant, error)
    func (c *GrantsPatchCall) Fields(s ...googleapi.Field) *GrantsPatchCall
    func (c *GrantsPatchCall) Header() http.Header
    func (c *GrantsPatchCall) UpdateMask(updateMask string) *GrantsPatchCall
type GrantsService
    func NewGrantsService(s *Service) *GrantsService
    func (r *GrantsService) Create(parent string, grant *Grant) *GrantsCreateCall
    func (r *GrantsService) Delete(name string) *GrantsDeleteCall
    func (r *GrantsService) Patch(name string, grant *Grant) *GrantsPatchCall
type Image
    func (s *Image) MarshalJSON() ([]byte, error)
type ImagesDeleteAllResponse
    func (s *ImagesDeleteAllResponse) MarshalJSON() ([]byte, error)
type ImagesListResponse
    func (s *ImagesListResponse) MarshalJSON() ([]byte, error)
type ImagesUploadResponse
    func (s *ImagesUploadResponse) MarshalJSON() ([]byte, error)
type InAppProduct
    func (s *InAppProduct) MarshalJSON() ([]byte, error)
type InAppProductListing
    func (s *InAppProductListing) MarshalJSON() ([]byte, error)
type InappproductsBatchDeleteCall
    func (c *InappproductsBatchDeleteCall) Context(ctx context.Context) *InappproductsBatchDeleteCall
    func (c *InappproductsBatchDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *InappproductsBatchDeleteCall) Fields(s ...googleapi.Field) *InappproductsBatchDeleteCall
    func (c *InappproductsBatchDeleteCall) Header() http.Header
type InappproductsBatchDeleteRequest
    func (s *InappproductsBatchDeleteRequest) MarshalJSON() ([]byte, error)
type InappproductsBatchGetCall
    func (c *InappproductsBatchGetCall) Context(ctx context.Context) *InappproductsBatchGetCall
    func (c *InappproductsBatchGetCall) Do(opts ...googleapi.CallOption) (*InappproductsBatchGetResponse, error)
    func (c *InappproductsBatchGetCall) Fields(s ...googleapi.Field) *InappproductsBatchGetCall
    func (c *InappproductsBatchGetCall) Header() http.Header
    func (c *InappproductsBatchGetCall) IfNoneMatch(entityTag string) *InappproductsBatchGetCall
    func (c *InappproductsBatchGetCall) Sku(sku ...string) *InappproductsBatchGetCall
type InappproductsBatchGetResponse
    func (s *InappproductsBatchGetResponse) MarshalJSON() ([]byte, error)
type InappproductsBatchUpdateCall
    func (c *InappproductsBatchUpdateCall) Context(ctx context.Context) *InappproductsBatchUpdateCall
    func (c *InappproductsBatchUpdateCall) Do(opts ...googleapi.CallOption) (*InappproductsBatchUpdateResponse, error)
    func (c *InappproductsBatchUpdateCall) Fields(s ...googleapi.Field) *InappproductsBatchUpdateCall
    func (c *InappproductsBatchUpdateCall) Header() http.Header
type InappproductsBatchUpdateRequest
    func (s *InappproductsBatchUpdateRequest) MarshalJSON() ([]byte, error)
type InappproductsBatchUpdateResponse
    func (s *InappproductsBatchUpdateResponse) MarshalJSON() ([]byte, error)
type InappproductsDeleteCall
    func (c *InappproductsDeleteCall) Context(ctx context.Context) *InappproductsDeleteCall
    func (c *InappproductsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *InappproductsDeleteCall) Fields(s ...googleapi.Field) *InappproductsDeleteCall
    func (c *InappproductsDeleteCall) Header() http.Header
    func (c *InappproductsDeleteCall) LatencyTolerance(latencyTolerance string) *InappproductsDeleteCall
type InappproductsDeleteRequest
    func (s *InappproductsDeleteRequest) MarshalJSON() ([]byte, error)
type InappproductsGetCall
    func (c *InappproductsGetCall) Context(ctx context.Context) *InappproductsGetCall
    func (c *InappproductsGetCall) Do(opts ...googleapi.CallOption) (*InAppProduct, error)
    func (c *InappproductsGetCall) Fields(s ...googleapi.Field) *InappproductsGetCall
    func (c *InappproductsGetCall) Header() http.Header
    func (c *InappproductsGetCall) IfNoneMatch(entityTag string) *InappproductsGetCall
type InappproductsInsertCall
    func (c *InappproductsInsertCall) AutoConvertMissingPrices(autoConvertMissingPrices bool) *InappproductsInsertCall
    func (c *InappproductsInsertCall) Context(ctx context.Context) *InappproductsInsertCall
    func (c *InappproductsInsertCall) Do(opts ...googleapi.CallOption) (*InAppProduct, error)
    func (c *InappproductsInsertCall) Fields(s ...googleapi.Field) *InappproductsInsertCall
    func (c *InappproductsInsertCall) Header() http.Header
type InappproductsListCall
    func (c *InappproductsListCall) Context(ctx context.Context) *InappproductsListCall
    func (c *InappproductsListCall) Do(opts ...googleapi.CallOption) (*InappproductsListResponse, error)
    func (c *InappproductsListCall) Fields(s ...googleapi.Field) *InappproductsListCall
    func (c *InappproductsListCall) Header() http.Header
    func (c *InappproductsListCall) IfNoneMatch(entityTag string) *InappproductsListCall
    func (c *InappproductsListCall) MaxResults(maxResults int64) *InappproductsListCall
    func (c *InappproductsListCall) StartIndex(startIndex int64) *InappproductsListCall
    func (c *InappproductsListCall) Token(token string) *InappproductsListCall
type InappproductsListResponse
    func (s *InappproductsListResponse) MarshalJSON() ([]byte, error)
type InappproductsPatchCall
    func (c *InappproductsPatchCall) AutoConvertMissingPrices(autoConvertMissingPrices bool) *InappproductsPatchCall
    func (c *InappproductsPatchCall) Context(ctx context.Context) *InappproductsPatchCall
    func (c *InappproductsPatchCall) Do(opts ...googleapi.CallOption) (*InAppProduct, error)
    func (c *InappproductsPatchCall) Fields(s ...googleapi.Field) *InappproductsPatchCall
    func (c *InappproductsPatchCall) Header() http.Header
    func (c *InappproductsPatchCall) LatencyTolerance(latencyTolerance string) *InappproductsPatchCall
type InappproductsService
    func NewInappproductsService(s *Service) *InappproductsService
    func (r *InappproductsService) BatchDelete(packageName string, inappproductsbatchdeleterequest *InappproductsBatchDeleteRequest) *InappproductsBatchDeleteCall
    func (r *InappproductsService) BatchGet(packageName string) *InappproductsBatchGetCall
    func (r *InappproductsService) BatchUpdate(packageName string, inappproductsbatchupdaterequest *InappproductsBatchUpdateRequest) *InappproductsBatchUpdateCall
    func (r *InappproductsService) Delete(packageName string, skuid string) *InappproductsDeleteCall
    func (r *InappproductsService) Get(packageName string, skuid string) *InappproductsGetCall
    func (r *InappproductsService) Insert(packageName string, inappproduct *InAppProduct) *InappproductsInsertCall
    func (r *InappproductsService) List(packageName string) *InappproductsListCall
    func (r *InappproductsService) Patch(packageName string, skuid string, inappproduct *InAppProduct) *InappproductsPatchCall
    func (r *InappproductsService) Update(packageName string, skuid string, inappproduct *InAppProduct) *InappproductsUpdateCall
type InappproductsUpdateCall
    func (c *InappproductsUpdateCall) AllowMissing(allowMissing bool) *InappproductsUpdateCall
    func (c *InappproductsUpdateCall) AutoConvertMissingPrices(autoConvertMissingPrices bool) *InappproductsUpdateCall
    func (c *InappproductsUpdateCall) Context(ctx context.Context) *InappproductsUpdateCall
    func (c *InappproductsUpdateCall) Do(opts ...googleapi.CallOption) (*InAppProduct, error)
    func (c *InappproductsUpdateCall) Fields(s ...googleapi.Field) *InappproductsUpdateCall
    func (c *InappproductsUpdateCall) Header() http.Header
    func (c *InappproductsUpdateCall) LatencyTolerance(latencyTolerance string) *InappproductsUpdateCall
type InappproductsUpdateRequest
    func (s *InappproductsUpdateRequest) MarshalJSON() ([]byte, error)
type InstallmentPlan
    func (s *InstallmentPlan) MarshalJSON() ([]byte, error)
type InstallmentsBasePlanType
    func (s *InstallmentsBasePlanType) MarshalJSON() ([]byte, error)
type InternalAppSharingArtifact
    func (s *InternalAppSharingArtifact) MarshalJSON() ([]byte, error)
type InternalappsharingartifactsService
    func NewInternalappsharingartifactsService(s *Service) *InternalappsharingartifactsService
    func (r *InternalappsharingartifactsService) Uploadapk(packageName string) *InternalappsharingartifactsUploadapkCall
    func (r *InternalappsharingartifactsService) Uploadbundle(packageName string) *InternalappsharingartifactsUploadbundleCall
type InternalappsharingartifactsUploadapkCall
    func (c *InternalappsharingartifactsUploadapkCall) Context(ctx context.Context) *InternalappsharingartifactsUploadapkCall
    func (c *InternalappsharingartifactsUploadapkCall) Do(opts ...googleapi.CallOption) (*InternalAppSharingArtifact, error)
    func (c *InternalappsharingartifactsUploadapkCall) Fields(s ...googleapi.Field) *InternalappsharingartifactsUploadapkCall
    func (c *InternalappsharingartifactsUploadapkCall) Header() http.Header
    func (c *InternalappsharingartifactsUploadapkCall) Media(r io.Reader, options ...googleapi.MediaOption) *InternalappsharingartifactsUploadapkCall
    func (c *InternalappsharingartifactsUploadapkCall) ProgressUpdater(pu googleapi.ProgressUpdater) *InternalappsharingartifactsUploadapkCall
    func (c *InternalappsharingartifactsUploadapkCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *InternalappsharingartifactsUploadapkCall
type InternalappsharingartifactsUploadbundleCall
    func (c *InternalappsharingartifactsUploadbundleCall) Context(ctx context.Context) *InternalappsharingartifactsUploadbundleCall
    func (c *InternalappsharingartifactsUploadbundleCall) Do(opts ...googleapi.CallOption) (*InternalAppSharingArtifact, error)
    func (c *InternalappsharingartifactsUploadbundleCall) Fields(s ...googleapi.Field) *InternalappsharingartifactsUploadbundleCall
    func (c *InternalappsharingartifactsUploadbundleCall) Header() http.Header
    func (c *InternalappsharingartifactsUploadbundleCall) Media(r io.Reader, options ...googleapi.MediaOption) *InternalappsharingartifactsUploadbundleCall
    func (c *InternalappsharingartifactsUploadbundleCall) ProgressUpdater(pu googleapi.ProgressUpdater) *InternalappsharingartifactsUploadbundleCall
    func (c *InternalappsharingartifactsUploadbundleCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *InternalappsharingartifactsUploadbundleCall
type IntroductoryPriceInfo
    func (s *IntroductoryPriceInfo) MarshalJSON() ([]byte, error)
type LanguageTargeting
    func (s *LanguageTargeting) MarshalJSON() ([]byte, error)
type ListAppRecoveriesResponse
    func (s *ListAppRecoveriesResponse) MarshalJSON() ([]byte, error)
type ListDeviceTierConfigsResponse
    func (s *ListDeviceTierConfigsResponse) MarshalJSON() ([]byte, error)
type ListSubscriptionOffersResponse
    func (s *ListSubscriptionOffersResponse) MarshalJSON() ([]byte, error)
type ListSubscriptionsResponse
    func (s *ListSubscriptionsResponse) MarshalJSON() ([]byte, error)
type ListUsersResponse
    func (s *ListUsersResponse) MarshalJSON() ([]byte, error)
type Listing
    func (s *Listing) MarshalJSON() ([]byte, error)
type ListingsListResponse
    func (s *ListingsListResponse) MarshalJSON() ([]byte, error)
type LocalizedText
    func (s *LocalizedText) MarshalJSON() ([]byte, error)
type ManagedProductTaxAndComplianceSettings
    func (s *ManagedProductTaxAndComplianceSettings) MarshalJSON() ([]byte, error)
type MigrateBasePlanPricesRequest
    func (s *MigrateBasePlanPricesRequest) MarshalJSON() ([]byte, error)
type MigrateBasePlanPricesResponse
type ModuleMetadata
    func (s *ModuleMetadata) MarshalJSON() ([]byte, error)
type ModuleTargeting
    func (s *ModuleTargeting) MarshalJSON() ([]byte, error)
type MonetizationConvertRegionPricesCall
    func (c *MonetizationConvertRegionPricesCall) Context(ctx context.Context) *MonetizationConvertRegionPricesCall
    func (c *MonetizationConvertRegionPricesCall) Do(opts ...googleapi.CallOption) (*ConvertRegionPricesResponse, error)
    func (c *MonetizationConvertRegionPricesCall) Fields(s ...googleapi.Field) *MonetizationConvertRegionPricesCall
    func (c *MonetizationConvertRegionPricesCall) Header() http.Header
type MonetizationService
    func NewMonetizationService(s *Service) *MonetizationService
    func (r *MonetizationService) ConvertRegionPrices(packageName string, convertregionpricesrequest *ConvertRegionPricesRequest) *MonetizationConvertRegionPricesCall
type MonetizationSubscriptionsArchiveCall
    func (c *MonetizationSubscriptionsArchiveCall) Context(ctx context.Context) *MonetizationSubscriptionsArchiveCall
    func (c *MonetizationSubscriptionsArchiveCall) Do(opts ...googleapi.CallOption) (*Subscription, error)
    func (c *MonetizationSubscriptionsArchiveCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsArchiveCall
    func (c *MonetizationSubscriptionsArchiveCall) Header() http.Header
type MonetizationSubscriptionsBasePlansActivateCall
    func (c *MonetizationSubscriptionsBasePlansActivateCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansActivateCall
    func (c *MonetizationSubscriptionsBasePlansActivateCall) Do(opts ...googleapi.CallOption) (*Subscription, error)
    func (c *MonetizationSubscriptionsBasePlansActivateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansActivateCall
    func (c *MonetizationSubscriptionsBasePlansActivateCall) Header() http.Header
type MonetizationSubscriptionsBasePlansBatchMigratePricesCall
    func (c *MonetizationSubscriptionsBasePlansBatchMigratePricesCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansBatchMigratePricesCall
    func (c *MonetizationSubscriptionsBasePlansBatchMigratePricesCall) Do(opts ...googleapi.CallOption) (*BatchMigrateBasePlanPricesResponse, error)
    func (c *MonetizationSubscriptionsBasePlansBatchMigratePricesCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansBatchMigratePricesCall
    func (c *MonetizationSubscriptionsBasePlansBatchMigratePricesCall) Header() http.Header
type MonetizationSubscriptionsBasePlansBatchUpdateStatesCall
    func (c *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall
    func (c *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall) Do(opts ...googleapi.CallOption) (*BatchUpdateBasePlanStatesResponse, error)
    func (c *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall
    func (c *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall) Header() http.Header
type MonetizationSubscriptionsBasePlansDeactivateCall
    func (c *MonetizationSubscriptionsBasePlansDeactivateCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansDeactivateCall
    func (c *MonetizationSubscriptionsBasePlansDeactivateCall) Do(opts ...googleapi.CallOption) (*Subscription, error)
    func (c *MonetizationSubscriptionsBasePlansDeactivateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansDeactivateCall
    func (c *MonetizationSubscriptionsBasePlansDeactivateCall) Header() http.Header
type MonetizationSubscriptionsBasePlansDeleteCall
    func (c *MonetizationSubscriptionsBasePlansDeleteCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansDeleteCall
    func (c *MonetizationSubscriptionsBasePlansDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *MonetizationSubscriptionsBasePlansDeleteCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansDeleteCall
    func (c *MonetizationSubscriptionsBasePlansDeleteCall) Header() http.Header
type MonetizationSubscriptionsBasePlansMigratePricesCall
    func (c *MonetizationSubscriptionsBasePlansMigratePricesCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansMigratePricesCall
    func (c *MonetizationSubscriptionsBasePlansMigratePricesCall) Do(opts ...googleapi.CallOption) (*MigrateBasePlanPricesResponse, error)
    func (c *MonetizationSubscriptionsBasePlansMigratePricesCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansMigratePricesCall
    func (c *MonetizationSubscriptionsBasePlansMigratePricesCall) Header() http.Header
type MonetizationSubscriptionsBasePlansOffersActivateCall
    func (c *MonetizationSubscriptionsBasePlansOffersActivateCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersActivateCall
    func (c *MonetizationSubscriptionsBasePlansOffersActivateCall) Do(opts ...googleapi.CallOption) (*SubscriptionOffer, error)
    func (c *MonetizationSubscriptionsBasePlansOffersActivateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersActivateCall
    func (c *MonetizationSubscriptionsBasePlansOffersActivateCall) Header() http.Header
type MonetizationSubscriptionsBasePlansOffersBatchGetCall
    func (c *MonetizationSubscriptionsBasePlansOffersBatchGetCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersBatchGetCall
    func (c *MonetizationSubscriptionsBasePlansOffersBatchGetCall) Do(opts ...googleapi.CallOption) (*BatchGetSubscriptionOffersResponse, error)
    func (c *MonetizationSubscriptionsBasePlansOffersBatchGetCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersBatchGetCall
    func (c *MonetizationSubscriptionsBasePlansOffersBatchGetCall) Header() http.Header
type MonetizationSubscriptionsBasePlansOffersBatchUpdateCall
    func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall
    func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall) Do(opts ...googleapi.CallOption) (*BatchUpdateSubscriptionOffersResponse, error)
    func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall
    func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall) Header() http.Header
type MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall
    func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall
    func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall) Do(opts ...googleapi.CallOption) (*BatchUpdateSubscriptionOfferStatesResponse, error)
    func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall
    func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall) Header() http.Header
type MonetizationSubscriptionsBasePlansOffersCreateCall
    func (c *MonetizationSubscriptionsBasePlansOffersCreateCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersCreateCall
    func (c *MonetizationSubscriptionsBasePlansOffersCreateCall) Do(opts ...googleapi.CallOption) (*SubscriptionOffer, error)
    func (c *MonetizationSubscriptionsBasePlansOffersCreateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersCreateCall
    func (c *MonetizationSubscriptionsBasePlansOffersCreateCall) Header() http.Header
    func (c *MonetizationSubscriptionsBasePlansOffersCreateCall) OfferId(offerId string) *MonetizationSubscriptionsBasePlansOffersCreateCall
    func (c *MonetizationSubscriptionsBasePlansOffersCreateCall) RegionsVersionVersion(regionsVersionVersion string) *MonetizationSubscriptionsBasePlansOffersCreateCall
type MonetizationSubscriptionsBasePlansOffersDeactivateCall
    func (c *MonetizationSubscriptionsBasePlansOffersDeactivateCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersDeactivateCall
    func (c *MonetizationSubscriptionsBasePlansOffersDeactivateCall) Do(opts ...googleapi.CallOption) (*SubscriptionOffer, error)
    func (c *MonetizationSubscriptionsBasePlansOffersDeactivateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersDeactivateCall
    func (c *MonetizationSubscriptionsBasePlansOffersDeactivateCall) Header() http.Header
type MonetizationSubscriptionsBasePlansOffersDeleteCall
    func (c *MonetizationSubscriptionsBasePlansOffersDeleteCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersDeleteCall
    func (c *MonetizationSubscriptionsBasePlansOffersDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *MonetizationSubscriptionsBasePlansOffersDeleteCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersDeleteCall
    func (c *MonetizationSubscriptionsBasePlansOffersDeleteCall) Header() http.Header
type MonetizationSubscriptionsBasePlansOffersGetCall
    func (c *MonetizationSubscriptionsBasePlansOffersGetCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersGetCall
    func (c *MonetizationSubscriptionsBasePlansOffersGetCall) Do(opts ...googleapi.CallOption) (*SubscriptionOffer, error)
    func (c *MonetizationSubscriptionsBasePlansOffersGetCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersGetCall
    func (c *MonetizationSubscriptionsBasePlansOffersGetCall) Header() http.Header
    func (c *MonetizationSubscriptionsBasePlansOffersGetCall) IfNoneMatch(entityTag string) *MonetizationSubscriptionsBasePlansOffersGetCall
type MonetizationSubscriptionsBasePlansOffersListCall
    func (c *MonetizationSubscriptionsBasePlansOffersListCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersListCall
    func (c *MonetizationSubscriptionsBasePlansOffersListCall) Do(opts ...googleapi.CallOption) (*ListSubscriptionOffersResponse, error)
    func (c *MonetizationSubscriptionsBasePlansOffersListCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersListCall
    func (c *MonetizationSubscriptionsBasePlansOffersListCall) Header() http.Header
    func (c *MonetizationSubscriptionsBasePlansOffersListCall) IfNoneMatch(entityTag string) *MonetizationSubscriptionsBasePlansOffersListCall
    func (c *MonetizationSubscriptionsBasePlansOffersListCall) PageSize(pageSize int64) *MonetizationSubscriptionsBasePlansOffersListCall
    func (c *MonetizationSubscriptionsBasePlansOffersListCall) PageToken(pageToken string) *MonetizationSubscriptionsBasePlansOffersListCall
    func (c *MonetizationSubscriptionsBasePlansOffersListCall) Pages(ctx context.Context, f func(*ListSubscriptionOffersResponse) error) error
type MonetizationSubscriptionsBasePlansOffersPatchCall
    func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) AllowMissing(allowMissing bool) *MonetizationSubscriptionsBasePlansOffersPatchCall
    func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersPatchCall
    func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) Do(opts ...googleapi.CallOption) (*SubscriptionOffer, error)
    func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersPatchCall
    func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) Header() http.Header
    func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) LatencyTolerance(latencyTolerance string) *MonetizationSubscriptionsBasePlansOffersPatchCall
    func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) RegionsVersionVersion(regionsVersionVersion string) *MonetizationSubscriptionsBasePlansOffersPatchCall
    func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) UpdateMask(updateMask string) *MonetizationSubscriptionsBasePlansOffersPatchCall
type MonetizationSubscriptionsBasePlansOffersService
    func NewMonetizationSubscriptionsBasePlansOffersService(s *Service) *MonetizationSubscriptionsBasePlansOffersService
    func (r *MonetizationSubscriptionsBasePlansOffersService) Activate(packageName string, productId string, basePlanId string, offerId string, activatesubscriptionofferrequest *ActivateSubscriptionOfferRequest) *MonetizationSubscriptionsBasePlansOffersActivateCall
    func (r *MonetizationSubscriptionsBasePlansOffersService) BatchGet(packageName string, productId string, basePlanId string, batchgetsubscriptionoffersrequest *BatchGetSubscriptionOffersRequest) *MonetizationSubscriptionsBasePlansOffersBatchGetCall
    func (r *MonetizationSubscriptionsBasePlansOffersService) BatchUpdate(packageName string, productId string, basePlanId string, batchupdatesubscriptionoffersrequest *BatchUpdateSubscriptionOffersRequest) *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall
    func (r *MonetizationSubscriptionsBasePlansOffersService) BatchUpdateStates(packageName string, productId string, basePlanId string, batchupdatesubscriptionofferstatesrequest *BatchUpdateSubscriptionOfferStatesRequest) *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall
    func (r *MonetizationSubscriptionsBasePlansOffersService) Create(packageName string, productId string, basePlanId string, subscriptionoffer *SubscriptionOffer) *MonetizationSubscriptionsBasePlansOffersCreateCall
    func (r *MonetizationSubscriptionsBasePlansOffersService) Deactivate(packageName string, productId string, basePlanId string, offerId string, deactivatesubscriptionofferrequest *DeactivateSubscriptionOfferRequest) *MonetizationSubscriptionsBasePlansOffersDeactivateCall
    func (r *MonetizationSubscriptionsBasePlansOffersService) Delete(packageName string, productId string, basePlanId string, offerId string) *MonetizationSubscriptionsBasePlansOffersDeleteCall
    func (r *MonetizationSubscriptionsBasePlansOffersService) Get(packageName string, productId string, basePlanId string, offerId string) *MonetizationSubscriptionsBasePlansOffersGetCall
    func (r *MonetizationSubscriptionsBasePlansOffersService) List(packageName string, productId string, basePlanId string) *MonetizationSubscriptionsBasePlansOffersListCall
    func (r *MonetizationSubscriptionsBasePlansOffersService) Patch(packageName string, productId string, basePlanId string, offerId string, subscriptionoffer *SubscriptionOffer) *MonetizationSubscriptionsBasePlansOffersPatchCall
type MonetizationSubscriptionsBasePlansService
    func NewMonetizationSubscriptionsBasePlansService(s *Service) *MonetizationSubscriptionsBasePlansService
    func (r *MonetizationSubscriptionsBasePlansService) Activate(packageName string, productId string, basePlanId string, activatebaseplanrequest *ActivateBasePlanRequest) *MonetizationSubscriptionsBasePlansActivateCall
    func (r *MonetizationSubscriptionsBasePlansService) BatchMigratePrices(packageName string, productId string, batchmigratebaseplanpricesrequest *BatchMigrateBasePlanPricesRequest) *MonetizationSubscriptionsBasePlansBatchMigratePricesCall
    func (r *MonetizationSubscriptionsBasePlansService) BatchUpdateStates(packageName string, productId string, batchupdatebaseplanstatesrequest *BatchUpdateBasePlanStatesRequest) *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall
    func (r *MonetizationSubscriptionsBasePlansService) Deactivate(packageName string, productId string, basePlanId string, deactivatebaseplanrequest *DeactivateBasePlanRequest) *MonetizationSubscriptionsBasePlansDeactivateCall
    func (r *MonetizationSubscriptionsBasePlansService) Delete(packageName string, productId string, basePlanId string) *MonetizationSubscriptionsBasePlansDeleteCall
    func (r *MonetizationSubscriptionsBasePlansService) MigratePrices(packageName string, productId string, basePlanId string, migratebaseplanpricesrequest *MigrateBasePlanPricesRequest) *MonetizationSubscriptionsBasePlansMigratePricesCall
type MonetizationSubscriptionsBatchGetCall
    func (c *MonetizationSubscriptionsBatchGetCall) Context(ctx context.Context) *MonetizationSubscriptionsBatchGetCall
    func (c *MonetizationSubscriptionsBatchGetCall) Do(opts ...googleapi.CallOption) (*BatchGetSubscriptionsResponse, error)
    func (c *MonetizationSubscriptionsBatchGetCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBatchGetCall
    func (c *MonetizationSubscriptionsBatchGetCall) Header() http.Header
    func (c *MonetizationSubscriptionsBatchGetCall) IfNoneMatch(entityTag string) *MonetizationSubscriptionsBatchGetCall
    func (c *MonetizationSubscriptionsBatchGetCall) ProductIds(productIds ...string) *MonetizationSubscriptionsBatchGetCall
type MonetizationSubscriptionsBatchUpdateCall
    func (c *MonetizationSubscriptionsBatchUpdateCall) Context(ctx context.Context) *MonetizationSubscriptionsBatchUpdateCall
    func (c *MonetizationSubscriptionsBatchUpdateCall) Do(opts ...googleapi.CallOption) (*BatchUpdateSubscriptionsResponse, error)
    func (c *MonetizationSubscriptionsBatchUpdateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBatchUpdateCall
    func (c *MonetizationSubscriptionsBatchUpdateCall) Header() http.Header
type MonetizationSubscriptionsCreateCall
    func (c *MonetizationSubscriptionsCreateCall) Context(ctx context.Context) *MonetizationSubscriptionsCreateCall
    func (c *MonetizationSubscriptionsCreateCall) Do(opts ...googleapi.CallOption) (*Subscription, error)
    func (c *MonetizationSubscriptionsCreateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsCreateCall
    func (c *MonetizationSubscriptionsCreateCall) Header() http.Header
    func (c *MonetizationSubscriptionsCreateCall) ProductId(productId string) *MonetizationSubscriptionsCreateCall
    func (c *MonetizationSubscriptionsCreateCall) RegionsVersionVersion(regionsVersionVersion string) *MonetizationSubscriptionsCreateCall
type MonetizationSubscriptionsDeleteCall
    func (c *MonetizationSubscriptionsDeleteCall) Context(ctx context.Context) *MonetizationSubscriptionsDeleteCall
    func (c *MonetizationSubscriptionsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *MonetizationSubscriptionsDeleteCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsDeleteCall
    func (c *MonetizationSubscriptionsDeleteCall) Header() http.Header
type MonetizationSubscriptionsGetCall
    func (c *MonetizationSubscriptionsGetCall) Context(ctx context.Context) *MonetizationSubscriptionsGetCall
    func (c *MonetizationSubscriptionsGetCall) Do(opts ...googleapi.CallOption) (*Subscription, error)
    func (c *MonetizationSubscriptionsGetCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsGetCall
    func (c *MonetizationSubscriptionsGetCall) Header() http.Header
    func (c *MonetizationSubscriptionsGetCall) IfNoneMatch(entityTag string) *MonetizationSubscriptionsGetCall
type MonetizationSubscriptionsListCall
    func (c *MonetizationSubscriptionsListCall) Context(ctx context.Context) *MonetizationSubscriptionsListCall
    func (c *MonetizationSubscriptionsListCall) Do(opts ...googleapi.CallOption) (*ListSubscriptionsResponse, error)
    func (c *MonetizationSubscriptionsListCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsListCall
    func (c *MonetizationSubscriptionsListCall) Header() http.Header
    func (c *MonetizationSubscriptionsListCall) IfNoneMatch(entityTag string) *MonetizationSubscriptionsListCall
    func (c *MonetizationSubscriptionsListCall) PageSize(pageSize int64) *MonetizationSubscriptionsListCall
    func (c *MonetizationSubscriptionsListCall) PageToken(pageToken string) *MonetizationSubscriptionsListCall
    func (c *MonetizationSubscriptionsListCall) Pages(ctx context.Context, f func(*ListSubscriptionsResponse) error) error
    func (c *MonetizationSubscriptionsListCall) ShowArchived(showArchived bool) *MonetizationSubscriptionsListCall
type MonetizationSubscriptionsPatchCall
    func (c *MonetizationSubscriptionsPatchCall) AllowMissing(allowMissing bool) *MonetizationSubscriptionsPatchCall
    func (c *MonetizationSubscriptionsPatchCall) Context(ctx context.Context) *MonetizationSubscriptionsPatchCall
    func (c *MonetizationSubscriptionsPatchCall) Do(opts ...googleapi.CallOption) (*Subscription, error)
    func (c *MonetizationSubscriptionsPatchCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsPatchCall
    func (c *MonetizationSubscriptionsPatchCall) Header() http.Header
    func (c *MonetizationSubscriptionsPatchCall) LatencyTolerance(latencyTolerance string) *MonetizationSubscriptionsPatchCall
    func (c *MonetizationSubscriptionsPatchCall) RegionsVersionVersion(regionsVersionVersion string) *MonetizationSubscriptionsPatchCall
    func (c *MonetizationSubscriptionsPatchCall) UpdateMask(updateMask string) *MonetizationSubscriptionsPatchCall
type MonetizationSubscriptionsService
    func NewMonetizationSubscriptionsService(s *Service) *MonetizationSubscriptionsService
    func (r *MonetizationSubscriptionsService) Archive(packageName string, productId string, archivesubscriptionrequest *ArchiveSubscriptionRequest) *MonetizationSubscriptionsArchiveCall
    func (r *MonetizationSubscriptionsService) BatchGet(packageName string) *MonetizationSubscriptionsBatchGetCall
    func (r *MonetizationSubscriptionsService) BatchUpdate(packageName string, batchupdatesubscriptionsrequest *BatchUpdateSubscriptionsRequest) *MonetizationSubscriptionsBatchUpdateCall
    func (r *MonetizationSubscriptionsService) Create(packageName string, subscription *Subscription) *MonetizationSubscriptionsCreateCall
    func (r *MonetizationSubscriptionsService) Delete(packageName string, productId string) *MonetizationSubscriptionsDeleteCall
    func (r *MonetizationSubscriptionsService) Get(packageName string, productId string) *MonetizationSubscriptionsGetCall
    func (r *MonetizationSubscriptionsService) List(packageName string) *MonetizationSubscriptionsListCall
    func (r *MonetizationSubscriptionsService) Patch(packageName string, productId string, subscription *Subscription) *MonetizationSubscriptionsPatchCall
type Money
    func (s *Money) MarshalJSON() ([]byte, error)
type MultiAbi
    func (s *MultiAbi) MarshalJSON() ([]byte, error)
type MultiAbiTargeting
    func (s *MultiAbiTargeting) MarshalJSON() ([]byte, error)
type OfferDetails
    func (s *OfferDetails) MarshalJSON() ([]byte, error)
type OfferTag
    func (s *OfferTag) MarshalJSON() ([]byte, error)
type OneTimeExternalTransaction
    func (s *OneTimeExternalTransaction) MarshalJSON() ([]byte, error)
type OrdersRefundCall
    func (c *OrdersRefundCall) Context(ctx context.Context) *OrdersRefundCall
    func (c *OrdersRefundCall) Do(opts ...googleapi.CallOption) error
    func (c *OrdersRefundCall) Fields(s ...googleapi.Field) *OrdersRefundCall
    func (c *OrdersRefundCall) Header() http.Header
    func (c *OrdersRefundCall) Revoke(revoke bool) *OrdersRefundCall
type OrdersService
    func NewOrdersService(s *Service) *OrdersService
    func (r *OrdersService) Refund(packageName string, orderId string) *OrdersRefundCall
type OtherRecurringProduct
type OtherRegionsBasePlanConfig
    func (s *OtherRegionsBasePlanConfig) MarshalJSON() ([]byte, error)
type OtherRegionsSubscriptionOfferConfig
    func (s *OtherRegionsSubscriptionOfferConfig) MarshalJSON() ([]byte, error)
type OtherRegionsSubscriptionOfferPhaseConfig
    func (s *OtherRegionsSubscriptionOfferPhaseConfig) MarshalJSON() ([]byte, error)
    func (s *OtherRegionsSubscriptionOfferPhaseConfig) UnmarshalJSON(data []byte) error
type OtherRegionsSubscriptionOfferPhaseFreePriceOverride
type OtherRegionsSubscriptionOfferPhasePrices
    func (s *OtherRegionsSubscriptionOfferPhasePrices) MarshalJSON() ([]byte, error)
type PageInfo
    func (s *PageInfo) MarshalJSON() ([]byte, error)
type PartialRefund
    func (s *PartialRefund) MarshalJSON() ([]byte, error)
type PausedStateContext
    func (s *PausedStateContext) MarshalJSON() ([]byte, error)
type PendingCancellation
type PrepaidBasePlanType
    func (s *PrepaidBasePlanType) MarshalJSON() ([]byte, error)
type PrepaidPlan
    func (s *PrepaidPlan) MarshalJSON() ([]byte, error)
type Price
    func (s *Price) MarshalJSON() ([]byte, error)
type ProductPurchase
    func (s *ProductPurchase) MarshalJSON() ([]byte, error)
type ProductPurchasesAcknowledgeRequest
    func (s *ProductPurchasesAcknowledgeRequest) MarshalJSON() ([]byte, error)
type PurchasesProductsAcknowledgeCall
    func (c *PurchasesProductsAcknowledgeCall) Context(ctx context.Context) *PurchasesProductsAcknowledgeCall
    func (c *PurchasesProductsAcknowledgeCall) Do(opts ...googleapi.CallOption) error
    func (c *PurchasesProductsAcknowledgeCall) Fields(s ...googleapi.Field) *PurchasesProductsAcknowledgeCall
    func (c *PurchasesProductsAcknowledgeCall) Header() http.Header
type PurchasesProductsConsumeCall
    func (c *PurchasesProductsConsumeCall) Context(ctx context.Context) *PurchasesProductsConsumeCall
    func (c *PurchasesProductsConsumeCall) Do(opts ...googleapi.CallOption) error
    func (c *PurchasesProductsConsumeCall) Fields(s ...googleapi.Field) *PurchasesProductsConsumeCall
    func (c *PurchasesProductsConsumeCall) Header() http.Header
type PurchasesProductsGetCall
    func (c *PurchasesProductsGetCall) Context(ctx context.Context) *PurchasesProductsGetCall
    func (c *PurchasesProductsGetCall) Do(opts ...googleapi.CallOption) (*ProductPurchase, error)
    func (c *PurchasesProductsGetCall) Fields(s ...googleapi.Field) *PurchasesProductsGetCall
    func (c *PurchasesProductsGetCall) Header() http.Header
    func (c *PurchasesProductsGetCall) IfNoneMatch(entityTag string) *PurchasesProductsGetCall
type PurchasesProductsService
    func NewPurchasesProductsService(s *Service) *PurchasesProductsService
    func (r *PurchasesProductsService) Acknowledge(packageName string, productId string, token string, productpurchasesacknowledgerequest *ProductPurchasesAcknowledgeRequest) *PurchasesProductsAcknowledgeCall
    func (r *PurchasesProductsService) Consume(packageName string, productId string, token string) *PurchasesProductsConsumeCall
    func (r *PurchasesProductsService) Get(packageName string, productId string, token string) *PurchasesProductsGetCall
type PurchasesService
    func NewPurchasesService(s *Service) *PurchasesService
type PurchasesSubscriptionsAcknowledgeCall
    func (c *PurchasesSubscriptionsAcknowledgeCall) Context(ctx context.Context) *PurchasesSubscriptionsAcknowledgeCall
    func (c *PurchasesSubscriptionsAcknowledgeCall) Do(opts ...googleapi.CallOption) error
    func (c *PurchasesSubscriptionsAcknowledgeCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsAcknowledgeCall
    func (c *PurchasesSubscriptionsAcknowledgeCall) Header() http.Header
type PurchasesSubscriptionsCancelCall
    func (c *PurchasesSubscriptionsCancelCall) Context(ctx context.Context) *PurchasesSubscriptionsCancelCall
    func (c *PurchasesSubscriptionsCancelCall) Do(opts ...googleapi.CallOption) error
    func (c *PurchasesSubscriptionsCancelCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsCancelCall
    func (c *PurchasesSubscriptionsCancelCall) Header() http.Header
type PurchasesSubscriptionsDeferCall
    func (c *PurchasesSubscriptionsDeferCall) Context(ctx context.Context) *PurchasesSubscriptionsDeferCall
    func (c *PurchasesSubscriptionsDeferCall) Do(opts ...googleapi.CallOption) (*SubscriptionPurchasesDeferResponse, error)
    func (c *PurchasesSubscriptionsDeferCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsDeferCall
    func (c *PurchasesSubscriptionsDeferCall) Header() http.Header
type PurchasesSubscriptionsGetCall
    func (c *PurchasesSubscriptionsGetCall) Context(ctx context.Context) *PurchasesSubscriptionsGetCall
    func (c *PurchasesSubscriptionsGetCall) Do(opts ...googleapi.CallOption) (*SubscriptionPurchase, error)
    func (c *PurchasesSubscriptionsGetCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsGetCall
    func (c *PurchasesSubscriptionsGetCall) Header() http.Header
    func (c *PurchasesSubscriptionsGetCall) IfNoneMatch(entityTag string) *PurchasesSubscriptionsGetCall
type PurchasesSubscriptionsRefundCall
    func (c *PurchasesSubscriptionsRefundCall) Context(ctx context.Context) *PurchasesSubscriptionsRefundCall
    func (c *PurchasesSubscriptionsRefundCall) Do(opts ...googleapi.CallOption) error
    func (c *PurchasesSubscriptionsRefundCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsRefundCall
    func (c *PurchasesSubscriptionsRefundCall) Header() http.Header
type PurchasesSubscriptionsRevokeCall
    func (c *PurchasesSubscriptionsRevokeCall) Context(ctx context.Context) *PurchasesSubscriptionsRevokeCall
    func (c *PurchasesSubscriptionsRevokeCall) Do(opts ...googleapi.CallOption) error
    func (c *PurchasesSubscriptionsRevokeCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsRevokeCall
    func (c *PurchasesSubscriptionsRevokeCall) Header() http.Header
type PurchasesSubscriptionsService
    func NewPurchasesSubscriptionsService(s *Service) *PurchasesSubscriptionsService
    func (r *PurchasesSubscriptionsService) Acknowledge(packageName string, subscriptionId string, token string, subscriptionpurchasesacknowledgerequest *SubscriptionPurchasesAcknowledgeRequest) *PurchasesSubscriptionsAcknowledgeCall
    func (r *PurchasesSubscriptionsService) Cancel(packageName string, subscriptionId string, token string) *PurchasesSubscriptionsCancelCall
    func (r *PurchasesSubscriptionsService) Defer(packageName string, subscriptionId string, token string, subscriptionpurchasesdeferrequest *SubscriptionPurchasesDeferRequest) *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 PurchasesSubscriptionsv2GetCall
    func (c *PurchasesSubscriptionsv2GetCall) Context(ctx context.Context) *PurchasesSubscriptionsv2GetCall
    func (c *PurchasesSubscriptionsv2GetCall) Do(opts ...googleapi.CallOption) (*SubscriptionPurchaseV2, error)
    func (c *PurchasesSubscriptionsv2GetCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsv2GetCall
    func (c *PurchasesSubscriptionsv2GetCall) Header() http.Header
    func (c *PurchasesSubscriptionsv2GetCall) IfNoneMatch(entityTag string) *PurchasesSubscriptionsv2GetCall
type PurchasesSubscriptionsv2RevokeCall
    func (c *PurchasesSubscriptionsv2RevokeCall) Context(ctx context.Context) *PurchasesSubscriptionsv2RevokeCall
    func (c *PurchasesSubscriptionsv2RevokeCall) Do(opts ...googleapi.CallOption) (*RevokeSubscriptionPurchaseResponse, error)
    func (c *PurchasesSubscriptionsv2RevokeCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsv2RevokeCall
    func (c *PurchasesSubscriptionsv2RevokeCall) Header() http.Header
type PurchasesSubscriptionsv2Service
    func NewPurchasesSubscriptionsv2Service(s *Service) *PurchasesSubscriptionsv2Service
    func (r *PurchasesSubscriptionsv2Service) Get(packageName string, token string) *PurchasesSubscriptionsv2GetCall
    func (r *PurchasesSubscriptionsv2Service) Revoke(packageName string, token string, revokesubscriptionpurchaserequest *RevokeSubscriptionPurchaseRequest) *PurchasesSubscriptionsv2RevokeCall
type PurchasesVoidedpurchasesListCall
    func (c *PurchasesVoidedpurchasesListCall) Context(ctx context.Context) *PurchasesVoidedpurchasesListCall
    func (c *PurchasesVoidedpurchasesListCall) Do(opts ...googleapi.CallOption) (*VoidedPurchasesListResponse, error)
    func (c *PurchasesVoidedpurchasesListCall) EndTime(endTime int64) *PurchasesVoidedpurchasesListCall
    func (c *PurchasesVoidedpurchasesListCall) Fields(s ...googleapi.Field) *PurchasesVoidedpurchasesListCall
    func (c *PurchasesVoidedpurchasesListCall) Header() http.Header
    func (c *PurchasesVoidedpurchasesListCall) IfNoneMatch(entityTag string) *PurchasesVoidedpurchasesListCall
    func (c *PurchasesVoidedpurchasesListCall) IncludeQuantityBasedPartialRefund(includeQuantityBasedPartialRefund bool) *PurchasesVoidedpurchasesListCall
    func (c *PurchasesVoidedpurchasesListCall) MaxResults(maxResults int64) *PurchasesVoidedpurchasesListCall
    func (c *PurchasesVoidedpurchasesListCall) StartIndex(startIndex int64) *PurchasesVoidedpurchasesListCall
    func (c *PurchasesVoidedpurchasesListCall) StartTime(startTime int64) *PurchasesVoidedpurchasesListCall
    func (c *PurchasesVoidedpurchasesListCall) Token(token string) *PurchasesVoidedpurchasesListCall
    func (c *PurchasesVoidedpurchasesListCall) Type(type_ int64) *PurchasesVoidedpurchasesListCall
type PurchasesVoidedpurchasesService
    func NewPurchasesVoidedpurchasesService(s *Service) *PurchasesVoidedpurchasesService
    func (r *PurchasesVoidedpurchasesService) List(packageName string) *PurchasesVoidedpurchasesListCall
type RecurringExternalTransaction
    func (s *RecurringExternalTransaction) MarshalJSON() ([]byte, error)
type RefundExternalTransactionRequest
    func (s *RefundExternalTransactionRequest) MarshalJSON() ([]byte, error)
type RegionalBasePlanConfig
    func (s *RegionalBasePlanConfig) MarshalJSON() ([]byte, error)
type RegionalPriceMigrationConfig
    func (s *RegionalPriceMigrationConfig) MarshalJSON() ([]byte, error)
type RegionalSubscriptionOfferConfig
    func (s *RegionalSubscriptionOfferConfig) MarshalJSON() ([]byte, error)
type RegionalSubscriptionOfferPhaseConfig
    func (s *RegionalSubscriptionOfferPhaseConfig) MarshalJSON() ([]byte, error)
    func (s *RegionalSubscriptionOfferPhaseConfig) UnmarshalJSON(data []byte) error
type RegionalSubscriptionOfferPhaseFreePriceOverride
type RegionalTaxRateInfo
    func (s *RegionalTaxRateInfo) MarshalJSON() ([]byte, error)
type Regions
    func (s *Regions) MarshalJSON() ([]byte, error)
type RegionsVersion
    func (s *RegionsVersion) MarshalJSON() ([]byte, error)
type RemoteInAppUpdate
    func (s *RemoteInAppUpdate) MarshalJSON() ([]byte, error)
type RemoteInAppUpdateData
    func (s *RemoteInAppUpdateData) MarshalJSON() ([]byte, error)
type RemoteInAppUpdateDataPerBundle
    func (s *RemoteInAppUpdateDataPerBundle) MarshalJSON() ([]byte, error)
type ReplacementCancellation
type RestrictedPaymentCountries
    func (s *RestrictedPaymentCountries) MarshalJSON() ([]byte, error)
type Review
    func (s *Review) MarshalJSON() ([]byte, error)
type ReviewReplyResult
    func (s *ReviewReplyResult) MarshalJSON() ([]byte, error)
type ReviewsGetCall
    func (c *ReviewsGetCall) Context(ctx context.Context) *ReviewsGetCall
    func (c *ReviewsGetCall) Do(opts ...googleapi.CallOption) (*Review, error)
    func (c *ReviewsGetCall) Fields(s ...googleapi.Field) *ReviewsGetCall
    func (c *ReviewsGetCall) Header() http.Header
    func (c *ReviewsGetCall) IfNoneMatch(entityTag string) *ReviewsGetCall
    func (c *ReviewsGetCall) TranslationLanguage(translationLanguage string) *ReviewsGetCall
type ReviewsListCall
    func (c *ReviewsListCall) Context(ctx context.Context) *ReviewsListCall
    func (c *ReviewsListCall) Do(opts ...googleapi.CallOption) (*ReviewsListResponse, error)
    func (c *ReviewsListCall) Fields(s ...googleapi.Field) *ReviewsListCall
    func (c *ReviewsListCall) Header() http.Header
    func (c *ReviewsListCall) IfNoneMatch(entityTag string) *ReviewsListCall
    func (c *ReviewsListCall) MaxResults(maxResults int64) *ReviewsListCall
    func (c *ReviewsListCall) StartIndex(startIndex int64) *ReviewsListCall
    func (c *ReviewsListCall) Token(token string) *ReviewsListCall
    func (c *ReviewsListCall) TranslationLanguage(translationLanguage string) *ReviewsListCall
type ReviewsListResponse
    func (s *ReviewsListResponse) MarshalJSON() ([]byte, error)
type ReviewsReplyCall
    func (c *ReviewsReplyCall) Context(ctx context.Context) *ReviewsReplyCall
    func (c *ReviewsReplyCall) Do(opts ...googleapi.CallOption) (*ReviewsReplyResponse, error)
    func (c *ReviewsReplyCall) Fields(s ...googleapi.Field) *ReviewsReplyCall
    func (c *ReviewsReplyCall) Header() http.Header
type ReviewsReplyRequest
    func (s *ReviewsReplyRequest) MarshalJSON() ([]byte, error)
type ReviewsReplyResponse
    func (s *ReviewsReplyResponse) MarshalJSON() ([]byte, error)
type ReviewsService
    func NewReviewsService(s *Service) *ReviewsService
    func (r *ReviewsService) Get(packageName string, reviewId string) *ReviewsGetCall
    func (r *ReviewsService) List(packageName string) *ReviewsListCall
    func (r *ReviewsService) Reply(packageName string, reviewId string, reviewsreplyrequest *ReviewsReplyRequest) *ReviewsReplyCall
type RevocationContext
    func (s *RevocationContext) MarshalJSON() ([]byte, error)
type RevocationContextProratedRefund
type RevokeSubscriptionPurchaseRequest
    func (s *RevokeSubscriptionPurchaseRequest) MarshalJSON() ([]byte, error)
type RevokeSubscriptionPurchaseResponse
type SafetyLabelsUpdateRequest
    func (s *SafetyLabelsUpdateRequest) MarshalJSON() ([]byte, error)
type SafetyLabelsUpdateResponse
type ScreenDensity
    func (s *ScreenDensity) MarshalJSON() ([]byte, error)
type ScreenDensityTargeting
    func (s *ScreenDensityTargeting) MarshalJSON() ([]byte, error)
type SdkVersion
    func (s *SdkVersion) MarshalJSON() ([]byte, error)
type SdkVersionTargeting
    func (s *SdkVersionTargeting) MarshalJSON() ([]byte, error)
type Service
    func New(client *http.Client) (*Service, error)
    func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)
type SplitApkMetadata
    func (s *SplitApkMetadata) MarshalJSON() ([]byte, error)
type SplitApkVariant
    func (s *SplitApkVariant) MarshalJSON() ([]byte, error)
type StandaloneApkMetadata
    func (s *StandaloneApkMetadata) MarshalJSON() ([]byte, error)
type SubscribeWithGoogleInfo
    func (s *SubscribeWithGoogleInfo) MarshalJSON() ([]byte, error)
type Subscription
    func (s *Subscription) MarshalJSON() ([]byte, error)
type SubscriptionCancelSurveyResult
    func (s *SubscriptionCancelSurveyResult) MarshalJSON() ([]byte, error)
type SubscriptionDeferralInfo
    func (s *SubscriptionDeferralInfo) MarshalJSON() ([]byte, error)
type SubscriptionItemPriceChangeDetails
    func (s *SubscriptionItemPriceChangeDetails) MarshalJSON() ([]byte, error)
type SubscriptionListing
    func (s *SubscriptionListing) MarshalJSON() ([]byte, error)
type SubscriptionOffer
    func (s *SubscriptionOffer) MarshalJSON() ([]byte, error)
type SubscriptionOfferPhase
    func (s *SubscriptionOfferPhase) MarshalJSON() ([]byte, error)
type SubscriptionOfferTargeting
    func (s *SubscriptionOfferTargeting) MarshalJSON() ([]byte, error)
type SubscriptionPriceChange
    func (s *SubscriptionPriceChange) MarshalJSON() ([]byte, error)
type SubscriptionPurchase
    func (s *SubscriptionPurchase) MarshalJSON() ([]byte, error)
type SubscriptionPurchaseLineItem
    func (s *SubscriptionPurchaseLineItem) MarshalJSON() ([]byte, error)
type SubscriptionPurchaseV2
    func (s *SubscriptionPurchaseV2) MarshalJSON() ([]byte, error)
type SubscriptionPurchasesAcknowledgeRequest
    func (s *SubscriptionPurchasesAcknowledgeRequest) MarshalJSON() ([]byte, error)
type SubscriptionPurchasesDeferRequest
    func (s *SubscriptionPurchasesDeferRequest) MarshalJSON() ([]byte, error)
type SubscriptionPurchasesDeferResponse
    func (s *SubscriptionPurchasesDeferResponse) MarshalJSON() ([]byte, error)
type SubscriptionTaxAndComplianceSettings
    func (s *SubscriptionTaxAndComplianceSettings) MarshalJSON() ([]byte, error)
type SystemApkOptions
    func (s *SystemApkOptions) MarshalJSON() ([]byte, error)
type SystemApksListResponse
    func (s *SystemApksListResponse) MarshalJSON() ([]byte, error)
type SystemFeature
    func (s *SystemFeature) MarshalJSON() ([]byte, error)
type SystemInitiatedCancellation
type SystemapksService
    func NewSystemapksService(s *Service) *SystemapksService
type SystemapksVariantsCreateCall
    func (c *SystemapksVariantsCreateCall) Context(ctx context.Context) *SystemapksVariantsCreateCall
    func (c *SystemapksVariantsCreateCall) Do(opts ...googleapi.CallOption) (*Variant, error)
    func (c *SystemapksVariantsCreateCall) Fields(s ...googleapi.Field) *SystemapksVariantsCreateCall
    func (c *SystemapksVariantsCreateCall) Header() http.Header
type SystemapksVariantsDownloadCall
    func (c *SystemapksVariantsDownloadCall) Context(ctx context.Context) *SystemapksVariantsDownloadCall
    func (c *SystemapksVariantsDownloadCall) Do(opts ...googleapi.CallOption) error
    func (c *SystemapksVariantsDownloadCall) Download(opts ...googleapi.CallOption) (*http.Response, error)
    func (c *SystemapksVariantsDownloadCall) Fields(s ...googleapi.Field) *SystemapksVariantsDownloadCall
    func (c *SystemapksVariantsDownloadCall) Header() http.Header
    func (c *SystemapksVariantsDownloadCall) IfNoneMatch(entityTag string) *SystemapksVariantsDownloadCall
type SystemapksVariantsGetCall
    func (c *SystemapksVariantsGetCall) Context(ctx context.Context) *SystemapksVariantsGetCall
    func (c *SystemapksVariantsGetCall) Do(opts ...googleapi.CallOption) (*Variant, error)
    func (c *SystemapksVariantsGetCall) Fields(s ...googleapi.Field) *SystemapksVariantsGetCall
    func (c *SystemapksVariantsGetCall) Header() http.Header
    func (c *SystemapksVariantsGetCall) IfNoneMatch(entityTag string) *SystemapksVariantsGetCall
type SystemapksVariantsListCall
    func (c *SystemapksVariantsListCall) Context(ctx context.Context) *SystemapksVariantsListCall
    func (c *SystemapksVariantsListCall) Do(opts ...googleapi.CallOption) (*SystemApksListResponse, error)
    func (c *SystemapksVariantsListCall) Fields(s ...googleapi.Field) *SystemapksVariantsListCall
    func (c *SystemapksVariantsListCall) Header() http.Header
    func (c *SystemapksVariantsListCall) IfNoneMatch(entityTag string) *SystemapksVariantsListCall
type SystemapksVariantsService
    func NewSystemapksVariantsService(s *Service) *SystemapksVariantsService
    func (r *SystemapksVariantsService) Create(packageName string, versionCode int64, variant *Variant) *SystemapksVariantsCreateCall
    func (r *SystemapksVariantsService) Download(packageName string, versionCode int64, variantId int64) *SystemapksVariantsDownloadCall
    func (r *SystemapksVariantsService) Get(packageName string, versionCode int64, variantId int64) *SystemapksVariantsGetCall
    func (r *SystemapksVariantsService) List(packageName string, versionCode int64) *SystemapksVariantsListCall
type Targeting
    func (s *Targeting) MarshalJSON() ([]byte, error)
type TargetingInfo
    func (s *TargetingInfo) MarshalJSON() ([]byte, error)
type TargetingRuleScope
    func (s *TargetingRuleScope) MarshalJSON() ([]byte, error)
type TargetingRuleScopeAnySubscriptionInApp
type TargetingRuleScopeThisSubscription
type TargetingUpdate
    func (s *TargetingUpdate) MarshalJSON() ([]byte, error)
type TestPurchase
type Testers
    func (s *Testers) MarshalJSON() ([]byte, error)
type TextureCompressionFormat
    func (s *TextureCompressionFormat) MarshalJSON() ([]byte, error)
type TextureCompressionFormatTargeting
    func (s *TextureCompressionFormatTargeting) MarshalJSON() ([]byte, error)
type Timestamp
    func (s *Timestamp) MarshalJSON() ([]byte, error)
type TokenPagination
    func (s *TokenPagination) MarshalJSON() ([]byte, error)
type Track
    func (s *Track) MarshalJSON() ([]byte, error)
type TrackConfig
    func (s *TrackConfig) MarshalJSON() ([]byte, error)
type TrackCountryAvailability
    func (s *TrackCountryAvailability) MarshalJSON() ([]byte, error)
type TrackRelease
    func (s *TrackRelease) MarshalJSON() ([]byte, error)
    func (s *TrackRelease) UnmarshalJSON(data []byte) error
type TrackTargetedCountry
    func (s *TrackTargetedCountry) MarshalJSON() ([]byte, error)
type TracksListResponse
    func (s *TracksListResponse) MarshalJSON() ([]byte, error)
type UpdateBasePlanStateRequest
    func (s *UpdateBasePlanStateRequest) MarshalJSON() ([]byte, error)
type UpdateSubscriptionOfferRequest
    func (s *UpdateSubscriptionOfferRequest) MarshalJSON() ([]byte, error)
type UpdateSubscriptionOfferStateRequest
    func (s *UpdateSubscriptionOfferStateRequest) MarshalJSON() ([]byte, error)
type UpdateSubscriptionRequest
    func (s *UpdateSubscriptionRequest) MarshalJSON() ([]byte, error)
type UpgradeTargetingRule
    func (s *UpgradeTargetingRule) MarshalJSON() ([]byte, error)
type User
    func (s *User) MarshalJSON() ([]byte, error)
type UserComment
    func (s *UserComment) MarshalJSON() ([]byte, error)
type UserCountriesTargeting
    func (s *UserCountriesTargeting) MarshalJSON() ([]byte, error)
type UserCountrySet
    func (s *UserCountrySet) MarshalJSON() ([]byte, error)
type UserInitiatedCancellation
    func (s *UserInitiatedCancellation) MarshalJSON() ([]byte, error)
type UsersCreateCall
    func (c *UsersCreateCall) Context(ctx context.Context) *UsersCreateCall
    func (c *UsersCreateCall) Do(opts ...googleapi.CallOption) (*User, error)
    func (c *UsersCreateCall) Fields(s ...googleapi.Field) *UsersCreateCall
    func (c *UsersCreateCall) Header() http.Header
type UsersDeleteCall
    func (c *UsersDeleteCall) Context(ctx context.Context) *UsersDeleteCall
    func (c *UsersDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *UsersDeleteCall) Fields(s ...googleapi.Field) *UsersDeleteCall
    func (c *UsersDeleteCall) Header() http.Header
type UsersListCall
    func (c *UsersListCall) Context(ctx context.Context) *UsersListCall
    func (c *UsersListCall) Do(opts ...googleapi.CallOption) (*ListUsersResponse, error)
    func (c *UsersListCall) Fields(s ...googleapi.Field) *UsersListCall
    func (c *UsersListCall) Header() http.Header
    func (c *UsersListCall) IfNoneMatch(entityTag string) *UsersListCall
    func (c *UsersListCall) PageSize(pageSize int64) *UsersListCall
    func (c *UsersListCall) PageToken(pageToken string) *UsersListCall
    func (c *UsersListCall) Pages(ctx context.Context, f func(*ListUsersResponse) error) error
type UsersPatchCall
    func (c *UsersPatchCall) Context(ctx context.Context) *UsersPatchCall
    func (c *UsersPatchCall) Do(opts ...googleapi.CallOption) (*User, error)
    func (c *UsersPatchCall) Fields(s ...googleapi.Field) *UsersPatchCall
    func (c *UsersPatchCall) Header() http.Header
    func (c *UsersPatchCall) UpdateMask(updateMask string) *UsersPatchCall
type UsersService
    func NewUsersService(s *Service) *UsersService
    func (r *UsersService) Create(parent string, user *User) *UsersCreateCall
    func (r *UsersService) Delete(name string) *UsersDeleteCall
    func (r *UsersService) List(parent string) *UsersListCall
    func (r *UsersService) Patch(name string, user *User) *UsersPatchCall
type UsesPermission
    func (s *UsesPermission) MarshalJSON() ([]byte, error)
type Variant
    func (s *Variant) MarshalJSON() ([]byte, error)
type VariantTargeting
    func (s *VariantTargeting) MarshalJSON() ([]byte, error)
type VoidedPurchase
    func (s *VoidedPurchase) MarshalJSON() ([]byte, error)
type VoidedPurchasesListResponse
    func (s *VoidedPurchasesListResponse) MarshalJSON() ([]byte, error)

Package files

androidpublisher-gen.go

Constants

OAuth2 scopes used by this API.

const (
    // View and manage your Google Play Developer account
    AndroidpublisherScope = "https://www.googleapis.com/auth/androidpublisher"
)

type Abi

Abi: Represents an Abi.

type Abi struct {
    // Alias: Alias for an abi.
    //
    // Possible values:
    //   "UNSPECIFIED_CPU_ARCHITECTURE" - Unspecified abi.
    //   "ARMEABI" - ARMEABI abi.
    //   "ARMEABI_V7A" - ARMEABI_V7A abi.
    //   "ARM64_V8A" - ARM64_V8A abi.
    //   "X86" - X86 abi.
    //   "X86_64" - X86_64 abi.
    //   "RISCV64" - RISCV64 abi.
    Alias string `json:"alias,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Alias") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Alias") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Abi) MarshalJSON

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

type AbiTargeting

AbiTargeting: Targeting based on Abi.

type AbiTargeting struct {
    // Alternatives: Targeting of other sibling directories that were in the
    // Bundle. For main splits this is targeting of other main splits.
    Alternatives []*Abi `json:"alternatives,omitempty"`
    // Value: Value of an abi.
    Value []*Abi `json:"value,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Alternatives") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Alternatives") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AbiTargeting) MarshalJSON

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

type AcquisitionTargetingRule

AcquisitionTargetingRule: Represents a targeting rule of the form: User never had {scope} before.

type AcquisitionTargetingRule struct {
    // Scope: Required. The scope of subscriptions this rule considers. Only allows
    // "this subscription" and "any subscription in app".
    Scope *TargetingRuleScope `json:"scope,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Scope") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Scope") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AcquisitionTargetingRule) MarshalJSON

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

type ActivateBasePlanRequest

ActivateBasePlanRequest: Request message for ActivateBasePlan.

type ActivateBasePlanRequest struct {
    // BasePlanId: Required. The unique base plan ID of the base plan to activate.
    BasePlanId string `json:"basePlanId,omitempty"`
    // LatencyTolerance: Optional. The latency tolerance for the propagation of
    // this product update. Defaults to latency-sensitive.
    //
    // Possible values:
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to
    // PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will
    // propagate to clients within several minutes on average and up to a few hours
    // in rare cases. Throughput is limited to 7,200 updates per app per hour.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will
    // propagate to clients within 24 hours. Supports high throughput of up to
    // 720,000 updates per app per hour using batch modification methods.
    LatencyTolerance string `json:"latencyTolerance,omitempty"`
    // PackageName: Required. The parent app (package name) of the base plan to
    // activate.
    PackageName string `json:"packageName,omitempty"`
    // ProductId: Required. The parent subscription (ID) of the base plan to
    // activate.
    ProductId string `json:"productId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BasePlanId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BasePlanId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ActivateBasePlanRequest) MarshalJSON

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

type ActivateSubscriptionOfferRequest

ActivateSubscriptionOfferRequest: Request message for ActivateSubscriptionOffer.

type ActivateSubscriptionOfferRequest struct {
    // BasePlanId: Required. The parent base plan (ID) of the offer to activate.
    BasePlanId string `json:"basePlanId,omitempty"`
    // LatencyTolerance: Optional. The latency tolerance for the propagation of
    // this product update. Defaults to latency-sensitive.
    //
    // Possible values:
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to
    // PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will
    // propagate to clients within several minutes on average and up to a few hours
    // in rare cases. Throughput is limited to 7,200 updates per app per hour.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will
    // propagate to clients within 24 hours. Supports high throughput of up to
    // 720,000 updates per app per hour using batch modification methods.
    LatencyTolerance string `json:"latencyTolerance,omitempty"`
    // OfferId: Required. The unique offer ID of the offer to activate.
    OfferId string `json:"offerId,omitempty"`
    // PackageName: Required. The parent app (package name) of the offer to
    // activate.
    PackageName string `json:"packageName,omitempty"`
    // ProductId: Required. The parent subscription (ID) of the offer to activate.
    ProductId string `json:"productId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BasePlanId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BasePlanId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ActivateSubscriptionOfferRequest) MarshalJSON

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

type AddTargetingRequest

AddTargetingRequest: Request message for AddTargeting.

type AddTargetingRequest struct {
    // TargetingUpdate: Specifies targeting updates such as regions, android sdk
    // versions etc.
    TargetingUpdate *TargetingUpdate `json:"targetingUpdate,omitempty"`
    // ForceSendFields is a list of field names (e.g. "TargetingUpdate") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "TargetingUpdate") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AddTargetingRequest) MarshalJSON

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

type AddTargetingResponse

AddTargetingResponse: Response message for AddTargeting.

type AddTargetingResponse struct {
    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
}

type AllUsers

AllUsers: Object representation to describe all set of users.

type AllUsers struct {
    // IsAllUsersRequested: Required. Set to true if all set of users are needed.
    IsAllUsersRequested bool `json:"isAllUsersRequested,omitempty"`
    // ForceSendFields is a list of field names (e.g. "IsAllUsersRequested") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "IsAllUsersRequested") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AllUsers) MarshalJSON

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

type AndroidSdks

AndroidSdks: Android api level targeting data for app recovery action targeting.

type AndroidSdks struct {
    // SdkLevels: Android api levels of devices targeted by recovery action. See
    // https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels
    // for different api levels in android.
    SdkLevels googleapi.Int64s `json:"sdkLevels,omitempty"`
    // ForceSendFields is a list of field names (e.g. "SdkLevels") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "SdkLevels") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AndroidSdks) MarshalJSON

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

type Apk

Apk: Information about an APK. The resource for ApksService.

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 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 or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Binary") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Apk) MarshalJSON

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

type ApkBinary

ApkBinary: Represents the binary payload of an APK.

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"`
    // Sha256: A sha256 hash of the APK payload, encoded as a hex string and
    // matching the output of the sha256sum command.
    Sha256 string `json:"sha256,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Sha1") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Sha1") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ApkBinary) MarshalJSON

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

type ApkDescription

ApkDescription: Description of the created apks.

type ApkDescription struct {
    // AssetSliceMetadata: Set only for asset slices.
    AssetSliceMetadata *SplitApkMetadata `json:"assetSliceMetadata,omitempty"`
    // InstantApkMetadata: Set only for Instant split APKs.
    InstantApkMetadata *SplitApkMetadata `json:"instantApkMetadata,omitempty"`
    // Path: Path of the Apk, will be in the following format: .apk where
    // DownloadId is the ID used to download the apk using GeneratedApks.Download
    // API.
    Path string `json:"path,omitempty"`
    // SplitApkMetadata: Set only for Split APKs.
    SplitApkMetadata *SplitApkMetadata `json:"splitApkMetadata,omitempty"`
    // StandaloneApkMetadata: Set only for standalone APKs.
    StandaloneApkMetadata *StandaloneApkMetadata `json:"standaloneApkMetadata,omitempty"`
    // Targeting: Apk-level targeting.
    Targeting *ApkTargeting `json:"targeting,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AssetSliceMetadata") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AssetSliceMetadata") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ApkDescription) MarshalJSON

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

type ApkSet

ApkSet: A set of apks representing a module.

type ApkSet struct {
    // ApkDescription: Description of the generated apks.
    ApkDescription []*ApkDescription `json:"apkDescription,omitempty"`
    // ModuleMetadata: Metadata about the module represented by this ApkSet
    ModuleMetadata *ModuleMetadata `json:"moduleMetadata,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ApkDescription") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ApkDescription") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ApkSet) MarshalJSON

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

type ApkTargeting

ApkTargeting: Represents a set of apk-level targetings.

type ApkTargeting struct {
    // AbiTargeting: The abi that the apk targets
    AbiTargeting *AbiTargeting `json:"abiTargeting,omitempty"`
    // LanguageTargeting: The language that the apk targets
    LanguageTargeting *LanguageTargeting `json:"languageTargeting,omitempty"`
    // MultiAbiTargeting: Multi-api-level targeting.
    MultiAbiTargeting *MultiAbiTargeting `json:"multiAbiTargeting,omitempty"`
    // ScreenDensityTargeting: The screen density that this apk supports.
    ScreenDensityTargeting *ScreenDensityTargeting `json:"screenDensityTargeting,omitempty"`
    // SdkVersionTargeting: The sdk version that the apk targets
    SdkVersionTargeting *SdkVersionTargeting `json:"sdkVersionTargeting,omitempty"`
    // TextureCompressionFormatTargeting: Texture-compression-format-level
    // targeting
    TextureCompressionFormatTargeting *TextureCompressionFormatTargeting `json:"textureCompressionFormatTargeting,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AbiTargeting") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AbiTargeting") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ApkTargeting) MarshalJSON

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

type ApksAddExternallyHostedRequest

ApksAddExternallyHostedRequest: Request to create a new externally hosted APK.

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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ExternallyHostedApk") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ApksAddExternallyHostedRequest) MarshalJSON

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

type ApksAddExternallyHostedResponse

ApksAddExternallyHostedResponse: Response for creating a new externally hosted APK.

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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ExternallyHostedApk") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ApksAddExternallyHostedResponse) MarshalJSON

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

type ApksListResponse

ApksListResponse: Response listing all APKs.

type ApksListResponse struct {
    // Apks: All APKs.
    Apks []*Apk `json:"apks,omitempty"`
    // Kind: The kind of this response ("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 or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Apks") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ApksListResponse) MarshalJSON

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

type AppDetails

AppDetails: The app details. The resource for DetailsService.

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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ContactEmail") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AppDetails) MarshalJSON

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

type AppEdit

AppEdit: An app edit. The resource for EditsService.

type AppEdit struct {
    // ExpiryTimeSeconds: Output only. The time (as seconds since Epoch) at which
    // the edit will expire and will be no longer valid for use.
    ExpiryTimeSeconds string `json:"expiryTimeSeconds,omitempty"`
    // Id: Output only. Identifier of the edit. 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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ExpiryTimeSeconds") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AppEdit) MarshalJSON

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

type AppRecoveryAction

AppRecoveryAction: Information about an app recovery action.

type AppRecoveryAction struct {
    // AppRecoveryId: ID corresponding to the app recovery action.
    AppRecoveryId int64 `json:"appRecoveryId,omitempty,string"`
    // CancelTime: Timestamp of when the app recovery action is canceled by the
    // developer. Only set if the recovery action has been canceled.
    CancelTime string `json:"cancelTime,omitempty"`
    // CreateTime: Timestamp of when the app recovery action is created by the
    // developer. It is always set after creation of the recovery action.
    CreateTime string `json:"createTime,omitempty"`
    // DeployTime: Timestamp of when the app recovery action is deployed to the
    // users. Only set if the recovery action has been deployed.
    DeployTime string `json:"deployTime,omitempty"`
    // LastUpdateTime: Timestamp of when the developer last updated recovery
    // action. In case the action is cancelled, it corresponds to cancellation
    // time. It is always set after creation of the recovery action.
    LastUpdateTime string `json:"lastUpdateTime,omitempty"`
    // RemoteInAppUpdateData: Data about the remote in-app update action such as
    // such as recovered user base, recoverable user base etc. Set only if the
    // recovery action type is Remote In-App Update.
    RemoteInAppUpdateData *RemoteInAppUpdateData `json:"remoteInAppUpdateData,omitempty"`
    // Status: The status of the recovery action.
    //
    // Possible values:
    //   "RECOVERY_STATUS_UNSPECIFIED" - RecoveryStatus is unspecified.
    //   "RECOVERY_STATUS_ACTIVE" - The app recovery action has not been canceled
    // since it has been created.
    //   "RECOVERY_STATUS_CANCELED" - The recovery action has been canceled. The
    // action cannot be resumed.
    //   "RECOVERY_STATUS_DRAFT" - The recovery action is in the draft state and
    // has not yet been deployed to users.
    //   "RECOVERY_STATUS_GENERATION_IN_PROGRESS" - The recovery action is
    // generating recovery apks.
    //   "RECOVERY_STATUS_GENERATION_FAILED" - The app recovery action generation
    // has failed.
    Status string `json:"status,omitempty"`
    // Targeting: Specifies targeting criteria for the recovery action such as
    // regions, android sdk versions, app versions etc.
    Targeting *Targeting `json:"targeting,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "AppRecoveryId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AppRecoveryId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AppRecoveryAction) MarshalJSON

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

type AppVersionList

AppVersionList: Data format for a list of app versions.

type AppVersionList struct {
    // VersionCodes: List of app version codes.
    VersionCodes googleapi.Int64s `json:"versionCodes,omitempty"`
    // ForceSendFields is a list of field names (e.g. "VersionCodes") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "VersionCodes") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AppVersionList) MarshalJSON

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

type AppVersionRange

AppVersionRange: Data format for a continuous range of app versions.

type AppVersionRange struct {
    // VersionCodeEnd: Highest app version in the range, inclusive.
    VersionCodeEnd int64 `json:"versionCodeEnd,omitempty,string"`
    // VersionCodeStart: Lowest app version in the range, inclusive.
    VersionCodeStart int64 `json:"versionCodeStart,omitempty,string"`
    // ForceSendFields is a list of field names (e.g. "VersionCodeEnd") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "VersionCodeEnd") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AppVersionRange) MarshalJSON

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

type ApplicationsDataSafetyCall

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

func (*ApplicationsDataSafetyCall) Context

func (c *ApplicationsDataSafetyCall) Context(ctx context.Context) *ApplicationsDataSafetyCall

Context sets the context to be used in this call's Do method.

func (*ApplicationsDataSafetyCall) Do

func (c *ApplicationsDataSafetyCall) Do(opts ...googleapi.CallOption) (*SafetyLabelsUpdateResponse, error)

Do executes the "androidpublisher.applications.dataSafety" call. Any non-2xx status code is an error. Response headers are in either *SafetyLabelsUpdateResponse.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 (*ApplicationsDataSafetyCall) Fields

func (c *ApplicationsDataSafetyCall) Fields(s ...googleapi.Field) *ApplicationsDataSafetyCall

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

func (*ApplicationsDataSafetyCall) Header

func (c *ApplicationsDataSafetyCall) Header() http.Header

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

type ApplicationsDeviceTierConfigsCreateCall

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

func (*ApplicationsDeviceTierConfigsCreateCall) AllowUnknownDevices

func (c *ApplicationsDeviceTierConfigsCreateCall) AllowUnknownDevices(allowUnknownDevices bool) *ApplicationsDeviceTierConfigsCreateCall

AllowUnknownDevices sets the optional parameter "allowUnknownDevices": Whether the service should accept device IDs that are unknown to Play's device catalog.

func (*ApplicationsDeviceTierConfigsCreateCall) Context

func (c *ApplicationsDeviceTierConfigsCreateCall) Context(ctx context.Context) *ApplicationsDeviceTierConfigsCreateCall

Context sets the context to be used in this call's Do method.

func (*ApplicationsDeviceTierConfigsCreateCall) Do

func (c *ApplicationsDeviceTierConfigsCreateCall) Do(opts ...googleapi.CallOption) (*DeviceTierConfig, error)

Do executes the "androidpublisher.applications.deviceTierConfigs.create" call. Any non-2xx status code is an error. Response headers are in either *DeviceTierConfig.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 (*ApplicationsDeviceTierConfigsCreateCall) Fields

func (c *ApplicationsDeviceTierConfigsCreateCall) Fields(s ...googleapi.Field) *ApplicationsDeviceTierConfigsCreateCall

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

func (*ApplicationsDeviceTierConfigsCreateCall) Header

func (c *ApplicationsDeviceTierConfigsCreateCall) Header() http.Header

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

type ApplicationsDeviceTierConfigsGetCall

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

func (*ApplicationsDeviceTierConfigsGetCall) Context

func (c *ApplicationsDeviceTierConfigsGetCall) Context(ctx context.Context) *ApplicationsDeviceTierConfigsGetCall

Context sets the context to be used in this call's Do method.

func (*ApplicationsDeviceTierConfigsGetCall) Do

func (c *ApplicationsDeviceTierConfigsGetCall) Do(opts ...googleapi.CallOption) (*DeviceTierConfig, error)

Do executes the "androidpublisher.applications.deviceTierConfigs.get" call. Any non-2xx status code is an error. Response headers are in either *DeviceTierConfig.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 (*ApplicationsDeviceTierConfigsGetCall) Fields

func (c *ApplicationsDeviceTierConfigsGetCall) Fields(s ...googleapi.Field) *ApplicationsDeviceTierConfigsGetCall

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

func (*ApplicationsDeviceTierConfigsGetCall) Header

func (c *ApplicationsDeviceTierConfigsGetCall) Header() http.Header

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

func (*ApplicationsDeviceTierConfigsGetCall) IfNoneMatch

func (c *ApplicationsDeviceTierConfigsGetCall) IfNoneMatch(entityTag string) *ApplicationsDeviceTierConfigsGetCall

IfNoneMatch sets an 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.

type ApplicationsDeviceTierConfigsListCall

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

func (*ApplicationsDeviceTierConfigsListCall) Context

func (c *ApplicationsDeviceTierConfigsListCall) Context(ctx context.Context) *ApplicationsDeviceTierConfigsListCall

Context sets the context to be used in this call's Do method.

func (*ApplicationsDeviceTierConfigsListCall) Do

func (c *ApplicationsDeviceTierConfigsListCall) Do(opts ...googleapi.CallOption) (*ListDeviceTierConfigsResponse, error)

Do executes the "androidpublisher.applications.deviceTierConfigs.list" call. Any non-2xx status code is an error. Response headers are in either *ListDeviceTierConfigsResponse.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 (*ApplicationsDeviceTierConfigsListCall) Fields

func (c *ApplicationsDeviceTierConfigsListCall) Fields(s ...googleapi.Field) *ApplicationsDeviceTierConfigsListCall

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

func (*ApplicationsDeviceTierConfigsListCall) Header

func (c *ApplicationsDeviceTierConfigsListCall) Header() http.Header

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

func (*ApplicationsDeviceTierConfigsListCall) IfNoneMatch

func (c *ApplicationsDeviceTierConfigsListCall) IfNoneMatch(entityTag string) *ApplicationsDeviceTierConfigsListCall

IfNoneMatch sets an 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.

func (*ApplicationsDeviceTierConfigsListCall) PageSize

func (c *ApplicationsDeviceTierConfigsListCall) PageSize(pageSize int64) *ApplicationsDeviceTierConfigsListCall

PageSize sets the optional parameter "pageSize": The maximum number of device tier configs to return. The service may return fewer than this value. If unspecified, at most 10 device tier configs will be returned. The maximum value for this field is 100; values above 100 will be coerced to 100. Device tier configs will be ordered by descending creation time.

func (*ApplicationsDeviceTierConfigsListCall) PageToken

func (c *ApplicationsDeviceTierConfigsListCall) PageToken(pageToken string) *ApplicationsDeviceTierConfigsListCall

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListDeviceTierConfigs` call. Provide this to retrieve the subsequent page.

func (*ApplicationsDeviceTierConfigsListCall) Pages

func (c *ApplicationsDeviceTierConfigsListCall) Pages(ctx context.Context, f func(*ListDeviceTierConfigsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ApplicationsDeviceTierConfigsService

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

func NewApplicationsDeviceTierConfigsService

func NewApplicationsDeviceTierConfigsService(s *Service) *ApplicationsDeviceTierConfigsService

func (*ApplicationsDeviceTierConfigsService) Create

func (r *ApplicationsDeviceTierConfigsService) Create(packageName string, devicetierconfig *DeviceTierConfig) *ApplicationsDeviceTierConfigsCreateCall

Create: Creates a new device tier config for an app.

- packageName: Package name of the app.

func (*ApplicationsDeviceTierConfigsService) Get

func (r *ApplicationsDeviceTierConfigsService) Get(packageName string, deviceTierConfigId int64) *ApplicationsDeviceTierConfigsGetCall

Get: Returns a particular device tier config.

- deviceTierConfigId: Id of an existing device tier config. - packageName: Package name of the app.

func (*ApplicationsDeviceTierConfigsService) List

func (r *ApplicationsDeviceTierConfigsService) List(packageName string) *ApplicationsDeviceTierConfigsListCall

List: Returns created device tier configs, ordered by descending creation time.

- packageName: Package name of the app.

type ApplicationsService

type ApplicationsService struct {
    DeviceTierConfigs *ApplicationsDeviceTierConfigsService
    // contains filtered or unexported fields
}

func NewApplicationsService

func NewApplicationsService(s *Service) *ApplicationsService

func (*ApplicationsService) DataSafety

func (r *ApplicationsService) DataSafety(packageName string, safetylabelsupdaterequest *SafetyLabelsUpdateRequest) *ApplicationsDataSafetyCall

DataSafety: Writes the Safety Labels declaration of an app.

- packageName: Package name of the app.

type ApprecoveryAddTargetingCall

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

func (*ApprecoveryAddTargetingCall) Context

func (c *ApprecoveryAddTargetingCall) Context(ctx context.Context) *ApprecoveryAddTargetingCall

Context sets the context to be used in this call's Do method.

func (*ApprecoveryAddTargetingCall) Do

func (c *ApprecoveryAddTargetingCall) Do(opts ...googleapi.CallOption) (*AddTargetingResponse, error)

Do executes the "androidpublisher.apprecovery.addTargeting" call. Any non-2xx status code is an error. Response headers are in either *AddTargetingResponse.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 (*ApprecoveryAddTargetingCall) Fields

func (c *ApprecoveryAddTargetingCall) Fields(s ...googleapi.Field) *ApprecoveryAddTargetingCall

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

func (*ApprecoveryAddTargetingCall) Header

func (c *ApprecoveryAddTargetingCall) Header() http.Header

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

type ApprecoveryAppRecoveriesCall

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

func (*ApprecoveryAppRecoveriesCall) Context

func (c *ApprecoveryAppRecoveriesCall) Context(ctx context.Context) *ApprecoveryAppRecoveriesCall

Context sets the context to be used in this call's Do method.

func (*ApprecoveryAppRecoveriesCall) Do

func (c *ApprecoveryAppRecoveriesCall) Do(opts ...googleapi.CallOption) (*ListAppRecoveriesResponse, error)

Do executes the "androidpublisher.apprecovery.appRecoveries" call. Any non-2xx status code is an error. Response headers are in either *ListAppRecoveriesResponse.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 (*ApprecoveryAppRecoveriesCall) Fields

func (c *ApprecoveryAppRecoveriesCall) Fields(s ...googleapi.Field) *ApprecoveryAppRecoveriesCall

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

func (*ApprecoveryAppRecoveriesCall) Header

func (c *ApprecoveryAppRecoveriesCall) Header() http.Header

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

func (*ApprecoveryAppRecoveriesCall) VersionCode

func (c *ApprecoveryAppRecoveriesCall) VersionCode(versionCode int64) *ApprecoveryAppRecoveriesCall

VersionCode sets the optional parameter "versionCode": Required. Version code targeted by the list of recovery actions.

type ApprecoveryCancelCall

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

func (*ApprecoveryCancelCall) Context

func (c *ApprecoveryCancelCall) Context(ctx context.Context) *ApprecoveryCancelCall

Context sets the context to be used in this call's Do method.

func (*ApprecoveryCancelCall) Do

func (c *ApprecoveryCancelCall) Do(opts ...googleapi.CallOption) (*CancelAppRecoveryResponse, error)

Do executes the "androidpublisher.apprecovery.cancel" call. Any non-2xx status code is an error. Response headers are in either *CancelAppRecoveryResponse.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 (*ApprecoveryCancelCall) Fields

func (c *ApprecoveryCancelCall) Fields(s ...googleapi.Field) *ApprecoveryCancelCall

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

func (*ApprecoveryCancelCall) Header

func (c *ApprecoveryCancelCall) Header() http.Header

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

type ApprecoveryCreateCall

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

func (*ApprecoveryCreateCall) Context

func (c *ApprecoveryCreateCall) Context(ctx context.Context) *ApprecoveryCreateCall

Context sets the context to be used in this call's Do method.

func (*ApprecoveryCreateCall) Do

func (c *ApprecoveryCreateCall) Do(opts ...googleapi.CallOption) (*AppRecoveryAction, error)

Do executes the "androidpublisher.apprecovery.create" call. Any non-2xx status code is an error. Response headers are in either *AppRecoveryAction.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 (*ApprecoveryCreateCall) Fields

func (c *ApprecoveryCreateCall) Fields(s ...googleapi.Field) *ApprecoveryCreateCall

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

func (*ApprecoveryCreateCall) Header

func (c *ApprecoveryCreateCall) Header() http.Header

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

type ApprecoveryDeployCall

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

func (*ApprecoveryDeployCall) Context

func (c *ApprecoveryDeployCall) Context(ctx context.Context) *ApprecoveryDeployCall

Context sets the context to be used in this call's Do method.

func (*ApprecoveryDeployCall) Do

func (c *ApprecoveryDeployCall) Do(opts ...googleapi.CallOption) (*DeployAppRecoveryResponse, error)

Do executes the "androidpublisher.apprecovery.deploy" call. Any non-2xx status code is an error. Response headers are in either *DeployAppRecoveryResponse.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 (*ApprecoveryDeployCall) Fields

func (c *ApprecoveryDeployCall) Fields(s ...googleapi.Field) *ApprecoveryDeployCall

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

func (*ApprecoveryDeployCall) Header

func (c *ApprecoveryDeployCall) Header() http.Header

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

type ApprecoveryService

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

func NewApprecoveryService

func NewApprecoveryService(s *Service) *ApprecoveryService

func (*ApprecoveryService) AddTargeting

func (r *ApprecoveryService) AddTargeting(packageName string, appRecoveryId int64, addtargetingrequest *AddTargetingRequest) *ApprecoveryAddTargetingCall

AddTargeting: Incrementally update targeting for a recovery action. Note that only the criteria selected during the creation of recovery action can be expanded.

func (*ApprecoveryService) AppRecoveries

func (r *ApprecoveryService) AppRecoveries(packageName string) *ApprecoveryAppRecoveriesCall

AppRecoveries: List all app recovery action resources associated with a particular package name and app version.

func (*ApprecoveryService) Cancel

func (r *ApprecoveryService) Cancel(packageName string, appRecoveryId int64, cancelapprecoveryrequest *CancelAppRecoveryRequest) *ApprecoveryCancelCall

Cancel: Cancel an already executing app recovery action. Note that this action changes status of the recovery action to CANCELED.

func (*ApprecoveryService) Create

func (r *ApprecoveryService) Create(packageName string, createdraftapprecoveryrequest *CreateDraftAppRecoveryRequest) *ApprecoveryCreateCall

Create: Create an app recovery action with recovery status as DRAFT. Note that this action does not execute the recovery action.

func (*ApprecoveryService) Deploy

func (r *ApprecoveryService) Deploy(packageName string, appRecoveryId int64, deployapprecoveryrequest *DeployAppRecoveryRequest) *ApprecoveryDeployCall

Deploy: Deploy an already created app recovery action with recovery status DRAFT. Note that this action activates the recovery action for all targeted users and changes its status to ACTIVE.

type ArchiveSubscriptionRequest

ArchiveSubscriptionRequest: Deprecated: subscription archiving is not supported.

type ArchiveSubscriptionRequest struct {
}

type AssetModuleMetadata

AssetModuleMetadata: Metadata of an asset module.

type AssetModuleMetadata struct {
    // DeliveryType: Indicates the delivery type for persistent install.
    //
    // Possible values:
    //   "UNKNOWN_DELIVERY_TYPE" - Unspecified delivery type.
    //   "INSTALL_TIME" - This module will always be downloaded as part of the
    // initial install of the app.
    //   "ON_DEMAND" - This module is requested on-demand, which means it will not
    // be part of the initial install, and will only be sent when requested by the
    // client.
    //   "FAST_FOLLOW" - This module will be downloaded immediately after initial
    // install finishes. The app can be opened before these modules are downloaded.
    DeliveryType string `json:"deliveryType,omitempty"`
    // Name: Module name.
    Name string `json:"name,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DeliveryType") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeliveryType") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AssetModuleMetadata) MarshalJSON

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

type AssetSliceSet

AssetSliceSet: Set of asset slices belonging to a single asset module.

type AssetSliceSet struct {
    // ApkDescription: Asset slices.
    ApkDescription []*ApkDescription `json:"apkDescription,omitempty"`
    // AssetModuleMetadata: Module level metadata.
    AssetModuleMetadata *AssetModuleMetadata `json:"assetModuleMetadata,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ApkDescription") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ApkDescription") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AssetSliceSet) MarshalJSON

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

type AutoRenewingBasePlanType

AutoRenewingBasePlanType: Represents a base plan that automatically renews at the end of its subscription period.

type AutoRenewingBasePlanType struct {
    // AccountHoldDuration: Optional. Account hold period of the subscription,
    // specified in ISO 8601 format. Acceptable values must be in DAYS and in the
    // range P0D (zero days) to P30D (30 days). If not specified, the default value
    // is P30D (30 days).
    AccountHoldDuration string `json:"accountHoldDuration,omitempty"`
    // BillingPeriodDuration: Required. Subscription period, specified in ISO 8601
    // format. For a list of acceptable billing periods, refer to the help center.
    BillingPeriodDuration string `json:"billingPeriodDuration,omitempty"`
    // GracePeriodDuration: Grace period of the subscription, specified in ISO 8601
    // format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days),
    // P14D (14 days), and P30D (30 days). If not specified, a default value will
    // be used based on the recurring period duration.
    GracePeriodDuration string `json:"gracePeriodDuration,omitempty"`
    // LegacyCompatible: Whether the renewing base plan is backward compatible. The
    // backward compatible base plan is returned by the Google Play Billing Library
    // deprecated method querySkuDetailsAsync(). Only one renewing base plan can be
    // marked as legacy compatible for a given subscription.
    LegacyCompatible bool `json:"legacyCompatible,omitempty"`
    // LegacyCompatibleSubscriptionOfferId: Subscription offer id which is legacy
    // compatible. The backward compatible subscription offer is returned by the
    // Google Play Billing Library deprecated method querySkuDetailsAsync(). Only
    // one subscription offer can be marked as legacy compatible for a given
    // renewing base plan. To have no Subscription offer as legacy compatible set
    // this field as empty string.
    LegacyCompatibleSubscriptionOfferId string `json:"legacyCompatibleSubscriptionOfferId,omitempty"`
    // ProrationMode: The proration mode for the base plan determines what happens
    // when a user switches to this plan from another base plan. If unspecified,
    // defaults to CHARGE_ON_NEXT_BILLING_DATE.
    //
    // Possible values:
    //   "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED" - Unspecified mode.
    //   "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE" - Users will be
    // charged for their new base plan at the end of their current billing period.
    //   "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY" - Users will
    // be charged for their new base plan immediately and in full. Any remaining
    // period of their existing subscription will be used to extend the duration of
    // the new billing plan.
    ProrationMode string `json:"prorationMode,omitempty"`
    // ResubscribeState: Whether users should be able to resubscribe to this base
    // plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not
    // specified.
    //
    // Possible values:
    //   "RESUBSCRIBE_STATE_UNSPECIFIED" - Unspecified state.
    //   "RESUBSCRIBE_STATE_ACTIVE" - Resubscribe is active.
    //   "RESUBSCRIBE_STATE_INACTIVE" - Resubscribe is inactive.
    ResubscribeState string `json:"resubscribeState,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AccountHoldDuration") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AccountHoldDuration") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AutoRenewingBasePlanType) MarshalJSON

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

type AutoRenewingPlan

AutoRenewingPlan: Information related to an auto renewing plan.

type AutoRenewingPlan struct {
    // AutoRenewEnabled: If the subscription is currently set to auto-renew, e.g.
    // the user has not canceled the subscription
    AutoRenewEnabled bool `json:"autoRenewEnabled,omitempty"`
    // InstallmentDetails: The installment plan commitment and state related info
    // for the auto renewing plan.
    InstallmentDetails *InstallmentPlan `json:"installmentDetails,omitempty"`
    // PriceChangeDetails: The information of the last price change for the item
    // since subscription signup.
    PriceChangeDetails *SubscriptionItemPriceChangeDetails `json:"priceChangeDetails,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AutoRenewEnabled") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AutoRenewEnabled") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*AutoRenewingPlan) MarshalJSON

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

type BasePlan

BasePlan: A single base plan for a subscription.

type BasePlan struct {
    // AutoRenewingBasePlanType: Set when the base plan automatically renews at a
    // regular interval.
    AutoRenewingBasePlanType *AutoRenewingBasePlanType `json:"autoRenewingBasePlanType,omitempty"`
    // BasePlanId: Required. Immutable. The unique identifier of this base plan.
    // Must be unique within the subscription, and conform with RFC-1034. That is,
    // this ID can only contain lower-case letters (a-z), numbers (0-9), and
    // hyphens (-), and be at most 63 characters.
    BasePlanId string `json:"basePlanId,omitempty"`
    // InstallmentsBasePlanType: Set for installments base plans where a user is
    // committed to a specified number of payments.
    InstallmentsBasePlanType *InstallmentsBasePlanType `json:"installmentsBasePlanType,omitempty"`
    // OfferTags: List of up to 20 custom tags specified for this base plan, and
    // returned to the app through the billing library. Subscription offers for
    // this base plan will also receive these offer tags in the billing library.
    OfferTags []*OfferTag `json:"offerTags,omitempty"`
    // OtherRegionsConfig: Pricing information for any new locations Play may
    // launch in the future. If omitted, the BasePlan will not be automatically
    // available any new locations Play may launch in the future.
    OtherRegionsConfig *OtherRegionsBasePlanConfig `json:"otherRegionsConfig,omitempty"`
    // PrepaidBasePlanType: Set when the base plan does not automatically renew at
    // the end of the billing period.
    PrepaidBasePlanType *PrepaidBasePlanType `json:"prepaidBasePlanType,omitempty"`
    // RegionalConfigs: Region-specific information for this base plan.
    RegionalConfigs []*RegionalBasePlanConfig `json:"regionalConfigs,omitempty"`
    // State: Output only. The state of the base plan, i.e. whether it's active.
    // Draft and inactive base plans can be activated or deleted. Active base plans
    // can be made inactive. Inactive base plans can be canceled. This field cannot
    // be changed by updating the resource. Use the dedicated endpoints instead.
    //
    // Possible values:
    //   "STATE_UNSPECIFIED" - Unspecified state.
    //   "DRAFT" - The base plan is currently in a draft state, and hasn't been
    // activated. It can be safely deleted at this point.
    //   "ACTIVE" - The base plan is active and available for new subscribers.
    //   "INACTIVE" - The base plan is inactive and only available for existing
    // subscribers.
    State string `json:"state,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AutoRenewingBasePlanType")
    // to unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AutoRenewingBasePlanType") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BasePlan) MarshalJSON

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

type BatchGetSubscriptionOffersRequest

BatchGetSubscriptionOffersRequest: Request message for BatchGetSubscriptionOffers endpoint.

type BatchGetSubscriptionOffersRequest struct {
    // Requests: Required. A list of update requests of up to 100 elements. All
    // requests must update different subscriptions.
    Requests []*GetSubscriptionOfferRequest `json:"requests,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Requests") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Requests") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchGetSubscriptionOffersRequest) MarshalJSON

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

type BatchGetSubscriptionOffersResponse

BatchGetSubscriptionOffersResponse: Response message for BatchGetSubscriptionOffers endpoint.

type BatchGetSubscriptionOffersResponse struct {
    SubscriptionOffers []*SubscriptionOffer `json:"subscriptionOffers,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "SubscriptionOffers") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "SubscriptionOffers") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchGetSubscriptionOffersResponse) MarshalJSON

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

type BatchGetSubscriptionsResponse

BatchGetSubscriptionsResponse: Response message for BatchGetSubscriptions endpoint.

type BatchGetSubscriptionsResponse struct {
    // Subscriptions: The list of requested subscriptions, in the same order as the
    // request.
    Subscriptions []*Subscription `json:"subscriptions,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Subscriptions") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Subscriptions") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchGetSubscriptionsResponse) MarshalJSON

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

type BatchMigrateBasePlanPricesRequest

BatchMigrateBasePlanPricesRequest: Request message for BatchMigrateBasePlanPrices.

type BatchMigrateBasePlanPricesRequest struct {
    // Requests: Required. Up to 100 price migration requests. All requests must
    // update different base plans.
    Requests []*MigrateBasePlanPricesRequest `json:"requests,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Requests") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Requests") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchMigrateBasePlanPricesRequest) MarshalJSON

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

type BatchMigrateBasePlanPricesResponse

BatchMigrateBasePlanPricesResponse: Response message for BatchMigrateBasePlanPrices.

type BatchMigrateBasePlanPricesResponse struct {
    // Responses: Contains one response per requested price migration, in the same
    // order as the request.
    Responses []*MigrateBasePlanPricesResponse `json:"responses,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Responses") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Responses") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchMigrateBasePlanPricesResponse) MarshalJSON

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

type BatchUpdateBasePlanStatesRequest

BatchUpdateBasePlanStatesRequest: Request message for BatchUpdateBasePlanStates.

type BatchUpdateBasePlanStatesRequest struct {
    // Requests: Required. The update request list of up to 100 elements. All
    // requests must update different base plans.
    Requests []*UpdateBasePlanStateRequest `json:"requests,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Requests") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Requests") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchUpdateBasePlanStatesRequest) MarshalJSON

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

type BatchUpdateBasePlanStatesResponse

BatchUpdateBasePlanStatesResponse: Response message for BatchUpdateBasePlanStates.

type BatchUpdateBasePlanStatesResponse struct {
    // Subscriptions: The list of updated subscriptions. This list will match the
    // requests one to one, in the same order.
    Subscriptions []*Subscription `json:"subscriptions,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Subscriptions") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Subscriptions") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchUpdateBasePlanStatesResponse) MarshalJSON

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

type BatchUpdateSubscriptionOfferStatesRequest

BatchUpdateSubscriptionOfferStatesRequest: Request message for BatchUpdateSubscriptionOfferStates.

type BatchUpdateSubscriptionOfferStatesRequest struct {
    // Requests: Required. The update request list of up to 100 elements. All
    // requests must update different offers.
    Requests []*UpdateSubscriptionOfferStateRequest `json:"requests,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Requests") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Requests") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchUpdateSubscriptionOfferStatesRequest) MarshalJSON

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

type BatchUpdateSubscriptionOfferStatesResponse

BatchUpdateSubscriptionOfferStatesResponse: Response message for BatchUpdateSubscriptionOfferStates.

type BatchUpdateSubscriptionOfferStatesResponse struct {
    // SubscriptionOffers: The updated subscription offers list.
    SubscriptionOffers []*SubscriptionOffer `json:"subscriptionOffers,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "SubscriptionOffers") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "SubscriptionOffers") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchUpdateSubscriptionOfferStatesResponse) MarshalJSON

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

type BatchUpdateSubscriptionOffersRequest

BatchUpdateSubscriptionOffersRequest: Request message for BatchUpdateSubscriptionOffers.

type BatchUpdateSubscriptionOffersRequest struct {
    // Requests: Required. A list of update requests of up to 100 elements. All
    // requests must update different subscription offers.
    Requests []*UpdateSubscriptionOfferRequest `json:"requests,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Requests") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Requests") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchUpdateSubscriptionOffersRequest) MarshalJSON

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

type BatchUpdateSubscriptionOffersResponse

BatchUpdateSubscriptionOffersResponse: Response message for BatchUpdateSubscriptionOffers.

type BatchUpdateSubscriptionOffersResponse struct {
    // SubscriptionOffers: The updated subscription offers list.
    SubscriptionOffers []*SubscriptionOffer `json:"subscriptionOffers,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "SubscriptionOffers") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "SubscriptionOffers") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchUpdateSubscriptionOffersResponse) MarshalJSON

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

type BatchUpdateSubscriptionsRequest

BatchUpdateSubscriptionsRequest: Request message for BatchUpdateSubscription.

type BatchUpdateSubscriptionsRequest struct {
    // Requests: Required. A list of update requests of up to 100 elements. All
    // requests must update different subscriptions.
    Requests []*UpdateSubscriptionRequest `json:"requests,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Requests") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Requests") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchUpdateSubscriptionsRequest) MarshalJSON

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

type BatchUpdateSubscriptionsResponse

BatchUpdateSubscriptionsResponse: Response message for BatchUpdateSubscription.

type BatchUpdateSubscriptionsResponse struct {
    // Subscriptions: The updated subscriptions list.
    Subscriptions []*Subscription `json:"subscriptions,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Subscriptions") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Subscriptions") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BatchUpdateSubscriptionsResponse) MarshalJSON

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

type Bundle

Bundle: Information about an app bundle. The resource for BundlesService.

type Bundle struct {
    // Sha1: A sha1 hash of the upload payload, encoded as a hex string and
    // matching the output of the sha1sum command.
    Sha1 string `json:"sha1,omitempty"`
    // Sha256: A sha256 hash of the upload payload, encoded as a hex string and
    // matching the output of the sha256sum command.
    Sha256 string `json:"sha256,omitempty"`
    // VersionCode: The version code of the Android App Bundle, as specified in the
    // Android App Bundle's base module APK 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. "Sha1") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Sha1") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Bundle) MarshalJSON

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

type BundlesListResponse

BundlesListResponse: Response listing all app bundles.

type BundlesListResponse struct {
    // Bundles: All app bundles.
    Bundles []*Bundle `json:"bundles,omitempty"`
    // Kind: The kind of this response ("androidpublisher#bundlesListResponse").
    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. "Bundles") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Bundles") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*BundlesListResponse) MarshalJSON

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

type CancelAppRecoveryRequest

CancelAppRecoveryRequest: Request message for CancelAppRecovery.

type CancelAppRecoveryRequest struct {
}

type CancelAppRecoveryResponse

CancelAppRecoveryResponse: Response message for CancelAppRecovery.

type CancelAppRecoveryResponse struct {
    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
}

type CancelSurveyResult

CancelSurveyResult: Result of the cancel survey when the subscription was canceled by the user.

type CancelSurveyResult struct {
    // Reason: The reason the user selected in the cancel survey.
    //
    // Possible values:
    //   "CANCEL_SURVEY_REASON_UNSPECIFIED" - Unspecified cancel survey reason.
    //   "CANCEL_SURVEY_REASON_NOT_ENOUGH_USAGE" - Not enough usage of the
    // subscription.
    //   "CANCEL_SURVEY_REASON_TECHNICAL_ISSUES" - Technical issues while using the
    // app.
    //   "CANCEL_SURVEY_REASON_COST_RELATED" - Cost related issues.
    //   "CANCEL_SURVEY_REASON_FOUND_BETTER_APP" - The user found a better app.
    //   "CANCEL_SURVEY_REASON_OTHERS" - Other reasons.
    Reason string `json:"reason,omitempty"`
    // ReasonUserInput: Only set for CANCEL_SURVEY_REASON_OTHERS. This is the
    // user's freeform response to the survey.
    ReasonUserInput string `json:"reasonUserInput,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Reason") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Reason") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*CancelSurveyResult) MarshalJSON

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

type CanceledStateContext

CanceledStateContext: Information specific to a subscription in the SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED state.

type CanceledStateContext struct {
    // DeveloperInitiatedCancellation: Subscription was canceled by the developer.
    DeveloperInitiatedCancellation *DeveloperInitiatedCancellation `json:"developerInitiatedCancellation,omitempty"`
    // ReplacementCancellation: Subscription was replaced by a new subscription.
    ReplacementCancellation *ReplacementCancellation `json:"replacementCancellation,omitempty"`
    // SystemInitiatedCancellation: Subscription was canceled by the system, for
    // example because of a billing problem.
    SystemInitiatedCancellation *SystemInitiatedCancellation `json:"systemInitiatedCancellation,omitempty"`
    // UserInitiatedCancellation: Subscription was canceled by user.
    UserInitiatedCancellation *UserInitiatedCancellation `json:"userInitiatedCancellation,omitempty"`
    // ForceSendFields is a list of field names (e.g.
    // "DeveloperInitiatedCancellation") to unconditionally include in API
    // requests. By default, fields with empty or default values are omitted from
    // API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeveloperInitiatedCancellation")
    // to include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*CanceledStateContext) MarshalJSON

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

type Comment

Comment: An entry of conversation between user and developer.

type Comment struct {
    // DeveloperComment: A comment from a developer.
    DeveloperComment *DeveloperComment `json:"developerComment,omitempty"`
    // UserComment: A comment from a user.
    UserComment *UserComment `json:"userComment,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DeveloperComment") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeveloperComment") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Comment) MarshalJSON

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

type ConvertRegionPricesRequest

ConvertRegionPricesRequest: Request message for ConvertRegionPrices.

type ConvertRegionPricesRequest struct {
    // Price: The intital price to convert other regions from. Tax exclusive.
    Price *Money `json:"price,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Price") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Price") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ConvertRegionPricesRequest) MarshalJSON

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

type ConvertRegionPricesResponse

ConvertRegionPricesResponse: Response message for ConvertRegionPrices.

type ConvertRegionPricesResponse struct {
    // ConvertedOtherRegionsPrice: Converted other regions prices in USD and EUR,
    // to use for countries where Play doesn't support a country's local currency.
    ConvertedOtherRegionsPrice *ConvertedOtherRegionsPrice `json:"convertedOtherRegionsPrice,omitempty"`
    // ConvertedRegionPrices: Map from region code to converted region price.
    ConvertedRegionPrices map[string]ConvertedRegionPrice `json:"convertedRegionPrices,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "ConvertedOtherRegionsPrice")
    // to unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ConvertedOtherRegionsPrice") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ConvertRegionPricesResponse) MarshalJSON

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

type ConvertedOtherRegionsPrice

ConvertedOtherRegionsPrice: Converted other regions prices.

type ConvertedOtherRegionsPrice struct {
    // EurPrice: Price in EUR to use for the "Other regions" location exclusive of
    // taxes.
    EurPrice *Money `json:"eurPrice,omitempty"`
    // UsdPrice: Price in USD to use for the "Other regions" location exclusive of
    // taxes.
    UsdPrice *Money `json:"usdPrice,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EurPrice") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EurPrice") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ConvertedOtherRegionsPrice) MarshalJSON

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

type ConvertedRegionPrice

ConvertedRegionPrice: A converted region price.

type ConvertedRegionPrice struct {
    // Price: The converted price tax inclusive.
    Price *Money `json:"price,omitempty"`
    // RegionCode: The region code of the region.
    RegionCode string `json:"regionCode,omitempty"`
    // TaxAmount: The tax amount of the converted price.
    TaxAmount *Money `json:"taxAmount,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Price") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Price") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ConvertedRegionPrice) MarshalJSON

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

type CountryTargeting

CountryTargeting: Country targeting specification.

type CountryTargeting struct {
    // Countries: Countries to target, specified as two letter CLDR codes
    // (https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
    Countries []string `json:"countries,omitempty"`
    // IncludeRestOfWorld: Include "rest of world" as well as explicitly targeted
    // countries.
    IncludeRestOfWorld bool `json:"includeRestOfWorld,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Countries") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Countries") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*CountryTargeting) MarshalJSON

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

type CreateDraftAppRecoveryRequest

CreateDraftAppRecoveryRequest: Request message for CreateDraftAppRecovery.

type CreateDraftAppRecoveryRequest struct {
    // RemoteInAppUpdate: Action type is remote in-app update. As a consequence of
    // this action, a downloadable recovery module is also created for testing
    // purposes.
    RemoteInAppUpdate *RemoteInAppUpdate `json:"remoteInAppUpdate,omitempty"`
    // Targeting: Specifies targeting criteria for the recovery action such as
    // regions, android sdk versions, app versions etc.
    Targeting *Targeting `json:"targeting,omitempty"`
    // ForceSendFields is a list of field names (e.g. "RemoteInAppUpdate") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RemoteInAppUpdate") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*CreateDraftAppRecoveryRequest) MarshalJSON

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

type DeactivateBasePlanRequest

DeactivateBasePlanRequest: Request message for DeactivateBasePlan.

type DeactivateBasePlanRequest struct {
    // BasePlanId: Required. The unique base plan ID of the base plan to
    // deactivate.
    BasePlanId string `json:"basePlanId,omitempty"`
    // LatencyTolerance: Optional. The latency tolerance for the propagation of
    // this product update. Defaults to latency-sensitive.
    //
    // Possible values:
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to
    // PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will
    // propagate to clients within several minutes on average and up to a few hours
    // in rare cases. Throughput is limited to 7,200 updates per app per hour.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will
    // propagate to clients within 24 hours. Supports high throughput of up to
    // 720,000 updates per app per hour using batch modification methods.
    LatencyTolerance string `json:"latencyTolerance,omitempty"`
    // PackageName: Required. The parent app (package name) of the base plan to
    // deactivate.
    PackageName string `json:"packageName,omitempty"`
    // ProductId: Required. The parent subscription (ID) of the base plan to
    // deactivate.
    ProductId string `json:"productId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BasePlanId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BasePlanId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeactivateBasePlanRequest) MarshalJSON

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

type DeactivateSubscriptionOfferRequest

DeactivateSubscriptionOfferRequest: Request message for DeactivateSubscriptionOffer.

type DeactivateSubscriptionOfferRequest struct {
    // BasePlanId: Required. The parent base plan (ID) of the offer to deactivate.
    BasePlanId string `json:"basePlanId,omitempty"`
    // LatencyTolerance: Optional. The latency tolerance for the propagation of
    // this product update. Defaults to latency-sensitive.
    //
    // Possible values:
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to
    // PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will
    // propagate to clients within several minutes on average and up to a few hours
    // in rare cases. Throughput is limited to 7,200 updates per app per hour.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will
    // propagate to clients within 24 hours. Supports high throughput of up to
    // 720,000 updates per app per hour using batch modification methods.
    LatencyTolerance string `json:"latencyTolerance,omitempty"`
    // OfferId: Required. The unique offer ID of the offer to deactivate.
    OfferId string `json:"offerId,omitempty"`
    // PackageName: Required. The parent app (package name) of the offer to
    // deactivate.
    PackageName string `json:"packageName,omitempty"`
    // ProductId: Required. The parent subscription (ID) of the offer to
    // deactivate.
    ProductId string `json:"productId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BasePlanId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BasePlanId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeactivateSubscriptionOfferRequest) MarshalJSON

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

type DeferredItemReplacement

DeferredItemReplacement: Information related to deferred item replacement.

type DeferredItemReplacement struct {
    // ProductId: The product_id going to replace the existing product_id.
    ProductId string `json:"productId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ProductId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ProductId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeferredItemReplacement) MarshalJSON

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

type DeobfuscationFile

DeobfuscationFile: Represents a deobfuscation file.

type DeobfuscationFile struct {
    // SymbolType: The type of the deobfuscation file.
    //
    // Possible values:
    //   "deobfuscationFileTypeUnspecified" - Unspecified deobfuscation file type.
    //   "proguard" - Proguard deobfuscation file type.
    //   "nativeCode" - Native debugging symbols file type.
    SymbolType string `json:"symbolType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "SymbolType") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "SymbolType") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeobfuscationFile) MarshalJSON

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

type DeobfuscationFilesUploadResponse

DeobfuscationFilesUploadResponse: Responses for the upload.

type DeobfuscationFilesUploadResponse struct {
    // DeobfuscationFile: The uploaded Deobfuscation File configuration.
    DeobfuscationFile *DeobfuscationFile `json:"deobfuscationFile,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "DeobfuscationFile") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeobfuscationFile") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeobfuscationFilesUploadResponse) MarshalJSON

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

type DeployAppRecoveryRequest

DeployAppRecoveryRequest: Request message for DeployAppRecovery.

type DeployAppRecoveryRequest struct {
}

type DeployAppRecoveryResponse

DeployAppRecoveryResponse: Response message for DeployAppRecovery.

type DeployAppRecoveryResponse struct {
    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
}

type DeveloperComment

DeveloperComment: Developer entry from conversation between user and developer.

type DeveloperComment struct {
    // LastModified: The last time at which this comment was updated.
    LastModified *Timestamp `json:"lastModified,omitempty"`
    // Text: The content of the comment, i.e. reply body.
    Text string `json:"text,omitempty"`
    // ForceSendFields is a list of field names (e.g. "LastModified") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "LastModified") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeveloperComment) MarshalJSON

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

type DeveloperInitiatedCancellation

DeveloperInitiatedCancellation: Information specific to cancellations initiated by developers.

type DeveloperInitiatedCancellation struct {
}

type DeviceFeature

DeviceFeature: Represents a device feature.

type DeviceFeature struct {
    // FeatureName: Name of the feature.
    FeatureName string `json:"featureName,omitempty"`
    // FeatureVersion: The feature version specified by android:glEsVersion or
    // android:version in in the AndroidManifest.
    FeatureVersion int64 `json:"featureVersion,omitempty"`
    // ForceSendFields is a list of field names (e.g. "FeatureName") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "FeatureName") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeviceFeature) MarshalJSON

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

type DeviceFeatureTargeting

DeviceFeatureTargeting: Targeting for a device feature.

type DeviceFeatureTargeting struct {
    // RequiredFeature: Feature of the device.
    RequiredFeature *DeviceFeature `json:"requiredFeature,omitempty"`
    // ForceSendFields is a list of field names (e.g. "RequiredFeature") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RequiredFeature") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeviceFeatureTargeting) MarshalJSON

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

type DeviceGroup

DeviceGroup: A group of devices. A group is defined by a set of device selectors. A device belongs to the group if it matches any selector (logical OR).

type DeviceGroup struct {
    // DeviceSelectors: Device selectors for this group. A device matching any of
    // the selectors is included in this group.
    DeviceSelectors []*DeviceSelector `json:"deviceSelectors,omitempty"`
    // Name: The name of the group.
    Name string `json:"name,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DeviceSelectors") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeviceSelectors") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeviceGroup) MarshalJSON

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

type DeviceId

DeviceId: Identifier of a device.

type DeviceId struct {
    // BuildBrand: Value of Build.BRAND.
    BuildBrand string `json:"buildBrand,omitempty"`
    // BuildDevice: Value of Build.DEVICE.
    BuildDevice string `json:"buildDevice,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BuildBrand") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BuildBrand") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeviceId) MarshalJSON

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

type DeviceMetadata

DeviceMetadata: Characteristics of the user's device.

type DeviceMetadata struct {
    // CpuMake: Device CPU make, e.g. "Qualcomm"
    CpuMake string `json:"cpuMake,omitempty"`
    // CpuModel: Device CPU model, e.g. "MSM8974"
    CpuModel string `json:"cpuModel,omitempty"`
    // DeviceClass: Device class (e.g. tablet)
    DeviceClass string `json:"deviceClass,omitempty"`
    // GlEsVersion: OpenGL version
    GlEsVersion int64 `json:"glEsVersion,omitempty"`
    // Manufacturer: Device manufacturer (e.g. Motorola)
    Manufacturer string `json:"manufacturer,omitempty"`
    // NativePlatform: Comma separated list of native platforms (e.g. "arm",
    // "arm7")
    NativePlatform string `json:"nativePlatform,omitempty"`
    // ProductName: Device model name (e.g. Droid)
    ProductName string `json:"productName,omitempty"`
    // RamMb: Device RAM in Megabytes, e.g. "2048"
    RamMb int64 `json:"ramMb,omitempty"`
    // ScreenDensityDpi: Screen density in DPI
    ScreenDensityDpi int64 `json:"screenDensityDpi,omitempty"`
    // ScreenHeightPx: Screen height in pixels
    ScreenHeightPx int64 `json:"screenHeightPx,omitempty"`
    // ScreenWidthPx: Screen width in pixels
    ScreenWidthPx int64 `json:"screenWidthPx,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CpuMake") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CpuMake") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeviceMetadata) MarshalJSON

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

type DeviceRam

DeviceRam: Conditions about a device's RAM capabilities.

type DeviceRam struct {
    // MaxBytes: Maximum RAM in bytes (bound excluded).
    MaxBytes int64 `json:"maxBytes,omitempty,string"`
    // MinBytes: Minimum RAM in bytes (bound included).
    MinBytes int64 `json:"minBytes,omitempty,string"`
    // ForceSendFields is a list of field names (e.g. "MaxBytes") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "MaxBytes") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeviceRam) MarshalJSON

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

type DeviceSelector

DeviceSelector: Selector for a device group. A selector consists of a set of conditions on the device that should all match (logical AND) to determine a device group eligibility. For instance, if a selector specifies RAM conditions, device model inclusion and device model exclusion, a device is considered to match if: device matches RAM conditions AND device matches one of the included device models AND device doesn't match excluded device models

type DeviceSelector struct {
    // DeviceRam: Conditions on the device's RAM.
    DeviceRam *DeviceRam `json:"deviceRam,omitempty"`
    // ExcludedDeviceIds: Device models excluded by this selector, even if they
    // match all other conditions.
    ExcludedDeviceIds []*DeviceId `json:"excludedDeviceIds,omitempty"`
    // ForbiddenSystemFeatures: A device that has any of these system features is
    // excluded by this selector, even if it matches all other conditions.
    ForbiddenSystemFeatures []*SystemFeature `json:"forbiddenSystemFeatures,omitempty"`
    // IncludedDeviceIds: Device models included by this selector.
    IncludedDeviceIds []*DeviceId `json:"includedDeviceIds,omitempty"`
    // RequiredSystemFeatures: A device needs to have all these system features to
    // be included by the selector.
    RequiredSystemFeatures []*SystemFeature `json:"requiredSystemFeatures,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DeviceRam") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeviceRam") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeviceSelector) MarshalJSON

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

type DeviceSpec

DeviceSpec: The device spec used to generate a system APK.

type DeviceSpec struct {
    // ScreenDensity: Screen dpi.
    ScreenDensity int64 `json:"screenDensity,omitempty"`
    // SupportedAbis: Supported ABI architectures in the order of preference. The
    // values should be the string as reported by the platform, e.g. "armeabi-v7a",
    // "x86_64".
    SupportedAbis []string `json:"supportedAbis,omitempty"`
    // SupportedLocales: All installed locales represented as BCP-47 strings, e.g.
    // "en-US".
    SupportedLocales []string `json:"supportedLocales,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ScreenDensity") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ScreenDensity") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeviceSpec) MarshalJSON

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

type DeviceTier

DeviceTier: A single device tier. Devices matching any of the device groups in device_group_names are considered to match the tier.

type DeviceTier struct {
    // DeviceGroupNames: Groups of devices included in this tier. These groups must
    // be defined explicitly under device_groups in this configuration.
    DeviceGroupNames []string `json:"deviceGroupNames,omitempty"`
    // Level: The priority level of the tier. Tiers are evaluated in descending
    // order of level: the highest level tier has the highest priority. The highest
    // tier matching a given device is selected for that device. You should use a
    // contiguous range of levels for your tiers in a tier set; tier levels in a
    // tier set must be unique. For instance, if your tier set has 4 tiers
    // (including the global fallback), you should define tiers 1, 2 and 3 in this
    // configuration. Note: tier 0 is implicitly defined as a global fallback and
    // selected for devices that don't match any of the tiers explicitly defined
    // here. You mustn't define level 0 explicitly in this configuration.
    Level int64 `json:"level,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DeviceGroupNames") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeviceGroupNames") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeviceTier) MarshalJSON

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

type DeviceTierConfig

DeviceTierConfig: Configuration describing device targeting criteria for the content of an app.

type DeviceTierConfig struct {
    // DeviceGroups: Definition of device groups for the app.
    DeviceGroups []*DeviceGroup `json:"deviceGroups,omitempty"`
    // DeviceTierConfigId: Output only. The device tier config ID.
    DeviceTierConfigId int64 `json:"deviceTierConfigId,omitempty,string"`
    // DeviceTierSet: Definition of the set of device tiers for the app.
    DeviceTierSet *DeviceTierSet `json:"deviceTierSet,omitempty"`
    // UserCountrySets: Definition of user country sets for the app.
    UserCountrySets []*UserCountrySet `json:"userCountrySets,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "DeviceGroups") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeviceGroups") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeviceTierConfig) MarshalJSON

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

type DeviceTierSet

DeviceTierSet: A set of device tiers. A tier set determines what variation of app content gets served to a specific device, for device-targeted content. You should assign a priority level to each tier, which determines the ordering by which they are evaluated by Play. See the documentation of DeviceTier.level for more details.

type DeviceTierSet struct {
    // DeviceTiers: Device tiers belonging to the set.
    DeviceTiers []*DeviceTier `json:"deviceTiers,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DeviceTiers") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeviceTiers") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*DeviceTierSet) MarshalJSON

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

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.

func (*EditsApksAddexternallyhostedCall) Do

func (c *EditsApksAddexternallyhostedCall) Do(opts ...googleapi.CallOption) (*ApksAddExternallyHostedResponse, error)

Do executes the "androidpublisher.edits.apks.addexternallyhosted" call. 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 details.

func (*EditsApksAddexternallyhostedCall) Header

func (c *EditsApksAddexternallyhostedCall) Header() http.Header

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

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.

func (*EditsApksListCall) Do

func (c *EditsApksListCall) Do(opts ...googleapi.CallOption) (*ApksListResponse, error)

Do executes the "androidpublisher.edits.apks.list" call. 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 details.

func (*EditsApksListCall) Header

func (c *EditsApksListCall) Header() http.Header

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

func (*EditsApksListCall) IfNoneMatch

func (c *EditsApksListCall) IfNoneMatch(entityTag string) *EditsApksListCall

IfNoneMatch sets an 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.

type EditsApksService

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

func NewEditsApksService

func NewEditsApksService(s *Service) *EditsApksService

func (*EditsApksService) Addexternallyhosted

func (r *EditsApksService) Addexternallyhosted(packageName 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 organizations using Managed Play whose application is configured to restrict distribution to the organizations.

- editId: Identifier of the edit. - packageName: Package name of the app.

func (*EditsApksService) List

func (r *EditsApksService) List(packageName string, editId string) *EditsApksListCall

List: Lists all current APKs of the app and edit.

- editId: Identifier of the edit. - packageName: Package name of the app.

func (*EditsApksService) Upload

func (r *EditsApksService) Upload(packageName string, editId string) *EditsApksUploadCall

Upload: Uploads an APK and adds to the current edit.

- editId: Identifier of the edit. - packageName: Package name of the app.

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. This context will supersede any context previously provided to the ResumableMedia method.

func (*EditsApksUploadCall) Do

func (c *EditsApksUploadCall) Do(opts ...googleapi.CallOption) (*Apk, error)

Do executes the "androidpublisher.edits.apks.upload" call. 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 details.

func (*EditsApksUploadCall) Header

func (c *EditsApksUploadCall) Header() http.Header

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

func (*EditsApksUploadCall) Media

func (c *EditsApksUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsApksUploadCall

Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. 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) 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.

Deprecated: use Media instead.

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.

type EditsBundlesListCall

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

func (*EditsBundlesListCall) Context

func (c *EditsBundlesListCall) Context(ctx context.Context) *EditsBundlesListCall

Context sets the context to be used in this call's Do method.

func (*EditsBundlesListCall) Do

func (c *EditsBundlesListCall) Do(opts ...googleapi.CallOption) (*BundlesListResponse, error)

Do executes the "androidpublisher.edits.bundles.list" call. Any non-2xx status code is an error. Response headers are in either *BundlesListResponse.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 (*EditsBundlesListCall) Fields

func (c *EditsBundlesListCall) Fields(s ...googleapi.Field) *EditsBundlesListCall

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

func (*EditsBundlesListCall) Header

func (c *EditsBundlesListCall) Header() http.Header

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

func (*EditsBundlesListCall) IfNoneMatch

func (c *EditsBundlesListCall) IfNoneMatch(entityTag string) *EditsBundlesListCall

IfNoneMatch sets an 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.

type EditsBundlesService

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

func NewEditsBundlesService

func NewEditsBundlesService(s *Service) *EditsBundlesService

func (*EditsBundlesService) List

func (r *EditsBundlesService) List(packageName string, editId string) *EditsBundlesListCall

List: Lists all current Android App Bundles of the app and edit.

- editId: Identifier of the edit. - packageName: Package name of the app.

func (*EditsBundlesService) Upload

func (r *EditsBundlesService) Upload(packageName string, editId string) *EditsBundlesUploadCall

Upload: Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See Timeouts and Errors (https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.

- editId: Identifier of the edit. - packageName: Package name of the app.

type EditsBundlesUploadCall

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

func (*EditsBundlesUploadCall) AckBundleInstallationWarning

func (c *EditsBundlesUploadCall) AckBundleInstallationWarning(ackBundleInstallationWarning bool) *EditsBundlesUploadCall

AckBundleInstallationWarning sets the optional parameter "ackBundleInstallationWarning": Must be set to true if the app bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).

func (*EditsBundlesUploadCall) Context

func (c *EditsBundlesUploadCall) Context(ctx context.Context) *EditsBundlesUploadCall

Context sets the context to be used in this call's Do method. This context will supersede any context previously provided to the ResumableMedia method.

func (*EditsBundlesUploadCall) DeviceTierConfigId

func (c *EditsBundlesUploadCall) DeviceTierConfigId(deviceTierConfigId string) *EditsBundlesUploadCall

DeviceTierConfigId sets the optional parameter "deviceTierConfigId": Device tier config (DTC) to be used for generating deliverables (APKs). Contains id of the DTC or "LATEST" for last uploaded DTC.

func (*EditsBundlesUploadCall) Do

func (c *EditsBundlesUploadCall) Do(opts ...googleapi.CallOption) (*Bundle, error)

Do executes the "androidpublisher.edits.bundles.upload" call. Any non-2xx status code is an error. Response headers are in either *Bundle.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 (*EditsBundlesUploadCall) Fields

func (c *EditsBundlesUploadCall) Fields(s ...googleapi.Field) *EditsBundlesUploadCall

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

func (*EditsBundlesUploadCall) Header

func (c *EditsBundlesUploadCall) Header() http.Header

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

func (*EditsBundlesUploadCall) Media

func (c *EditsBundlesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsBundlesUploadCall

Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. At most one of Media and ResumableMedia may be set.

func (*EditsBundlesUploadCall) ProgressUpdater

func (c *EditsBundlesUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsBundlesUploadCall

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 (*EditsBundlesUploadCall) ResumableMedia

func (c *EditsBundlesUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsBundlesUploadCall

ResumableMedia specifies the media to upload in chunks and can be canceled with ctx.

Deprecated: use Media instead.

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.

type EditsCommitCall

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

func (*EditsCommitCall) ChangesNotSentForReview

func (c *EditsCommitCall) ChangesNotSentForReview(changesNotSentForReview bool) *EditsCommitCall

ChangesNotSentForReview sets the optional parameter "changesNotSentForReview": Indicates that the changes in this edit will not be reviewed until they are explicitly sent for review from the Google Play Console UI. These changes will be added to any other changes that are not yet sent for review.

func (*EditsCommitCall) Context

func (c *EditsCommitCall) Context(ctx context.Context) *EditsCommitCall

Context sets the context to be used in this call's Do method.

func (*EditsCommitCall) Do

func (c *EditsCommitCall) Do(opts ...googleapi.CallOption) (*AppEdit, error)

Do executes the "androidpublisher.edits.commit" call. 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 details.

func (*EditsCommitCall) Header

func (c *EditsCommitCall) Header() http.Header

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

type EditsCountryavailabilityGetCall

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

func (*EditsCountryavailabilityGetCall) Context

func (c *EditsCountryavailabilityGetCall) Context(ctx context.Context) *EditsCountryavailabilityGetCall

Context sets the context to be used in this call's Do method.

func (*EditsCountryavailabilityGetCall) Do

func (c *EditsCountryavailabilityGetCall) Do(opts ...googleapi.CallOption) (*TrackCountryAvailability, error)

Do executes the "androidpublisher.edits.countryavailability.get" call. Any non-2xx status code is an error. Response headers are in either *TrackCountryAvailability.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 (*EditsCountryavailabilityGetCall) Fields

func (c *EditsCountryavailabilityGetCall) Fields(s ...googleapi.Field) *EditsCountryavailabilityGetCall

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

func (*EditsCountryavailabilityGetCall) Header

func (c *EditsCountryavailabilityGetCall) Header() http.Header

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

func (*EditsCountryavailabilityGetCall) IfNoneMatch

func (c *EditsCountryavailabilityGetCall) IfNoneMatch(entityTag string) *EditsCountryavailabilityGetCall

IfNoneMatch sets an 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.

type EditsCountryavailabilityService

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

func NewEditsCountryavailabilityService

func NewEditsCountryavailabilityService(s *Service) *EditsCountryavailabilityService

func (*EditsCountryavailabilityService) Get

func (r *EditsCountryavailabilityService) Get(packageName string, editId string, track string) *EditsCountryavailabilityGetCall

Get: Gets country availability.

- editId: Identifier of the edit. - packageName: Package name of the app. - track: The track to read from.

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.

func (*EditsDeleteCall) Do

func (c *EditsDeleteCall) Do(opts ...googleapi.CallOption) 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 details.

func (*EditsDeleteCall) Header

func (c *EditsDeleteCall) Header() http.Header

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

type EditsDeobfuscationfilesService

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

func NewEditsDeobfuscationfilesService

func NewEditsDeobfuscationfilesService(s *Service) *EditsDeobfuscationfilesService

func (*EditsDeobfuscationfilesService) Upload

func (r *EditsDeobfuscationfilesService) Upload(packageNameid string, editId string, apkVersionCode int64, deobfuscationFileType string) *EditsDeobfuscationfilesUploadCall

Upload: Uploads a new deobfuscation file and attaches to the specified APK.

type EditsDeobfuscationfilesUploadCall

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

func (*EditsDeobfuscationfilesUploadCall) Context

func (c *EditsDeobfuscationfilesUploadCall) Context(ctx context.Context) *EditsDeobfuscationfilesUploadCall

Context sets the context to be used in this call's Do method. This context will supersede any context previously provided to the ResumableMedia method.

func (*EditsDeobfuscationfilesUploadCall) Do

func (c *EditsDeobfuscationfilesUploadCall) Do(opts ...googleapi.CallOption) (*DeobfuscationFilesUploadResponse, error)

Do executes the "androidpublisher.edits.deobfuscationfiles.upload" call. Any non-2xx status code is an error. Response headers are in either *DeobfuscationFilesUploadResponse.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 (*EditsDeobfuscationfilesUploadCall) Fields

func (c *EditsDeobfuscationfilesUploadCall) Fields(s ...googleapi.Field) *EditsDeobfuscationfilesUploadCall

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

func (*EditsDeobfuscationfilesUploadCall) Header

func (c *EditsDeobfuscationfilesUploadCall) Header() http.Header

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

func (*EditsDeobfuscationfilesUploadCall) Media

func (c *EditsDeobfuscationfilesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsDeobfuscationfilesUploadCall

Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. At most one of Media and ResumableMedia may be set.

func (*EditsDeobfuscationfilesUploadCall) ProgressUpdater

func (c *EditsDeobfuscationfilesUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *EditsDeobfuscationfilesUploadCall

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 (*EditsDeobfuscationfilesUploadCall) ResumableMedia

func (c *EditsDeobfuscationfilesUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *EditsDeobfuscationfilesUploadCall

ResumableMedia specifies the media to upload in chunks and can be canceled with ctx.

Deprecated: use Media instead.

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.

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.

func (*EditsDetailsGetCall) Do

func (c *EditsDetailsGetCall) Do(opts ...googleapi.CallOption) (*AppDetails, error)

Do executes the "androidpublisher.edits.details.get" call. 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 details.

func (*EditsDetailsGetCall) Header

func (c *EditsDetailsGetCall) Header() http.Header

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

func (*EditsDetailsGetCall) IfNoneMatch

func (c *EditsDetailsGetCall) IfNoneMatch(entityTag string) *EditsDetailsGetCall

IfNoneMatch sets an 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.

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.

func (*EditsDetailsPatchCall) Do

func (c *EditsDetailsPatchCall) Do(opts ...googleapi.CallOption) (*AppDetails, error)

Do executes the "androidpublisher.edits.details.patch" call. 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 details.

func (*EditsDetailsPatchCall) Header

func (c *EditsDetailsPatchCall) Header() http.Header

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

type EditsDetailsService

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

func NewEditsDetailsService

func NewEditsDetailsService(s *Service) *EditsDetailsService

func (*EditsDetailsService) Get

func (r *EditsDetailsService) Get(packageName string, editId string) *EditsDetailsGetCall

Get: Gets details of an app.

- editId: Identifier of the edit. - packageName: Package name of the app.

func (*EditsDetailsService) Patch

func (r *EditsDetailsService) Patch(packageName string, editId string, appdetails *AppDetails) *EditsDetailsPatchCall

Patch: Patches details of an app.

- editId: Identifier of the edit. - packageName: Package name of the app.

func (*EditsDetailsService) Update

func (r *EditsDetailsService) Update(packageName string, editId string, appdetails *AppDetails) *EditsDetailsUpdateCall

Update: Updates details of an app.

- editId: Identifier of the edit. - packageName: Package name of the app.

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.

func (*EditsDetailsUpdateCall) Do

func (c *EditsDetailsUpdateCall) Do(opts ...googleapi.CallOption) (*AppDetails, error)

Do executes the "androidpublisher.edits.details.update" call. 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 details.

func (*EditsDetailsUpdateCall) Header

func (c *EditsDetailsUpdateCall) Header() http.Header

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

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.

func (*EditsExpansionfilesGetCall) Do

func (c *EditsExpansionfilesGetCall) Do(opts ...googleapi.CallOption) (*ExpansionFile, error)

Do executes the "androidpublisher.edits.expansionfiles.get" call. 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 details.

func (*EditsExpansionfilesGetCall) Header

func (c *EditsExpansionfilesGetCall) Header() http.Header

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

func (*EditsExpansionfilesGetCall) IfNoneMatch

func (c *EditsExpansionfilesGetCall) IfNoneMatch(entityTag string) *EditsExpansionfilesGetCall

IfNoneMatch sets an 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.

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.

func (*EditsExpansionfilesPatchCall) Do

func (c *EditsExpansionfilesPatchCall) Do(opts ...googleapi.CallOption) (*ExpansionFile, error)

Do executes the "androidpublisher.edits.expansionfiles.patch" call. 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 details.

func (*EditsExpansionfilesPatchCall) Header

func (c *EditsExpansionfilesPatchCall) Header() http.Header

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

type EditsExpansionfilesService

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

func NewEditsExpansionfilesService

func NewEditsExpansionfilesService(s *Service) *EditsExpansionfilesService

func (*EditsExpansionfilesService) Get

func (r *EditsExpansionfilesService) Get(packageName string, editId string, apkVersionCode int64, expansionFileType string) *EditsExpansionfilesGetCall

Get: Fetches the expansion file configuration for the specified APK.

func (*EditsExpansionfilesService) Patch

func (r *EditsExpansionfilesService) Patch(packageName string, editId string, apkVersionCode int64, expansionFileType string, expansionfile *ExpansionFile) *EditsExpansionfilesPatchCall

Patch: Patches the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.

func (*EditsExpansionfilesService) Update

func (r *EditsExpansionfilesService) Update(packageName string, editId string, apkVersionCode int64, expansionFileType string, expansionfile *ExpansionFile) *EditsExpansionfilesUpdateCall

Update: Updates the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.

func (*EditsExpansionfilesService) Upload

func (r *EditsExpansionfilesService) Upload(packageName string, editId string, apkVersionCode int64, expansionFileType string) *EditsExpansionfilesUploadCall

Upload: Uploads a new expansion file and attaches to the specified APK.

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.

func (*EditsExpansionfilesUpdateCall) Do

func (c *EditsExpansionfilesUpdateCall) Do(opts ...googleapi.CallOption) (*ExpansionFile, error)

Do executes the "androidpublisher.edits.expansionfiles.update" call. 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 details.

func (*EditsExpansionfilesUpdateCall) Header

func (c *EditsExpansionfilesUpdateCall) Header() http.Header

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

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. This context will supersede any context previously provided to the ResumableMedia method.

func (*EditsExpansionfilesUploadCall) Do

func (c *EditsExpansionfilesUploadCall) Do(opts ...googleapi.CallOption) (*ExpansionFilesUploadResponse, error)

Do executes the "androidpublisher.edits.expansionfiles.upload" call. 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 details.

func (*EditsExpansionfilesUploadCall) Header

func (c *EditsExpansionfilesUploadCall) Header() http.Header

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

func (*EditsExpansionfilesUploadCall) Media

func (c *EditsExpansionfilesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsExpansionfilesUploadCall

Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. 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) 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.

Deprecated: use Media instead.

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.

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.

func (*EditsGetCall) Do

func (c *EditsGetCall) Do(opts ...googleapi.CallOption) (*AppEdit, error)

Do executes the "androidpublisher.edits.get" call. 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 details.

func (*EditsGetCall) Header

func (c *EditsGetCall) Header() http.Header

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

func (*EditsGetCall) IfNoneMatch

func (c *EditsGetCall) IfNoneMatch(entityTag string) *EditsGetCall

IfNoneMatch sets an 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.

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.

func (*EditsImagesDeleteCall) Do

func (c *EditsImagesDeleteCall) Do(opts ...googleapi.CallOption) 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 details.

func (*EditsImagesDeleteCall) Header

func (c *EditsImagesDeleteCall) Header() http.Header

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

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.

func (*EditsImagesDeleteallCall) Do

func (c *EditsImagesDeleteallCall) Do(opts ...googleapi.CallOption) (*ImagesDeleteAllResponse, error)

Do executes the "androidpublisher.edits.images.deleteall" call. 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 details.

func (*EditsImagesDeleteallCall) Header

func (c *EditsImagesDeleteallCall) Header() http.Header

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

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.

func (*EditsImagesListCall) Do

func (c *EditsImagesListCall) Do(opts ...googleapi.CallOption) (*ImagesListResponse, error)

Do executes the "androidpublisher.edits.images.list" call. 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 details.

func (*EditsImagesListCall) Header

func (c *EditsImagesListCall) Header() http.Header

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

func (*EditsImagesListCall) IfNoneMatch

func (c *EditsImagesListCall) IfNoneMatch(entityTag string) *EditsImagesListCall

IfNoneMatch sets an 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.

type EditsImagesService

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

func NewEditsImagesService

func NewEditsImagesService(s *Service) *EditsImagesService

func (*EditsImagesService) Delete

func (r *EditsImagesService) Delete(packageName 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(packageName string, editId string, language string, imageType string) *EditsImagesDeleteallCall

Deleteall: Deletes all images for the specified language and image type. Returns an empty response if no images are found.

func (*EditsImagesService) List

func (r *EditsImagesService) List(packageName string, editId string, language string, imageType string) *EditsImagesListCall

List: Lists all images. The response may be empty.

func (*EditsImagesService) Upload

func (r *EditsImagesService) Upload(packageName string, editId string, language string, imageType string) *EditsImagesUploadCall

Upload: Uploads an image of the specified language and image type, and adds to the edit.

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. This context will supersede any context previously provided to the ResumableMedia method.

func (*EditsImagesUploadCall) Do

func (c *EditsImagesUploadCall) Do(opts ...googleapi.CallOption) (*ImagesUploadResponse, error)

Do executes the "androidpublisher.edits.images.upload" call. 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 details.

func (*EditsImagesUploadCall) Header

func (c *EditsImagesUploadCall) Header() http.Header

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

func (*EditsImagesUploadCall) Media

func (c *EditsImagesUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *EditsImagesUploadCall

Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. 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) 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.

Deprecated: use Media instead.

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.

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.

func (*EditsInsertCall) Do

func (c *EditsInsertCall) Do(opts ...googleapi.CallOption) (*AppEdit, error)

Do executes the "androidpublisher.edits.insert" call. 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 details.

func (*EditsInsertCall) Header

func (c *EditsInsertCall) Header() http.Header

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

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.

func (*EditsListingsDeleteCall) Do

func (c *EditsListingsDeleteCall) Do(opts ...googleapi.CallOption) 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 details.

func (*EditsListingsDeleteCall) Header

func (c *EditsListingsDeleteCall) Header() http.Header

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

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.

func (*EditsListingsDeleteallCall) Do

func (c *EditsListingsDeleteallCall) Do(opts ...googleapi.CallOption) 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 details.

func (*EditsListingsDeleteallCall) Header

func (c *EditsListingsDeleteallCall) Header() http.Header

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

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.

func (*EditsListingsGetCall) Do

func (c *EditsListingsGetCall) Do(opts ...googleapi.CallOption) (*Listing, error)

Do executes the "androidpublisher.edits.listings.get" call. 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 details.

func (*EditsListingsGetCall) Header

func (c *EditsListingsGetCall) Header() http.Header

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

func (*EditsListingsGetCall) IfNoneMatch

func (c *EditsListingsGetCall) IfNoneMatch(entityTag string) *EditsListingsGetCall

IfNoneMatch sets an 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.

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.

func (*EditsListingsListCall) Do

func (c *EditsListingsListCall) Do(opts ...googleapi.CallOption) (*ListingsListResponse, error)

Do executes the "androidpublisher.edits.listings.list" call. 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 details.

func (*EditsListingsListCall) Header

func (c *EditsListingsListCall) Header() http.Header

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

func (*EditsListingsListCall) IfNoneMatch

func (c *EditsListingsListCall) IfNoneMatch(entityTag string) *EditsListingsListCall

IfNoneMatch sets an 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.

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.

func (*EditsListingsPatchCall) Do

func (c *EditsListingsPatchCall) Do(opts ...googleapi.CallOption) (*Listing, error)

Do executes the "androidpublisher.edits.listings.patch" call. 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 details.

func (*EditsListingsPatchCall) Header

func (c *EditsListingsPatchCall) Header() http.Header

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

type EditsListingsService

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

func NewEditsListingsService

func NewEditsListingsService(s *Service) *EditsListingsService

func (*EditsListingsService) Delete

func (r *EditsListingsService) Delete(packageName string, editId string, language string) *EditsListingsDeleteCall

Delete: Deletes a localized store listing.

func (*EditsListingsService) Deleteall

func (r *EditsListingsService) Deleteall(packageName string, editId string) *EditsListingsDeleteallCall

Deleteall: Deletes all store listings.

- editId: Identifier of the edit. - packageName: Package name of the app.

func (*EditsListingsService) Get

func (r *EditsListingsService) Get(packageName string, editId string, language string) *EditsListingsGetCall

Get: Gets a localized store listing.

func (*EditsListingsService) List

func (r *EditsListingsService) List(packageName string, editId string) *EditsListingsListCall

List: Lists all localized store listings.

- editId: Identifier of the edit. - packageName: Package name of the app.

func (*EditsListingsService) Patch

func (r *EditsListingsService) Patch(packageName string, editId string, language string, listing *Listing) *EditsListingsPatchCall

Patch: Patches a localized store listing.

func (*EditsListingsService) Update

func (r *EditsListingsService) Update(packageName 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.

func (*EditsListingsUpdateCall) Do

func (c *EditsListingsUpdateCall) Do(opts ...googleapi.CallOption) (*Listing, error)

Do executes the "androidpublisher.edits.listings.update" call. 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 details.

func (*EditsListingsUpdateCall) Header

func (c *EditsListingsUpdateCall) Header() http.Header

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

type EditsService

type EditsService struct {
    Apks *EditsApksService

    Bundles *EditsBundlesService

    Countryavailability *EditsCountryavailabilityService

    Deobfuscationfiles *EditsDeobfuscationfilesService

    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(packageName string, editId string) *EditsCommitCall

Commit: Commits an app edit.

- editId: Identifier of the edit. - packageName: Package name of the app.

func (*EditsService) Delete

func (r *EditsService) Delete(packageName string, editId string) *EditsDeleteCall

Delete: Deletes an app edit.

- editId: Identifier of the edit. - packageName: Package name of the app.

func (*EditsService) Get

func (r *EditsService) Get(packageName string, editId string) *EditsGetCall

Get: Gets an app edit.

- editId: Identifier of the edit. - packageName: Package name of the app.

func (*EditsService) Insert

func (r *EditsService) Insert(packageName string, appedit *AppEdit) *EditsInsertCall

Insert: Creates a new edit for an app.

- packageName: Package name of the app.

func (*EditsService) Validate

func (r *EditsService) Validate(packageName string, editId string) *EditsValidateCall

Validate: Validates an app edit.

- editId: Identifier of the edit. - packageName: Package name of the 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.

func (*EditsTestersGetCall) Do

func (c *EditsTestersGetCall) Do(opts ...googleapi.CallOption) (*Testers, error)

Do executes the "androidpublisher.edits.testers.get" call. 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 details.

func (*EditsTestersGetCall) Header

func (c *EditsTestersGetCall) Header() http.Header

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

func (*EditsTestersGetCall) IfNoneMatch

func (c *EditsTestersGetCall) IfNoneMatch(entityTag string) *EditsTestersGetCall

IfNoneMatch sets an 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.

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.

func (*EditsTestersPatchCall) Do

func (c *EditsTestersPatchCall) Do(opts ...googleapi.CallOption) (*Testers, error)

Do executes the "androidpublisher.edits.testers.patch" call. 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 details.

func (*EditsTestersPatchCall) Header

func (c *EditsTestersPatchCall) Header() http.Header

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

type EditsTestersService

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

func NewEditsTestersService

func NewEditsTestersService(s *Service) *EditsTestersService

func (*EditsTestersService) Get

func (r *EditsTestersService) Get(packageName string, editId string, track string) *EditsTestersGetCall

Get: Gets testers. Note: Testers resource does not support email lists.

- editId: Identifier of the edit. - packageName: Package name of the app. - track: The track to read from.

func (*EditsTestersService) Patch

func (r *EditsTestersService) Patch(packageName string, editId string, track string, testers *Testers) *EditsTestersPatchCall

Patch: Patches testers. Note: Testers resource does not support email lists.

- editId: Identifier of the edit. - packageName: Package name of the app. - track: The track to update.

func (*EditsTestersService) Update

func (r *EditsTestersService) Update(packageName string, editId string, track string, testers *Testers) *EditsTestersUpdateCall

Update: Updates testers. Note: Testers resource does not support email lists.

- editId: Identifier of the edit. - packageName: Package name of the app. - track: The track to 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.

func (*EditsTestersUpdateCall) Do

func (c *EditsTestersUpdateCall) Do(opts ...googleapi.CallOption) (*Testers, error)

Do executes the "androidpublisher.edits.testers.update" call. 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 details.

func (*EditsTestersUpdateCall) Header

func (c *EditsTestersUpdateCall) Header() http.Header

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

type EditsTracksCreateCall

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

func (*EditsTracksCreateCall) Context

func (c *EditsTracksCreateCall) Context(ctx context.Context) *EditsTracksCreateCall

Context sets the context to be used in this call's Do method.

func (*EditsTracksCreateCall) Do

func (c *EditsTracksCreateCall) Do(opts ...googleapi.CallOption) (*Track, error)

Do executes the "androidpublisher.edits.tracks.create" call. 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 (*EditsTracksCreateCall) Fields

func (c *EditsTracksCreateCall) Fields(s ...googleapi.Field) *EditsTracksCreateCall

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

func (*EditsTracksCreateCall) Header

func (c *EditsTracksCreateCall) Header() http.Header

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

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.

func (*EditsTracksGetCall) Do

func (c *EditsTracksGetCall) Do(opts ...googleapi.CallOption) (*Track, error)

Do executes the "androidpublisher.edits.tracks.get" call. 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 details.

func (*EditsTracksGetCall) Header

func (c *EditsTracksGetCall) Header() http.Header

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

func (*EditsTracksGetCall) IfNoneMatch

func (c *EditsTracksGetCall) IfNoneMatch(entityTag string) *EditsTracksGetCall

IfNoneMatch sets an 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.

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.

func (*EditsTracksListCall) Do

func (c *EditsTracksListCall) Do(opts ...googleapi.CallOption) (*TracksListResponse, error)

Do executes the "androidpublisher.edits.tracks.list" call. 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 details.

func (*EditsTracksListCall) Header

func (c *EditsTracksListCall) Header() http.Header

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

func (*EditsTracksListCall) IfNoneMatch

func (c *EditsTracksListCall) IfNoneMatch(entityTag string) *EditsTracksListCall

IfNoneMatch sets an 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.

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.

func (*EditsTracksPatchCall) Do

func (c *EditsTracksPatchCall) Do(opts ...googleapi.CallOption) (*Track, error)

Do executes the "androidpublisher.edits.tracks.patch" call. 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 details.

func (*EditsTracksPatchCall) Header

func (c *EditsTracksPatchCall) Header() http.Header

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

type EditsTracksService

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

func NewEditsTracksService

func NewEditsTracksService(s *Service) *EditsTracksService

func (*EditsTracksService) Create

func (r *EditsTracksService) Create(packageName string, editId string, trackconfig *TrackConfig) *EditsTracksCreateCall

Create: Creates a new track.

- editId: Identifier of the edit. - packageName: Package name of the app.

func (*EditsTracksService) Get

func (r *EditsTracksService) Get(packageName string, editId string, track string) *EditsTracksGetCall

Get: Gets a track.

func (*EditsTracksService) List

func (r *EditsTracksService) List(packageName string, editId string) *EditsTracksListCall

List: Lists all tracks.

- editId: Identifier of the edit. - packageName: Package name of the app.

func (*EditsTracksService) Patch

func (r *EditsTracksService) Patch(packageName string, editId string, track string, track2 *Track) *EditsTracksPatchCall

Patch: Patches a track.

func (*EditsTracksService) Update

func (r *EditsTracksService) Update(packageName string, editId string, track string, track2 *Track) *EditsTracksUpdateCall

Update: Updates a track.

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.

func (*EditsTracksUpdateCall) Do

func (c *EditsTracksUpdateCall) Do(opts ...googleapi.CallOption) (*Track, error)

Do executes the "androidpublisher.edits.tracks.update" call. 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 details.

func (*EditsTracksUpdateCall) Header

func (c *EditsTracksUpdateCall) Header() http.Header

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

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.

func (*EditsValidateCall) Do

func (c *EditsValidateCall) Do(opts ...googleapi.CallOption) (*AppEdit, error)

Do executes the "androidpublisher.edits.validate" call. 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 details.

func (*EditsValidateCall) Header

func (c *EditsValidateCall) Header() http.Header

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

type ExpansionFile

ExpansionFile: An expansion file. The resource for ExpansionFilesService.

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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "FileSize") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ExpansionFile) MarshalJSON

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

type ExpansionFilesUploadResponse

ExpansionFilesUploadResponse: Response for uploading an expansion file.

type ExpansionFilesUploadResponse struct {
    // ExpansionFile: The uploaded expansion file configuration.
    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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ExpansionFile") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ExpansionFilesUploadResponse) MarshalJSON

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

type ExternalAccountIdentifiers

ExternalAccountIdentifiers: User account identifier in the third-party service.

type ExternalAccountIdentifiers struct {
    // ExternalAccountId: User account identifier in the third-party service. Only
    // present if account linking happened as part of the subscription purchase
    // flow.
    ExternalAccountId string `json:"externalAccountId,omitempty"`
    // ObfuscatedExternalAccountId: An obfuscated version of the id that is
    // uniquely associated with the user's account in your app. Present for the
    // following purchases: * If account linking happened as part of the
    // subscription purchase flow. * It was specified using
    // https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid
    // when the purchase was made.
    ObfuscatedExternalAccountId string `json:"obfuscatedExternalAccountId,omitempty"`
    // ObfuscatedExternalProfileId: An obfuscated version of the id that is
    // uniquely associated with the user's profile in your app. Only present if
    // specified using
    // https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid
    // when the purchase was made.
    ObfuscatedExternalProfileId string `json:"obfuscatedExternalProfileId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ExternalAccountId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ExternalAccountId") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ExternalAccountIdentifiers) MarshalJSON

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

type ExternalSubscription

ExternalSubscription: Details of an external subscription.

type ExternalSubscription struct {
    // SubscriptionType: Required. The type of the external subscription.
    //
    // Possible values:
    //   "SUBSCRIPTION_TYPE_UNSPECIFIED" - Unspecified, do not use.
    //   "RECURRING" - This is a recurring subscription where the user is charged
    // every billing cycle.
    //   "PREPAID" - This is a prepaid subscription where the user pays up front.
    SubscriptionType string `json:"subscriptionType,omitempty"`
    // ForceSendFields is a list of field names (e.g. "SubscriptionType") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "SubscriptionType") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ExternalSubscription) MarshalJSON

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

type ExternalTransaction

ExternalTransaction: The details of an external transaction.

type ExternalTransaction struct {
    // CreateTime: Output only. The time when this transaction was created. This is
    // the time when Google was notified of the transaction.
    CreateTime string `json:"createTime,omitempty"`
    // CurrentPreTaxAmount: Output only. The current transaction amount before tax.
    // This represents the current pre-tax amount including any refunds that may
    // have been applied to this transaction.
    CurrentPreTaxAmount *Price `json:"currentPreTaxAmount,omitempty"`
    // CurrentTaxAmount: Output only. The current tax amount. This represents the
    // current tax amount including any refunds that may have been applied to this
    // transaction.
    CurrentTaxAmount *Price `json:"currentTaxAmount,omitempty"`
    // ExternalTransactionId: Output only. The id of this transaction. All
    // transaction ids under the same package name must be unique. Set when
    // creating the external transaction.
    ExternalTransactionId string `json:"externalTransactionId,omitempty"`
    // OneTimeTransaction: This is a one-time transaction and not part of a
    // subscription.
    OneTimeTransaction *OneTimeExternalTransaction `json:"oneTimeTransaction,omitempty"`
    // OriginalPreTaxAmount: Required. The original transaction amount before
    // taxes. This represents the pre-tax amount originally notified to Google
    // before any refunds were applied.
    OriginalPreTaxAmount *Price `json:"originalPreTaxAmount,omitempty"`
    // OriginalTaxAmount: Required. The original tax amount. This represents the
    // tax amount originally notified to Google before any refunds were applied.
    OriginalTaxAmount *Price `json:"originalTaxAmount,omitempty"`
    // PackageName: Output only. The resource name of the external transaction. The
    // package name of the application the inapp products were sold (for example,
    // 'com.some.app').
    PackageName string `json:"packageName,omitempty"`
    // RecurringTransaction: This transaction is part of a recurring series of
    // transactions.
    RecurringTransaction *RecurringExternalTransaction `json:"recurringTransaction,omitempty"`
    // TestPurchase: Output only. If set, this transaction was a test purchase.
    // Google will not charge for a test transaction.
    TestPurchase *ExternalTransactionTestPurchase `json:"testPurchase,omitempty"`
    // TransactionState: Output only. The current state of the transaction.
    //
    // Possible values:
    //   "TRANSACTION_STATE_UNSPECIFIED" - Unspecified transaction state. Not used.
    //   "TRANSACTION_REPORTED" - The transaction has been successfully reported to
    // Google.
    //   "TRANSACTION_CANCELED" - The transaction has been fully refunded.
    TransactionState string `json:"transactionState,omitempty"`
    // TransactionTime: Required. The time when the transaction was completed.
    TransactionTime string `json:"transactionTime,omitempty"`
    // UserTaxAddress: Required. User address for tax computation.
    UserTaxAddress *ExternalTransactionAddress `json:"userTaxAddress,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "CreateTime") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CreateTime") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ExternalTransaction) MarshalJSON

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

type ExternalTransactionAddress

ExternalTransactionAddress: User's address for the external transaction.

type ExternalTransactionAddress struct {
    // AdministrativeArea: Optional. Top-level administrative subdivision of the
    // country/region. Only required for transactions in India. Valid values are
    // "ANDAMAN AND NICOBAR ISLANDS", "ANDHRA PRADESH", "ARUNACHAL PRADESH",
    // "ASSAM", "BIHAR", "CHANDIGARH", "CHHATTISGARH", "DADRA AND NAGAR HAVELI",
    // "DADRA AND NAGAR HAVELI AND DAMAN AND DIU", "DAMAN AND DIU", "DELHI", "GOA",
    // "GUJARAT", "HARYANA", "HIMACHAL PRADESH", "JAMMU AND KASHMIR", "JHARKHAND",
    // "KARNATAKA", "KERALA", "LADAKH", "LAKSHADWEEP", "MADHYA PRADESH",
    // "MAHARASHTRA", "MANIPUR", "MEGHALAYA", "MIZORAM", "NAGALAND", "ODISHA",
    // "PUDUCHERRY", "PUNJAB", "RAJASTHAN", "SIKKIM", "TAMIL NADU", "TELANGANA",
    // "TRIPURA", "UTTAR PRADESH", "UTTARAKHAND", and "WEST BENGAL".
    AdministrativeArea string `json:"administrativeArea,omitempty"`
    // RegionCode: Required. Two letter region code based on ISO-3166-1 Alpha-2 (UN
    // region codes).
    RegionCode string `json:"regionCode,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AdministrativeArea") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AdministrativeArea") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ExternalTransactionAddress) MarshalJSON

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

type ExternalTransactionTestPurchase

ExternalTransactionTestPurchase: Represents a transaction performed using a test account. These transactions will not be charged by Google.

type ExternalTransactionTestPurchase struct {
}

type ExternallyHostedApk

ExternallyHostedApk: Defines an APK available for this application that is hosted externally and not uploaded to Google Play. This function is only available to organizations using Managed Play whose application is configured to restrict distribution to the organizations.

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 sign 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 []*UsesPermission `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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ApplicationLabel") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ExternallyHostedApk) MarshalJSON

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

type ExternaltransactionsCreateexternaltransactionCall

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

func (*ExternaltransactionsCreateexternaltransactionCall) Context

func (c *ExternaltransactionsCreateexternaltransactionCall) Context(ctx context.Context) *ExternaltransactionsCreateexternaltransactionCall

Context sets the context to be used in this call's Do method.

func (*ExternaltransactionsCreateexternaltransactionCall) Do

func (c *ExternaltransactionsCreateexternaltransactionCall) Do(opts ...googleapi.CallOption) (*ExternalTransaction, error)

Do executes the "androidpublisher.externaltransactions.createexternaltransaction" call. Any non-2xx status code is an error. Response headers are in either *ExternalTransaction.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 (*ExternaltransactionsCreateexternaltransactionCall) ExternalTransactionId

func (c *ExternaltransactionsCreateexternaltransactionCall) ExternalTransactionId(externalTransactionId string) *ExternaltransactionsCreateexternaltransactionCall

ExternalTransactionId sets the optional parameter "externalTransactionId": Required. The id to use for the external transaction. Must be unique across all other transactions for the app. This value should be 1-63 characters and valid characters are /a-zA-Z0-9_-/. Do not use this field to store any Personally Identifiable Information (PII) such as emails. Attempting to store PII in this field may result in requests being blocked.

func (*ExternaltransactionsCreateexternaltransactionCall) Fields

func (c *ExternaltransactionsCreateexternaltransactionCall) Fields(s ...googleapi.Field) *ExternaltransactionsCreateexternaltransactionCall

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

func (*ExternaltransactionsCreateexternaltransactionCall) Header

func (c *ExternaltransactionsCreateexternaltransactionCall) Header() http.Header

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

type ExternaltransactionsGetexternaltransactionCall

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

func (*ExternaltransactionsGetexternaltransactionCall) Context

func (c *ExternaltransactionsGetexternaltransactionCall) Context(ctx context.Context) *ExternaltransactionsGetexternaltransactionCall

Context sets the context to be used in this call's Do method.

func (*ExternaltransactionsGetexternaltransactionCall) Do

func (c *ExternaltransactionsGetexternaltransactionCall) Do(opts ...googleapi.CallOption) (*ExternalTransaction, error)

Do executes the "androidpublisher.externaltransactions.getexternaltransaction" call. Any non-2xx status code is an error. Response headers are in either *ExternalTransaction.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 (*ExternaltransactionsGetexternaltransactionCall) Fields

func (c *ExternaltransactionsGetexternaltransactionCall) Fields(s ...googleapi.Field) *ExternaltransactionsGetexternaltransactionCall

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

func (*ExternaltransactionsGetexternaltransactionCall) Header

func (c *ExternaltransactionsGetexternaltransactionCall) Header() http.Header

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

func (*ExternaltransactionsGetexternaltransactionCall) IfNoneMatch

func (c *ExternaltransactionsGetexternaltransactionCall) IfNoneMatch(entityTag string) *ExternaltransactionsGetexternaltransactionCall

IfNoneMatch sets an 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.

type ExternaltransactionsRefundexternaltransactionCall

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

func (*ExternaltransactionsRefundexternaltransactionCall) Context

func (c *ExternaltransactionsRefundexternaltransactionCall) Context(ctx context.Context) *ExternaltransactionsRefundexternaltransactionCall

Context sets the context to be used in this call's Do method.

func (*ExternaltransactionsRefundexternaltransactionCall) Do

func (c *ExternaltransactionsRefundexternaltransactionCall) Do(opts ...googleapi.CallOption) (*ExternalTransaction, error)

Do executes the "androidpublisher.externaltransactions.refundexternaltransaction" call. Any non-2xx status code is an error. Response headers are in either *ExternalTransaction.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 (*ExternaltransactionsRefundexternaltransactionCall) Fields

func (c *ExternaltransactionsRefundexternaltransactionCall) Fields(s ...googleapi.Field) *ExternaltransactionsRefundexternaltransactionCall

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

func (*ExternaltransactionsRefundexternaltransactionCall) Header

func (c *ExternaltransactionsRefundexternaltransactionCall) Header() http.Header

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

type ExternaltransactionsService

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

func NewExternaltransactionsService

func NewExternaltransactionsService(s *Service) *ExternaltransactionsService

func (*ExternaltransactionsService) Createexternaltransaction

func (r *ExternaltransactionsService) Createexternaltransaction(parent string, externaltransaction *ExternalTransaction) *ExternaltransactionsCreateexternaltransactionCall

Createexternaltransaction: Creates a new external transaction.

func (*ExternaltransactionsService) Getexternaltransaction

func (r *ExternaltransactionsService) Getexternaltransaction(name string) *ExternaltransactionsGetexternaltransactionCall

Getexternaltransaction: Gets an existing external transaction.

func (*ExternaltransactionsService) Refundexternaltransaction

func (r *ExternaltransactionsService) Refundexternaltransaction(name string, refundexternaltransactionrequest *RefundExternalTransactionRequest) *ExternaltransactionsRefundexternaltransactionCall

Refundexternaltransaction: Refunds or partially refunds an existing external transaction.

type FullRefund

FullRefund: A full refund of the remaining amount of a transaction.

type FullRefund struct {
}

type GeneratedApksListResponse

GeneratedApksListResponse: Response to list generated APKs.

type GeneratedApksListResponse struct {
    // GeneratedApks: All generated APKs, grouped by the APK signing key.
    GeneratedApks []*GeneratedApksPerSigningKey `json:"generatedApks,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "GeneratedApks") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "GeneratedApks") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GeneratedApksListResponse) MarshalJSON

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

type GeneratedApksPerSigningKey

GeneratedApksPerSigningKey: Download metadata for split, standalone and universal APKs, as well as asset pack slices, signed with a given key.

type GeneratedApksPerSigningKey struct {
    // CertificateSha256Hash: SHA256 hash of the APK signing public key
    // certificate.
    CertificateSha256Hash string `json:"certificateSha256Hash,omitempty"`
    // GeneratedAssetPackSlices: List of asset pack slices which will be served for
    // this app bundle, signed with a key corresponding to certificate_sha256_hash.
    GeneratedAssetPackSlices []*GeneratedAssetPackSlice `json:"generatedAssetPackSlices,omitempty"`
    // GeneratedRecoveryModules: Generated recovery apks for recovery actions
    // signed with a key corresponding to certificate_sha256_hash. This includes
    // all generated recovery APKs, also those in draft or cancelled state. This
    // field is not set if no recovery actions were created for this signing key.
    GeneratedRecoveryModules []*GeneratedRecoveryApk `json:"generatedRecoveryModules,omitempty"`
    // GeneratedSplitApks: List of generated split APKs, signed with a key
    // corresponding to certificate_sha256_hash.
    GeneratedSplitApks []*GeneratedSplitApk `json:"generatedSplitApks,omitempty"`
    // GeneratedStandaloneApks: List of generated standalone APKs, signed with a
    // key corresponding to certificate_sha256_hash.
    GeneratedStandaloneApks []*GeneratedStandaloneApk `json:"generatedStandaloneApks,omitempty"`
    // GeneratedUniversalApk: Generated universal APK, signed with a key
    // corresponding to certificate_sha256_hash. This field is not set if no
    // universal APK was generated for this signing key.
    GeneratedUniversalApk *GeneratedUniversalApk `json:"generatedUniversalApk,omitempty"`
    // TargetingInfo: Contains targeting information about the generated apks.
    TargetingInfo *TargetingInfo `json:"targetingInfo,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CertificateSha256Hash") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CertificateSha256Hash") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GeneratedApksPerSigningKey) MarshalJSON

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

type GeneratedAssetPackSlice

GeneratedAssetPackSlice: Download metadata for an asset pack slice.

type GeneratedAssetPackSlice struct {
    // DownloadId: Download ID, which uniquely identifies the APK to download.
    // Should be supplied to `generatedapks.download` method.
    DownloadId string `json:"downloadId,omitempty"`
    // ModuleName: Name of the module that this asset slice belongs to.
    ModuleName string `json:"moduleName,omitempty"`
    // SliceId: Asset slice ID.
    SliceId string `json:"sliceId,omitempty"`
    // Version: Asset module version.
    Version int64 `json:"version,omitempty,string"`
    // ForceSendFields is a list of field names (e.g. "DownloadId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DownloadId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GeneratedAssetPackSlice) MarshalJSON

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

type GeneratedRecoveryApk

GeneratedRecoveryApk: Download metadata for an app recovery module.

type GeneratedRecoveryApk struct {
    // DownloadId: Download ID, which uniquely identifies the APK to download.
    // Should be supplied to `generatedapks.download` method.
    DownloadId string `json:"downloadId,omitempty"`
    // ModuleName: Name of the module which recovery apk belongs to.
    ModuleName string `json:"moduleName,omitempty"`
    // RecoveryId: ID of the recovery action.
    RecoveryId int64 `json:"recoveryId,omitempty,string"`
    // RecoveryStatus: The status of the recovery action corresponding to the
    // recovery apk.
    //
    // Possible values:
    //   "RECOVERY_STATUS_UNSPECIFIED" - RecoveryStatus is unspecified.
    //   "RECOVERY_STATUS_ACTIVE" - The app recovery action has not been canceled
    // since it has been created.
    //   "RECOVERY_STATUS_CANCELED" - The recovery action has been canceled. The
    // action cannot be resumed.
    //   "RECOVERY_STATUS_DRAFT" - The recovery action is in the draft state and
    // has not yet been deployed to users.
    //   "RECOVERY_STATUS_GENERATION_IN_PROGRESS" - The recovery action is
    // generating recovery apks.
    //   "RECOVERY_STATUS_GENERATION_FAILED" - The app recovery action generation
    // has failed.
    RecoveryStatus string `json:"recoveryStatus,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DownloadId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DownloadId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GeneratedRecoveryApk) MarshalJSON

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

type GeneratedSplitApk

GeneratedSplitApk: Download metadata for a split APK.

type GeneratedSplitApk struct {
    // DownloadId: Download ID, which uniquely identifies the APK to download.
    // Should be supplied to `generatedapks.download` method.
    DownloadId string `json:"downloadId,omitempty"`
    // ModuleName: Name of the module that this APK belongs to.
    ModuleName string `json:"moduleName,omitempty"`
    // SplitId: Split ID. Empty for the main split of the base module.
    SplitId string `json:"splitId,omitempty"`
    // VariantId: ID of the generated variant.
    VariantId int64 `json:"variantId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DownloadId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DownloadId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GeneratedSplitApk) MarshalJSON

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

type GeneratedStandaloneApk

GeneratedStandaloneApk: Download metadata for a standalone APK.

type GeneratedStandaloneApk struct {
    // DownloadId: Download ID, which uniquely identifies the APK to download.
    // Should be supplied to `generatedapks.download` method.
    DownloadId string `json:"downloadId,omitempty"`
    // VariantId: ID of the generated variant.
    VariantId int64 `json:"variantId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DownloadId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DownloadId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GeneratedStandaloneApk) MarshalJSON

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

type GeneratedUniversalApk

GeneratedUniversalApk: Download metadata for a universal APK.

type GeneratedUniversalApk struct {
    // DownloadId: Download ID, which uniquely identifies the APK to download.
    // Should be supplied to `generatedapks.download` method.
    DownloadId string `json:"downloadId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DownloadId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DownloadId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GeneratedUniversalApk) MarshalJSON

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

type GeneratedapksDownloadCall

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

func (*GeneratedapksDownloadCall) Context

func (c *GeneratedapksDownloadCall) Context(ctx context.Context) *GeneratedapksDownloadCall

Context sets the context to be used in this call's Do and Download methods.

func (*GeneratedapksDownloadCall) Do

func (c *GeneratedapksDownloadCall) Do(opts ...googleapi.CallOption) error

Do executes the "androidpublisher.generatedapks.download" call.

func (*GeneratedapksDownloadCall) Download

func (c *GeneratedapksDownloadCall) Download(opts ...googleapi.CallOption) (*http.Response, error)

Download fetches the API endpoint's "media" value, instead of the normal API response value. If the returned error is nil, the Response is guaranteed to have a 2xx status code. Callers must close the Response.Body as usual.

func (*GeneratedapksDownloadCall) Fields

func (c *GeneratedapksDownloadCall) Fields(s ...googleapi.Field) *GeneratedapksDownloadCall

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

func (*GeneratedapksDownloadCall) Header

func (c *GeneratedapksDownloadCall) Header() http.Header

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

func (*GeneratedapksDownloadCall) IfNoneMatch

func (c *GeneratedapksDownloadCall) IfNoneMatch(entityTag string) *GeneratedapksDownloadCall

IfNoneMatch sets an 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.

type GeneratedapksListCall

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

func (*GeneratedapksListCall) Context

func (c *GeneratedapksListCall) Context(ctx context.Context) *GeneratedapksListCall

Context sets the context to be used in this call's Do method.

func (*GeneratedapksListCall) Do

func (c *GeneratedapksListCall) Do(opts ...googleapi.CallOption) (*GeneratedApksListResponse, error)

Do executes the "androidpublisher.generatedapks.list" call. Any non-2xx status code is an error. Response headers are in either *GeneratedApksListResponse.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 (*GeneratedapksListCall) Fields

func (c *GeneratedapksListCall) Fields(s ...googleapi.Field) *GeneratedapksListCall

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

func (*GeneratedapksListCall) Header

func (c *GeneratedapksListCall) Header() http.Header

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

func (*GeneratedapksListCall) IfNoneMatch

func (c *GeneratedapksListCall) IfNoneMatch(entityTag string) *GeneratedapksListCall

IfNoneMatch sets an 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.

type GeneratedapksService

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

func NewGeneratedapksService

func NewGeneratedapksService(s *Service) *GeneratedapksService

func (*GeneratedapksService) Download

func (r *GeneratedapksService) Download(packageName string, versionCode int64, downloadId string) *GeneratedapksDownloadCall

Download: Downloads a single signed APK generated from an app bundle.

func (*GeneratedapksService) List

func (r *GeneratedapksService) List(packageName string, versionCode int64) *GeneratedapksListCall

List: Returns download metadata for all APKs that were generated from a given app bundle.

- packageName: Package name of the app. - versionCode: Version code of the app bundle.

type GetSubscriptionOfferRequest

GetSubscriptionOfferRequest: Request message for GetSubscriptionOffer.

type GetSubscriptionOfferRequest struct {
    // BasePlanId: Required. The parent base plan (ID) of the offer to get.
    BasePlanId string `json:"basePlanId,omitempty"`
    // OfferId: Required. The unique offer ID of the offer to get.
    OfferId string `json:"offerId,omitempty"`
    // PackageName: Required. The parent app (package name) of the offer to get.
    PackageName string `json:"packageName,omitempty"`
    // ProductId: Required. The parent subscription (ID) of the offer to get.
    ProductId string `json:"productId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BasePlanId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BasePlanId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*GetSubscriptionOfferRequest) MarshalJSON

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

type Grant

Grant: An access grant resource.

type Grant struct {
    // AppLevelPermissions: The permissions granted to the user for this app.
    //
    // Possible values:
    //   "APP_LEVEL_PERMISSION_UNSPECIFIED" - Unknown or unspecified permission.
    //   "CAN_ACCESS_APP" - View app information (read-only). Deprecated: Try
    // defining a more granular capability. Otherwise, check
    // AppLevelPermission.CAN_VIEW_NON_FINANCIAL_DATA.
    //   "CAN_VIEW_FINANCIAL_DATA" - View financial data.
    //   "CAN_MANAGE_PERMISSIONS" - Admin (all permissions).
    //   "CAN_REPLY_TO_REVIEWS" - Reply to reviews.
    //   "CAN_MANAGE_PUBLIC_APKS" - Release to production, exclude devices, and use
    // app signing by Google Play.
    //   "CAN_MANAGE_TRACK_APKS" - Release to testing tracks.
    //   "CAN_MANAGE_TRACK_USERS" - Manage testing tracks and edit tester lists.
    //   "CAN_MANAGE_PUBLIC_LISTING" - Manage store presence.
    //   "CAN_MANAGE_DRAFT_APPS" - Edit and delete draft apps.
    //   "CAN_MANAGE_ORDERS" - Manage orders and subscriptions.
    //   "CAN_MANAGE_APP_CONTENT" - Manage policy related pages.
    //   "CAN_VIEW_NON_FINANCIAL_DATA" - View app information (read-only).
    //   "CAN_VIEW_APP_QUALITY" - View app quality data such as Vitals, Crashes
    // etc.
    //   "CAN_MANAGE_DEEPLINKS" - Manage the deep links setup of an app.
    AppLevelPermissions []string `json:"appLevelPermissions,omitempty"`
    // Name: Required. Resource name for this grant, following the pattern
    // "developers/{developer}/users/{email}/grants/{package_name}". If this grant
    // is for a draft app, the app ID will be used in this resource name instead of
    // the package name.
    Name string `json:"name,omitempty"`
    // PackageName: Immutable. The package name of the app. This will be empty for
    // draft apps.
    PackageName string `json:"packageName,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "AppLevelPermissions") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AppLevelPermissions") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Grant) MarshalJSON

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

type GrantsCreateCall

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

func (*GrantsCreateCall) Context

func (c *GrantsCreateCall) Context(ctx context.Context) *GrantsCreateCall

Context sets the context to be used in this call's Do method.

func (*GrantsCreateCall) Do

func (c *GrantsCreateCall) Do(opts ...googleapi.CallOption) (*Grant, error)

Do executes the "androidpublisher.grants.create" call. Any non-2xx status code is an error. Response headers are in either *Grant.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 (*GrantsCreateCall) Fields

func (c *GrantsCreateCall) Fields(s ...googleapi.Field) *GrantsCreateCall

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

func (*GrantsCreateCall) Header

func (c *GrantsCreateCall) Header() http.Header

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

type GrantsDeleteCall

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

func (*GrantsDeleteCall) Context

func (c *GrantsDeleteCall) Context(ctx context.Context) *GrantsDeleteCall

Context sets the context to be used in this call's Do method.

func (*GrantsDeleteCall) Do

func (c *GrantsDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "androidpublisher.grants.delete" call.

func (*GrantsDeleteCall) Fields

func (c *GrantsDeleteCall) Fields(s ...googleapi.Field) *GrantsDeleteCall

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

func (*GrantsDeleteCall) Header

func (c *GrantsDeleteCall) Header() http.Header

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

type GrantsPatchCall

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

func (*GrantsPatchCall) Context

func (c *GrantsPatchCall) Context(ctx context.Context) *GrantsPatchCall

Context sets the context to be used in this call's Do method.

func (*GrantsPatchCall) Do

func (c *GrantsPatchCall) Do(opts ...googleapi.CallOption) (*Grant, error)

Do executes the "androidpublisher.grants.patch" call. Any non-2xx status code is an error. Response headers are in either *Grant.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 (*GrantsPatchCall) Fields

func (c *GrantsPatchCall) Fields(s ...googleapi.Field) *GrantsPatchCall

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

func (*GrantsPatchCall) Header

func (c *GrantsPatchCall) Header() http.Header

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

func (*GrantsPatchCall) UpdateMask

func (c *GrantsPatchCall) UpdateMask(updateMask string) *GrantsPatchCall

UpdateMask sets the optional parameter "updateMask": The list of fields to be updated.

type GrantsService

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

func NewGrantsService

func NewGrantsService(s *Service) *GrantsService

func (*GrantsService) Create

func (r *GrantsService) Create(parent string, grant *Grant) *GrantsCreateCall

Create: Grant access for a user to the given package.

func (*GrantsService) Delete

func (r *GrantsService) Delete(name string) *GrantsDeleteCall

Delete: Removes all access for the user to the given package or developer account.

func (*GrantsService) Patch

func (r *GrantsService) Patch(name string, grant *Grant) *GrantsPatchCall

Patch: Updates access for the user to the given package.

type Image

Image: An uploaded image. The resource for ImagesService.

type Image struct {
    // Id: A unique id representing this image.
    Id string `json:"id,omitempty"`
    // Sha1: A sha1 hash of the image.
    Sha1 string `json:"sha1,omitempty"`
    // Sha256: A sha256 hash of the image.
    Sha256 string `json:"sha256,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 or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Id") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Image) MarshalJSON

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

type ImagesDeleteAllResponse

ImagesDeleteAllResponse: Response for deleting all images.

type ImagesDeleteAllResponse struct {
    // Deleted: The deleted images.
    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 or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Deleted") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ImagesDeleteAllResponse) MarshalJSON

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

type ImagesListResponse

ImagesListResponse: Response listing all images.

type ImagesListResponse struct {
    // Images: All listed Images.
    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 or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Images") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ImagesListResponse) MarshalJSON

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

type ImagesUploadResponse

ImagesUploadResponse: Response for uploading an image.

type ImagesUploadResponse struct {
    // Image: The uploaded image.
    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 or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Image") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ImagesUploadResponse) MarshalJSON

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

type InAppProduct

InAppProduct: An in-app product. The resource for InappproductsService.

type InAppProduct struct {
    // DefaultLanguage: Default language of the localized data, as defined by
    // BCP-47. e.g. "en-US".
    DefaultLanguage string `json:"defaultLanguage,omitempty"`
    // DefaultPrice: Default price. Cannot be zero, as in-app products are never
    // free. Always in the developer's Checkout merchant currency.
    DefaultPrice *Price `json:"defaultPrice,omitempty"`
    // GracePeriod: Grace period of the subscription, specified in ISO 8601 format.
    // Allows developers to give their subscribers a grace period when the payment
    // for the new recurrence period is declined. Acceptable values are P0D (zero
    // days), P3D (three days), P7D (seven days), P14D (14 days), and P30D (30
    // days).
    GracePeriod string `json:"gracePeriod,omitempty"`
    // Listings: List of localized title and description data. Map key is the
    // language of the localized data, as defined by BCP-47, e.g. "en-US".
    Listings map[string]InAppProductListing `json:"listings,omitempty"`
    // ManagedProductTaxesAndComplianceSettings: Details about taxes and legal
    // compliance. Only applicable to managed products.
    ManagedProductTaxesAndComplianceSettings *ManagedProductTaxAndComplianceSettings `json:"managedProductTaxesAndComplianceSettings,omitempty"`
    // PackageName: Package name of the parent app.
    PackageName string `json:"packageName,omitempty"`
    // Prices: Prices per buyer region. None of these can be zero, as in-app
    // products are never free. Map key is region code, as defined by ISO 3166-2.
    Prices map[string]Price `json:"prices,omitempty"`
    // PurchaseType: The type of the product, e.g. a recurring subscription.
    //
    // Possible values:
    //   "purchaseTypeUnspecified" - Unspecified purchase type.
    //   "managedUser" - The default product type - one time purchase.
    //   "subscription" - In-app product with a recurring period.
    PurchaseType string `json:"purchaseType,omitempty"`
    // Sku: Stock-keeping-unit (SKU) of the product, unique within an app.
    Sku string `json:"sku,omitempty"`
    // Status: The status of the product, e.g. whether it's active.
    //
    // Possible values:
    //   "statusUnspecified" - Unspecified status.
    //   "active" - The product is published and active in the store.
    //   "inactive" - The product is not published and therefore inactive in the
    // store.
    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"`
    // SubscriptionTaxesAndComplianceSettings: Details about taxes and legal
    // compliance. Only applicable to subscription products.
    SubscriptionTaxesAndComplianceSettings *SubscriptionTaxAndComplianceSettings `json:"subscriptionTaxesAndComplianceSettings,omitempty"`
    // TrialPeriod: Trial period, specified in ISO 8601 format. Acceptable values
    // are anything between P7D (seven days) and P999D (999 days).
    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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DefaultLanguage") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*InAppProduct) MarshalJSON

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

type InAppProductListing

InAppProductListing: Store listing of a single in-app product.

type InAppProductListing struct {
    // Benefits: Localized entitlement benefits for a subscription.
    Benefits []string `json:"benefits,omitempty"`
    // Description: Description for the store listing.
    Description string `json:"description,omitempty"`
    // Title: Title for the store listing.
    Title string `json:"title,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Benefits") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Benefits") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*InAppProductListing) MarshalJSON

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

type InappproductsBatchDeleteCall

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

func (*InappproductsBatchDeleteCall) Context

func (c *InappproductsBatchDeleteCall) Context(ctx context.Context) *InappproductsBatchDeleteCall

Context sets the context to be used in this call's Do method.

func (*InappproductsBatchDeleteCall) Do

func (c *InappproductsBatchDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "androidpublisher.inappproducts.batchDelete" call.

func (*InappproductsBatchDeleteCall) Fields

func (c *InappproductsBatchDeleteCall) Fields(s ...googleapi.Field) *InappproductsBatchDeleteCall

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

func (*InappproductsBatchDeleteCall) Header

func (c *InappproductsBatchDeleteCall) Header() http.Header

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

type InappproductsBatchDeleteRequest

InappproductsBatchDeleteRequest: Request to delete multiple in-app products.

type InappproductsBatchDeleteRequest struct {
    // Requests: Individual delete requests. At least one request is required. Can
    // contain up to 100 requests. All requests must correspond to different in-app
    // products.
    Requests []*InappproductsDeleteRequest `json:"requests,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Requests") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Requests") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*InappproductsBatchDeleteRequest) MarshalJSON

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

type InappproductsBatchGetCall

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

func (*InappproductsBatchGetCall) Context

func (c *InappproductsBatchGetCall) Context(ctx context.Context) *InappproductsBatchGetCall

Context sets the context to be used in this call's Do method.

func (*InappproductsBatchGetCall) Do

func (c *InappproductsBatchGetCall) Do(opts ...googleapi.CallOption) (*InappproductsBatchGetResponse, error)

Do executes the "androidpublisher.inappproducts.batchGet" call. Any non-2xx status code is an error. Response headers are in either *InappproductsBatchGetResponse.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 (*InappproductsBatchGetCall) Fields

func (c *InappproductsBatchGetCall) Fields(s ...googleapi.Field) *InappproductsBatchGetCall

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

func (*InappproductsBatchGetCall) Header

func (c *InappproductsBatchGetCall) Header() http.Header

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

func (*InappproductsBatchGetCall) IfNoneMatch

func (c *InappproductsBatchGetCall) IfNoneMatch(entityTag string) *InappproductsBatchGetCall

IfNoneMatch sets an 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.

func (*InappproductsBatchGetCall) Sku

func (c *InappproductsBatchGetCall) Sku(sku ...string) *InappproductsBatchGetCall

Sku sets the optional parameter "sku": Unique identifier for the in-app products.

type InappproductsBatchGetResponse

InappproductsBatchGetResponse: Response message for BatchGetSubscriptions endpoint.

type InappproductsBatchGetResponse struct {
    // Inappproduct: The list of requested in-app products, in the same order as
    // the request.
    Inappproduct []*InAppProduct `json:"inappproduct,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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Inappproduct") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*InappproductsBatchGetResponse) MarshalJSON

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

type InappproductsBatchUpdateCall

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

func (*InappproductsBatchUpdateCall) Context

func (c *InappproductsBatchUpdateCall) Context(ctx context.Context) *InappproductsBatchUpdateCall

Context sets the context to be used in this call's Do method.

func (*InappproductsBatchUpdateCall) Do

func (c *InappproductsBatchUpdateCall) Do(opts ...googleapi.CallOption) (*InappproductsBatchUpdateResponse, error)

Do executes the "androidpublisher.inappproducts.batchUpdate" call. Any non-2xx status code is an error. Response headers are in either *InappproductsBatchUpdateResponse.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 (*InappproductsBatchUpdateCall) Fields

func (c *InappproductsBatchUpdateCall) Fields(s ...googleapi.Field) *InappproductsBatchUpdateCall

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

func (*InappproductsBatchUpdateCall) Header

func (c *InappproductsBatchUpdateCall) Header() http.Header

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

type InappproductsBatchUpdateRequest

InappproductsBatchUpdateRequest: Request to update or insert one or more in-app products.

type InappproductsBatchUpdateRequest struct {
    // Requests: Required. Individual update requests. At least one request is
    // required. Can contain up to 100 requests. All requests must correspond to
    // different in-app products.
    Requests []*InappproductsUpdateRequest `json:"requests,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Requests") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Requests") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*InappproductsBatchUpdateRequest) MarshalJSON

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

type InappproductsBatchUpdateResponse

InappproductsBatchUpdateResponse: Response for a batch in-app product update.

type InappproductsBatchUpdateResponse struct {
    // Inappproducts: The updated or inserted in-app products.
    Inappproducts []*InAppProduct `json:"inappproducts,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Inappproducts") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Inappproducts") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*InappproductsBatchUpdateResponse) MarshalJSON

func (s *InappproductsBatchUpdateResponse) 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.

func (*InappproductsDeleteCall) Do

func (c *InappproductsDeleteCall) Do(opts ...googleapi.CallOption) 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 details.

func (*InappproductsDeleteCall) Header

func (c *InappproductsDeleteCall) Header() http.Header

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

func (*InappproductsDeleteCall) LatencyTolerance

func (c *InappproductsDeleteCall) LatencyTolerance(latencyTolerance string) *InappproductsDeleteCall

LatencyTolerance sets the optional parameter "latencyTolerance": The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.

Possible values:

"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to

PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.

"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will

propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.

"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will

propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods.

type InappproductsDeleteRequest

InappproductsDeleteRequest: Request to delete an in-app product.

type InappproductsDeleteRequest struct {
    // LatencyTolerance: Optional. The latency tolerance for the propagation of
    // this product update. Defaults to latency-sensitive.
    //
    // Possible values:
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to
    // PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will
    // propagate to clients within several minutes on average and up to a few hours
    // in rare cases. Throughput is limited to 7,200 updates per app per hour.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will
    // propagate to clients within 24 hours. Supports high throughput of up to
    // 720,000 updates per app per hour using batch modification methods.
    LatencyTolerance string `json:"latencyTolerance,omitempty"`
    // PackageName: Package name of the app.
    PackageName string `json:"packageName,omitempty"`
    // Sku: Unique identifier for the in-app product.
    Sku string `json:"sku,omitempty"`
    // ForceSendFields is a list of field names (e.g. "LatencyTolerance") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "LatencyTolerance") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*InappproductsDeleteRequest) MarshalJSON

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

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.

func (*InappproductsGetCall) Do

func (c *InappproductsGetCall) Do(opts ...googleapi.CallOption) (*InAppProduct, error)

Do executes the "androidpublisher.inappproducts.get" call. 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 details.

func (*InappproductsGetCall) Header

func (c *InappproductsGetCall) Header() http.Header

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

func (*InappproductsGetCall) IfNoneMatch

func (c *InappproductsGetCall) IfNoneMatch(entityTag string) *InappproductsGetCall

IfNoneMatch sets an 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.

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.

func (*InappproductsInsertCall) Do

func (c *InappproductsInsertCall) Do(opts ...googleapi.CallOption) (*InAppProduct, error)

Do executes the "androidpublisher.inappproducts.insert" call. 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 details.

func (*InappproductsInsertCall) Header

func (c *InappproductsInsertCall) Header() http.Header

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

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.

func (*InappproductsListCall) Do

func (c *InappproductsListCall) Do(opts ...googleapi.CallOption) (*InappproductsListResponse, error)

Do executes the "androidpublisher.inappproducts.list" call. 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 details.

func (*InappproductsListCall) Header

func (c *InappproductsListCall) Header() http.Header

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

func (*InappproductsListCall) IfNoneMatch

func (c *InappproductsListCall) IfNoneMatch(entityTag string) *InappproductsListCall

IfNoneMatch sets an 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.

func (*InappproductsListCall) MaxResults

func (c *InappproductsListCall) MaxResults(maxResults int64) *InappproductsListCall

MaxResults sets the optional parameter "maxResults": Deprecated and ignored. The page size is determined by the server.

func (*InappproductsListCall) StartIndex

func (c *InappproductsListCall) StartIndex(startIndex int64) *InappproductsListCall

StartIndex sets the optional parameter "startIndex": Deprecated and ignored. Set the `token` parameter to retrieve the next page.

func (*InappproductsListCall) Token

func (c *InappproductsListCall) Token(token string) *InappproductsListCall

Token sets the optional parameter "token": Pagination token. If empty, list starts at the first product.

type InappproductsListResponse

InappproductsListResponse: Response listing all in-app products.

type InappproductsListResponse struct {
    // Inappproduct: All in-app products.
    Inappproduct []*InAppProduct `json:"inappproduct,omitempty"`
    // Kind: The kind of this response
    // ("androidpublisher#inappproductsListResponse").
    Kind string `json:"kind,omitempty"`
    // PageInfo: Deprecated and unset.
    PageInfo *PageInfo `json:"pageInfo,omitempty"`
    // TokenPagination: Pagination token, to handle a number of products that is
    // over one page.
    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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Inappproduct") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []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.

func (*InappproductsPatchCall) Do

func (c *InappproductsPatchCall) Do(opts ...googleapi.CallOption) (*InAppProduct, error)

Do executes the "androidpublisher.inappproducts.patch" call. 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 details.

func (*InappproductsPatchCall) Header

func (c *InappproductsPatchCall) Header() http.Header

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

func (*InappproductsPatchCall) LatencyTolerance

func (c *InappproductsPatchCall) LatencyTolerance(latencyTolerance string) *InappproductsPatchCall

LatencyTolerance sets the optional parameter "latencyTolerance": The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.

Possible values:

"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to

PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.

"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will

propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.

"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will

propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods.

type InappproductsService

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

func NewInappproductsService

func NewInappproductsService(s *Service) *InappproductsService

func (*InappproductsService) BatchDelete

func (r *InappproductsService) BatchDelete(packageName string, inappproductsbatchdeleterequest *InappproductsBatchDeleteRequest) *InappproductsBatchDeleteCall

BatchDelete: Deletes in-app products (managed products or subscriptions). Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. This method should not be used to delete subscriptions. See this article (https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.

- packageName: Package name of the app.

func (*InappproductsService) BatchGet

func (r *InappproductsService) BatchGet(packageName string) *InappproductsBatchGetCall

BatchGet: Reads multiple in-app products, which can be managed products or subscriptions. This method should not be used to retrieve subscriptions. See this article (https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.

- packageName: Package name of the app.

func (*InappproductsService) BatchUpdate

func (r *InappproductsService) BatchUpdate(packageName string, inappproductsbatchupdaterequest *InappproductsBatchUpdateRequest) *InappproductsBatchUpdateCall

BatchUpdate: Updates or inserts one or more in-app products (managed products or subscriptions). Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. This method should no longer be used to update subscriptions. See this article (https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.

- packageName: Package name of the app.

func (*InappproductsService) Delete

func (r *InappproductsService) Delete(packageName string, skuid string) *InappproductsDeleteCall

Delete: Deletes an in-app product (a managed product or a subscription). This method should no longer be used to delete subscriptions. See this article (https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.

- packageName: Package name of the app. - sku: Unique identifier for the in-app product.

func (*InappproductsService) Get

func (r *InappproductsService) Get(packageName string, skuid string) *InappproductsGetCall

Get: Gets an in-app product, which can be a managed product or a subscription. This method should no longer be used to retrieve subscriptions. See this article (https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.

- packageName: Package name of the app. - sku: Unique identifier for the in-app product.

func (*InappproductsService) Insert

func (r *InappproductsService) Insert(packageName string, inappproduct *InAppProduct) *InappproductsInsertCall

Insert: Creates an in-app product (a managed product or a subscription). This method should no longer be used to create subscriptions. See this article (https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.

- packageName: Package name of the app.

func (*InappproductsService) List

func (r *InappproductsService) List(packageName string) *InappproductsListCall

List: Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page. This method should no longer be used to retrieve subscriptions. See this article (https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.

- packageName: Package name of the app.

func (*InappproductsService) Patch

func (r *InappproductsService) Patch(packageName string, skuid string, inappproduct *InAppProduct) *InappproductsPatchCall

Patch: Patches an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See this article (https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.

- packageName: Package name of the app. - sku: Unique identifier for the in-app product.

func (*InappproductsService) Update

func (r *InappproductsService) Update(packageName string, skuid string, inappproduct *InAppProduct) *InappproductsUpdateCall

Update: Updates an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See this article (https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.

- packageName: Package name of the app. - sku: Unique identifier for the in-app product.

type InappproductsUpdateCall

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

func (*InappproductsUpdateCall) AllowMissing

func (c *InappproductsUpdateCall) AllowMissing(allowMissing bool) *InappproductsUpdateCall

AllowMissing sets the optional parameter "allowMissing": If set to true, and the in-app product with the given package_name and sku doesn't exist, the in-app product will be created.

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.

func (*InappproductsUpdateCall) Do

func (c *InappproductsUpdateCall) Do(opts ...googleapi.CallOption) (*InAppProduct, error)

Do executes the "androidpublisher.inappproducts.update" call. 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 details.

func (*InappproductsUpdateCall) Header

func (c *InappproductsUpdateCall) Header() http.Header

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

func (*InappproductsUpdateCall) LatencyTolerance

func (c *InappproductsUpdateCall) LatencyTolerance(latencyTolerance string) *InappproductsUpdateCall

LatencyTolerance sets the optional parameter "latencyTolerance": The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.

Possible values:

"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to

PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.

"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will

propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.

"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will

propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods.

type InappproductsUpdateRequest

InappproductsUpdateRequest: Request to update an in-app product.

type InappproductsUpdateRequest struct {
    // AllowMissing: If set to true, and the in-app product with the given
    // package_name and sku doesn't exist, the in-app product will be created.
    AllowMissing bool `json:"allowMissing,omitempty"`
    // 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.
    AutoConvertMissingPrices bool `json:"autoConvertMissingPrices,omitempty"`
    // Inappproduct: The new in-app product.
    Inappproduct *InAppProduct `json:"inappproduct,omitempty"`
    // LatencyTolerance: Optional. The latency tolerance for the propagation of
    // this product update. Defaults to latency-sensitive.
    //
    // Possible values:
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to
    // PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will
    // propagate to clients within several minutes on average and up to a few hours
    // in rare cases. Throughput is limited to 7,200 updates per app per hour.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will
    // propagate to clients within 24 hours. Supports high throughput of up to
    // 720,000 updates per app per hour using batch modification methods.
    LatencyTolerance string `json:"latencyTolerance,omitempty"`
    // PackageName: Package name of the app.
    PackageName string `json:"packageName,omitempty"`
    // Sku: Unique identifier for the in-app product.
    Sku string `json:"sku,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AllowMissing") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AllowMissing") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*InappproductsUpdateRequest) MarshalJSON

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

type InstallmentPlan

InstallmentPlan: Information to a installment plan.

type InstallmentPlan struct {
    // InitialCommittedPaymentsCount: Total number of payments the user is
    // initially committed for.
    InitialCommittedPaymentsCount int64 `json:"initialCommittedPaymentsCount,omitempty"`
    // PendingCancellation: If present, this installment plan is pending to be
    // canceled. The cancellation will happen only after the user finished all
    // committed payments.
    PendingCancellation *PendingCancellation `json:"pendingCancellation,omitempty"`
    // RemainingCommittedPaymentsCount: Total number of committed payments
    // remaining to be paid for in this renewal cycle.
    RemainingCommittedPaymentsCount int64 `json:"remainingCommittedPaymentsCount,omitempty"`
    // SubsequentCommittedPaymentsCount: Total number of payments the user will be
    // committed for after each commitment period. Empty means the installment plan
    // will fall back to a normal auto-renew subscription after initial commitment.
    SubsequentCommittedPaymentsCount int64 `json:"subsequentCommittedPaymentsCount,omitempty"`
    // ForceSendFields is a list of field names (e.g.
    // "InitialCommittedPaymentsCount") to unconditionally include in API requests.
    // By default, fields with empty or default values are omitted from API
    // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields
    // for more details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "InitialCommittedPaymentsCount")
    // to include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*InstallmentPlan) MarshalJSON

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

type InstallmentsBasePlanType

InstallmentsBasePlanType: Represents an installments base plan where a user commits to a specified number of payments.

type InstallmentsBasePlanType struct {
    // AccountHoldDuration: Optional. Account hold period of the subscription,
    // specified exclusively in days and in ISO 8601 format. Acceptable values are
    // P0D (zero days) to P30D (30days). If not specified, the default value is
    // P30D (30 days).
    AccountHoldDuration string `json:"accountHoldDuration,omitempty"`
    // BillingPeriodDuration: Required. Subscription period, specified in ISO 8601
    // format. For a list of acceptable billing periods, refer to the help center.
    BillingPeriodDuration string `json:"billingPeriodDuration,omitempty"`
    // CommittedPaymentsCount: Required. The number of payments the user is
    // committed to.
    CommittedPaymentsCount int64 `json:"committedPaymentsCount,omitempty"`
    // GracePeriodDuration: Grace period of the subscription, specified in ISO 8601
    // format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days),
    // P14D (14 days), and P30D (30 days). If not specified, a default value will
    // be used based on the recurring period duration.
    GracePeriodDuration string `json:"gracePeriodDuration,omitempty"`
    // ProrationMode: The proration mode for the base plan determines what happens
    // when a user switches to this plan from another base plan. If unspecified,
    // defaults to CHARGE_ON_NEXT_BILLING_DATE.
    //
    // Possible values:
    //   "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED" - Unspecified mode.
    //   "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE" - Users will be
    // charged for their new base plan at the end of their current billing period.
    //   "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY" - Users will
    // be charged for their new base plan immediately and in full. Any remaining
    // period of their existing subscription will be used to extend the duration of
    // the new billing plan.
    ProrationMode string `json:"prorationMode,omitempty"`
    // RenewalType: Required. Installments base plan renewal type. Determines the
    // behavior at the end of the initial commitment.
    //
    // Possible values:
    //   "RENEWAL_TYPE_UNSPECIFIED" - Unspecified state.
    //   "RENEWAL_TYPE_RENEWS_WITHOUT_COMMITMENT" - Renews periodically for the
    // billing period duration without commitment.
    //   "RENEWAL_TYPE_RENEWS_WITH_COMMITMENT" - Renews with the commitment of the
    // same duration as the initial one.
    RenewalType string `json:"renewalType,omitempty"`
    // ResubscribeState: Whether users should be able to resubscribe to this base
    // plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not
    // specified.
    //
    // Possible values:
    //   "RESUBSCRIBE_STATE_UNSPECIFIED" - Unspecified state.
    //   "RESUBSCRIBE_STATE_ACTIVE" - Resubscribe is active.
    //   "RESUBSCRIBE_STATE_INACTIVE" - Resubscribe is inactive.
    ResubscribeState string `json:"resubscribeState,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AccountHoldDuration") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AccountHoldDuration") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*InstallmentsBasePlanType) MarshalJSON

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

type InternalAppSharingArtifact

InternalAppSharingArtifact: An artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.

type InternalAppSharingArtifact struct {
    // CertificateFingerprint: The sha256 fingerprint of the certificate used to
    // sign the generated artifact.
    CertificateFingerprint string `json:"certificateFingerprint,omitempty"`
    // DownloadUrl: The download URL generated for the uploaded artifact. Users
    // that are authorized to download can follow the link to the Play Store app to
    // install it.
    DownloadUrl string `json:"downloadUrl,omitempty"`
    // Sha256: The sha256 hash of the artifact represented as a lowercase
    // hexadecimal number, matching the output of the sha256sum command.
    Sha256 string `json:"sha256,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "CertificateFingerprint") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CertificateFingerprint") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*InternalAppSharingArtifact) MarshalJSON

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

type InternalappsharingartifactsService

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

func NewInternalappsharingartifactsService

func NewInternalappsharingartifactsService(s *Service) *InternalappsharingartifactsService

func (*InternalappsharingartifactsService) Uploadapk

func (r *InternalappsharingartifactsService) Uploadapk(packageName string) *InternalappsharingartifactsUploadapkCall

Uploadapk: Uploads an APK to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See Timeouts and Errors (https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.

- packageName: Package name of the app.

func (*InternalappsharingartifactsService) Uploadbundle

func (r *InternalappsharingartifactsService) Uploadbundle(packageName string) *InternalappsharingartifactsUploadbundleCall

Uploadbundle: Uploads an app bundle to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See Timeouts and Errors (https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.

- packageName: Package name of the app.

type InternalappsharingartifactsUploadapkCall

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

func (*InternalappsharingartifactsUploadapkCall) Context

func (c *InternalappsharingartifactsUploadapkCall) Context(ctx context.Context) *InternalappsharingartifactsUploadapkCall

Context sets the context to be used in this call's Do method. This context will supersede any context previously provided to the ResumableMedia method.

func (*InternalappsharingartifactsUploadapkCall) Do

func (c *InternalappsharingartifactsUploadapkCall) Do(opts ...googleapi.CallOption) (*InternalAppSharingArtifact, error)

Do executes the "androidpublisher.internalappsharingartifacts.uploadapk" call. Any non-2xx status code is an error. Response headers are in either *InternalAppSharingArtifact.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 (*InternalappsharingartifactsUploadapkCall) Fields

func (c *InternalappsharingartifactsUploadapkCall) Fields(s ...googleapi.Field) *InternalappsharingartifactsUploadapkCall

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

func (*InternalappsharingartifactsUploadapkCall) Header

func (c *InternalappsharingartifactsUploadapkCall) Header() http.Header

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

func (*InternalappsharingartifactsUploadapkCall) Media

func (c *InternalappsharingartifactsUploadapkCall) Media(r io.Reader, options ...googleapi.MediaOption) *InternalappsharingartifactsUploadapkCall

Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. At most one of Media and ResumableMedia may be set.

func (*InternalappsharingartifactsUploadapkCall) ProgressUpdater

func (c *InternalappsharingartifactsUploadapkCall) ProgressUpdater(pu googleapi.ProgressUpdater) *InternalappsharingartifactsUploadapkCall

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 (*InternalappsharingartifactsUploadapkCall) ResumableMedia

func (c *InternalappsharingartifactsUploadapkCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *InternalappsharingartifactsUploadapkCall

ResumableMedia specifies the media to upload in chunks and can be canceled with ctx.

Deprecated: use Media instead.

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.

type InternalappsharingartifactsUploadbundleCall

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

func (*InternalappsharingartifactsUploadbundleCall) Context

func (c *InternalappsharingartifactsUploadbundleCall) Context(ctx context.Context) *InternalappsharingartifactsUploadbundleCall

Context sets the context to be used in this call's Do method. This context will supersede any context previously provided to the ResumableMedia method.

func (*InternalappsharingartifactsUploadbundleCall) Do

func (c *InternalappsharingartifactsUploadbundleCall) Do(opts ...googleapi.CallOption) (*InternalAppSharingArtifact, error)

Do executes the "androidpublisher.internalappsharingartifacts.uploadbundle" call. Any non-2xx status code is an error. Response headers are in either *InternalAppSharingArtifact.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 (*InternalappsharingartifactsUploadbundleCall) Fields

func (c *InternalappsharingartifactsUploadbundleCall) Fields(s ...googleapi.Field) *InternalappsharingartifactsUploadbundleCall

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

func (*InternalappsharingartifactsUploadbundleCall) Header

func (c *InternalappsharingartifactsUploadbundleCall) Header() http.Header

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

func (*InternalappsharingartifactsUploadbundleCall) Media

func (c *InternalappsharingartifactsUploadbundleCall) Media(r io.Reader, options ...googleapi.MediaOption) *InternalappsharingartifactsUploadbundleCall

Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. At most one of Media and ResumableMedia may be set.

func (*InternalappsharingartifactsUploadbundleCall) ProgressUpdater

func (c *InternalappsharingartifactsUploadbundleCall) ProgressUpdater(pu googleapi.ProgressUpdater) *InternalappsharingartifactsUploadbundleCall

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 (*InternalappsharingartifactsUploadbundleCall) ResumableMedia

func (c *InternalappsharingartifactsUploadbundleCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *InternalappsharingartifactsUploadbundleCall

ResumableMedia specifies the media to upload in chunks and can be canceled with ctx.

Deprecated: use Media instead.

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.

type IntroductoryPriceInfo

IntroductoryPriceInfo: Contains the introductory price information for a subscription.

type IntroductoryPriceInfo struct {
    // IntroductoryPriceAmountMicros: Introductory price of the subscription, not
    // including tax. The currency is the same as price_currency_code. Price is
    // expressed in micro-units, where 1,000,000 micro-units represents one unit of
    // the currency. For example, if the subscription price is €1.99,
    // price_amount_micros is 1990000.
    IntroductoryPriceAmountMicros int64 `json:"introductoryPriceAmountMicros,omitempty,string"`
    // IntroductoryPriceCurrencyCode: ISO 4217 currency code for the introductory
    // subscription price. For example, if the price is specified in British pounds
    // sterling, price_currency_code is "GBP".
    IntroductoryPriceCurrencyCode string `json:"introductoryPriceCurrencyCode,omitempty"`
    // IntroductoryPriceCycles: The number of billing period to offer introductory
    // pricing.
    IntroductoryPriceCycles int64 `json:"introductoryPriceCycles,omitempty"`
    // IntroductoryPricePeriod: Introductory price period, specified in ISO 8601
    // format. Common values are (but not limited to) "P1W" (one week), "P1M" (one
    // month), "P3M" (three months), "P6M" (six months), and "P1Y" (one year).
    IntroductoryPricePeriod string `json:"introductoryPricePeriod,omitempty"`
    // ForceSendFields is a list of field names (e.g.
    // "IntroductoryPriceAmountMicros") to unconditionally include in API requests.
    // By default, fields with empty or default values are omitted from API
    // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields
    // for more details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "IntroductoryPriceAmountMicros")
    // to include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*IntroductoryPriceInfo) MarshalJSON

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

type LanguageTargeting

LanguageTargeting: Targeting based on language.

type LanguageTargeting struct {
    // Alternatives: Alternative languages.
    Alternatives []string `json:"alternatives,omitempty"`
    // Value: ISO-639: 2 or 3 letter language code.
    Value []string `json:"value,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Alternatives") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Alternatives") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*LanguageTargeting) MarshalJSON

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

type ListAppRecoveriesResponse

ListAppRecoveriesResponse: Response message for ListAppRecoveries. -- api-linter: core::0158::response-next-page-token-field=disabled

type ListAppRecoveriesResponse struct {
    // RecoveryActions: List of recovery actions associated with the requested
    // package name.
    RecoveryActions []*AppRecoveryAction `json:"recoveryActions,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "RecoveryActions") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RecoveryActions") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ListAppRecoveriesResponse) MarshalJSON

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

type ListDeviceTierConfigsResponse

ListDeviceTierConfigsResponse: Response listing existing device tier configs.

type ListDeviceTierConfigsResponse struct {
    // DeviceTierConfigs: Device tier configs created by the developer.
    DeviceTierConfigs []*DeviceTierConfig `json:"deviceTierConfigs,omitempty"`
    // NextPageToken: A token, which can be sent as `page_token` to retrieve the
    // next page. If this field is omitted, there are no subsequent pages.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "DeviceTierConfigs") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeviceTierConfigs") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ListDeviceTierConfigsResponse) MarshalJSON

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

type ListSubscriptionOffersResponse

ListSubscriptionOffersResponse: Response message for ListSubscriptionOffers.

type ListSubscriptionOffersResponse struct {
    // NextPageToken: A token, which can be sent as `page_token` to retrieve the
    // next page. If this field is omitted, there are no subsequent pages.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // SubscriptionOffers: The subscription offers from the specified subscription.
    SubscriptionOffers []*SubscriptionOffer `json:"subscriptionOffers,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ListSubscriptionOffersResponse) MarshalJSON

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

type ListSubscriptionsResponse

ListSubscriptionsResponse: Response message for ListSubscriptions.

type ListSubscriptionsResponse struct {
    // NextPageToken: A token, which can be sent as `page_token` to retrieve the
    // next page. If this field is omitted, there are no subsequent pages.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // Subscriptions: The subscriptions from the specified app.
    Subscriptions []*Subscription `json:"subscriptions,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ListSubscriptionsResponse) MarshalJSON

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

type ListUsersResponse

ListUsersResponse: A response containing one or more users with access to an account.

type ListUsersResponse struct {
    // NextPageToken: A token to pass to subsequent calls in order to retrieve
    // subsequent results. This will not be set if there are no more results to
    // return.
    NextPageToken string `json:"nextPageToken,omitempty"`
    // Users: The resulting users.
    Users []*User `json:"users,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "NextPageToken") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ListUsersResponse) MarshalJSON

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

type Listing

Listing: A localized store listing. The resource for ListingsService.

type Listing struct {
    // FullDescription: Full description of the app.
    FullDescription string `json:"fullDescription,omitempty"`
    // Language: Language localization code (a BCP-47 language tag; for example,
    // "de-AT" for Austrian German).
    Language string `json:"language,omitempty"`
    // ShortDescription: Short description of the app.
    ShortDescription string `json:"shortDescription,omitempty"`
    // Title: Localized title of the app.
    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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "FullDescription") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Listing) MarshalJSON

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

type ListingsListResponse

ListingsListResponse: Response listing all localized listings.

type ListingsListResponse struct {
    // Kind: The kind of this response ("androidpublisher#listingsListResponse").
    Kind string `json:"kind,omitempty"`
    // Listings: All localized listings.
    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 or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Kind") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ListingsListResponse) MarshalJSON

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

type LocalizedText

LocalizedText: Localized text in given language.

type LocalizedText struct {
    // Language: Language localization code (a BCP-47 language tag; for example,
    // "de-AT" for Austrian German).
    Language string `json:"language,omitempty"`
    // Text: The text in the given language.
    Text string `json:"text,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Language") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Language") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*LocalizedText) MarshalJSON

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

type ManagedProductTaxAndComplianceSettings

ManagedProductTaxAndComplianceSettings: Details about taxation and legal compliance for managed products.

type ManagedProductTaxAndComplianceSettings struct {
    // EeaWithdrawalRightType: Digital content or service classification for
    // products distributed to users in the European Economic Area (EEA). The
    // withdrawal regime under EEA consumer laws depends on this classification.
    // Refer to the Help Center article
    // (https://support.google.com/googleplay/android-developer/answer/10463498)
    // for more information.
    //
    // Possible values:
    //   "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED"
    //   "WITHDRAWAL_RIGHT_DIGITAL_CONTENT"
    //   "WITHDRAWAL_RIGHT_SERVICE"
    EeaWithdrawalRightType string `json:"eeaWithdrawalRightType,omitempty"`
    // IsTokenizedDigitalAsset: Whether this in-app product is declared as a
    // product representing a tokenized digital asset.
    IsTokenizedDigitalAsset bool `json:"isTokenizedDigitalAsset,omitempty"`
    // TaxRateInfoByRegionCode: A mapping from region code to tax rate details. The
    // keys are region codes as defined by Unicode's "CLDR".
    TaxRateInfoByRegionCode map[string]RegionalTaxRateInfo `json:"taxRateInfoByRegionCode,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EeaWithdrawalRightType") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EeaWithdrawalRightType") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ManagedProductTaxAndComplianceSettings) MarshalJSON

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

type MigrateBasePlanPricesRequest

MigrateBasePlanPricesRequest: Request message for MigrateBasePlanPrices.

type MigrateBasePlanPricesRequest struct {
    // BasePlanId: Required. The unique base plan ID of the base plan to update
    // prices on.
    BasePlanId string `json:"basePlanId,omitempty"`
    // LatencyTolerance: Optional. The latency tolerance for the propagation of
    // this product update. Defaults to latency-sensitive.
    //
    // Possible values:
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to
    // PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will
    // propagate to clients within several minutes on average and up to a few hours
    // in rare cases. Throughput is limited to 7,200 updates per app per hour.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will
    // propagate to clients within 24 hours. Supports high throughput of up to
    // 720,000 updates per app per hour using batch modification methods.
    LatencyTolerance string `json:"latencyTolerance,omitempty"`
    // PackageName: Required. Package name of the parent app. Must be equal to the
    // package_name field on the Subscription resource.
    PackageName string `json:"packageName,omitempty"`
    // ProductId: Required. The ID of the subscription to update. Must be equal to
    // the product_id field on the Subscription resource.
    ProductId string `json:"productId,omitempty"`
    // RegionalPriceMigrations: Required. The regional prices to update.
    RegionalPriceMigrations []*RegionalPriceMigrationConfig `json:"regionalPriceMigrations,omitempty"`
    // RegionsVersion: Required. The version of the available regions being used
    // for the regional_price_migrations.
    RegionsVersion *RegionsVersion `json:"regionsVersion,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BasePlanId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BasePlanId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*MigrateBasePlanPricesRequest) MarshalJSON

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

type MigrateBasePlanPricesResponse

MigrateBasePlanPricesResponse: Response message for MigrateBasePlanPrices.

type MigrateBasePlanPricesResponse struct {
    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
}

type ModuleMetadata

ModuleMetadata: Metadata of a module.

type ModuleMetadata struct {
    // DeliveryType: Indicates the delivery type (e.g. on-demand) of the module.
    //
    // Possible values:
    //   "UNKNOWN_DELIVERY_TYPE" - Unspecified delivery type.
    //   "INSTALL_TIME" - This module will always be downloaded as part of the
    // initial install of the app.
    //   "ON_DEMAND" - This module is requested on-demand, which means it will not
    // be part of the initial install, and will only be sent when requested by the
    // client.
    //   "FAST_FOLLOW" - This module will be downloaded immediately after initial
    // install finishes. The app can be opened before these modules are downloaded.
    DeliveryType string `json:"deliveryType,omitempty"`
    // Dependencies: Names of the modules that this module directly depends on.
    // Each module implicitly depends on the base module.
    Dependencies []string `json:"dependencies,omitempty"`
    // ModuleType: Indicates the type of this feature module.
    //
    // Possible values:
    //   "UNKNOWN_MODULE_TYPE" - Unknown feature module.
    //   "FEATURE_MODULE" - Regular feature module.
    ModuleType string `json:"moduleType,omitempty"`
    // Name: Module name.
    Name string `json:"name,omitempty"`
    // Targeting: The targeting that makes a conditional module installed. Relevant
    // only for Split APKs.
    Targeting *ModuleTargeting `json:"targeting,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DeliveryType") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeliveryType") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ModuleMetadata) MarshalJSON

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

type ModuleTargeting

ModuleTargeting: Targeting on the module level.

type ModuleTargeting struct {
    // DeviceFeatureTargeting: Targeting for device features.
    DeviceFeatureTargeting []*DeviceFeatureTargeting `json:"deviceFeatureTargeting,omitempty"`
    // SdkVersionTargeting: The sdk version that the variant targets
    SdkVersionTargeting *SdkVersionTargeting `json:"sdkVersionTargeting,omitempty"`
    // UserCountriesTargeting: Countries-level targeting
    UserCountriesTargeting *UserCountriesTargeting `json:"userCountriesTargeting,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DeviceFeatureTargeting") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeviceFeatureTargeting") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ModuleTargeting) MarshalJSON

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

type MonetizationConvertRegionPricesCall

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

func (*MonetizationConvertRegionPricesCall) Context

func (c *MonetizationConvertRegionPricesCall) Context(ctx context.Context) *MonetizationConvertRegionPricesCall

Context sets the context to be used in this call's Do method.

func (*MonetizationConvertRegionPricesCall) Do

func (c *MonetizationConvertRegionPricesCall) Do(opts ...googleapi.CallOption) (*ConvertRegionPricesResponse, error)

Do executes the "androidpublisher.monetization.convertRegionPrices" call. Any non-2xx status code is an error. Response headers are in either *ConvertRegionPricesResponse.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 (*MonetizationConvertRegionPricesCall) Fields

func (c *MonetizationConvertRegionPricesCall) Fields(s ...googleapi.Field) *MonetizationConvertRegionPricesCall

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

func (*MonetizationConvertRegionPricesCall) Header

func (c *MonetizationConvertRegionPricesCall) Header() http.Header

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

type MonetizationService

type MonetizationService struct {
    Subscriptions *MonetizationSubscriptionsService
    // contains filtered or unexported fields
}

func NewMonetizationService

func NewMonetizationService(s *Service) *MonetizationService

func (*MonetizationService) ConvertRegionPrices

func (r *MonetizationService) ConvertRegionPrices(packageName string, convertregionpricesrequest *ConvertRegionPricesRequest) *MonetizationConvertRegionPricesCall

ConvertRegionPrices: Calculates the region prices, using today's exchange rate and country-specific pricing patterns, based on the price in the request for a set of regions.

- packageName: The app package name.

type MonetizationSubscriptionsArchiveCall

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

func (*MonetizationSubscriptionsArchiveCall) Context

func (c *MonetizationSubscriptionsArchiveCall) Context(ctx context.Context) *MonetizationSubscriptionsArchiveCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsArchiveCall) Do

func (c *MonetizationSubscriptionsArchiveCall) Do(opts ...googleapi.CallOption) (*Subscription, error)

Do executes the "androidpublisher.monetization.subscriptions.archive" call. Any non-2xx status code is an error. Response headers are in either *Subscription.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 (*MonetizationSubscriptionsArchiveCall) Fields

func (c *MonetizationSubscriptionsArchiveCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsArchiveCall

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

func (*MonetizationSubscriptionsArchiveCall) Header

func (c *MonetizationSubscriptionsArchiveCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansActivateCall

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

func (*MonetizationSubscriptionsBasePlansActivateCall) Context

func (c *MonetizationSubscriptionsBasePlansActivateCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansActivateCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansActivateCall) Do

func (c *MonetizationSubscriptionsBasePlansActivateCall) Do(opts ...googleapi.CallOption) (*Subscription, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.activate" call. Any non-2xx status code is an error. Response headers are in either *Subscription.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 (*MonetizationSubscriptionsBasePlansActivateCall) Fields

func (c *MonetizationSubscriptionsBasePlansActivateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansActivateCall

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

func (*MonetizationSubscriptionsBasePlansActivateCall) Header

func (c *MonetizationSubscriptionsBasePlansActivateCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansBatchMigratePricesCall

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

func (*MonetizationSubscriptionsBasePlansBatchMigratePricesCall) Context

func (c *MonetizationSubscriptionsBasePlansBatchMigratePricesCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansBatchMigratePricesCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansBatchMigratePricesCall) Do

func (c *MonetizationSubscriptionsBasePlansBatchMigratePricesCall) Do(opts ...googleapi.CallOption) (*BatchMigrateBasePlanPricesResponse, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.batchMigratePrices" call. Any non-2xx status code is an error. Response headers are in either *BatchMigrateBasePlanPricesResponse.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 (*MonetizationSubscriptionsBasePlansBatchMigratePricesCall) Fields

func (c *MonetizationSubscriptionsBasePlansBatchMigratePricesCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansBatchMigratePricesCall

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

func (*MonetizationSubscriptionsBasePlansBatchMigratePricesCall) Header

func (c *MonetizationSubscriptionsBasePlansBatchMigratePricesCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansBatchUpdateStatesCall

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

func (*MonetizationSubscriptionsBasePlansBatchUpdateStatesCall) Context

func (c *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansBatchUpdateStatesCall) Do

func (c *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall) Do(opts ...googleapi.CallOption) (*BatchUpdateBasePlanStatesResponse, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.batchUpdateStates" call. Any non-2xx status code is an error. Response headers are in either *BatchUpdateBasePlanStatesResponse.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 (*MonetizationSubscriptionsBasePlansBatchUpdateStatesCall) Fields

func (c *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall

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

func (*MonetizationSubscriptionsBasePlansBatchUpdateStatesCall) Header

func (c *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansDeactivateCall

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

func (*MonetizationSubscriptionsBasePlansDeactivateCall) Context

func (c *MonetizationSubscriptionsBasePlansDeactivateCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansDeactivateCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansDeactivateCall) Do

func (c *MonetizationSubscriptionsBasePlansDeactivateCall) Do(opts ...googleapi.CallOption) (*Subscription, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.deactivate" call. Any non-2xx status code is an error. Response headers are in either *Subscription.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 (*MonetizationSubscriptionsBasePlansDeactivateCall) Fields

func (c *MonetizationSubscriptionsBasePlansDeactivateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansDeactivateCall

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

func (*MonetizationSubscriptionsBasePlansDeactivateCall) Header

func (c *MonetizationSubscriptionsBasePlansDeactivateCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansDeleteCall

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

func (*MonetizationSubscriptionsBasePlansDeleteCall) Context

func (c *MonetizationSubscriptionsBasePlansDeleteCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansDeleteCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansDeleteCall) Do

func (c *MonetizationSubscriptionsBasePlansDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "androidpublisher.monetization.subscriptions.basePlans.delete" call.

func (*MonetizationSubscriptionsBasePlansDeleteCall) Fields

func (c *MonetizationSubscriptionsBasePlansDeleteCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansDeleteCall

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

func (*MonetizationSubscriptionsBasePlansDeleteCall) Header

func (c *MonetizationSubscriptionsBasePlansDeleteCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansMigratePricesCall

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

func (*MonetizationSubscriptionsBasePlansMigratePricesCall) Context

func (c *MonetizationSubscriptionsBasePlansMigratePricesCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansMigratePricesCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansMigratePricesCall) Do

func (c *MonetizationSubscriptionsBasePlansMigratePricesCall) Do(opts ...googleapi.CallOption) (*MigrateBasePlanPricesResponse, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.migratePrices" call. Any non-2xx status code is an error. Response headers are in either *MigrateBasePlanPricesResponse.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 (*MonetizationSubscriptionsBasePlansMigratePricesCall) Fields

func (c *MonetizationSubscriptionsBasePlansMigratePricesCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansMigratePricesCall

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

func (*MonetizationSubscriptionsBasePlansMigratePricesCall) Header

func (c *MonetizationSubscriptionsBasePlansMigratePricesCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansOffersActivateCall

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

func (*MonetizationSubscriptionsBasePlansOffersActivateCall) Context

func (c *MonetizationSubscriptionsBasePlansOffersActivateCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersActivateCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansOffersActivateCall) Do

func (c *MonetizationSubscriptionsBasePlansOffersActivateCall) Do(opts ...googleapi.CallOption) (*SubscriptionOffer, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.offers.activate" call. Any non-2xx status code is an error. Response headers are in either *SubscriptionOffer.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 (*MonetizationSubscriptionsBasePlansOffersActivateCall) Fields

func (c *MonetizationSubscriptionsBasePlansOffersActivateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersActivateCall

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

func (*MonetizationSubscriptionsBasePlansOffersActivateCall) Header

func (c *MonetizationSubscriptionsBasePlansOffersActivateCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansOffersBatchGetCall

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

func (*MonetizationSubscriptionsBasePlansOffersBatchGetCall) Context

func (c *MonetizationSubscriptionsBasePlansOffersBatchGetCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersBatchGetCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansOffersBatchGetCall) Do

func (c *MonetizationSubscriptionsBasePlansOffersBatchGetCall) Do(opts ...googleapi.CallOption) (*BatchGetSubscriptionOffersResponse, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.offers.batchGet" call. Any non-2xx status code is an error. Response headers are in either *BatchGetSubscriptionOffersResponse.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 (*MonetizationSubscriptionsBasePlansOffersBatchGetCall) Fields

func (c *MonetizationSubscriptionsBasePlansOffersBatchGetCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersBatchGetCall

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

func (*MonetizationSubscriptionsBasePlansOffersBatchGetCall) Header

func (c *MonetizationSubscriptionsBasePlansOffersBatchGetCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansOffersBatchUpdateCall

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

func (*MonetizationSubscriptionsBasePlansOffersBatchUpdateCall) Context

func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansOffersBatchUpdateCall) Do

func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall) Do(opts ...googleapi.CallOption) (*BatchUpdateSubscriptionOffersResponse, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.offers.batchUpdate" call. Any non-2xx status code is an error. Response headers are in either *BatchUpdateSubscriptionOffersResponse.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 (*MonetizationSubscriptionsBasePlansOffersBatchUpdateCall) Fields

func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall

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

func (*MonetizationSubscriptionsBasePlansOffersBatchUpdateCall) Header

func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall

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

func (*MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall) Context

func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall) Do

func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall) Do(opts ...googleapi.CallOption) (*BatchUpdateSubscriptionOfferStatesResponse, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.offers.batchUpdateStates" call. Any non-2xx status code is an error. Response headers are in either *BatchUpdateSubscriptionOfferStatesResponse.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 (*MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall) Fields

func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall

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

func (*MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall) Header

func (c *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansOffersCreateCall

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

func (*MonetizationSubscriptionsBasePlansOffersCreateCall) Context

func (c *MonetizationSubscriptionsBasePlansOffersCreateCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersCreateCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansOffersCreateCall) Do

func (c *MonetizationSubscriptionsBasePlansOffersCreateCall) Do(opts ...googleapi.CallOption) (*SubscriptionOffer, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.offers.create" call. Any non-2xx status code is an error. Response headers are in either *SubscriptionOffer.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 (*MonetizationSubscriptionsBasePlansOffersCreateCall) Fields

func (c *MonetizationSubscriptionsBasePlansOffersCreateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersCreateCall

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

func (*MonetizationSubscriptionsBasePlansOffersCreateCall) Header

func (c *MonetizationSubscriptionsBasePlansOffersCreateCall) Header() http.Header

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

func (*MonetizationSubscriptionsBasePlansOffersCreateCall) OfferId

func (c *MonetizationSubscriptionsBasePlansOffersCreateCall) OfferId(offerId string) *MonetizationSubscriptionsBasePlansOffersCreateCall

OfferId sets the optional parameter "offerId": Required. The ID to use for the offer. For the requirements on this format, see the documentation of the offer_id field on the SubscriptionOffer resource.

func (*MonetizationSubscriptionsBasePlansOffersCreateCall) RegionsVersionVersion

func (c *MonetizationSubscriptionsBasePlansOffersCreateCall) RegionsVersionVersion(regionsVersionVersion string) *MonetizationSubscriptionsBasePlansOffersCreateCall

RegionsVersionVersion sets the optional parameter "regionsVersion.version": Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in this article (https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. The latest version is 2022/02.

type MonetizationSubscriptionsBasePlansOffersDeactivateCall

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

func (*MonetizationSubscriptionsBasePlansOffersDeactivateCall) Context

func (c *MonetizationSubscriptionsBasePlansOffersDeactivateCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersDeactivateCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansOffersDeactivateCall) Do

func (c *MonetizationSubscriptionsBasePlansOffersDeactivateCall) Do(opts ...googleapi.CallOption) (*SubscriptionOffer, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.offers.deactivate" call. Any non-2xx status code is an error. Response headers are in either *SubscriptionOffer.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 (*MonetizationSubscriptionsBasePlansOffersDeactivateCall) Fields

func (c *MonetizationSubscriptionsBasePlansOffersDeactivateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersDeactivateCall

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

func (*MonetizationSubscriptionsBasePlansOffersDeactivateCall) Header

func (c *MonetizationSubscriptionsBasePlansOffersDeactivateCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansOffersDeleteCall

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

func (*MonetizationSubscriptionsBasePlansOffersDeleteCall) Context

func (c *MonetizationSubscriptionsBasePlansOffersDeleteCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersDeleteCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansOffersDeleteCall) Do

func (c *MonetizationSubscriptionsBasePlansOffersDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "androidpublisher.monetization.subscriptions.basePlans.offers.delete" call.

func (*MonetizationSubscriptionsBasePlansOffersDeleteCall) Fields

func (c *MonetizationSubscriptionsBasePlansOffersDeleteCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersDeleteCall

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

func (*MonetizationSubscriptionsBasePlansOffersDeleteCall) Header

func (c *MonetizationSubscriptionsBasePlansOffersDeleteCall) Header() http.Header

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

type MonetizationSubscriptionsBasePlansOffersGetCall

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

func (*MonetizationSubscriptionsBasePlansOffersGetCall) Context

func (c *MonetizationSubscriptionsBasePlansOffersGetCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersGetCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansOffersGetCall) Do

func (c *MonetizationSubscriptionsBasePlansOffersGetCall) Do(opts ...googleapi.CallOption) (*SubscriptionOffer, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.offers.get" call. Any non-2xx status code is an error. Response headers are in either *SubscriptionOffer.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 (*MonetizationSubscriptionsBasePlansOffersGetCall) Fields

func (c *MonetizationSubscriptionsBasePlansOffersGetCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersGetCall

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

func (*MonetizationSubscriptionsBasePlansOffersGetCall) Header

func (c *MonetizationSubscriptionsBasePlansOffersGetCall) Header() http.Header

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

func (*MonetizationSubscriptionsBasePlansOffersGetCall) IfNoneMatch

func (c *MonetizationSubscriptionsBasePlansOffersGetCall) IfNoneMatch(entityTag string) *MonetizationSubscriptionsBasePlansOffersGetCall

IfNoneMatch sets an 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.

type MonetizationSubscriptionsBasePlansOffersListCall

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

func (*MonetizationSubscriptionsBasePlansOffersListCall) Context

func (c *MonetizationSubscriptionsBasePlansOffersListCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersListCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansOffersListCall) Do

func (c *MonetizationSubscriptionsBasePlansOffersListCall) Do(opts ...googleapi.CallOption) (*ListSubscriptionOffersResponse, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.offers.list" call. Any non-2xx status code is an error. Response headers are in either *ListSubscriptionOffersResponse.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 (*MonetizationSubscriptionsBasePlansOffersListCall) Fields

func (c *MonetizationSubscriptionsBasePlansOffersListCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersListCall

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

func (*MonetizationSubscriptionsBasePlansOffersListCall) Header

func (c *MonetizationSubscriptionsBasePlansOffersListCall) Header() http.Header

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

func (*MonetizationSubscriptionsBasePlansOffersListCall) IfNoneMatch

func (c *MonetizationSubscriptionsBasePlansOffersListCall) IfNoneMatch(entityTag string) *MonetizationSubscriptionsBasePlansOffersListCall

IfNoneMatch sets an 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.

func (*MonetizationSubscriptionsBasePlansOffersListCall) PageSize

func (c *MonetizationSubscriptionsBasePlansOffersListCall) PageSize(pageSize int64) *MonetizationSubscriptionsBasePlansOffersListCall

PageSize sets the optional parameter "pageSize": The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 50 subscriptions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*MonetizationSubscriptionsBasePlansOffersListCall) PageToken

func (c *MonetizationSubscriptionsBasePlansOffersListCall) PageToken(pageToken string) *MonetizationSubscriptionsBasePlansOffersListCall

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListSubscriptionsOffers` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubscriptionOffers` must match the call that provided the page token.

func (*MonetizationSubscriptionsBasePlansOffersListCall) Pages

func (c *MonetizationSubscriptionsBasePlansOffersListCall) Pages(ctx context.Context, f func(*ListSubscriptionOffersResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type MonetizationSubscriptionsBasePlansOffersPatchCall

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

func (*MonetizationSubscriptionsBasePlansOffersPatchCall) AllowMissing

func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) AllowMissing(allowMissing bool) *MonetizationSubscriptionsBasePlansOffersPatchCall

AllowMissing sets the optional parameter "allowMissing": If set to true, and the subscription offer with the given package_name, product_id, base_plan_id and offer_id doesn't exist, an offer will be created. If a new offer is created, update_mask is ignored.

func (*MonetizationSubscriptionsBasePlansOffersPatchCall) Context

func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) Context(ctx context.Context) *MonetizationSubscriptionsBasePlansOffersPatchCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBasePlansOffersPatchCall) Do

func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) Do(opts ...googleapi.CallOption) (*SubscriptionOffer, error)

Do executes the "androidpublisher.monetization.subscriptions.basePlans.offers.patch" call. Any non-2xx status code is an error. Response headers are in either *SubscriptionOffer.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 (*MonetizationSubscriptionsBasePlansOffersPatchCall) Fields

func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBasePlansOffersPatchCall

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

func (*MonetizationSubscriptionsBasePlansOffersPatchCall) Header

func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) Header() http.Header

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

func (*MonetizationSubscriptionsBasePlansOffersPatchCall) LatencyTolerance

func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) LatencyTolerance(latencyTolerance string) *MonetizationSubscriptionsBasePlansOffersPatchCall

LatencyTolerance sets the optional parameter "latencyTolerance": The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.

Possible values:

"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to

PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.

"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will

propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.

"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will

propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods.

func (*MonetizationSubscriptionsBasePlansOffersPatchCall) RegionsVersionVersion

func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) RegionsVersionVersion(regionsVersionVersion string) *MonetizationSubscriptionsBasePlansOffersPatchCall

RegionsVersionVersion sets the optional parameter "regionsVersion.version": Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in this article (https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. The latest version is 2022/02.

func (*MonetizationSubscriptionsBasePlansOffersPatchCall) UpdateMask

func (c *MonetizationSubscriptionsBasePlansOffersPatchCall) UpdateMask(updateMask string) *MonetizationSubscriptionsBasePlansOffersPatchCall

UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated.

type MonetizationSubscriptionsBasePlansOffersService

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

func NewMonetizationSubscriptionsBasePlansOffersService

func NewMonetizationSubscriptionsBasePlansOffersService(s *Service) *MonetizationSubscriptionsBasePlansOffersService

func (*MonetizationSubscriptionsBasePlansOffersService) Activate

func (r *MonetizationSubscriptionsBasePlansOffersService) Activate(packageName string, productId string, basePlanId string, offerId string, activatesubscriptionofferrequest *ActivateSubscriptionOfferRequest) *MonetizationSubscriptionsBasePlansOffersActivateCall

Activate: Activates a subscription offer. Once activated, subscription offers will be available to new subscribers.

- basePlanId: The parent base plan (ID) of the offer to activate. - offerId: The unique offer ID of the offer to activate. - packageName: The parent app (package name) of the offer to activate. - productId: The parent subscription (ID) of the offer to activate.

func (*MonetizationSubscriptionsBasePlansOffersService) BatchGet

func (r *MonetizationSubscriptionsBasePlansOffersService) BatchGet(packageName string, productId string, basePlanId string, batchgetsubscriptionoffersrequest *BatchGetSubscriptionOffersRequest) *MonetizationSubscriptionsBasePlansOffersBatchGetCall

BatchGet: Reads one or more subscription offers.

func (*MonetizationSubscriptionsBasePlansOffersService) BatchUpdate

func (r *MonetizationSubscriptionsBasePlansOffersService) BatchUpdate(packageName string, productId string, basePlanId string, batchupdatesubscriptionoffersrequest *BatchUpdateSubscriptionOffersRequest) *MonetizationSubscriptionsBasePlansOffersBatchUpdateCall

BatchUpdate: Updates a batch of subscription offers. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.

func (*MonetizationSubscriptionsBasePlansOffersService) BatchUpdateStates

func (r *MonetizationSubscriptionsBasePlansOffersService) BatchUpdateStates(packageName string, productId string, basePlanId string, batchupdatesubscriptionofferstatesrequest *BatchUpdateSubscriptionOfferStatesRequest) *MonetizationSubscriptionsBasePlansOffersBatchUpdateStatesCall

BatchUpdateStates: Updates a batch of subscription offer states. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.

func (*MonetizationSubscriptionsBasePlansOffersService) Create

func (r *MonetizationSubscriptionsBasePlansOffersService) Create(packageName string, productId string, basePlanId string, subscriptionoffer *SubscriptionOffer) *MonetizationSubscriptionsBasePlansOffersCreateCall

Create: Creates a new subscription offer. Only auto-renewing base plans can have subscription offers. The offer state will be DRAFT until it is activated.

func (*MonetizationSubscriptionsBasePlansOffersService) Deactivate

func (r *MonetizationSubscriptionsBasePlansOffersService) Deactivate(packageName string, productId string, basePlanId string, offerId string, deactivatesubscriptionofferrequest *DeactivateSubscriptionOfferRequest) *MonetizationSubscriptionsBasePlansOffersDeactivateCall

Deactivate: Deactivates a subscription offer. Once deactivated, existing subscribers will maintain their subscription, but the offer will become unavailable to new subscribers.

- basePlanId: The parent base plan (ID) of the offer to deactivate. - offerId: The unique offer ID of the offer to deactivate. - packageName: The parent app (package name) of the offer to deactivate. - productId: The parent subscription (ID) of the offer to deactivate.

func (*MonetizationSubscriptionsBasePlansOffersService) Delete

func (r *MonetizationSubscriptionsBasePlansOffersService) Delete(packageName string, productId string, basePlanId string, offerId string) *MonetizationSubscriptionsBasePlansOffersDeleteCall

Delete: Deletes a subscription offer. Can only be done for draft offers. This action is irreversible.

- basePlanId: The parent base plan (ID) of the offer to delete. - offerId: The unique offer ID of the offer to delete. - packageName: The parent app (package name) of the offer to delete. - productId: The parent subscription (ID) of the offer to delete.

func (*MonetizationSubscriptionsBasePlansOffersService) Get

func (r *MonetizationSubscriptionsBasePlansOffersService) Get(packageName string, productId string, basePlanId string, offerId string) *MonetizationSubscriptionsBasePlansOffersGetCall

Get: Reads a single offer

- basePlanId: The parent base plan (ID) of the offer to get. - offerId: The unique offer ID of the offer to get. - packageName: The parent app (package name) of the offer to get. - productId: The parent subscription (ID) of the offer to get.

func (*MonetizationSubscriptionsBasePlansOffersService) List

func (r *MonetizationSubscriptionsBasePlansOffersService) List(packageName string, productId string, basePlanId string) *MonetizationSubscriptionsBasePlansOffersListCall

List: Lists all offers under a given subscription.

func (*MonetizationSubscriptionsBasePlansOffersService) Patch

func (r *MonetizationSubscriptionsBasePlansOffersService) Patch(packageName string, productId string, basePlanId string, offerId string, subscriptionoffer *SubscriptionOffer) *MonetizationSubscriptionsBasePlansOffersPatchCall

Patch: Updates an existing subscription offer.

type MonetizationSubscriptionsBasePlansService

type MonetizationSubscriptionsBasePlansService struct {
    Offers *MonetizationSubscriptionsBasePlansOffersService
    // contains filtered or unexported fields
}

func NewMonetizationSubscriptionsBasePlansService

func NewMonetizationSubscriptionsBasePlansService(s *Service) *MonetizationSubscriptionsBasePlansService

func (*MonetizationSubscriptionsBasePlansService) Activate

func (r *MonetizationSubscriptionsBasePlansService) Activate(packageName string, productId string, basePlanId string, activatebaseplanrequest *ActivateBasePlanRequest) *MonetizationSubscriptionsBasePlansActivateCall

Activate: Activates a base plan. Once activated, base plans will be available to new subscribers.

- basePlanId: The unique base plan ID of the base plan to activate. - packageName: The parent app (package name) of the base plan to activate. - productId: The parent subscription (ID) of the base plan to activate.

func (*MonetizationSubscriptionsBasePlansService) BatchMigratePrices

func (r *MonetizationSubscriptionsBasePlansService) BatchMigratePrices(packageName string, productId string, batchmigratebaseplanpricesrequest *BatchMigrateBasePlanPricesRequest) *MonetizationSubscriptionsBasePlansBatchMigratePricesCall

BatchMigratePrices: Batch variant of the MigrateBasePlanPrices endpoint. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.

func (*MonetizationSubscriptionsBasePlansService) BatchUpdateStates

func (r *MonetizationSubscriptionsBasePlansService) BatchUpdateStates(packageName string, productId string, batchupdatebaseplanstatesrequest *BatchUpdateBasePlanStatesRequest) *MonetizationSubscriptionsBasePlansBatchUpdateStatesCall

BatchUpdateStates: Activates or deactivates base plans across one or multiple subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.

func (*MonetizationSubscriptionsBasePlansService) Deactivate

func (r *MonetizationSubscriptionsBasePlansService) Deactivate(packageName string, productId string, basePlanId string, deactivatebaseplanrequest *DeactivateBasePlanRequest) *MonetizationSubscriptionsBasePlansDeactivateCall

Deactivate: Deactivates a base plan. Once deactivated, the base plan will become unavailable to new subscribers, but existing subscribers will maintain their subscription

- basePlanId: The unique base plan ID of the base plan to deactivate. - packageName: The parent app (package name) of the base plan to deactivate. - productId: The parent subscription (ID) of the base plan to deactivate.

func (*MonetizationSubscriptionsBasePlansService) Delete

func (r *MonetizationSubscriptionsBasePlansService) Delete(packageName string, productId string, basePlanId string) *MonetizationSubscriptionsBasePlansDeleteCall

Delete: Deletes a base plan. Can only be done for draft base plans. This action is irreversible.

- basePlanId: The unique offer ID of the base plan to delete. - packageName: The parent app (package name) of the base plan to delete. - productId: The parent subscription (ID) of the base plan to delete.

func (*MonetizationSubscriptionsBasePlansService) MigratePrices

func (r *MonetizationSubscriptionsBasePlansService) MigratePrices(packageName string, productId string, basePlanId string, migratebaseplanpricesrequest *MigrateBasePlanPricesRequest) *MonetizationSubscriptionsBasePlansMigratePricesCall

MigratePrices: Migrates subscribers who are receiving an historical subscription price to the currently-offered price for the specified region. Requests will cause price change notifications to be sent to users who are currently receiving an historical price older than the supplied timestamp. Subscribers who do not agree to the new price will have their subscription ended at the next renewal.

type MonetizationSubscriptionsBatchGetCall

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

func (*MonetizationSubscriptionsBatchGetCall) Context

func (c *MonetizationSubscriptionsBatchGetCall) Context(ctx context.Context) *MonetizationSubscriptionsBatchGetCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBatchGetCall) Do

func (c *MonetizationSubscriptionsBatchGetCall) Do(opts ...googleapi.CallOption) (*BatchGetSubscriptionsResponse, error)

Do executes the "androidpublisher.monetization.subscriptions.batchGet" call. Any non-2xx status code is an error. Response headers are in either *BatchGetSubscriptionsResponse.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 (*MonetizationSubscriptionsBatchGetCall) Fields

func (c *MonetizationSubscriptionsBatchGetCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBatchGetCall

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

func (*MonetizationSubscriptionsBatchGetCall) Header

func (c *MonetizationSubscriptionsBatchGetCall) Header() http.Header

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

func (*MonetizationSubscriptionsBatchGetCall) IfNoneMatch

func (c *MonetizationSubscriptionsBatchGetCall) IfNoneMatch(entityTag string) *MonetizationSubscriptionsBatchGetCall

IfNoneMatch sets an 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.

func (*MonetizationSubscriptionsBatchGetCall) ProductIds

func (c *MonetizationSubscriptionsBatchGetCall) ProductIds(productIds ...string) *MonetizationSubscriptionsBatchGetCall

ProductIds sets the optional parameter "productIds": Required. A list of up to 100 subscription product IDs to retrieve. All the IDs must be different.

type MonetizationSubscriptionsBatchUpdateCall

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

func (*MonetizationSubscriptionsBatchUpdateCall) Context

func (c *MonetizationSubscriptionsBatchUpdateCall) Context(ctx context.Context) *MonetizationSubscriptionsBatchUpdateCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsBatchUpdateCall) Do

func (c *MonetizationSubscriptionsBatchUpdateCall) Do(opts ...googleapi.CallOption) (*BatchUpdateSubscriptionsResponse, error)

Do executes the "androidpublisher.monetization.subscriptions.batchUpdate" call. Any non-2xx status code is an error. Response headers are in either *BatchUpdateSubscriptionsResponse.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 (*MonetizationSubscriptionsBatchUpdateCall) Fields

func (c *MonetizationSubscriptionsBatchUpdateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsBatchUpdateCall

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

func (*MonetizationSubscriptionsBatchUpdateCall) Header

func (c *MonetizationSubscriptionsBatchUpdateCall) Header() http.Header

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

type MonetizationSubscriptionsCreateCall

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

func (*MonetizationSubscriptionsCreateCall) Context

func (c *MonetizationSubscriptionsCreateCall) Context(ctx context.Context) *MonetizationSubscriptionsCreateCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsCreateCall) Do

func (c *MonetizationSubscriptionsCreateCall) Do(opts ...googleapi.CallOption) (*Subscription, error)

Do executes the "androidpublisher.monetization.subscriptions.create" call. Any non-2xx status code is an error. Response headers are in either *Subscription.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 (*MonetizationSubscriptionsCreateCall) Fields

func (c *MonetizationSubscriptionsCreateCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsCreateCall

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

func (*MonetizationSubscriptionsCreateCall) Header

func (c *MonetizationSubscriptionsCreateCall) Header() http.Header

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

func (*MonetizationSubscriptionsCreateCall) ProductId

func (c *MonetizationSubscriptionsCreateCall) ProductId(productId string) *MonetizationSubscriptionsCreateCall

ProductId sets the optional parameter "productId": Required. The ID to use for the subscription. For the requirements on this format, see the documentation of the product_id field on the Subscription resource.

func (*MonetizationSubscriptionsCreateCall) RegionsVersionVersion

func (c *MonetizationSubscriptionsCreateCall) RegionsVersionVersion(regionsVersionVersion string) *MonetizationSubscriptionsCreateCall

RegionsVersionVersion sets the optional parameter "regionsVersion.version": Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in this article (https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. The latest version is 2022/02.

type MonetizationSubscriptionsDeleteCall

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

func (*MonetizationSubscriptionsDeleteCall) Context

func (c *MonetizationSubscriptionsDeleteCall) Context(ctx context.Context) *MonetizationSubscriptionsDeleteCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsDeleteCall) Do

func (c *MonetizationSubscriptionsDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "androidpublisher.monetization.subscriptions.delete" call.

func (*MonetizationSubscriptionsDeleteCall) Fields

func (c *MonetizationSubscriptionsDeleteCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsDeleteCall

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

func (*MonetizationSubscriptionsDeleteCall) Header

func (c *MonetizationSubscriptionsDeleteCall) Header() http.Header

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

type MonetizationSubscriptionsGetCall

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

func (*MonetizationSubscriptionsGetCall) Context

func (c *MonetizationSubscriptionsGetCall) Context(ctx context.Context) *MonetizationSubscriptionsGetCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsGetCall) Do

func (c *MonetizationSubscriptionsGetCall) Do(opts ...googleapi.CallOption) (*Subscription, error)

Do executes the "androidpublisher.monetization.subscriptions.get" call. Any non-2xx status code is an error. Response headers are in either *Subscription.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 (*MonetizationSubscriptionsGetCall) Fields

func (c *MonetizationSubscriptionsGetCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsGetCall

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

func (*MonetizationSubscriptionsGetCall) Header

func (c *MonetizationSubscriptionsGetCall) Header() http.Header

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

func (*MonetizationSubscriptionsGetCall) IfNoneMatch

func (c *MonetizationSubscriptionsGetCall) IfNoneMatch(entityTag string) *MonetizationSubscriptionsGetCall

IfNoneMatch sets an 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.

type MonetizationSubscriptionsListCall

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

func (*MonetizationSubscriptionsListCall) Context

func (c *MonetizationSubscriptionsListCall) Context(ctx context.Context) *MonetizationSubscriptionsListCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsListCall) Do

func (c *MonetizationSubscriptionsListCall) Do(opts ...googleapi.CallOption) (*ListSubscriptionsResponse, error)

Do executes the "androidpublisher.monetization.subscriptions.list" call. Any non-2xx status code is an error. Response headers are in either *ListSubscriptionsResponse.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 (*MonetizationSubscriptionsListCall) Fields

func (c *MonetizationSubscriptionsListCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsListCall

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

func (*MonetizationSubscriptionsListCall) Header

func (c *MonetizationSubscriptionsListCall) Header() http.Header

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

func (*MonetizationSubscriptionsListCall) IfNoneMatch

func (c *MonetizationSubscriptionsListCall) IfNoneMatch(entityTag string) *MonetizationSubscriptionsListCall

IfNoneMatch sets an 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.

func (*MonetizationSubscriptionsListCall) PageSize

func (c *MonetizationSubscriptionsListCall) PageSize(pageSize int64) *MonetizationSubscriptionsListCall

PageSize sets the optional parameter "pageSize": The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 50 subscriptions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*MonetizationSubscriptionsListCall) PageToken

func (c *MonetizationSubscriptionsListCall) PageToken(pageToken string) *MonetizationSubscriptionsListCall

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListSubscriptions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubscriptions` must match the call that provided the page token.

func (*MonetizationSubscriptionsListCall) Pages

func (c *MonetizationSubscriptionsListCall) Pages(ctx context.Context, f func(*ListSubscriptionsResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*MonetizationSubscriptionsListCall) ShowArchived

func (c *MonetizationSubscriptionsListCall) ShowArchived(showArchived bool) *MonetizationSubscriptionsListCall

ShowArchived sets the optional parameter "showArchived": Deprecated: subscription archiving is not supported.

type MonetizationSubscriptionsPatchCall

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

func (*MonetizationSubscriptionsPatchCall) AllowMissing

func (c *MonetizationSubscriptionsPatchCall) AllowMissing(allowMissing bool) *MonetizationSubscriptionsPatchCall

AllowMissing sets the optional parameter "allowMissing": If set to true, and the subscription with the given package_name and product_id doesn't exist, the subscription will be created. If a new subscription is created, update_mask is ignored.

func (*MonetizationSubscriptionsPatchCall) Context

func (c *MonetizationSubscriptionsPatchCall) Context(ctx context.Context) *MonetizationSubscriptionsPatchCall

Context sets the context to be used in this call's Do method.

func (*MonetizationSubscriptionsPatchCall) Do

func (c *MonetizationSubscriptionsPatchCall) Do(opts ...googleapi.CallOption) (*Subscription, error)

Do executes the "androidpublisher.monetization.subscriptions.patch" call. Any non-2xx status code is an error. Response headers are in either *Subscription.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 (*MonetizationSubscriptionsPatchCall) Fields

func (c *MonetizationSubscriptionsPatchCall) Fields(s ...googleapi.Field) *MonetizationSubscriptionsPatchCall

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

func (*MonetizationSubscriptionsPatchCall) Header

func (c *MonetizationSubscriptionsPatchCall) Header() http.Header

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

func (*MonetizationSubscriptionsPatchCall) LatencyTolerance

func (c *MonetizationSubscriptionsPatchCall) LatencyTolerance(latencyTolerance string) *MonetizationSubscriptionsPatchCall

LatencyTolerance sets the optional parameter "latencyTolerance": The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.

Possible values:

"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to

PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.

"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will

propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.

"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will

propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods.

func (*MonetizationSubscriptionsPatchCall) RegionsVersionVersion

func (c *MonetizationSubscriptionsPatchCall) RegionsVersionVersion(regionsVersionVersion string) *MonetizationSubscriptionsPatchCall

RegionsVersionVersion sets the optional parameter "regionsVersion.version": Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in this article (https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. The latest version is 2022/02.

func (*MonetizationSubscriptionsPatchCall) UpdateMask

func (c *MonetizationSubscriptionsPatchCall) UpdateMask(updateMask string) *MonetizationSubscriptionsPatchCall

UpdateMask sets the optional parameter "updateMask": Required. The list of fields to be updated.

type MonetizationSubscriptionsService

type MonetizationSubscriptionsService struct {
    BasePlans *MonetizationSubscriptionsBasePlansService
    // contains filtered or unexported fields
}

func NewMonetizationSubscriptionsService

func NewMonetizationSubscriptionsService(s *Service) *MonetizationSubscriptionsService

func (*MonetizationSubscriptionsService) Archive

func (r *MonetizationSubscriptionsService) Archive(packageName string, productId string, archivesubscriptionrequest *ArchiveSubscriptionRequest) *MonetizationSubscriptionsArchiveCall

Archive: Deprecated: subscription archiving is not supported.

func (*MonetizationSubscriptionsService) BatchGet

func (r *MonetizationSubscriptionsService) BatchGet(packageName string) *MonetizationSubscriptionsBatchGetCall

BatchGet: Reads one or more subscriptions.

func (*MonetizationSubscriptionsService) BatchUpdate

func (r *MonetizationSubscriptionsService) BatchUpdate(packageName string, batchupdatesubscriptionsrequest *BatchUpdateSubscriptionsRequest) *MonetizationSubscriptionsBatchUpdateCall

BatchUpdate: Updates a batch of subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.

func (*MonetizationSubscriptionsService) Create

func (r *MonetizationSubscriptionsService) Create(packageName string, subscription *Subscription) *MonetizationSubscriptionsCreateCall

Create: Creates a new subscription. Newly added base plans will remain in draft state until activated.

func (*MonetizationSubscriptionsService) Delete

func (r *MonetizationSubscriptionsService) Delete(packageName string, productId string) *MonetizationSubscriptionsDeleteCall

Delete: Deletes a subscription. A subscription can only be deleted if it has never had a base plan published.

func (*MonetizationSubscriptionsService) Get

func (r *MonetizationSubscriptionsService) Get(packageName string, productId string) *MonetizationSubscriptionsGetCall

Get: Reads a single subscription.

- packageName: The parent app (package name) of the subscription to get. - productId: The unique product ID of the subscription to get.

func (*MonetizationSubscriptionsService) List

func (r *MonetizationSubscriptionsService) List(packageName string) *MonetizationSubscriptionsListCall

List: Lists all subscriptions under a given app.

func (*MonetizationSubscriptionsService) Patch

func (r *MonetizationSubscriptionsService) Patch(packageName string, productId string, subscription *Subscription) *MonetizationSubscriptionsPatchCall

Patch: Updates an existing subscription.

type Money

Money: Represents an amount of money with its currency type.

type Money struct {
    // CurrencyCode: The three-letter currency code defined in ISO 4217.
    CurrencyCode string `json:"currencyCode,omitempty"`
    // Nanos: Number of nano (10^-9) units of the amount. The value must be between
    // -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos`
    // must be positive or zero. If `units` is zero, `nanos` can be positive, zero,
    // or negative. If `units` is negative, `nanos` must be negative or zero. For
    // example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
    Nanos int64 `json:"nanos,omitempty"`
    // Units: The whole units of the amount. For example if `currencyCode` is
    // "USD", then 1 unit is one US dollar.
    Units int64 `json:"units,omitempty,string"`
    // ForceSendFields is a list of field names (e.g. "CurrencyCode") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CurrencyCode") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Money) MarshalJSON

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

type MultiAbi

MultiAbi: Represents a list of apis.

type MultiAbi struct {
    // Abi: A list of targeted ABIs, as represented by the Android Platform
    Abi []*Abi `json:"abi,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Abi") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Abi") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*MultiAbi) MarshalJSON

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

type MultiAbiTargeting

MultiAbiTargeting: Targeting based on multiple abis.

type MultiAbiTargeting struct {
    // Alternatives: Targeting of other sibling directories that were in the
    // Bundle. For main splits this is targeting of other main splits.
    Alternatives []*MultiAbi `json:"alternatives,omitempty"`
    // Value: Value of a multi abi.
    Value []*MultiAbi `json:"value,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Alternatives") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Alternatives") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*MultiAbiTargeting) MarshalJSON

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

type OfferDetails

OfferDetails: Offer details information related to a purchase line item.

type OfferDetails struct {
    // BasePlanId: The base plan ID. Present for all base plan and offers.
    BasePlanId string `json:"basePlanId,omitempty"`
    // OfferId: The offer ID. Only present for discounted offers.
    OfferId string `json:"offerId,omitempty"`
    // OfferTags: The latest offer tags associated with the offer. It includes tags
    // inherited from the base plan.
    OfferTags []string `json:"offerTags,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BasePlanId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BasePlanId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*OfferDetails) MarshalJSON

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

type OfferTag

OfferTag: Represents a custom tag specified for base plans and subscription offers.

type OfferTag struct {
    // Tag: Must conform with RFC-1034. That is, this string can only contain
    // lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 20
    // characters.
    Tag string `json:"tag,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Tag") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Tag") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*OfferTag) MarshalJSON

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

type OneTimeExternalTransaction

OneTimeExternalTransaction: Represents a one-time transaction.

type OneTimeExternalTransaction struct {
    // ExternalTransactionToken: Input only. Provided during the call to Create.
    // Retrieved from the client when the alternative billing flow is launched.
    ExternalTransactionToken string `json:"externalTransactionToken,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ExternalTransactionToken")
    // to unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ExternalTransactionToken") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*OneTimeExternalTransaction) MarshalJSON

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

type OrdersRefundCall

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

func (*OrdersRefundCall) Context

func (c *OrdersRefundCall) Context(ctx context.Context) *OrdersRefundCall

Context sets the context to be used in this call's Do method.

func (*OrdersRefundCall) Do

func (c *OrdersRefundCall) Do(opts ...googleapi.CallOption) error

Do executes the "androidpublisher.orders.refund" call.

func (*OrdersRefundCall) Fields

func (c *OrdersRefundCall) Fields(s ...googleapi.Field) *OrdersRefundCall

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

func (*OrdersRefundCall) Header

func (c *OrdersRefundCall) Header() http.Header

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

func (*OrdersRefundCall) Revoke

func (c *OrdersRefundCall) Revoke(revoke bool) *OrdersRefundCall

Revoke sets the optional parameter "revoke": Whether to revoke the purchased item. If set to true, access to the subscription or in-app item will be terminated immediately. If the item is a recurring subscription, all future payments will also be terminated. Consumed in-app items need to be handled by developer's app. (optional).

type OrdersService

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

func NewOrdersService

func NewOrdersService(s *Service) *OrdersService

func (*OrdersService) Refund

func (r *OrdersService) Refund(packageName string, orderId string) *OrdersRefundCall

Refund: Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be refunded.

type OtherRecurringProduct

OtherRecurringProduct: Details of a recurring external transaction product which doesn't belong to any other more specific category.

type OtherRecurringProduct struct {
}

type OtherRegionsBasePlanConfig

OtherRegionsBasePlanConfig: Pricing information for any new locations Play may launch in.

type OtherRegionsBasePlanConfig struct {
    // EurPrice: Required. Price in EUR to use for any new locations Play may
    // launch in.
    EurPrice *Money `json:"eurPrice,omitempty"`
    // NewSubscriberAvailability: Whether the base plan is available for new
    // subscribers in any new locations Play may launch in. If not specified, this
    // will default to false.
    NewSubscriberAvailability bool `json:"newSubscriberAvailability,omitempty"`
    // UsdPrice: Required. Price in USD to use for any new locations Play may
    // launch in.
    UsdPrice *Money `json:"usdPrice,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EurPrice") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EurPrice") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*OtherRegionsBasePlanConfig) MarshalJSON

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

type OtherRegionsSubscriptionOfferConfig

OtherRegionsSubscriptionOfferConfig: Configuration for any new locations Play may launch in specified on a subscription offer.

type OtherRegionsSubscriptionOfferConfig struct {
    // OtherRegionsNewSubscriberAvailability: Whether the subscription offer in any
    // new locations Play may launch in the future. If not specified, this will
    // default to false.
    OtherRegionsNewSubscriberAvailability bool `json:"otherRegionsNewSubscriberAvailability,omitempty"`
    // ForceSendFields is a list of field names (e.g.
    // "OtherRegionsNewSubscriberAvailability") to unconditionally include in API
    // requests. By default, fields with empty or default values are omitted from
    // API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g.
    // "OtherRegionsNewSubscriberAvailability") to include in API requests with the
    // JSON null value. By default, fields with empty values are omitted from API
    // requests. See https://pkg.go.dev/google.golang.org/api#hdr-NullFields for
    // more details.
    NullFields []string `json:"-"`
}

func (*OtherRegionsSubscriptionOfferConfig) MarshalJSON

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

type OtherRegionsSubscriptionOfferPhaseConfig

OtherRegionsSubscriptionOfferPhaseConfig: Configuration for any new locations Play may launch in for a single offer phase.

type OtherRegionsSubscriptionOfferPhaseConfig struct {
    // AbsoluteDiscounts: The absolute amount of money subtracted from the base
    // plan price prorated over the phase duration that the user pays for this
    // offer phase. For example, if the base plan price for this region is $12 for
    // a period of 1 year, then a $1 absolute discount for a phase of a duration of
    // 3 months would correspond to a price of $2. The resulting price may not be
    // smaller than the minimum price allowed for any new locations Play may launch
    // in.
    AbsoluteDiscounts *OtherRegionsSubscriptionOfferPhasePrices `json:"absoluteDiscounts,omitempty"`
    // Free: Set to specify this offer is free to obtain.
    Free *OtherRegionsSubscriptionOfferPhaseFreePriceOverride `json:"free,omitempty"`
    // OtherRegionsPrices: The absolute price the user pays for this offer phase.
    // The price must not be smaller than the minimum price allowed for any new
    // locations Play may launch in.
    OtherRegionsPrices *OtherRegionsSubscriptionOfferPhasePrices `json:"otherRegionsPrices,omitempty"`
    // RelativeDiscount: The fraction of the base plan price prorated over the
    // phase duration that the user pays for this offer phase. For example, if the
    // base plan price for this region is $12 for a period of 1 year, then a 50%
    // discount for a phase of a duration of 3 months would correspond to a price
    // of $1.50. The discount must be specified as a fraction strictly larger than
    // 0 and strictly smaller than 1. The resulting price will be rounded to the
    // nearest billable unit (e.g. cents for USD). The relative discount is
    // considered invalid if the discounted price ends up being smaller than the
    // minimum price allowed in any new locations Play may launch in.
    RelativeDiscount float64 `json:"relativeDiscount,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AbsoluteDiscounts") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AbsoluteDiscounts") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*OtherRegionsSubscriptionOfferPhaseConfig) MarshalJSON

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

func (*OtherRegionsSubscriptionOfferPhaseConfig) UnmarshalJSON

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

type OtherRegionsSubscriptionOfferPhaseFreePriceOverride

OtherRegionsSubscriptionOfferPhaseFreePriceOverride: Represents the free price override configuration for any new locations Play may launch for a single offer phase.

type OtherRegionsSubscriptionOfferPhaseFreePriceOverride struct {
}

type OtherRegionsSubscriptionOfferPhasePrices

OtherRegionsSubscriptionOfferPhasePrices: Pricing information for any new locations Play may launch in.

type OtherRegionsSubscriptionOfferPhasePrices struct {
    // EurPrice: Required. Price in EUR to use for any new locations Play may
    // launch in.
    EurPrice *Money `json:"eurPrice,omitempty"`
    // UsdPrice: Required. Price in USD to use for any new locations Play may
    // launch in.
    UsdPrice *Money `json:"usdPrice,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EurPrice") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EurPrice") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*OtherRegionsSubscriptionOfferPhasePrices) MarshalJSON

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

type PageInfo

PageInfo: Information about the current page. List operations that supports paging return only one "page" of results. This protocol buffer message describes the page that has been returned.

type PageInfo struct {
    // ResultPerPage: Maximum number of results returned in one page. ! The number
    // of results included in the API response.
    ResultPerPage int64 `json:"resultPerPage,omitempty"`
    // StartIndex: Index of the first result returned in the current page.
    StartIndex int64 `json:"startIndex,omitempty"`
    // TotalResults: Total number of results available on the backend ! The total
    // number of results in the result set.
    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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ResultPerPage") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*PageInfo) MarshalJSON

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

type PartialRefund

PartialRefund: A partial refund of a transaction.

type PartialRefund struct {
    // RefundId: Required. A unique id distinguishing this partial refund. If the
    // refund is successful, subsequent refunds with the same id will fail. Must be
    // unique across refunds for one individual transaction.
    RefundId string `json:"refundId,omitempty"`
    // RefundPreTaxAmount: Required. The pre-tax amount of the partial refund.
    // Should be less than the remaining pre-tax amount of the transaction.
    RefundPreTaxAmount *Price `json:"refundPreTaxAmount,omitempty"`
    // ForceSendFields is a list of field names (e.g. "RefundId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RefundId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*PartialRefund) MarshalJSON

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

type PausedStateContext

PausedStateContext: Information specific to a subscription in paused state.

type PausedStateContext struct {
    // AutoResumeTime: Time at which the subscription will be automatically
    // resumed.
    AutoResumeTime string `json:"autoResumeTime,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AutoResumeTime") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AutoResumeTime") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*PausedStateContext) MarshalJSON

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

type PendingCancellation

PendingCancellation: This is an indicator of whether there is a pending cancellation on the virtual installment plan. The cancellation will happen only after the user finished all committed payments.

type PendingCancellation struct {
}

type PrepaidBasePlanType

PrepaidBasePlanType: Represents a base plan that does not automatically renew at the end of the base plan, and must be manually renewed by the user.

type PrepaidBasePlanType struct {
    // BillingPeriodDuration: Required. Subscription period, specified in ISO 8601
    // format. For a list of acceptable billing periods, refer to the help center.
    BillingPeriodDuration string `json:"billingPeriodDuration,omitempty"`
    // TimeExtension: Whether users should be able to extend this prepaid base plan
    // in Google Play surfaces. Defaults to TIME_EXTENSION_ACTIVE if not specified.
    //
    // Possible values:
    //   "TIME_EXTENSION_UNSPECIFIED" - Unspecified state.
    //   "TIME_EXTENSION_ACTIVE" - Time extension is active. Users are allowed to
    // top-up or extend their prepaid plan.
    //   "TIME_EXTENSION_INACTIVE" - Time extension is inactive. Users cannot
    // top-up or extend their prepaid plan.
    TimeExtension string `json:"timeExtension,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BillingPeriodDuration") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BillingPeriodDuration") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*PrepaidBasePlanType) MarshalJSON

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

type PrepaidPlan

PrepaidPlan: Information related to a prepaid plan.

type PrepaidPlan struct {
    // AllowExtendAfterTime: If present, this is the time after which top up
    // purchases are allowed for the prepaid plan. Will not be present for expired
    // prepaid plans.
    AllowExtendAfterTime string `json:"allowExtendAfterTime,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AllowExtendAfterTime") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AllowExtendAfterTime") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*PrepaidPlan) MarshalJSON

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

type Price

Price: Definition of a price, i.e. currency and units.

type Price struct {
    // Currency: 3 letter Currency code, as defined by ISO 4217. See
    // java/com/google/common/money/CurrencyCode.java
    Currency string `json:"currency,omitempty"`
    // PriceMicros: Price in 1/million 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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Currency") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Price) MarshalJSON

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

type ProductPurchase

ProductPurchase: A ProductPurchase resource indicates the status of a user's inapp product purchase.

type ProductPurchase struct {
    // AcknowledgementState: The acknowledgement state of the inapp product.
    // Possible values are: 0. Yet to be acknowledged 1. Acknowledged
    AcknowledgementState int64 `json:"acknowledgementState,omitempty"`
    // ConsumptionState: The consumption state of the inapp product. Possible
    // values are: 0. Yet to be consumed 1. 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"`
    // ObfuscatedExternalAccountId: An obfuscated version of the id that is
    // uniquely associated with the user's account in your app. Only present if
    // specified using
    // https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid
    // when the purchase was made.
    ObfuscatedExternalAccountId string `json:"obfuscatedExternalAccountId,omitempty"`
    // ObfuscatedExternalProfileId: An obfuscated version of the id that is
    // uniquely associated with the user's profile in your app. Only present if
    // specified using
    // https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid
    // when the purchase was made.
    ObfuscatedExternalProfileId string `json:"obfuscatedExternalProfileId,omitempty"`
    // OrderId: The order id associated with the purchase of the inapp product.
    OrderId string `json:"orderId,omitempty"`
    // ProductId: The inapp product SKU. May not be present.
    ProductId string `json:"productId,omitempty"`
    // PurchaseState: The purchase state of the order. Possible values are: 0.
    // Purchased 1. Canceled 2. Pending
    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"`
    // PurchaseToken: The purchase token generated to identify this purchase. May
    // not be present.
    PurchaseToken string `json:"purchaseToken,omitempty"`
    // PurchaseType: The type of purchase of the inapp product. This field is only
    // set if this purchase was not made using the standard in-app billing flow.
    // Possible values are: 0. Test (i.e. purchased from a license testing account)
    // 1. Promo (i.e. purchased using a promo code). Does not include Play Points
    // purchases. 2. Rewarded (i.e. from watching a video ad instead of paying)
    PurchaseType *int64 `json:"purchaseType,omitempty"`
    // Quantity: The quantity associated with the purchase of the inapp product. If
    // not present, the quantity is 1.
    Quantity int64 `json:"quantity,omitempty"`
    // RefundableQuantity: The quantity eligible for refund, i.e. quantity that
    // hasn't been refunded. The value reflects quantity-based partial refunds and
    // full refunds.
    RefundableQuantity int64 `json:"refundableQuantity,omitempty"`
    // RegionCode: ISO 3166-1 alpha-2 billing region code of the user at the time
    // the product was granted.
    RegionCode string `json:"regionCode,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "AcknowledgementState") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AcknowledgementState") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ProductPurchase) MarshalJSON

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

type ProductPurchasesAcknowledgeRequest

ProductPurchasesAcknowledgeRequest: Request for the product.purchases.acknowledge API.

type ProductPurchasesAcknowledgeRequest struct {
    // DeveloperPayload: Payload to attach to the purchase.
    DeveloperPayload string `json:"developerPayload,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DeveloperPayload") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeveloperPayload") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ProductPurchasesAcknowledgeRequest) MarshalJSON

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

type PurchasesProductsAcknowledgeCall

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

func (*PurchasesProductsAcknowledgeCall) Context

func (c *PurchasesProductsAcknowledgeCall) Context(ctx context.Context) *PurchasesProductsAcknowledgeCall

Context sets the context to be used in this call's Do method.

func (*PurchasesProductsAcknowledgeCall) Do

func (c *PurchasesProductsAcknowledgeCall) Do(opts ...googleapi.CallOption) error

Do executes the "androidpublisher.purchases.products.acknowledge" call.

func (*PurchasesProductsAcknowledgeCall) Fields

func (c *PurchasesProductsAcknowledgeCall) Fields(s ...googleapi.Field) *PurchasesProductsAcknowledgeCall

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

func (*PurchasesProductsAcknowledgeCall) Header

func (c *PurchasesProductsAcknowledgeCall) Header() http.Header

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

type PurchasesProductsConsumeCall

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

func (*PurchasesProductsConsumeCall) Context

func (c *PurchasesProductsConsumeCall) Context(ctx context.Context) *PurchasesProductsConsumeCall

Context sets the context to be used in this call's Do method.

func (*PurchasesProductsConsumeCall) Do

func (c *PurchasesProductsConsumeCall) Do(opts ...googleapi.CallOption) error

Do executes the "androidpublisher.purchases.products.consume" call.

func (*PurchasesProductsConsumeCall) Fields

func (c *PurchasesProductsConsumeCall) Fields(s ...googleapi.Field) *PurchasesProductsConsumeCall

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

func (*PurchasesProductsConsumeCall) Header

func (c *PurchasesProductsConsumeCall) Header() http.Header

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

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.

func (*PurchasesProductsGetCall) Do

func (c *PurchasesProductsGetCall) Do(opts ...googleapi.CallOption) (*ProductPurchase, error)

Do executes the "androidpublisher.purchases.products.get" call. 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 details.

func (*PurchasesProductsGetCall) Header

func (c *PurchasesProductsGetCall) Header() http.Header

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

func (*PurchasesProductsGetCall) IfNoneMatch

func (c *PurchasesProductsGetCall) IfNoneMatch(entityTag string) *PurchasesProductsGetCall

IfNoneMatch sets an 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.

type PurchasesProductsService

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

func NewPurchasesProductsService

func NewPurchasesProductsService(s *Service) *PurchasesProductsService

func (*PurchasesProductsService) Acknowledge

func (r *PurchasesProductsService) Acknowledge(packageName string, productId string, token string, productpurchasesacknowledgerequest *ProductPurchasesAcknowledgeRequest) *PurchasesProductsAcknowledgeCall

Acknowledge: Acknowledges a purchase of an inapp item.

func (*PurchasesProductsService) Consume

func (r *PurchasesProductsService) Consume(packageName string, productId string, token string) *PurchasesProductsConsumeCall

Consume: Consumes a purchase for an inapp item.

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

    Subscriptionsv2 *PurchasesSubscriptionsv2Service

    Voidedpurchases *PurchasesVoidedpurchasesService
    // contains filtered or unexported fields
}

func NewPurchasesService

func NewPurchasesService(s *Service) *PurchasesService

type PurchasesSubscriptionsAcknowledgeCall

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

func (*PurchasesSubscriptionsAcknowledgeCall) Context

func (c *PurchasesSubscriptionsAcknowledgeCall) Context(ctx context.Context) *PurchasesSubscriptionsAcknowledgeCall

Context sets the context to be used in this call's Do method.

func (*PurchasesSubscriptionsAcknowledgeCall) Do

func (c *PurchasesSubscriptionsAcknowledgeCall) Do(opts ...googleapi.CallOption) error

Do executes the "androidpublisher.purchases.subscriptions.acknowledge" call.

func (*PurchasesSubscriptionsAcknowledgeCall) Fields

func (c *PurchasesSubscriptionsAcknowledgeCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsAcknowledgeCall

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

func (*PurchasesSubscriptionsAcknowledgeCall) Header

func (c *PurchasesSubscriptionsAcknowledgeCall) Header() http.Header

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

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.

func (*PurchasesSubscriptionsCancelCall) Do

func (c *PurchasesSubscriptionsCancelCall) Do(opts ...googleapi.CallOption) 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 details.

func (*PurchasesSubscriptionsCancelCall) Header

func (c *PurchasesSubscriptionsCancelCall) Header() http.Header

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

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.

func (*PurchasesSubscriptionsDeferCall) Do

func (c *PurchasesSubscriptionsDeferCall) Do(opts ...googleapi.CallOption) (*SubscriptionPurchasesDeferResponse, error)

Do executes the "androidpublisher.purchases.subscriptions.defer" call. 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 details.

func (*PurchasesSubscriptionsDeferCall) Header

func (c *PurchasesSubscriptionsDeferCall) Header() http.Header

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

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.

func (*PurchasesSubscriptionsGetCall) Do

func (c *PurchasesSubscriptionsGetCall) Do(opts ...googleapi.CallOption) (*SubscriptionPurchase, error)

Do executes the "androidpublisher.purchases.subscriptions.get" call. 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 details.

func (*PurchasesSubscriptionsGetCall) Header

func (c *PurchasesSubscriptionsGetCall) Header() http.Header

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

func (*PurchasesSubscriptionsGetCall) IfNoneMatch

func (c *PurchasesSubscriptionsGetCall) IfNoneMatch(entityTag string) *PurchasesSubscriptionsGetCall

IfNoneMatch sets an 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.

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.

func (*PurchasesSubscriptionsRefundCall) Do

func (c *PurchasesSubscriptionsRefundCall) Do(opts ...googleapi.CallOption) 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 details.

func (*PurchasesSubscriptionsRefundCall) Header

func (c *PurchasesSubscriptionsRefundCall) Header() http.Header

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

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.

func (*PurchasesSubscriptionsRevokeCall) Do

func (c *PurchasesSubscriptionsRevokeCall) Do(opts ...googleapi.CallOption) 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 details.

func (*PurchasesSubscriptionsRevokeCall) Header

func (c *PurchasesSubscriptionsRevokeCall) Header() http.Header

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

type PurchasesSubscriptionsService

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

func NewPurchasesSubscriptionsService

func NewPurchasesSubscriptionsService(s *Service) *PurchasesSubscriptionsService

func (*PurchasesSubscriptionsService) Acknowledge

func (r *PurchasesSubscriptionsService) Acknowledge(packageName string, subscriptionId string, token string, subscriptionpurchasesacknowledgerequest *SubscriptionPurchasesAcknowledgeRequest) *PurchasesSubscriptionsAcknowledgeCall

Acknowledge: Acknowledges a subscription purchase.

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 PurchasesSubscriptionsv2GetCall

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

func (*PurchasesSubscriptionsv2GetCall) Context

func (c *PurchasesSubscriptionsv2GetCall) Context(ctx context.Context) *PurchasesSubscriptionsv2GetCall

Context sets the context to be used in this call's Do method.

func (*PurchasesSubscriptionsv2GetCall) Do

func (c *PurchasesSubscriptionsv2GetCall) Do(opts ...googleapi.CallOption) (*SubscriptionPurchaseV2, error)

Do executes the "androidpublisher.purchases.subscriptionsv2.get" call. Any non-2xx status code is an error. Response headers are in either *SubscriptionPurchaseV2.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 (*PurchasesSubscriptionsv2GetCall) Fields

func (c *PurchasesSubscriptionsv2GetCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsv2GetCall

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

func (*PurchasesSubscriptionsv2GetCall) Header

func (c *PurchasesSubscriptionsv2GetCall) Header() http.Header

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

func (*PurchasesSubscriptionsv2GetCall) IfNoneMatch

func (c *PurchasesSubscriptionsv2GetCall) IfNoneMatch(entityTag string) *PurchasesSubscriptionsv2GetCall

IfNoneMatch sets an 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.

type PurchasesSubscriptionsv2RevokeCall

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

func (*PurchasesSubscriptionsv2RevokeCall) Context

func (c *PurchasesSubscriptionsv2RevokeCall) Context(ctx context.Context) *PurchasesSubscriptionsv2RevokeCall

Context sets the context to be used in this call's Do method.

func (*PurchasesSubscriptionsv2RevokeCall) Do

func (c *PurchasesSubscriptionsv2RevokeCall) Do(opts ...googleapi.CallOption) (*RevokeSubscriptionPurchaseResponse, error)

Do executes the "androidpublisher.purchases.subscriptionsv2.revoke" call. Any non-2xx status code is an error. Response headers are in either *RevokeSubscriptionPurchaseResponse.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 (*PurchasesSubscriptionsv2RevokeCall) Fields

func (c *PurchasesSubscriptionsv2RevokeCall) Fields(s ...googleapi.Field) *PurchasesSubscriptionsv2RevokeCall

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

func (*PurchasesSubscriptionsv2RevokeCall) Header

func (c *PurchasesSubscriptionsv2RevokeCall) Header() http.Header

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

type PurchasesSubscriptionsv2Service

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

func NewPurchasesSubscriptionsv2Service

func NewPurchasesSubscriptionsv2Service(s *Service) *PurchasesSubscriptionsv2Service

func (*PurchasesSubscriptionsv2Service) Get

func (r *PurchasesSubscriptionsv2Service) Get(packageName string, token string) *PurchasesSubscriptionsv2GetCall

Get: Get metadata about a subscription

func (*PurchasesSubscriptionsv2Service) Revoke

func (r *PurchasesSubscriptionsv2Service) Revoke(packageName string, token string, revokesubscriptionpurchaserequest *RevokeSubscriptionPurchaseRequest) *PurchasesSubscriptionsv2RevokeCall

Revoke: Revoke a subscription purchase for the user.

type PurchasesVoidedpurchasesListCall

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

func (*PurchasesVoidedpurchasesListCall) Context

func (c *PurchasesVoidedpurchasesListCall) Context(ctx context.Context) *PurchasesVoidedpurchasesListCall

Context sets the context to be used in this call's Do method.

func (*PurchasesVoidedpurchasesListCall) Do

func (c *PurchasesVoidedpurchasesListCall) Do(opts ...googleapi.CallOption) (*VoidedPurchasesListResponse, error)

Do executes the "androidpublisher.purchases.voidedpurchases.list" call. Any non-2xx status code is an error. Response headers are in either *VoidedPurchasesListResponse.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 (*PurchasesVoidedpurchasesListCall) EndTime

func (c *PurchasesVoidedpurchasesListCall) EndTime(endTime int64) *PurchasesVoidedpurchasesListCall

EndTime sets the optional parameter "endTime": The time, in milliseconds since the Epoch, of the newest voided purchase that you want to see in the response. The value of this parameter cannot be greater than the current time and is ignored if a pagination token is set. Default value is current time. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.

func (*PurchasesVoidedpurchasesListCall) Fields

func (c *PurchasesVoidedpurchasesListCall) Fields(s ...googleapi.Field) *PurchasesVoidedpurchasesListCall

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

func (*PurchasesVoidedpurchasesListCall) Header

func (c *PurchasesVoidedpurchasesListCall) Header() http.Header

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

func (*PurchasesVoidedpurchasesListCall) IfNoneMatch

func (c *PurchasesVoidedpurchasesListCall) IfNoneMatch(entityTag string) *PurchasesVoidedpurchasesListCall

IfNoneMatch sets an 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.

func (*PurchasesVoidedpurchasesListCall) IncludeQuantityBasedPartialRefund

func (c *PurchasesVoidedpurchasesListCall) IncludeQuantityBasedPartialRefund(includeQuantityBasedPartialRefund bool) *PurchasesVoidedpurchasesListCall

IncludeQuantityBasedPartialRefund sets the optional parameter "includeQuantityBasedPartialRefund": Whether to include voided purchases of quantity-based partial refunds, which are applicable only to multi-quantity purchases. If true, additional voided purchases may be returned with voidedQuantity that indicates the refund quantity of a quantity-based partial refund. The default value is false.

func (*PurchasesVoidedpurchasesListCall) MaxResults

func (c *PurchasesVoidedpurchasesListCall) MaxResults(maxResults int64) *PurchasesVoidedpurchasesListCall

MaxResults sets the optional parameter "maxResults": Defines how many results the list operation should return. The default number depends on the resource collection.

func (*PurchasesVoidedpurchasesListCall) StartIndex

func (c *PurchasesVoidedpurchasesListCall) StartIndex(startIndex int64) *PurchasesVoidedpurchasesListCall

StartIndex sets the optional parameter "startIndex": Defines the index of the first element to return. This can only be used if indexed paging is enabled.

func (*PurchasesVoidedpurchasesListCall) StartTime

func (c *PurchasesVoidedpurchasesListCall) StartTime(startTime int64) *PurchasesVoidedpurchasesListCall

StartTime sets the optional parameter "startTime": The time, in milliseconds since the Epoch, of the oldest voided purchase that you want to see in the response. The value of this parameter cannot be older than 30 days and is ignored if a pagination token is set. Default value is current time minus 30 days. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.

func (*PurchasesVoidedpurchasesListCall) Token

func (c *PurchasesVoidedpurchasesListCall) Token(token string) *PurchasesVoidedpurchasesListCall

Token sets the optional parameter "token": Defines the token of the page to return, usually taken from TokenPagination. This can only be used if token paging is enabled.

func (*PurchasesVoidedpurchasesListCall) Type

func (c *PurchasesVoidedpurchasesListCall) Type(type_ int64) *PurchasesVoidedpurchasesListCall

Type sets the optional parameter "type": The type of voided purchases that you want to see in the response. Possible values are: 0. Only voided in-app product purchases will be returned in the response. This is the default value. 1. Both voided in-app purchases and voided subscription purchases will be returned in the response. Note: Before requesting to receive voided subscription purchases, you must switch to use orderId in the response which uniquely identifies one-time purchases and subscriptions. Otherwise, you will receive multiple subscription orders with the same PurchaseToken, because subscription renewal orders share the same PurchaseToken.

type PurchasesVoidedpurchasesService

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

func NewPurchasesVoidedpurchasesService

func NewPurchasesVoidedpurchasesService(s *Service) *PurchasesVoidedpurchasesService

func (*PurchasesVoidedpurchasesService) List

func (r *PurchasesVoidedpurchasesService) List(packageName string) *PurchasesVoidedpurchasesListCall

List: Lists the purchases that were canceled, refunded or charged-back.

type RecurringExternalTransaction

RecurringExternalTransaction: Represents a transaction that is part of a recurring series of payments. This can be a subscription or a one-time product with multiple payments (such as preorder).

type RecurringExternalTransaction struct {
    // ExternalSubscription: Details of an external subscription.
    ExternalSubscription *ExternalSubscription `json:"externalSubscription,omitempty"`
    // ExternalTransactionToken: Input only. Provided during the call to Create.
    // Retrieved from the client when the alternative billing flow is launched.
    // Required only for the initial purchase.
    ExternalTransactionToken string `json:"externalTransactionToken,omitempty"`
    // InitialExternalTransactionId: The external transaction id of the first
    // transaction of this recurring series of transactions. For example, for a
    // subscription this would be the transaction id of the first payment. Required
    // when creating recurring external transactions.
    InitialExternalTransactionId string `json:"initialExternalTransactionId,omitempty"`
    // MigratedTransactionProgram: Input only. Provided during the call to Create.
    // Must only be used when migrating a subscription from manual monthly
    // reporting to automated reporting.
    //
    // Possible values:
    //   "EXTERNAL_TRANSACTION_PROGRAM_UNSPECIFIED" - Unspecified transaction
    // program. Not used.
    //   "USER_CHOICE_BILLING" - User choice billing, where a user may choose
    // between Google Play Billing developer-managed billing.
    //   "ALTERNATIVE_BILLING_ONLY" - Alternative billing only, where users may
    // only use developer-manager billing.
    MigratedTransactionProgram string `json:"migratedTransactionProgram,omitempty"`
    // OtherRecurringProduct: Details of a recurring external transaction product
    // which doesn't belong to any other specific category.
    OtherRecurringProduct *OtherRecurringProduct `json:"otherRecurringProduct,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ExternalSubscription") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ExternalSubscription") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RecurringExternalTransaction) MarshalJSON

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

type RefundExternalTransactionRequest

RefundExternalTransactionRequest: A request to refund an existing external transaction.

type RefundExternalTransactionRequest struct {
    // FullRefund: A full-amount refund.
    FullRefund *FullRefund `json:"fullRefund,omitempty"`
    // PartialRefund: A partial refund.
    PartialRefund *PartialRefund `json:"partialRefund,omitempty"`
    // RefundTime: Required. The time that the transaction was refunded.
    RefundTime string `json:"refundTime,omitempty"`
    // ForceSendFields is a list of field names (e.g. "FullRefund") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "FullRefund") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RefundExternalTransactionRequest) MarshalJSON

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

type RegionalBasePlanConfig

RegionalBasePlanConfig: Configuration for a base plan specific to a region.

type RegionalBasePlanConfig struct {
    // NewSubscriberAvailability: Whether the base plan in the specified region is
    // available for new subscribers. Existing subscribers will not have their
    // subscription canceled if this value is set to false. If not specified, this
    // will default to false.
    NewSubscriberAvailability bool `json:"newSubscriberAvailability,omitempty"`
    // Price: The price of the base plan in the specified region. Must be set if
    // the base plan is available to new subscribers. Must be set in the currency
    // that is linked to the specified region.
    Price *Money `json:"price,omitempty"`
    // RegionCode: Required. Region code this configuration applies to, as defined
    // by ISO 3166-2, e.g. "US".
    RegionCode string `json:"regionCode,omitempty"`
    // ForceSendFields is a list of field names (e.g. "NewSubscriberAvailability")
    // to unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NewSubscriberAvailability") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RegionalBasePlanConfig) MarshalJSON

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

type RegionalPriceMigrationConfig

RegionalPriceMigrationConfig: Configuration for a price migration.

type RegionalPriceMigrationConfig struct {
    // OldestAllowedPriceVersionTime: Required. The cutoff time for historical
    // prices that subscribers can remain paying. Subscribers on prices which were
    // available at this cutoff time or later will stay on their existing price.
    // Subscribers on older prices will be migrated to the currently-offered price.
    // The migrated subscribers will receive a notification that they will be
    // paying a different price. Subscribers who do not agree to the new price will
    // have their subscription ended at the next renewal.
    OldestAllowedPriceVersionTime string `json:"oldestAllowedPriceVersionTime,omitempty"`
    // PriceIncreaseType: Optional. The behavior the caller wants users to see when
    // there is a price increase during migration. If left unset, the behavior
    // defaults to PRICE_INCREASE_TYPE_OPT_IN. Note that the first opt-out price
    // increase migration for each app must be initiated in Play Console.
    //
    // Possible values:
    //   "PRICE_INCREASE_TYPE_UNSPECIFIED" - Unspecified state.
    //   "PRICE_INCREASE_TYPE_OPT_IN" - Price increase will be presented to users
    // on an opt-in basis.
    //   "PRICE_INCREASE_TYPE_OPT_OUT" - Price increase will be presented to users
    // on an opt-out basis.
    PriceIncreaseType string `json:"priceIncreaseType,omitempty"`
    // RegionCode: Required. Region code this configuration applies to, as defined
    // by ISO 3166-2, e.g. "US".
    RegionCode string `json:"regionCode,omitempty"`
    // ForceSendFields is a list of field names (e.g.
    // "OldestAllowedPriceVersionTime") to unconditionally include in API requests.
    // By default, fields with empty or default values are omitted from API
    // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields
    // for more details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "OldestAllowedPriceVersionTime")
    // to include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RegionalPriceMigrationConfig) MarshalJSON

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

type RegionalSubscriptionOfferConfig

RegionalSubscriptionOfferConfig: Configuration for a subscription offer in a single region.

type RegionalSubscriptionOfferConfig struct {
    // NewSubscriberAvailability: Whether the subscription offer in the specified
    // region is available for new subscribers. Existing subscribers will not have
    // their subscription cancelled if this value is set to false. If not
    // specified, this will default to false.
    NewSubscriberAvailability bool `json:"newSubscriberAvailability,omitempty"`
    // RegionCode: Required. Immutable. Region code this configuration applies to,
    // as defined by ISO 3166-2, e.g. "US".
    RegionCode string `json:"regionCode,omitempty"`
    // ForceSendFields is a list of field names (e.g. "NewSubscriberAvailability")
    // to unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NewSubscriberAvailability") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RegionalSubscriptionOfferConfig) MarshalJSON

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

type RegionalSubscriptionOfferPhaseConfig

RegionalSubscriptionOfferPhaseConfig: Configuration for a single phase of a subscription offer in a single region.

type RegionalSubscriptionOfferPhaseConfig struct {
    // AbsoluteDiscount: The absolute amount of money subtracted from the base plan
    // price prorated over the phase duration that the user pays for this offer
    // phase. For example, if the base plan price for this region is $12 for a
    // period of 1 year, then a $1 absolute discount for a phase of a duration of 3
    // months would correspond to a price of $2. The resulting price may not be
    // smaller than the minimum price allowed for this region.
    AbsoluteDiscount *Money `json:"absoluteDiscount,omitempty"`
    // Free: Set to specify this offer is free to obtain.
    Free *RegionalSubscriptionOfferPhaseFreePriceOverride `json:"free,omitempty"`
    // Price: The absolute price the user pays for this offer phase. The price must
    // not be smaller than the minimum price allowed for this region.
    Price *Money `json:"price,omitempty"`
    // RegionCode: Required. Immutable. The region to which this config applies.
    RegionCode string `json:"regionCode,omitempty"`
    // RelativeDiscount: The fraction of the base plan price prorated over the
    // phase duration that the user pays for this offer phase. For example, if the
    // base plan price for this region is $12 for a period of 1 year, then a 50%
    // discount for a phase of a duration of 3 months would correspond to a price
    // of $1.50. The discount must be specified as a fraction strictly larger than
    // 0 and strictly smaller than 1. The resulting price will be rounded to the
    // nearest billable unit (e.g. cents for USD). The relative discount is
    // considered invalid if the discounted price ends up being smaller than the
    // minimum price allowed in this region.
    RelativeDiscount float64 `json:"relativeDiscount,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AbsoluteDiscount") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AbsoluteDiscount") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RegionalSubscriptionOfferPhaseConfig) MarshalJSON

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

func (*RegionalSubscriptionOfferPhaseConfig) UnmarshalJSON

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

type RegionalSubscriptionOfferPhaseFreePriceOverride

RegionalSubscriptionOfferPhaseFreePriceOverride: Represents the free price override configuration for a single phase of a subscription offer

type RegionalSubscriptionOfferPhaseFreePriceOverride struct {
}

type RegionalTaxRateInfo

RegionalTaxRateInfo: Specified details about taxation in a given geographical region.

type RegionalTaxRateInfo struct {
    // EligibleForStreamingServiceTaxRate: You must tell us if your app contains
    // streaming products to correctly charge US state and local sales tax. Field
    // only supported in the United States.
    EligibleForStreamingServiceTaxRate bool `json:"eligibleForStreamingServiceTaxRate,omitempty"`
    // StreamingTaxType: To collect communications or amusement taxes in the United
    // States, choose the appropriate tax category. Learn more
    // (https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).
    //
    // Possible values:
    //   "STREAMING_TAX_TYPE_UNSPECIFIED" - No telecommunications tax collected.
    //   "STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL" - US-specific telecommunications
    // tax tier for video streaming, on demand, rentals / subscriptions /
    // pay-per-view.
    //   "STREAMING_TAX_TYPE_TELCO_VIDEO_SALES" - US-specific telecommunications
    // tax tier for video streaming of pre-recorded content like movies, tv shows.
    //   "STREAMING_TAX_TYPE_TELCO_VIDEO_MULTI_CHANNEL" - US-specific
    // telecommunications tax tier for video streaming of multi-channel
    // programming.
    //   "STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL" - US-specific telecommunications
    // tax tier for audio streaming, rental / subscription.
    //   "STREAMING_TAX_TYPE_TELCO_AUDIO_SALES" - US-specific telecommunications
    // tax tier for audio streaming, sale / permanent download.
    //   "STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL" - US-specific
    // telecommunications tax tier for multi channel audio streaming like radio.
    StreamingTaxType string `json:"streamingTaxType,omitempty"`
    // TaxTier: Tax tier to specify reduced tax rate. Developers who sell digital
    // news, magazines, newspapers, books, or audiobooks in various regions may be
    // eligible for reduced tax rates. Learn more
    // (https://support.google.com/googleplay/android-developer/answer/10463498).
    //
    // Possible values:
    //   "TAX_TIER_UNSPECIFIED"
    //   "TAX_TIER_BOOKS_1"
    //   "TAX_TIER_NEWS_1"
    //   "TAX_TIER_NEWS_2"
    //   "TAX_TIER_MUSIC_OR_AUDIO_1"
    //   "TAX_TIER_LIVE_OR_BROADCAST_1"
    TaxTier string `json:"taxTier,omitempty"`
    // ForceSendFields is a list of field names (e.g.
    // "EligibleForStreamingServiceTaxRate") to unconditionally include in API
    // requests. By default, fields with empty or default values are omitted from
    // API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g.
    // "EligibleForStreamingServiceTaxRate") to include in API requests with the
    // JSON null value. By default, fields with empty values are omitted from API
    // requests. See https://pkg.go.dev/google.golang.org/api#hdr-NullFields for
    // more details.
    NullFields []string `json:"-"`
}

func (*RegionalTaxRateInfo) MarshalJSON

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

type Regions

Regions: Region targeting data for app recovery action targeting.

type Regions struct {
    // RegionCode: Regions targeted by the recovery action. Region codes are ISO
    // 3166 Alpha-2 country codes. For example, US stands for United States of
    // America. See https://www.iso.org/iso-3166-country-codes.html for the
    // complete list of country codes.
    RegionCode []string `json:"regionCode,omitempty"`
    // ForceSendFields is a list of field names (e.g. "RegionCode") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RegionCode") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Regions) MarshalJSON

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

type RegionsVersion

RegionsVersion: The version of the available regions being used for the specified resource.

type RegionsVersion struct {
    // Version: Required. A string representing the version of available regions
    // being used for the specified resource. Regional prices for the resource have
    // to be specified according to the information published in this article
    // (https://support.google.com/googleplay/android-developer/answer/10532353).
    // Each time the supported locations substantially change, the version will be
    // incremented. Using this field will ensure that creating and updating the
    // resource with an older region's version and set of regional prices and
    // currencies will succeed even though a new version is available. The latest
    // version is 2022/02.
    Version string `json:"version,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Version") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Version") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RegionsVersion) MarshalJSON

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

type RemoteInAppUpdate

RemoteInAppUpdate: Object representation for Remote in-app update action type.

type RemoteInAppUpdate struct {
    // IsRemoteInAppUpdateRequested: Required. Set to true if Remote In-App Update
    // action type is needed.
    IsRemoteInAppUpdateRequested bool `json:"isRemoteInAppUpdateRequested,omitempty"`
    // ForceSendFields is a list of field names (e.g.
    // "IsRemoteInAppUpdateRequested") to unconditionally include in API requests.
    // By default, fields with empty or default values are omitted from API
    // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields
    // for more details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "IsRemoteInAppUpdateRequested") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RemoteInAppUpdate) MarshalJSON

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

type RemoteInAppUpdateData

RemoteInAppUpdateData: Data related to Remote In-App Update action such as recovered user count, affected user count etc.

type RemoteInAppUpdateData struct {
    // RemoteAppUpdateDataPerBundle: Data related to the recovery action at bundle
    // level.
    RemoteAppUpdateDataPerBundle []*RemoteInAppUpdateDataPerBundle `json:"remoteAppUpdateDataPerBundle,omitempty"`
    // ForceSendFields is a list of field names (e.g.
    // "RemoteAppUpdateDataPerBundle") to unconditionally include in API requests.
    // By default, fields with empty or default values are omitted from API
    // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields
    // for more details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RemoteAppUpdateDataPerBundle") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RemoteInAppUpdateData) MarshalJSON

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

type RemoteInAppUpdateDataPerBundle

RemoteInAppUpdateDataPerBundle: Data related to the recovery action at bundle level.

type RemoteInAppUpdateDataPerBundle struct {
    // RecoveredDeviceCount: Total number of devices which have been rescued.
    RecoveredDeviceCount int64 `json:"recoveredDeviceCount,omitempty,string"`
    // TotalDeviceCount: Total number of devices affected by this recovery action
    // associated with bundle of the app.
    TotalDeviceCount int64 `json:"totalDeviceCount,omitempty,string"`
    // VersionCode: Version Code corresponding to the target bundle.
    VersionCode int64 `json:"versionCode,omitempty,string"`
    // ForceSendFields is a list of field names (e.g. "RecoveredDeviceCount") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RecoveredDeviceCount") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RemoteInAppUpdateDataPerBundle) MarshalJSON

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

type ReplacementCancellation

ReplacementCancellation: Information specific to cancellations caused by subscription replacement.

type ReplacementCancellation struct {
}

type RestrictedPaymentCountries

RestrictedPaymentCountries: Countries where the purchase of this product is restricted to payment methods registered in the same country. If empty, no payment location restrictions are imposed.

type RestrictedPaymentCountries struct {
    // RegionCodes: Required. Region codes to impose payment restrictions on, as
    // defined by ISO 3166-2, e.g. "US".
    RegionCodes []string `json:"regionCodes,omitempty"`
    // ForceSendFields is a list of field names (e.g. "RegionCodes") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RegionCodes") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RestrictedPaymentCountries) MarshalJSON

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

type Review

Review: An Android app review.

type Review struct {
    // AuthorName: The name of the user who wrote the review.
    AuthorName string `json:"authorName,omitempty"`
    // Comments: A repeated field containing comments for the review.
    Comments []*Comment `json:"comments,omitempty"`
    // ReviewId: Unique identifier for this review.
    ReviewId string `json:"reviewId,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "AuthorName") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AuthorName") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Review) MarshalJSON

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

type ReviewReplyResult

ReviewReplyResult: The result of replying/updating a reply to review.

type ReviewReplyResult struct {
    // LastEdited: The time at which the reply took effect.
    LastEdited *Timestamp `json:"lastEdited,omitempty"`
    // ReplyText: The reply text that was applied.
    ReplyText string `json:"replyText,omitempty"`
    // ForceSendFields is a list of field names (e.g. "LastEdited") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "LastEdited") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ReviewReplyResult) MarshalJSON

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

type ReviewsGetCall

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

func (*ReviewsGetCall) Context

func (c *ReviewsGetCall) Context(ctx context.Context) *ReviewsGetCall

Context sets the context to be used in this call's Do method.

func (*ReviewsGetCall) Do

func (c *ReviewsGetCall) Do(opts ...googleapi.CallOption) (*Review, error)

Do executes the "androidpublisher.reviews.get" call. Any non-2xx status code is an error. Response headers are in either *Review.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 (*ReviewsGetCall) Fields

func (c *ReviewsGetCall) Fields(s ...googleapi.Field) *ReviewsGetCall

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

func (*ReviewsGetCall) Header

func (c *ReviewsGetCall) Header() http.Header

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

func (*ReviewsGetCall) IfNoneMatch

func (c *ReviewsGetCall) IfNoneMatch(entityTag string) *ReviewsGetCall

IfNoneMatch sets an 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.

func (*ReviewsGetCall) TranslationLanguage

func (c *ReviewsGetCall) TranslationLanguage(translationLanguage string) *ReviewsGetCall

TranslationLanguage sets the optional parameter "translationLanguage": Language localization code.

type ReviewsListCall

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

func (*ReviewsListCall) Context

func (c *ReviewsListCall) Context(ctx context.Context) *ReviewsListCall

Context sets the context to be used in this call's Do method.

func (*ReviewsListCall) Do

func (c *ReviewsListCall) Do(opts ...googleapi.CallOption) (*ReviewsListResponse, error)

Do executes the "androidpublisher.reviews.list" call. Any non-2xx status code is an error. Response headers are in either *ReviewsListResponse.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 (*ReviewsListCall) Fields

func (c *ReviewsListCall) Fields(s ...googleapi.Field) *ReviewsListCall

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

func (*ReviewsListCall) Header

func (c *ReviewsListCall) Header() http.Header

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

func (*ReviewsListCall) IfNoneMatch

func (c *ReviewsListCall) IfNoneMatch(entityTag string) *ReviewsListCall

IfNoneMatch sets an 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.

func (*ReviewsListCall) MaxResults

func (c *ReviewsListCall) MaxResults(maxResults int64) *ReviewsListCall

MaxResults sets the optional parameter "maxResults": How many results the list operation should return.

func (*ReviewsListCall) StartIndex

func (c *ReviewsListCall) StartIndex(startIndex int64) *ReviewsListCall

StartIndex sets the optional parameter "startIndex": The index of the first element to return.

func (*ReviewsListCall) Token

func (c *ReviewsListCall) Token(token string) *ReviewsListCall

Token sets the optional parameter "token": Pagination token. If empty, list starts at the first review.

func (*ReviewsListCall) TranslationLanguage

func (c *ReviewsListCall) TranslationLanguage(translationLanguage string) *ReviewsListCall

TranslationLanguage sets the optional parameter "translationLanguage": Language localization code.

type ReviewsListResponse

ReviewsListResponse: Response listing reviews.

type ReviewsListResponse struct {
    // PageInfo: Information about the current page.
    PageInfo *PageInfo `json:"pageInfo,omitempty"`
    // Reviews: List of reviews.
    Reviews []*Review `json:"reviews,omitempty"`
    // TokenPagination: Pagination token, to handle a number of products that is
    // over one page.
    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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "PageInfo") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ReviewsListResponse) MarshalJSON

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

type ReviewsReplyCall

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

func (*ReviewsReplyCall) Context

func (c *ReviewsReplyCall) Context(ctx context.Context) *ReviewsReplyCall

Context sets the context to be used in this call's Do method.

func (*ReviewsReplyCall) Do

func (c *ReviewsReplyCall) Do(opts ...googleapi.CallOption) (*ReviewsReplyResponse, error)

Do executes the "androidpublisher.reviews.reply" call. Any non-2xx status code is an error. Response headers are in either *ReviewsReplyResponse.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 (*ReviewsReplyCall) Fields

func (c *ReviewsReplyCall) Fields(s ...googleapi.Field) *ReviewsReplyCall

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

func (*ReviewsReplyCall) Header

func (c *ReviewsReplyCall) Header() http.Header

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

type ReviewsReplyRequest

ReviewsReplyRequest: Request to reply to review or update existing reply.

type ReviewsReplyRequest struct {
    // ReplyText: The text to set as the reply. Replies of more than approximately
    // 350 characters will be rejected. HTML tags will be stripped.
    ReplyText string `json:"replyText,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ReplyText") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ReplyText") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ReviewsReplyRequest) MarshalJSON

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

type ReviewsReplyResponse

ReviewsReplyResponse: Response on status of replying to a review.

type ReviewsReplyResponse struct {
    // Result: The result of replying/updating a reply to review.
    Result *ReviewReplyResult `json:"result,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Result") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Result") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ReviewsReplyResponse) MarshalJSON

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

type ReviewsService

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

func NewReviewsService

func NewReviewsService(s *Service) *ReviewsService

func (*ReviewsService) Get

func (r *ReviewsService) Get(packageName string, reviewId string) *ReviewsGetCall

Get: Gets a single review.

- packageName: Package name of the app. - reviewId: Unique identifier for a review.

func (*ReviewsService) List

func (r *ReviewsService) List(packageName string) *ReviewsListCall

List: Lists all reviews.

- packageName: Package name of the app.

func (*ReviewsService) Reply

func (r *ReviewsService) Reply(packageName string, reviewId string, reviewsreplyrequest *ReviewsReplyRequest) *ReviewsReplyCall

Reply: Replies to a single review, or updates an existing reply.

- packageName: Package name of the app. - reviewId: Unique identifier for a review.

type RevocationContext

RevocationContext: Revocation context of the purchases.subscriptionsv2.revoke API.

type RevocationContext struct {
    // ProratedRefund: Optional. Used when users should be refunded a prorated
    // amount they paid for their subscription based on the amount of time
    // remaining in a subscription.
    ProratedRefund *RevocationContextProratedRefund `json:"proratedRefund,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ProratedRefund") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ProratedRefund") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RevocationContext) MarshalJSON

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

type RevocationContextProratedRefund

RevocationContextProratedRefund: Used to determine if the refund type in the RevocationContext is a prorated refund.

type RevocationContextProratedRefund struct {
}

type RevokeSubscriptionPurchaseRequest

RevokeSubscriptionPurchaseRequest: Request for the purchases.subscriptionsv2.revoke API.

type RevokeSubscriptionPurchaseRequest struct {
    // RevocationContext: Required. Additional details around the subscription
    // revocation.
    RevocationContext *RevocationContext `json:"revocationContext,omitempty"`
    // ForceSendFields is a list of field names (e.g. "RevocationContext") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "RevocationContext") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*RevokeSubscriptionPurchaseRequest) MarshalJSON

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

type RevokeSubscriptionPurchaseResponse

RevokeSubscriptionPurchaseResponse: Response for the purchases.subscriptionsv2.revoke API.

type RevokeSubscriptionPurchaseResponse struct {
    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
}

type SafetyLabelsUpdateRequest

SafetyLabelsUpdateRequest: Request to update Safety Labels of an app.

type SafetyLabelsUpdateRequest struct {
    // SafetyLabels: Required. Contents of the CSV file containing Data Safety
    // responses. For the format of this file, see the Help Center documentation at
    // https://support.google.com/googleplay/android-developer/answer/10787469?#zippy=%2Cunderstand-the-csv-format
    // To download an up to date template, follow the steps at
    // https://support.google.com/googleplay/android-developer/answer/10787469?#zippy=%2Cexport-to-a-csv-file
    SafetyLabels string `json:"safetyLabels,omitempty"`
    // ForceSendFields is a list of field names (e.g. "SafetyLabels") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "SafetyLabels") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SafetyLabelsUpdateRequest) MarshalJSON

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

type SafetyLabelsUpdateResponse

SafetyLabelsUpdateResponse: Response for SafetyLabelsUpdate rpc.

type SafetyLabelsUpdateResponse struct {
    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
}

type ScreenDensity

ScreenDensity: Represents a screen density.

type ScreenDensity struct {
    // DensityAlias: Alias for a screen density.
    //
    // Possible values:
    //   "DENSITY_UNSPECIFIED" - Unspecified screen density.
    //   "NODPI" - NODPI screen density.
    //   "LDPI" - LDPI screen density.
    //   "MDPI" - MDPI screen density.
    //   "TVDPI" - TVDPI screen density.
    //   "HDPI" - HDPI screen density.
    //   "XHDPI" - XHDPI screen density.
    //   "XXHDPI" - XXHDPI screen density.
    //   "XXXHDPI" - XXXHDPI screen density.
    DensityAlias string `json:"densityAlias,omitempty"`
    // DensityDpi: Value for density dpi.
    DensityDpi int64 `json:"densityDpi,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DensityAlias") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DensityAlias") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ScreenDensity) MarshalJSON

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

type ScreenDensityTargeting

ScreenDensityTargeting: Targeting based on screen density.

type ScreenDensityTargeting struct {
    // Alternatives: Targeting of other sibling directories that were in the
    // Bundle. For main splits this is targeting of other main splits.
    Alternatives []*ScreenDensity `json:"alternatives,omitempty"`
    // Value: Value of a screen density.
    Value []*ScreenDensity `json:"value,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Alternatives") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Alternatives") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*ScreenDensityTargeting) MarshalJSON

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

type SdkVersion

SdkVersion: Represents an sdk version.

type SdkVersion struct {
    // Min: Inclusive minimum value of an sdk version.
    Min int64 `json:"min,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Min") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Min") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SdkVersion) MarshalJSON

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

type SdkVersionTargeting

SdkVersionTargeting: Targeting based on sdk version.

type SdkVersionTargeting struct {
    // Alternatives: Targeting of other sibling directories that were in the
    // Bundle. For main splits this is targeting of other main splits.
    Alternatives []*SdkVersion `json:"alternatives,omitempty"`
    // Value: Value of an sdk version.
    Value []*SdkVersion `json:"value,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Alternatives") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Alternatives") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SdkVersionTargeting) MarshalJSON

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

type Service

type Service struct {
    BasePath  string // API endpoint base URL
    UserAgent string // optional additional User-Agent fragment

    Applications *ApplicationsService

    Apprecovery *ApprecoveryService

    Edits *EditsService

    Externaltransactions *ExternaltransactionsService

    Generatedapks *GeneratedapksService

    Grants *GrantsService

    Inappproducts *InappproductsService

    Internalappsharingartifacts *InternalappsharingartifactsService

    Monetization *MonetizationService

    Orders *OrdersService

    Purchases *PurchasesService

    Reviews *ReviewsService

    Systemapks *SystemapksService

    Users *UsersService
    // contains filtered or unexported fields
}

func New

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

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

func NewService

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

type SplitApkMetadata

SplitApkMetadata: Holds data specific to Split APKs.

type SplitApkMetadata struct {
    // IsMasterSplit: Indicates whether this APK is the main split of the module.
    IsMasterSplit bool `json:"isMasterSplit,omitempty"`
    // SplitId: Id of the split.
    SplitId string `json:"splitId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "IsMasterSplit") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "IsMasterSplit") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SplitApkMetadata) MarshalJSON

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

type SplitApkVariant

SplitApkVariant: Variant is a group of APKs that covers a part of the device configuration space. APKs from multiple variants are never combined on one device.

type SplitApkVariant struct {
    // ApkSet: Set of APKs, one set per module.
    ApkSet []*ApkSet `json:"apkSet,omitempty"`
    // Targeting: Variant-level targeting.
    Targeting *VariantTargeting `json:"targeting,omitempty"`
    // VariantNumber: Number of the variant, starting at 0 (unless overridden). A
    // device will receive APKs from the first variant that matches the device
    // configuration, with higher variant numbers having priority over lower
    // variant numbers.
    VariantNumber int64 `json:"variantNumber,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ApkSet") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ApkSet") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SplitApkVariant) MarshalJSON

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

type StandaloneApkMetadata

StandaloneApkMetadata: Holds data specific to Standalone APKs.

type StandaloneApkMetadata struct {
    // FusedModuleName: Names of the modules fused in this standalone APK.
    FusedModuleName []string `json:"fusedModuleName,omitempty"`
    // ForceSendFields is a list of field names (e.g. "FusedModuleName") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "FusedModuleName") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*StandaloneApkMetadata) MarshalJSON

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

type SubscribeWithGoogleInfo

SubscribeWithGoogleInfo: Information associated with purchases made with 'Subscribe with Google'.

type SubscribeWithGoogleInfo struct {
    // EmailAddress: The email address of the user when the subscription was
    // purchased.
    EmailAddress string `json:"emailAddress,omitempty"`
    // FamilyName: The family name of the user when the subscription was purchased.
    FamilyName string `json:"familyName,omitempty"`
    // GivenName: The given name of the user when the subscription was purchased.
    GivenName string `json:"givenName,omitempty"`
    // ProfileId: The Google profile id of the user when the subscription was
    // purchased.
    ProfileId string `json:"profileId,omitempty"`
    // ProfileName: The profile name of the user when the subscription was
    // purchased.
    ProfileName string `json:"profileName,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EmailAddress") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EmailAddress") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscribeWithGoogleInfo) MarshalJSON

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

type Subscription

Subscription: A single subscription for an app.

type Subscription struct {
    // Archived: Output only. Deprecated: subscription archiving is not supported.
    Archived bool `json:"archived,omitempty"`
    // BasePlans: The set of base plans for this subscription. Represents the
    // prices and duration of the subscription if no other offers apply.
    BasePlans []*BasePlan `json:"basePlans,omitempty"`
    // Listings: Required. List of localized listings for this subscription. Must
    // contain at least an entry for the default language of the parent app.
    Listings []*SubscriptionListing `json:"listings,omitempty"`
    // PackageName: Immutable. Package name of the parent app.
    PackageName string `json:"packageName,omitempty"`
    // ProductId: Immutable. Unique product ID of the product. Unique within the
    // parent app. Product IDs must be composed of lower-case letters (a-z),
    // numbers (0-9), underscores (_) and dots (.). It must start with a lower-case
    // letter or number, and be between 1 and 40 (inclusive) characters in length.
    ProductId string `json:"productId,omitempty"`
    // RestrictedPaymentCountries: Optional. Countries where the purchase of this
    // subscription is restricted to payment methods registered in the same
    // country. If empty, no payment location restrictions are imposed.
    RestrictedPaymentCountries *RestrictedPaymentCountries `json:"restrictedPaymentCountries,omitempty"`
    // TaxAndComplianceSettings: Details about taxes and legal compliance.
    TaxAndComplianceSettings *SubscriptionTaxAndComplianceSettings `json:"taxAndComplianceSettings,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Archived") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Archived") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Subscription) MarshalJSON

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

type SubscriptionCancelSurveyResult

SubscriptionCancelSurveyResult: Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey).

type SubscriptionCancelSurveyResult struct {
    // CancelSurveyReason: The cancellation reason the user chose in the survey.
    // Possible values are: 0. Other 1. I don't use this service enough 2.
    // Technical issues 3. Cost-related reasons 4. I found a better app
    CancelSurveyReason int64 `json:"cancelSurveyReason,omitempty"`
    // UserInputCancelReason: The customized input cancel reason from the user.
    // Only present when cancelReason is 0.
    UserInputCancelReason string `json:"userInputCancelReason,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CancelSurveyReason") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CancelSurveyReason") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionCancelSurveyResult) MarshalJSON

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

type SubscriptionDeferralInfo

SubscriptionDeferralInfo: A SubscriptionDeferralInfo contains the data needed to defer a subscription purchase to a future expiry time.

type SubscriptionDeferralInfo struct {
    // DesiredExpiryTimeMillis: The desired next expiry time to assign to the
    // subscription, in milliseconds since the Epoch. The given time must be
    // later/greater than 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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DesiredExpiryTimeMillis") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionDeferralInfo) MarshalJSON

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

type SubscriptionItemPriceChangeDetails

SubscriptionItemPriceChangeDetails: Price change related information of a subscription item.

type SubscriptionItemPriceChangeDetails struct {
    // ExpectedNewPriceChargeTime: The renewal time at which the price change will
    // become effective for the user. This is subject to change(to a future time)
    // due to cases where the renewal time shifts like pause. This field is only
    // populated if the price change has not taken effect.
    ExpectedNewPriceChargeTime string `json:"expectedNewPriceChargeTime,omitempty"`
    // NewPrice: New recurring price for the subscription item.
    NewPrice *Money `json:"newPrice,omitempty"`
    // PriceChangeMode: Price change mode specifies how the subscription item price
    // is changing.
    //
    // Possible values:
    //   "PRICE_CHANGE_MODE_UNSPECIFIED" - Price change mode unspecified. This
    // value should never be set.
    //   "PRICE_DECREASE" - If the subscription price is decreasing.
    //   "PRICE_INCREASE" - If the subscription price is increasing and the user
    // needs to accept it.
    //   "OPT_OUT_PRICE_INCREASE" - If the subscription price is increasing with
    // opt out mode.
    PriceChangeMode string `json:"priceChangeMode,omitempty"`
    // PriceChangeState: State the price change is currently in.
    //
    // Possible values:
    //   "PRICE_CHANGE_STATE_UNSPECIFIED" - Price change state unspecified. This
    // value should not be used.
    //   "OUTSTANDING" - Waiting for the user to agree for the price change.
    //   "CONFIRMED" - The price change is confirmed to happen for the user.
    //   "APPLIED" - The price change is applied, i.e. the user has started being
    // charged the new price.
    PriceChangeState string `json:"priceChangeState,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ExpectedNewPriceChargeTime")
    // to unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ExpectedNewPriceChargeTime") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionItemPriceChangeDetails) MarshalJSON

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

type SubscriptionListing

SubscriptionListing: The consumer-visible metadata of a subscription.

type SubscriptionListing struct {
    // Benefits: A list of benefits shown to the user on platforms such as the Play
    // Store and in restoration flows in the language of this listing. Plain text.
    // Ordered list of at most four benefits.
    Benefits []string `json:"benefits,omitempty"`
    // Description: The description of this subscription in the language of this
    // listing. Maximum length - 80 characters. Plain text.
    Description string `json:"description,omitempty"`
    // LanguageCode: Required. The language of this listing, as defined by BCP-47,
    // e.g. "en-US".
    LanguageCode string `json:"languageCode,omitempty"`
    // Title: Required. The title of this subscription in the language of this
    // listing. Plain text.
    Title string `json:"title,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Benefits") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Benefits") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionListing) MarshalJSON

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

type SubscriptionOffer

SubscriptionOffer: A single, temporary offer

type SubscriptionOffer struct {
    // BasePlanId: Required. Immutable. The ID of the base plan to which this offer
    // is an extension.
    BasePlanId string `json:"basePlanId,omitempty"`
    // OfferId: Required. Immutable. Unique ID of this subscription offer. Must be
    // unique within the base plan.
    OfferId string `json:"offerId,omitempty"`
    // OfferTags: List of up to 20 custom tags specified for this offer, and
    // returned to the app through the billing library.
    OfferTags []*OfferTag `json:"offerTags,omitempty"`
    // OtherRegionsConfig: The configuration for any new locations Play may launch
    // in the future.
    OtherRegionsConfig *OtherRegionsSubscriptionOfferConfig `json:"otherRegionsConfig,omitempty"`
    // PackageName: Required. Immutable. The package name of the app the parent
    // subscription belongs to.
    PackageName string `json:"packageName,omitempty"`
    // Phases: Required. The phases of this subscription offer. Must contain at
    // least one entry, and may contain at most five. Users will always receive all
    // these phases in the specified order. Phases may not be added, removed, or
    // reordered after initial creation.
    Phases []*SubscriptionOfferPhase `json:"phases,omitempty"`
    // ProductId: Required. Immutable. The ID of the parent subscription this offer
    // belongs to.
    ProductId string `json:"productId,omitempty"`
    // RegionalConfigs: Required. The region-specific configuration of this offer.
    // Must contain at least one entry.
    RegionalConfigs []*RegionalSubscriptionOfferConfig `json:"regionalConfigs,omitempty"`
    // State: Output only. The current state of this offer. Can be changed using
    // Activate and Deactivate actions. NB: the base plan state supersedes this
    // state, so an active offer may not be available if the base plan is not
    // active.
    //
    // Possible values:
    //   "STATE_UNSPECIFIED" - Default value, should never be used.
    //   "DRAFT" - The subscription offer is not and has never been available to
    // users.
    //   "ACTIVE" - The subscription offer is available to new and existing users.
    //   "INACTIVE" - The subscription offer is not available to new users.
    // Existing users retain access.
    State string `json:"state,omitempty"`
    // Targeting: The requirements that users need to fulfil to be eligible for
    // this offer. Represents the requirements that Play will evaluate to decide
    // whether an offer should be returned. Developers may further filter these
    // offers themselves.
    Targeting *SubscriptionOfferTargeting `json:"targeting,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "BasePlanId") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BasePlanId") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionOffer) MarshalJSON

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

type SubscriptionOfferPhase

SubscriptionOfferPhase: A single phase of a subscription offer.

type SubscriptionOfferPhase struct {
    // Duration: Required. The duration of a single recurrence of this phase.
    // Specified in ISO 8601 format.
    Duration string `json:"duration,omitempty"`
    // OtherRegionsConfig: Pricing information for any new locations Play may
    // launch in.
    OtherRegionsConfig *OtherRegionsSubscriptionOfferPhaseConfig `json:"otherRegionsConfig,omitempty"`
    // RecurrenceCount: Required. The number of times this phase repeats. If this
    // offer phase is not free, each recurrence charges the user the price of this
    // offer phase.
    RecurrenceCount int64 `json:"recurrenceCount,omitempty"`
    // RegionalConfigs: Required. The region-specific configuration of this offer
    // phase. This list must contain exactly one entry for each region for which
    // the subscription offer has a regional config.
    RegionalConfigs []*RegionalSubscriptionOfferPhaseConfig `json:"regionalConfigs,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Duration") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Duration") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionOfferPhase) MarshalJSON

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

type SubscriptionOfferTargeting

SubscriptionOfferTargeting: Defines the rule a user needs to satisfy to receive this offer.

type SubscriptionOfferTargeting struct {
    // AcquisitionRule: Offer targeting rule for new user acquisition.
    AcquisitionRule *AcquisitionTargetingRule `json:"acquisitionRule,omitempty"`
    // UpgradeRule: Offer targeting rule for upgrading users' existing plans.
    UpgradeRule *UpgradeTargetingRule `json:"upgradeRule,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AcquisitionRule") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AcquisitionRule") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionOfferTargeting) MarshalJSON

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

type SubscriptionPriceChange

SubscriptionPriceChange: Contains the price change information for a subscription that can be used to control the user journey for the price change in the app. This can be in the form of seeking confirmation from the user or tailoring the experience for a successful conversion.

type SubscriptionPriceChange struct {
    // NewPrice: The new price the subscription will renew with if the price change
    // is accepted by the user.
    NewPrice *Price `json:"newPrice,omitempty"`
    // State: The current state of the price change. Possible values are: 0.
    // Outstanding: State for a pending price change waiting for the user to agree.
    // In this state, you can optionally seek confirmation from the user using the
    // In-App API. 1. Accepted: State for an accepted price change that the
    // subscription will renew with unless it's canceled. The price change takes
    // effect on a future date when the subscription renews. Note that the change
    // might not occur when the subscription is renewed next.
    State int64 `json:"state,omitempty"`
    // ForceSendFields is a list of field names (e.g. "NewPrice") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NewPrice") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionPriceChange) MarshalJSON

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

type SubscriptionPurchase

SubscriptionPurchase: A SubscriptionPurchase resource indicates the status of a user's subscription purchase.

type SubscriptionPurchase struct {
    // AcknowledgementState: The acknowledgement state of the subscription product.
    // Possible values are: 0. Yet to be acknowledged 1. Acknowledged
    AcknowledgementState int64 `json:"acknowledgementState,omitempty"`
    // AutoRenewing: Whether the subscription will automatically be renewed when it
    // reaches its current expiry time.
    AutoRenewing bool `json:"autoRenewing,omitempty"`
    // AutoResumeTimeMillis: Time at which the subscription will be automatically
    // resumed, in milliseconds since the Epoch. Only present if the user has
    // requested to pause the subscription.
    AutoResumeTimeMillis int64 `json:"autoResumeTimeMillis,omitempty,string"`
    // CancelReason: The reason why a subscription was canceled or is not
    // auto-renewing. Possible values are: 0. User canceled the subscription 1.
    // Subscription was canceled by the system, for example because of a billing
    // problem 2. Subscription was replaced with a new subscription 3. Subscription
    // was canceled by the developer
    CancelReason int64 `json:"cancelReason,omitempty"`
    // CancelSurveyResult: Information provided by the user when they complete the
    // subscription cancellation flow (cancellation reason survey).
    CancelSurveyResult *SubscriptionCancelSurveyResult `json:"cancelSurveyResult,omitempty"`
    // CountryCode: ISO 3166-1 alpha-2 billing country/region code of the user at
    // the time the subscription was granted.
    CountryCode string `json:"countryCode,omitempty"`
    // DeveloperPayload: A developer-specified string that contains supplemental
    // information about an order.
    DeveloperPayload string `json:"developerPayload,omitempty"`
    // EmailAddress: The email address of the user when the subscription was
    // purchased. Only present for purchases made with 'Subscribe with Google'.
    EmailAddress string `json:"emailAddress,omitempty"`
    // ExpiryTimeMillis: Time at which the subscription will expire, in
    // milliseconds since the Epoch.
    ExpiryTimeMillis int64 `json:"expiryTimeMillis,omitempty,string"`
    // ExternalAccountId: User account identifier in the third-party service. Only
    // present if account linking happened as part of the subscription purchase
    // flow.
    ExternalAccountId string `json:"externalAccountId,omitempty"`
    // FamilyName: The family name of the user when the subscription was purchased.
    // Only present for purchases made with 'Subscribe with Google'.
    FamilyName string `json:"familyName,omitempty"`
    // GivenName: The given name of the user when the subscription was purchased.
    // Only present for purchases made with 'Subscribe with Google'.
    GivenName string `json:"givenName,omitempty"`
    // IntroductoryPriceInfo: Introductory price information of the subscription.
    // This is only present when the subscription was purchased with an
    // introductory price. This field does not indicate the subscription is
    // currently in introductory price period.
    IntroductoryPriceInfo *IntroductoryPriceInfo `json:"introductoryPriceInfo,omitempty"`
    // Kind: This kind represents a subscriptionPurchase object in the
    // androidpublisher service.
    Kind string `json:"kind,omitempty"`
    // LinkedPurchaseToken: The purchase token of the originating purchase if this
    // subscription is one of the following: 0. Re-signup of a canceled but
    // non-lapsed subscription 1. Upgrade/downgrade from a previous subscription
    // For example, suppose a user originally signs up and you receive purchase
    // token X, then the user cancels and goes through the resignup flow (before
    // their subscription lapses) and you receive purchase token Y, and finally the
    // user upgrades their subscription and you receive purchase token Z. If you
    // call this API with purchase token Z, this field will be set to Y. If you
    // call this API with purchase token Y, this field will be set to X. If you
    // call this API with purchase token X, this field will not be set.
    LinkedPurchaseToken string `json:"linkedPurchaseToken,omitempty"`
    // ObfuscatedExternalAccountId: An obfuscated version of the id that is
    // uniquely associated with the user's account in your app. Present for the
    // following purchases: * If account linking happened as part of the
    // subscription purchase flow. * It was specified using
    // https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid
    // when the purchase was made.
    ObfuscatedExternalAccountId string `json:"obfuscatedExternalAccountId,omitempty"`
    // ObfuscatedExternalProfileId: An obfuscated version of the id that is
    // uniquely associated with the user's profile in your app. Only present if
    // specified using
    // https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid
    // when the purchase was made.
    ObfuscatedExternalProfileId string `json:"obfuscatedExternalProfileId,omitempty"`
    // OrderId: The order id of the latest recurring order associated with the
    // purchase of the subscription. If the subscription was canceled because
    // payment was declined, this will be the order id from the payment declined
    // order.
    OrderId string `json:"orderId,omitempty"`
    // PaymentState: The payment state of the subscription. Possible values are: 0.
    // Payment pending 1. Payment received 2. Free trial 3. Pending deferred
    // upgrade/downgrade Not present for canceled, expired subscriptions.
    PaymentState *int64 `json:"paymentState,omitempty"`
    // PriceAmountMicros: Price of the subscription, For tax exclusive countries,
    // the price doesn't include tax. For tax inclusive countries, the price
    // includes tax. Price is expressed in micro-units, where 1,000,000 micro-units
    // represents one unit of the currency. For example, if the subscription price
    // is €1.99, price_amount_micros is 1990000.
    PriceAmountMicros int64 `json:"priceAmountMicros,omitempty,string"`
    // PriceChange: The latest price change information available. This is present
    // only when there is an upcoming price change for the subscription yet to be
    // applied. Once the subscription renews with the new price or the subscription
    // is canceled, no price change information will be returned.
    PriceChange *SubscriptionPriceChange `json:"priceChange,omitempty"`
    // PriceCurrencyCode: ISO 4217 currency code for the subscription price. For
    // example, if the price is specified in British pounds sterling,
    // price_currency_code is "GBP".
    PriceCurrencyCode string `json:"priceCurrencyCode,omitempty"`
    // ProfileId: The Google profile id of the user when the subscription was
    // purchased. Only present for purchases made with 'Subscribe with Google'.
    ProfileId string `json:"profileId,omitempty"`
    // ProfileName: The profile name of the user when the subscription was
    // purchased. Only present for purchases made with 'Subscribe with Google'.
    ProfileName string `json:"profileName,omitempty"`
    // PromotionCode: The promotion code applied on this purchase. This field is
    // only set if a vanity code promotion is applied when the subscription was
    // purchased.
    PromotionCode string `json:"promotionCode,omitempty"`
    // PromotionType: The type of promotion applied on this purchase. This field is
    // only set if a promotion is applied when the subscription was purchased.
    // Possible values are: 0. One time code 1. Vanity code
    PromotionType int64 `json:"promotionType,omitempty"`
    // PurchaseType: The type of purchase of the subscription. This field is only
    // set if this purchase was not made using the standard in-app billing flow.
    // Possible values are: 0. Test (i.e. purchased from a license testing account)
    // 1. Promo (i.e. purchased using a promo code)
    PurchaseType *int64 `json:"purchaseType,omitempty"`
    // StartTimeMillis: Time at which the subscription was granted, in milliseconds
    // since the Epoch.
    StartTimeMillis int64 `json:"startTimeMillis,omitempty,string"`
    // UserCancellationTimeMillis: The time at which the subscription was canceled
    // by the user, in milliseconds since the epoch. Only present if cancelReason
    // is 0.
    UserCancellationTimeMillis int64 `json:"userCancellationTimeMillis,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. "AcknowledgementState") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AcknowledgementState") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionPurchase) MarshalJSON

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

type SubscriptionPurchaseLineItem

SubscriptionPurchaseLineItem: Item-level info for a subscription purchase.

type SubscriptionPurchaseLineItem struct {
    // AutoRenewingPlan: The item is auto renewing.
    AutoRenewingPlan *AutoRenewingPlan `json:"autoRenewingPlan,omitempty"`
    // DeferredItemReplacement: Information for deferred item replacement.
    DeferredItemReplacement *DeferredItemReplacement `json:"deferredItemReplacement,omitempty"`
    // ExpiryTime: Time at which the subscription expired or will expire unless the
    // access is extended (ex. renews).
    ExpiryTime string `json:"expiryTime,omitempty"`
    // OfferDetails: The offer details for this item.
    OfferDetails *OfferDetails `json:"offerDetails,omitempty"`
    // PrepaidPlan: The item is prepaid.
    PrepaidPlan *PrepaidPlan `json:"prepaidPlan,omitempty"`
    // ProductId: The purchased product ID (for example, 'monthly001').
    ProductId string `json:"productId,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AutoRenewingPlan") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AutoRenewingPlan") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionPurchaseLineItem) MarshalJSON

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

type SubscriptionPurchaseV2

SubscriptionPurchaseV2: Indicates the status of a user's subscription purchase.

type SubscriptionPurchaseV2 struct {
    // AcknowledgementState: The acknowledgement state of the subscription.
    //
    // Possible values:
    //   "ACKNOWLEDGEMENT_STATE_UNSPECIFIED" - Unspecified acknowledgement state.
    //   "ACKNOWLEDGEMENT_STATE_PENDING" - The subscription is not acknowledged
    // yet.
    //   "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED" - The subscription is acknowledged.
    AcknowledgementState string `json:"acknowledgementState,omitempty"`
    // CanceledStateContext: Additional context around canceled subscriptions. Only
    // present if the subscription currently has subscription_state
    // SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED.
    CanceledStateContext *CanceledStateContext `json:"canceledStateContext,omitempty"`
    // ExternalAccountIdentifiers: User account identifier in the third-party
    // service.
    ExternalAccountIdentifiers *ExternalAccountIdentifiers `json:"externalAccountIdentifiers,omitempty"`
    // Kind: This kind represents a SubscriptionPurchaseV2 object in the
    // androidpublisher service.
    Kind string `json:"kind,omitempty"`
    // LatestOrderId: The order id of the latest order associated with the purchase
    // of the subscription. For autoRenewing subscription, this is the order id of
    // signup order if it is not renewed yet, or the last recurring order id
    // (success, pending, or declined order). For prepaid subscription, this is the
    // order id associated with the queried purchase token.
    LatestOrderId string `json:"latestOrderId,omitempty"`
    // LineItems: Item-level info for a subscription purchase. The items in the
    // same purchase should be either all with AutoRenewingPlan or all with
    // PrepaidPlan.
    LineItems []*SubscriptionPurchaseLineItem `json:"lineItems,omitempty"`
    // LinkedPurchaseToken: The purchase token of the old subscription if this
    // subscription is one of the following: * Re-signup of a canceled but
    // non-lapsed subscription * Upgrade/downgrade from a previous subscription. *
    // Convert from prepaid to auto renewing subscription. * Convert from an auto
    // renewing subscription to prepaid. * Topup a prepaid subscription.
    LinkedPurchaseToken string `json:"linkedPurchaseToken,omitempty"`
    // PausedStateContext: Additional context around paused subscriptions. Only
    // present if the subscription currently has subscription_state
    // SUBSCRIPTION_STATE_PAUSED.
    PausedStateContext *PausedStateContext `json:"pausedStateContext,omitempty"`
    // RegionCode: ISO 3166-1 alpha-2 billing country/region code of the user at
    // the time the subscription was granted.
    RegionCode string `json:"regionCode,omitempty"`
    // StartTime: Time at which the subscription was granted. Not set for pending
    // subscriptions (subscription was created but awaiting payment during signup).
    StartTime string `json:"startTime,omitempty"`
    // SubscribeWithGoogleInfo: User profile associated with purchases made with
    // 'Subscribe with Google'.
    SubscribeWithGoogleInfo *SubscribeWithGoogleInfo `json:"subscribeWithGoogleInfo,omitempty"`
    // SubscriptionState: The current state of the subscription.
    //
    // Possible values:
    //   "SUBSCRIPTION_STATE_UNSPECIFIED" - Unspecified subscription state.
    //   "SUBSCRIPTION_STATE_PENDING" - Subscription was created but awaiting
    // payment during signup. In this state, all items are awaiting payment.
    //   "SUBSCRIPTION_STATE_ACTIVE" - Subscription is active. - (1) If the
    // subscription is an auto renewing plan, at least one item is
    // auto_renew_enabled and not expired. - (2) If the subscription is a prepaid
    // plan, at least one item is not expired.
    //   "SUBSCRIPTION_STATE_PAUSED" - Subscription is paused. The state is only
    // available when the subscription is an auto renewing plan. In this state, all
    // items are in paused state.
    //   "SUBSCRIPTION_STATE_IN_GRACE_PERIOD" - Subscription is in grace period.
    // The state is only available when the subscription is an auto renewing plan.
    // In this state, all items are in grace period.
    //   "SUBSCRIPTION_STATE_ON_HOLD" - Subscription is on hold (suspended). The
    // state is only available when the subscription is an auto renewing plan. In
    // this state, all items are on hold.
    //   "SUBSCRIPTION_STATE_CANCELED" - Subscription is canceled but not expired
    // yet. The state is only available when the subscription is an auto renewing
    // plan. All items have auto_renew_enabled set to false.
    //   "SUBSCRIPTION_STATE_EXPIRED" - Subscription is expired. All items have
    // expiry_time in the past.
    SubscriptionState string `json:"subscriptionState,omitempty"`
    // TestPurchase: Only present if this subscription purchase is a test purchase.
    TestPurchase *TestPurchase `json:"testPurchase,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "AcknowledgementState") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AcknowledgementState") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionPurchaseV2) MarshalJSON

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

type SubscriptionPurchasesAcknowledgeRequest

SubscriptionPurchasesAcknowledgeRequest: Request for the purchases.subscriptions.acknowledge API.

type SubscriptionPurchasesAcknowledgeRequest struct {
    // DeveloperPayload: Payload to attach to the purchase.
    DeveloperPayload string `json:"developerPayload,omitempty"`
    // ForceSendFields is a list of field names (e.g. "DeveloperPayload") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeveloperPayload") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionPurchasesAcknowledgeRequest) MarshalJSON

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

type SubscriptionPurchasesDeferRequest

SubscriptionPurchasesDeferRequest: Request for the purchases.subscriptions.defer API.

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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeferralInfo") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionPurchasesDeferRequest) MarshalJSON

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

type SubscriptionPurchasesDeferResponse

SubscriptionPurchasesDeferResponse: Response for the purchases.subscriptions.defer API.

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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NewExpiryTimeMillis") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionPurchasesDeferResponse) MarshalJSON

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

type SubscriptionTaxAndComplianceSettings

SubscriptionTaxAndComplianceSettings: Details about taxation, Google Play policy and legal compliance for subscription products.

type SubscriptionTaxAndComplianceSettings struct {
    // EeaWithdrawalRightType: Digital content or service classification for
    // products distributed to users in the European Economic Area (EEA). The
    // withdrawal regime under EEA consumer laws depends on this classification.
    // Refer to the Help Center article
    // (https://support.google.com/googleplay/android-developer/answer/10463498)
    // for more information.
    //
    // Possible values:
    //   "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED"
    //   "WITHDRAWAL_RIGHT_DIGITAL_CONTENT"
    //   "WITHDRAWAL_RIGHT_SERVICE"
    EeaWithdrawalRightType string `json:"eeaWithdrawalRightType,omitempty"`
    // IsTokenizedDigitalAsset: Whether this subscription is declared as a product
    // representing a tokenized digital asset.
    IsTokenizedDigitalAsset bool `json:"isTokenizedDigitalAsset,omitempty"`
    // TaxRateInfoByRegionCode: A mapping from region code to tax rate details. The
    // keys are region codes as defined by Unicode's "CLDR".
    TaxRateInfoByRegionCode map[string]RegionalTaxRateInfo `json:"taxRateInfoByRegionCode,omitempty"`
    // ForceSendFields is a list of field names (e.g. "EeaWithdrawalRightType") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "EeaWithdrawalRightType") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SubscriptionTaxAndComplianceSettings) MarshalJSON

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

type SystemApkOptions

SystemApkOptions: Options for system APKs.

type SystemApkOptions struct {
    // Rotated: Whether to use the rotated key for signing the system APK.
    Rotated bool `json:"rotated,omitempty"`
    // UncompressedDexFiles: Whether system APK was generated with uncompressed dex
    // files.
    UncompressedDexFiles bool `json:"uncompressedDexFiles,omitempty"`
    // UncompressedNativeLibraries: Whether system APK was generated with
    // uncompressed native libraries.
    UncompressedNativeLibraries bool `json:"uncompressedNativeLibraries,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Rotated") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Rotated") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SystemApkOptions) MarshalJSON

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

type SystemApksListResponse

SystemApksListResponse: Response to list previously created system APK variants.

type SystemApksListResponse struct {
    // Variants: All system APK variants created.
    Variants []*Variant `json:"variants,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Variants") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Variants") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SystemApksListResponse) MarshalJSON

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

type SystemFeature

SystemFeature: Representation of a system feature.

type SystemFeature struct {
    // Name: The name of the feature.
    Name string `json:"name,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Name") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Name") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*SystemFeature) MarshalJSON

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

type SystemInitiatedCancellation

SystemInitiatedCancellation: Information specific to cancellations initiated by Google system.

type SystemInitiatedCancellation struct {
}

type SystemapksService

type SystemapksService struct {
    Variants *SystemapksVariantsService
    // contains filtered or unexported fields
}

func NewSystemapksService

func NewSystemapksService(s *Service) *SystemapksService

type SystemapksVariantsCreateCall

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

func (*SystemapksVariantsCreateCall) Context

func (c *SystemapksVariantsCreateCall) Context(ctx context.Context) *SystemapksVariantsCreateCall

Context sets the context to be used in this call's Do method.

func (*SystemapksVariantsCreateCall) Do

func (c *SystemapksVariantsCreateCall) Do(opts ...googleapi.CallOption) (*Variant, error)

Do executes the "androidpublisher.systemapks.variants.create" call. Any non-2xx status code is an error. Response headers are in either *Variant.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 (*SystemapksVariantsCreateCall) Fields

func (c *SystemapksVariantsCreateCall) Fields(s ...googleapi.Field) *SystemapksVariantsCreateCall

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

func (*SystemapksVariantsCreateCall) Header

func (c *SystemapksVariantsCreateCall) Header() http.Header

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

type SystemapksVariantsDownloadCall

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

func (*SystemapksVariantsDownloadCall) Context

func (c *SystemapksVariantsDownloadCall) Context(ctx context.Context) *SystemapksVariantsDownloadCall

Context sets the context to be used in this call's Do and Download methods.

func (*SystemapksVariantsDownloadCall) Do

func (c *SystemapksVariantsDownloadCall) Do(opts ...googleapi.CallOption) error

Do executes the "androidpublisher.systemapks.variants.download" call.

func (*SystemapksVariantsDownloadCall) Download

func (c *SystemapksVariantsDownloadCall) Download(opts ...googleapi.CallOption) (*http.Response, error)

Download fetches the API endpoint's "media" value, instead of the normal API response value. If the returned error is nil, the Response is guaranteed to have a 2xx status code. Callers must close the Response.Body as usual.

func (*SystemapksVariantsDownloadCall) Fields

func (c *SystemapksVariantsDownloadCall) Fields(s ...googleapi.Field) *SystemapksVariantsDownloadCall

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

func (*SystemapksVariantsDownloadCall) Header

func (c *SystemapksVariantsDownloadCall) Header() http.Header

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

func (*SystemapksVariantsDownloadCall) IfNoneMatch

func (c *SystemapksVariantsDownloadCall) IfNoneMatch(entityTag string) *SystemapksVariantsDownloadCall

IfNoneMatch sets an 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.

type SystemapksVariantsGetCall

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

func (*SystemapksVariantsGetCall) Context

func (c *SystemapksVariantsGetCall) Context(ctx context.Context) *SystemapksVariantsGetCall

Context sets the context to be used in this call's Do method.

func (*SystemapksVariantsGetCall) Do

func (c *SystemapksVariantsGetCall) Do(opts ...googleapi.CallOption) (*Variant, error)

Do executes the "androidpublisher.systemapks.variants.get" call. Any non-2xx status code is an error. Response headers are in either *Variant.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 (*SystemapksVariantsGetCall) Fields

func (c *SystemapksVariantsGetCall) Fields(s ...googleapi.Field) *SystemapksVariantsGetCall

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

func (*SystemapksVariantsGetCall) Header

func (c *SystemapksVariantsGetCall) Header() http.Header

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

func (*SystemapksVariantsGetCall) IfNoneMatch

func (c *SystemapksVariantsGetCall) IfNoneMatch(entityTag string) *SystemapksVariantsGetCall

IfNoneMatch sets an 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.

type SystemapksVariantsListCall

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

func (*SystemapksVariantsListCall) Context

func (c *SystemapksVariantsListCall) Context(ctx context.Context) *SystemapksVariantsListCall

Context sets the context to be used in this call's Do method.

func (*SystemapksVariantsListCall) Do

func (c *SystemapksVariantsListCall) Do(opts ...googleapi.CallOption) (*SystemApksListResponse, error)

Do executes the "androidpublisher.systemapks.variants.list" call. Any non-2xx status code is an error. Response headers are in either *SystemApksListResponse.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 (*SystemapksVariantsListCall) Fields

func (c *SystemapksVariantsListCall) Fields(s ...googleapi.Field) *SystemapksVariantsListCall

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

func (*SystemapksVariantsListCall) Header

func (c *SystemapksVariantsListCall) Header() http.Header

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

func (*SystemapksVariantsListCall) IfNoneMatch

func (c *SystemapksVariantsListCall) IfNoneMatch(entityTag string) *SystemapksVariantsListCall

IfNoneMatch sets an 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.

type SystemapksVariantsService

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

func NewSystemapksVariantsService

func NewSystemapksVariantsService(s *Service) *SystemapksVariantsService

func (*SystemapksVariantsService) Create

func (r *SystemapksVariantsService) Create(packageName string, versionCode int64, variant *Variant) *SystemapksVariantsCreateCall

Create: Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle.

- packageName: Package name of the app. - versionCode: The version code of the App Bundle.

func (*SystemapksVariantsService) Download

func (r *SystemapksVariantsService) Download(packageName string, versionCode int64, variantId int64) *SystemapksVariantsDownloadCall

Download: Downloads a previously created system APK which is suitable for inclusion in a system image.

- packageName: Package name of the app. - variantId: The ID of a previously created system APK variant. - versionCode: The version code of the App Bundle.

func (*SystemapksVariantsService) Get

func (r *SystemapksVariantsService) Get(packageName string, versionCode int64, variantId int64) *SystemapksVariantsGetCall

Get: Returns a previously created system APK variant.

- packageName: Package name of the app. - variantId: The ID of a previously created system APK variant. - versionCode: The version code of the App Bundle.

func (*SystemapksVariantsService) List

func (r *SystemapksVariantsService) List(packageName string, versionCode int64) *SystemapksVariantsListCall

List: Returns the list of previously created system APK variants.

- packageName: Package name of the app. - versionCode: The version code of the App Bundle.

type Targeting

Targeting: Targeting details for a recovery action such as regions, android sdk levels, app versions etc.

type Targeting struct {
    // AllUsers: All users are targeted.
    AllUsers *AllUsers `json:"allUsers,omitempty"`
    // AndroidSdks: Targeting is based on android api levels of devices.
    AndroidSdks *AndroidSdks `json:"androidSdks,omitempty"`
    // Regions: Targeting is based on the user account region.
    Regions *Regions `json:"regions,omitempty"`
    // VersionList: Target version codes as a list.
    VersionList *AppVersionList `json:"versionList,omitempty"`
    // VersionRange: Target version codes as a range.
    VersionRange *AppVersionRange `json:"versionRange,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AllUsers") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AllUsers") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Targeting) MarshalJSON

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

type TargetingInfo

TargetingInfo: Targeting information about the generated apks.

type TargetingInfo struct {
    // AssetSliceSet: List of created asset slices.
    AssetSliceSet []*AssetSliceSet `json:"assetSliceSet,omitempty"`
    // PackageName: The package name of this app.
    PackageName string `json:"packageName,omitempty"`
    // Variant: List of the created variants.
    Variant []*SplitApkVariant `json:"variant,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AssetSliceSet") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AssetSliceSet") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*TargetingInfo) MarshalJSON

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

type TargetingRuleScope

TargetingRuleScope: Defines the scope of subscriptions which a targeting rule can match to target offers to users based on past or current entitlement.

type TargetingRuleScope struct {
    // AnySubscriptionInApp: The scope of the current targeting rule is any
    // subscription in the parent app.
    AnySubscriptionInApp *TargetingRuleScopeAnySubscriptionInApp `json:"anySubscriptionInApp,omitempty"`
    // SpecificSubscriptionInApp: The scope of the current targeting rule is the
    // subscription with the specified subscription ID. Must be a subscription
    // within the same parent app.
    SpecificSubscriptionInApp string `json:"specificSubscriptionInApp,omitempty"`
    // ThisSubscription: The scope of the current targeting rule is the
    // subscription in which this offer is defined.
    ThisSubscription *TargetingRuleScopeThisSubscription `json:"thisSubscription,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AnySubscriptionInApp") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AnySubscriptionInApp") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*TargetingRuleScope) MarshalJSON

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

type TargetingRuleScopeAnySubscriptionInApp

TargetingRuleScopeAnySubscriptionInApp: Represents the targeting rule scope corresponding to any subscription in the parent app.

type TargetingRuleScopeAnySubscriptionInApp struct {
}

type TargetingRuleScopeThisSubscription

TargetingRuleScopeThisSubscription: Represents the targeting rule scope corresponding to the subscriptions in which this offer is defined.

type TargetingRuleScopeThisSubscription struct {
}

type TargetingUpdate

TargetingUpdate: Update type for targeting. Note it is always a subset Targeting.

type TargetingUpdate struct {
    // AllUsers: All users are targeted.
    AllUsers *AllUsers `json:"allUsers,omitempty"`
    // AndroidSdks: Additional android sdk levels are targeted by the recovery
    // action.
    AndroidSdks *AndroidSdks `json:"androidSdks,omitempty"`
    // Regions: Additional regions are targeted by the recovery action.
    Regions *Regions `json:"regions,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AllUsers") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AllUsers") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*TargetingUpdate) MarshalJSON

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

type TestPurchase

TestPurchase: Whether this subscription purchase is a test purchase.

type TestPurchase struct {
}

type Testers

Testers: The testers of an app. The resource for TestersService. Note: while it is possible in the Play Console UI to add testers via email lists, email lists are not supported by this resource.

type Testers struct {
    // GoogleGroups: All testing Google Groups, as email addresses.
    GoogleGroups []string `json:"googleGroups,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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "GoogleGroups") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Testers) MarshalJSON

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

type TextureCompressionFormat

TextureCompressionFormat: Represents texture compression format.

type TextureCompressionFormat struct {
    // Alias: Alias for texture compression format.
    //
    // Possible values:
    //   "UNSPECIFIED_TEXTURE_COMPRESSION_FORMAT" - Unspecified format.
    //   "ETC1_RGB8" - ETC1_RGB8 format.
    //   "PALETTED" - PALETTED format.
    //   "THREE_DC" - THREE_DC format.
    //   "ATC" - ATC format.
    //   "LATC" - LATC format.
    //   "DXT1" - DXT1 format.
    //   "S3TC" - S3TC format.
    //   "PVRTC" - PVRTC format.
    //   "ASTC" - ASTC format.
    //   "ETC2" - ETC2 format.
    Alias string `json:"alias,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Alias") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Alias") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*TextureCompressionFormat) MarshalJSON

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

type TextureCompressionFormatTargeting

TextureCompressionFormatTargeting: Targeting by a texture compression format.

type TextureCompressionFormatTargeting struct {
    // Alternatives: List of alternative TCFs (TCFs targeted by the sibling
    // splits).
    Alternatives []*TextureCompressionFormat `json:"alternatives,omitempty"`
    // Value: The list of targeted TCFs. Should not be empty.
    Value []*TextureCompressionFormat `json:"value,omitempty"`
    // ForceSendFields is a list of field names (e.g. "Alternatives") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Alternatives") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*TextureCompressionFormatTargeting) MarshalJSON

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

type Timestamp

Timestamp: A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970.

type Timestamp struct {
    // Nanos: Non-negative fractions of a second at nanosecond resolution. Must be
    // from 0 to 999,999,999 inclusive.
    Nanos int64 `json:"nanos,omitempty"`
    // Seconds: Represents seconds of UTC time since Unix epoch.
    Seconds int64 `json:"seconds,omitempty,string"`
    // ForceSendFields is a list of field names (e.g. "Nanos") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Nanos") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Timestamp) MarshalJSON

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

type TokenPagination

TokenPagination: Pagination information returned by a List operation when token pagination is enabled. List operations that supports paging return only one "page" of results. This protocol buffer message describes the page that has been returned. When using token pagination, clients should use the next/previous token to get another page of the result. The presence or absence of next/previous token indicates whether a next/previous page is available and provides a mean of accessing this page. ListRequest.page_token should be set to either next_page_token or previous_page_token to access another page.

type TokenPagination struct {
    // NextPageToken: Tokens to pass to the standard list field 'page_token'.
    // Whenever available, tokens are preferred over manipulating start_index.
    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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "NextPageToken") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*TokenPagination) MarshalJSON

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

type Track

Track: A track configuration. The resource for TracksService.

type Track struct {
    // Releases: In a read request, represents all active releases in the track. In
    // an update request, represents desired changes.
    Releases []*TrackRelease `json:"releases,omitempty"`
    // Track: Identifier of the track. Form factor tracks have a special prefix as
    // an identifier, for example `wear:production`, `automotive:production`. More
    // on track name
    // (https://developers.google.com/android-publisher/tracks#ff-track-name)
    Track string `json:"track,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Releases") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Releases") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Track) MarshalJSON

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

type TrackConfig

TrackConfig: Configurations of the new track.

type TrackConfig struct {
    // FormFactor: Required. Form factor of the new track. Defaults to the default
    // track.
    //
    // Possible values:
    //   "FORM_FACTOR_UNSPECIFIED" - Fallback value, do not use.
    //   "DEFAULT" - Default track.
    //   "WEAR" - Wear form factor track.
    //   "AUTOMOTIVE" - Automotive form factor track.
    FormFactor string `json:"formFactor,omitempty"`
    // Track: Required. Identifier of the new track. For default tracks, this field
    // consists of the track alias only. Form factor tracks have a special prefix
    // as an identifier, for example `wear:production`, `automotive:production`.
    // This prefix must match the value of the `form_factor` field, if it is not a
    // default track. More on track name
    // (https://developers.google.com/android-publisher/tracks#ff-track-name)
    Track string `json:"track,omitempty"`
    // Type: Required. Type of the new track. Currently, the only supported value
    // is closedTesting.
    //
    // Possible values:
    //   "TRACK_TYPE_UNSPECIFIED" - Fallback value, do not use.
    //   "CLOSED_TESTING" - Closed testing track.
    Type string `json:"type,omitempty"`
    // ForceSendFields is a list of field names (e.g. "FormFactor") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "FormFactor") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*TrackConfig) MarshalJSON

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

type TrackCountryAvailability

TrackCountryAvailability: Resource for per-track country availability information.

type TrackCountryAvailability struct {
    // Countries: A list of one or more countries where artifacts in this track are
    // available. This list includes all countries that are targeted by the track,
    // even if only specific carriers are targeted in that country.
    Countries []*TrackTargetedCountry `json:"countries,omitempty"`
    // RestOfWorld: Whether artifacts in this track are available to "rest of the
    // world" countries.
    RestOfWorld bool `json:"restOfWorld,omitempty"`
    // SyncWithProduction: Whether this track's availability is synced with the
    // default production track. See
    // https://support.google.com/googleplay/android-developer/answer/7550024 for
    // more information on syncing country availability with production. Note that
    // if this is true, the returned "countries" and "rest_of_world" fields will
    // reflect the values for the default production track.
    SyncWithProduction bool `json:"syncWithProduction,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "Countries") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Countries") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*TrackCountryAvailability) MarshalJSON

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

type TrackRelease

TrackRelease: A release within a track.

type TrackRelease struct {
    // CountryTargeting: Restricts a release to a specific set of countries.
    CountryTargeting *CountryTargeting `json:"countryTargeting,omitempty"`
    // InAppUpdatePriority: In-app update priority of the release. All newly added
    // APKs in the release will be considered at this priority. Can take values in
    // the range [0, 5], with 5 the highest priority. Defaults to 0.
    // in_app_update_priority can not be updated once the release is rolled out.
    // See https://developer.android.com/guide/playcore/in-app-updates.
    InAppUpdatePriority int64 `json:"inAppUpdatePriority,omitempty"`
    // Name: The release name. Not required to be unique. If not set, the name is
    // generated from the APK's version_name. If the release contains multiple
    // APKs, the name is generated from the date.
    Name string `json:"name,omitempty"`
    // ReleaseNotes: A description of what is new in this release.
    ReleaseNotes []*LocalizedText `json:"releaseNotes,omitempty"`
    // Status: The status of the release.
    //
    // Possible values:
    //   "statusUnspecified" - Unspecified status.
    //   "draft" - The release's APKs are not being served to users.
    //   "inProgress" - The release's APKs are being served to a fraction of users,
    // determined by 'user_fraction'.
    //   "halted" - The release's APKs will no longer be served to users. Users who
    // already have these APKs are unaffected.
    //   "completed" - The release will have no further changes. Its APKs are being
    // served to all users, unless they are eligible to APKs of a more recent
    // release.
    Status string `json:"status,omitempty"`
    // UserFraction: Fraction of users who are eligible for a staged release. 0 <
    // fraction < 1. Can only be set when status is "inProgress" or "halted".
    UserFraction float64 `json:"userFraction,omitempty"`
    // VersionCodes: Version codes of all APKs in the release. Must include version
    // codes to retain from previous releases.
    VersionCodes googleapi.Int64s `json:"versionCodes,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CountryTargeting") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CountryTargeting") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*TrackRelease) MarshalJSON

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

func (*TrackRelease) UnmarshalJSON

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

type TrackTargetedCountry

TrackTargetedCountry: Representation of a single country where the contents of a track are available.

type TrackTargetedCountry struct {
    // CountryCode: The country to target, as a two-letter CLDR code.
    CountryCode string `json:"countryCode,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CountryCode") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CountryCode") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*TrackTargetedCountry) MarshalJSON

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

type TracksListResponse

TracksListResponse: Response listing all tracks.

type TracksListResponse struct {
    // Kind: The kind of this response ("androidpublisher#tracksListResponse").
    Kind string `json:"kind,omitempty"`
    // Tracks: All tracks (including tracks with no releases).
    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 or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Kind") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*TracksListResponse) MarshalJSON

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

type UpdateBasePlanStateRequest

UpdateBasePlanStateRequest: Request message to update the state of a subscription base plan.

type UpdateBasePlanStateRequest struct {
    // ActivateBasePlanRequest: Activates a base plan. Once activated, base plans
    // will be available to new subscribers.
    ActivateBasePlanRequest *ActivateBasePlanRequest `json:"activateBasePlanRequest,omitempty"`
    // DeactivateBasePlanRequest: Deactivates a base plan. Once deactivated, the
    // base plan will become unavailable to new subscribers, but existing
    // subscribers will maintain their subscription
    DeactivateBasePlanRequest *DeactivateBasePlanRequest `json:"deactivateBasePlanRequest,omitempty"`
    // ForceSendFields is a list of field names (e.g. "ActivateBasePlanRequest") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "ActivateBasePlanRequest") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*UpdateBasePlanStateRequest) MarshalJSON

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

type UpdateSubscriptionOfferRequest

UpdateSubscriptionOfferRequest: Request message for UpdateSubscriptionOffer.

type UpdateSubscriptionOfferRequest struct {
    // AllowMissing: Optional. If set to true, and the subscription offer with the
    // given package_name, product_id, base_plan_id and offer_id doesn't exist, an
    // offer will be created. If a new offer is created, update_mask is ignored.
    AllowMissing bool `json:"allowMissing,omitempty"`
    // LatencyTolerance: Optional. The latency tolerance for the propagation of
    // this product update. Defaults to latency-sensitive.
    //
    // Possible values:
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to
    // PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will
    // propagate to clients within several minutes on average and up to a few hours
    // in rare cases. Throughput is limited to 7,200 updates per app per hour.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will
    // propagate to clients within 24 hours. Supports high throughput of up to
    // 720,000 updates per app per hour using batch modification methods.
    LatencyTolerance string `json:"latencyTolerance,omitempty"`
    // RegionsVersion: Required. The version of the available regions being used
    // for the subscription_offer.
    RegionsVersion *RegionsVersion `json:"regionsVersion,omitempty"`
    // SubscriptionOffer: Required. The subscription offer to update.
    SubscriptionOffer *SubscriptionOffer `json:"subscriptionOffer,omitempty"`
    // UpdateMask: Required. The list of fields to be updated.
    UpdateMask string `json:"updateMask,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AllowMissing") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AllowMissing") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*UpdateSubscriptionOfferRequest) MarshalJSON

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

type UpdateSubscriptionOfferStateRequest

UpdateSubscriptionOfferStateRequest: Request message to update the state of a subscription offer.

type UpdateSubscriptionOfferStateRequest struct {
    // ActivateSubscriptionOfferRequest: Activates an offer. Once activated, the
    // offer will be available to new subscribers.
    ActivateSubscriptionOfferRequest *ActivateSubscriptionOfferRequest `json:"activateSubscriptionOfferRequest,omitempty"`
    // DeactivateSubscriptionOfferRequest: Deactivates an offer. Once deactivated,
    // the offer will become unavailable to new subscribers, but existing
    // subscribers will maintain their subscription
    DeactivateSubscriptionOfferRequest *DeactivateSubscriptionOfferRequest `json:"deactivateSubscriptionOfferRequest,omitempty"`
    // ForceSendFields is a list of field names (e.g.
    // "ActivateSubscriptionOfferRequest") to unconditionally include in API
    // requests. By default, fields with empty or default values are omitted from
    // API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g.
    // "ActivateSubscriptionOfferRequest") to include in API requests with the JSON
    // null value. By default, fields with empty values are omitted from API
    // requests. See https://pkg.go.dev/google.golang.org/api#hdr-NullFields for
    // more details.
    NullFields []string `json:"-"`
}

func (*UpdateSubscriptionOfferStateRequest) MarshalJSON

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

type UpdateSubscriptionRequest

UpdateSubscriptionRequest: Request message for UpdateSubscription.

type UpdateSubscriptionRequest struct {
    // AllowMissing: Optional. If set to true, and the subscription with the given
    // package_name and product_id doesn't exist, the subscription will be created.
    // If a new subscription is created, update_mask is ignored.
    AllowMissing bool `json:"allowMissing,omitempty"`
    // LatencyTolerance: Optional. The latency tolerance for the propagation of
    // this product update. Defaults to latency-sensitive.
    //
    // Possible values:
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" - Defaults to
    // PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" - The update will
    // propagate to clients within several minutes on average and up to a few hours
    // in rare cases. Throughput is limited to 7,200 updates per app per hour.
    //   "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" - The update will
    // propagate to clients within 24 hours. Supports high throughput of up to
    // 720,000 updates per app per hour using batch modification methods.
    LatencyTolerance string `json:"latencyTolerance,omitempty"`
    // RegionsVersion: Required. The version of the available regions being used
    // for the subscription.
    RegionsVersion *RegionsVersion `json:"regionsVersion,omitempty"`
    // Subscription: Required. The subscription to update.
    Subscription *Subscription `json:"subscription,omitempty"`
    // UpdateMask: Required. The list of fields to be updated.
    UpdateMask string `json:"updateMask,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AllowMissing") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AllowMissing") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*UpdateSubscriptionRequest) MarshalJSON

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

type UpgradeTargetingRule

UpgradeTargetingRule: Represents a targeting rule of the form: User currently has {scope} [with billing period {billing_period}].

type UpgradeTargetingRule struct {
    // BillingPeriodDuration: The specific billing period duration, specified in
    // ISO 8601 format, that a user must be currently subscribed to to be eligible
    // for this rule. If not specified, users subscribed to any billing period are
    // matched.
    BillingPeriodDuration string `json:"billingPeriodDuration,omitempty"`
    // OncePerUser: Limit this offer to only once per user. If set to true, a user
    // can never be eligible for this offer again if they ever subscribed to this
    // offer.
    OncePerUser bool `json:"oncePerUser,omitempty"`
    // Scope: Required. The scope of subscriptions this rule considers. Only allows
    // "this subscription" and "specific subscription in app".
    Scope *TargetingRuleScope `json:"scope,omitempty"`
    // ForceSendFields is a list of field names (e.g. "BillingPeriodDuration") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "BillingPeriodDuration") to
    // include in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*UpgradeTargetingRule) MarshalJSON

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

type User

User: A user resource.

type User struct {
    // AccessState: Output only. The state of the user's access to the Play
    // Console.
    //
    // Possible values:
    //   "ACCESS_STATE_UNSPECIFIED" - Unknown or unspecified access state.
    //   "INVITED" - User is invited but has not yet accepted the invitation.
    //   "INVITATION_EXPIRED" - Invitation has expired.
    //   "ACCESS_GRANTED" - User has accepted an invitation and has access to the
    // Play Console.
    //   "ACCESS_EXPIRED" - Account access has expired.
    AccessState string `json:"accessState,omitempty"`
    // DeveloperAccountPermissions: Permissions for the user which apply across the
    // developer account.
    //
    // Possible values:
    //   "DEVELOPER_LEVEL_PERMISSION_UNSPECIFIED" - Unknown or unspecified
    // permission.
    //   "CAN_SEE_ALL_APPS" - View app information and download bulk reports
    // (read-only). Deprecated: Check CAN_VIEW_NON_FINANCIAL_DATA_GLOBAL.
    //   "CAN_VIEW_FINANCIAL_DATA_GLOBAL" - View financial data, orders, and
    // cancellation survey responses.
    //   "CAN_MANAGE_PERMISSIONS_GLOBAL" - Admin (all permissions).
    //   "CAN_EDIT_GAMES_GLOBAL" - Edit Play Games Services projects.
    //   "CAN_PUBLISH_GAMES_GLOBAL" - Publish Play Games Services projects.
    //   "CAN_REPLY_TO_REVIEWS_GLOBAL" - Reply to reviews.
    //   "CAN_MANAGE_PUBLIC_APKS_GLOBAL" - Release to production, exclude devices,
    // and use app signing by Google Play.
    //   "CAN_MANAGE_TRACK_APKS_GLOBAL" - Release to testing tracks.
    //   "CAN_MANAGE_TRACK_USERS_GLOBAL" - Manage testing tracks and edit tester
    // lists.
    //   "CAN_MANAGE_PUBLIC_LISTING_GLOBAL" - Manage store presence.
    //   "CAN_MANAGE_DRAFT_APPS_GLOBAL" - Create, edit, and delete draft apps.
    //   "CAN_CREATE_MANAGED_PLAY_APPS_GLOBAL" - Create and publish private apps to
    // your organization.
    //   "CAN_CHANGE_MANAGED_PLAY_SETTING_GLOBAL" - Choose whether apps are public,
    // or only available to your organization.
    //   "CAN_MANAGE_ORDERS_GLOBAL" - Manage orders and subscriptions.
    //   "CAN_MANAGE_APP_CONTENT_GLOBAL" - Manage policy related pages on all apps
    // for the developer.
    //   "CAN_VIEW_NON_FINANCIAL_DATA_GLOBAL" - View app information and download
    // bulk reports (read-only).
    //   "CAN_VIEW_APP_QUALITY_GLOBAL" - View app quality information for all apps
    // for the developer.
    //   "CAN_MANAGE_DEEPLINKS_GLOBAL" - Manage the deep links setup for all apps
    // for the developer.
    DeveloperAccountPermissions []string `json:"developerAccountPermissions,omitempty"`
    // Email: Immutable. The user's email address.
    Email string `json:"email,omitempty"`
    // ExpirationTime: The time at which the user's access expires, if set. When
    // setting this value, it must always be in the future.
    ExpirationTime string `json:"expirationTime,omitempty"`
    // Grants: Output only. Per-app permissions for the user.
    Grants []*Grant `json:"grants,omitempty"`
    // Name: Required. Resource name for this user, following the pattern
    // "developers/{developer}/users/{email}".
    Name string `json:"name,omitempty"`
    // Partial: Output only. Whether there are more permissions for the user that
    // are not represented here. This can happen if the caller does not have
    // permission to manage all apps in the account. This is also `true` if this
    // user is the account owner. If this field is `true`, it should be taken as a
    // signal that this user cannot be fully managed via the API. That is, the API
    // caller is not be able to manage all of the permissions this user holds,
    // either because it doesn't know about them or because the user is the account
    // owner.
    Partial bool `json:"partial,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "AccessState") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AccessState") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*User) MarshalJSON

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

type UserComment

UserComment: User entry from conversation between user and developer.

type UserComment struct {
    // AndroidOsVersion: Integer Android SDK version of the user's device at the
    // time the review was written, e.g. 23 is Marshmallow. May be absent.
    AndroidOsVersion int64 `json:"androidOsVersion,omitempty"`
    // AppVersionCode: Integer version code of the app as installed at the time the
    // review was written. May be absent.
    AppVersionCode int64 `json:"appVersionCode,omitempty"`
    // AppVersionName: String version name of the app as installed at the time the
    // review was written. May be absent.
    AppVersionName string `json:"appVersionName,omitempty"`
    // Device: Codename for the reviewer's device, e.g. klte, flounder. May be
    // absent.
    Device string `json:"device,omitempty"`
    // DeviceMetadata: Information about the characteristics of the user's device.
    DeviceMetadata *DeviceMetadata `json:"deviceMetadata,omitempty"`
    // LastModified: The last time at which this comment was updated.
    LastModified *Timestamp `json:"lastModified,omitempty"`
    // OriginalText: Untranslated text of the review, where the review was
    // translated. If the review was not translated this is left blank.
    OriginalText string `json:"originalText,omitempty"`
    // ReviewerLanguage: Language code for the reviewer. This is taken from the
    // device settings so is not guaranteed to match the language the review is
    // written in. May be absent.
    ReviewerLanguage string `json:"reviewerLanguage,omitempty"`
    // StarRating: The star rating associated with the review, from 1 to 5.
    StarRating int64 `json:"starRating,omitempty"`
    // Text: The content of the comment, i.e. review body. In some cases users have
    // been able to write a review with separate title and body; in those cases the
    // title and body are concatenated and separated by a tab character.
    Text string `json:"text,omitempty"`
    // ThumbsDownCount: Number of users who have given this review a thumbs down.
    ThumbsDownCount int64 `json:"thumbsDownCount,omitempty"`
    // ThumbsUpCount: Number of users who have given this review a thumbs up.
    ThumbsUpCount int64 `json:"thumbsUpCount,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AndroidOsVersion") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AndroidOsVersion") to include in
    // API requests with the JSON null value. By default, fields with empty values
    // are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*UserComment) MarshalJSON

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

type UserCountriesTargeting

UserCountriesTargeting: Describes an inclusive/exclusive list of country codes that module targets.

type UserCountriesTargeting struct {
    // CountryCodes: List of country codes in the two-letter CLDR territory format.
    CountryCodes []string `json:"countryCodes,omitempty"`
    // Exclude: Indicates if the list above is exclusive.
    Exclude bool `json:"exclude,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CountryCodes") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CountryCodes") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*UserCountriesTargeting) MarshalJSON

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

type UserCountrySet

UserCountrySet: A set of user countries. A country set determines what variation of app content gets served to a specific location.

type UserCountrySet struct {
    // CountryCodes: List of country codes representing countries. A Country code
    // is represented in ISO 3166 alpha-2 format. For Example:- "IT" for Italy,
    // "GE" for Georgia.
    CountryCodes []string `json:"countryCodes,omitempty"`
    // Name: Country set name.
    Name string `json:"name,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CountryCodes") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CountryCodes") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*UserCountrySet) MarshalJSON

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

type UserInitiatedCancellation

UserInitiatedCancellation: Information specific to cancellations initiated by users.

type UserInitiatedCancellation struct {
    // CancelSurveyResult: Information provided by the user when they complete the
    // subscription cancellation flow (cancellation reason survey).
    CancelSurveyResult *CancelSurveyResult `json:"cancelSurveyResult,omitempty"`
    // CancelTime: The time at which the subscription was canceled by the user. The
    // user might still have access to the subscription after this time. Use
    // line_items.expiry_time to determine if a user still has access.
    CancelTime string `json:"cancelTime,omitempty"`
    // ForceSendFields is a list of field names (e.g. "CancelSurveyResult") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "CancelSurveyResult") to include
    // in API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*UserInitiatedCancellation) MarshalJSON

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

type UsersCreateCall

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

func (*UsersCreateCall) Context

func (c *UsersCreateCall) Context(ctx context.Context) *UsersCreateCall

Context sets the context to be used in this call's Do method.

func (*UsersCreateCall) Do

func (c *UsersCreateCall) Do(opts ...googleapi.CallOption) (*User, error)

Do executes the "androidpublisher.users.create" call. Any non-2xx status code is an error. Response headers are in either *User.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 (*UsersCreateCall) Fields

func (c *UsersCreateCall) Fields(s ...googleapi.Field) *UsersCreateCall

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

func (*UsersCreateCall) Header

func (c *UsersCreateCall) Header() http.Header

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

type UsersDeleteCall

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

func (*UsersDeleteCall) Context

func (c *UsersDeleteCall) Context(ctx context.Context) *UsersDeleteCall

Context sets the context to be used in this call's Do method.

func (*UsersDeleteCall) Do

func (c *UsersDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "androidpublisher.users.delete" call.

func (*UsersDeleteCall) Fields

func (c *UsersDeleteCall) Fields(s ...googleapi.Field) *UsersDeleteCall

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

func (*UsersDeleteCall) Header

func (c *UsersDeleteCall) Header() http.Header

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

type UsersListCall

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

func (*UsersListCall) Context

func (c *UsersListCall) Context(ctx context.Context) *UsersListCall

Context sets the context to be used in this call's Do method.

func (*UsersListCall) Do

func (c *UsersListCall) Do(opts ...googleapi.CallOption) (*ListUsersResponse, error)

Do executes the "androidpublisher.users.list" call. Any non-2xx status code is an error. Response headers are in either *ListUsersResponse.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 (*UsersListCall) Fields

func (c *UsersListCall) Fields(s ...googleapi.Field) *UsersListCall

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

func (*UsersListCall) Header

func (c *UsersListCall) Header() http.Header

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

func (*UsersListCall) IfNoneMatch

func (c *UsersListCall) IfNoneMatch(entityTag string) *UsersListCall

IfNoneMatch sets an 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.

func (*UsersListCall) PageSize

func (c *UsersListCall) PageSize(pageSize int64) *UsersListCall

PageSize sets the optional parameter "pageSize": The maximum number of results to return. This must be set to -1 to disable pagination.

func (*UsersListCall) PageToken

func (c *UsersListCall) PageToken(pageToken string) *UsersListCall

PageToken sets the optional parameter "pageToken": A token received from a previous call to this method, in order to retrieve further results.

func (*UsersListCall) Pages

func (c *UsersListCall) Pages(ctx context.Context, f func(*ListUsersResponse) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type UsersPatchCall

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

func (*UsersPatchCall) Context

func (c *UsersPatchCall) Context(ctx context.Context) *UsersPatchCall

Context sets the context to be used in this call's Do method.

func (*UsersPatchCall) Do

func (c *UsersPatchCall) Do(opts ...googleapi.CallOption) (*User, error)

Do executes the "androidpublisher.users.patch" call. Any non-2xx status code is an error. Response headers are in either *User.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 (*UsersPatchCall) Fields

func (c *UsersPatchCall) Fields(s ...googleapi.Field) *UsersPatchCall

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

func (*UsersPatchCall) Header

func (c *UsersPatchCall) Header() http.Header

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

func (*UsersPatchCall) UpdateMask

func (c *UsersPatchCall) UpdateMask(updateMask string) *UsersPatchCall

UpdateMask sets the optional parameter "updateMask": The list of fields to be updated.

type UsersService

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

func NewUsersService

func NewUsersService(s *Service) *UsersService

func (*UsersService) Create

func (r *UsersService) Create(parent string, user *User) *UsersCreateCall

Create: Grant access for a user to the given developer account.

func (*UsersService) Delete

func (r *UsersService) Delete(name string) *UsersDeleteCall

Delete: Removes all access for the user to the given developer account.

func (*UsersService) List

func (r *UsersService) List(parent string) *UsersListCall

List: Lists all users with access to a developer account.

func (*UsersService) Patch

func (r *UsersService) Patch(name string, user *User) *UsersPatchCall

Patch: Updates access for the user to the developer account.

type UsesPermission

UsesPermission: A permission used by this APK.

type UsesPermission 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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "MaxSdkVersion") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*UsesPermission) MarshalJSON

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

type Variant

Variant: APK that is suitable for inclusion in a system image. The resource of SystemApksService.

type Variant struct {
    // DeviceSpec: The device spec used to generate the APK.
    DeviceSpec *DeviceSpec `json:"deviceSpec,omitempty"`
    // Options: Optional. Options applied to the generated APK.
    Options *SystemApkOptions `json:"options,omitempty"`
    // VariantId: Output only. The ID of a previously created system APK variant.
    VariantId int64 `json:"variantId,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the server.
    googleapi.ServerResponse `json:"-"`
    // ForceSendFields is a list of field names (e.g. "DeviceSpec") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "DeviceSpec") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*Variant) MarshalJSON

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

type VariantTargeting

VariantTargeting: Targeting on the level of variants.

type VariantTargeting struct {
    // AbiTargeting: The abi that the variant targets
    AbiTargeting *AbiTargeting `json:"abiTargeting,omitempty"`
    // MultiAbiTargeting: Multi-api-level targeting
    MultiAbiTargeting *MultiAbiTargeting `json:"multiAbiTargeting,omitempty"`
    // ScreenDensityTargeting: The screen densities that this variant supports
    ScreenDensityTargeting *ScreenDensityTargeting `json:"screenDensityTargeting,omitempty"`
    // SdkVersionTargeting: The sdk version that the variant targets
    SdkVersionTargeting *SdkVersionTargeting `json:"sdkVersionTargeting,omitempty"`
    // TextureCompressionFormatTargeting: Texture-compression-format-level
    // targeting
    TextureCompressionFormatTargeting *TextureCompressionFormatTargeting `json:"textureCompressionFormatTargeting,omitempty"`
    // ForceSendFields is a list of field names (e.g. "AbiTargeting") to
    // unconditionally include in API requests. By default, fields with empty or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "AbiTargeting") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*VariantTargeting) MarshalJSON

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

type VoidedPurchase

VoidedPurchase: A VoidedPurchase resource indicates a purchase that was either canceled/refunded/charged-back.

type VoidedPurchase struct {
    // Kind: This kind represents a voided purchase object in the androidpublisher
    // service.
    Kind string `json:"kind,omitempty"`
    // OrderId: The order id which uniquely identifies a one-time purchase,
    // subscription purchase, or subscription renewal.
    OrderId string `json:"orderId,omitempty"`
    // PurchaseTimeMillis: The time at which the purchase was made, in milliseconds
    // since the epoch (Jan 1, 1970).
    PurchaseTimeMillis int64 `json:"purchaseTimeMillis,omitempty,string"`
    // PurchaseToken: The token which uniquely identifies a one-time purchase or
    // subscription. To uniquely identify subscription renewals use order_id
    // (available starting from version 3 of the API).
    PurchaseToken string `json:"purchaseToken,omitempty"`
    // VoidedQuantity: The voided quantity as the result of a quantity-based
    // partial refund. Voided purchases of quantity-based partial refunds may only
    // be returned when includeQuantityBasedPartialRefund is set to true.
    VoidedQuantity int64 `json:"voidedQuantity,omitempty"`
    // VoidedReason: The reason why the purchase was voided, possible values are:
    // 0. Other 1. Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5.
    // Fraud 6. Friendly_fraud 7. Chargeback
    VoidedReason int64 `json:"voidedReason,omitempty"`
    // VoidedSource: The initiator of voided purchase, possible values are: 0. User
    // 1. Developer 2. Google
    VoidedSource int64 `json:"voidedSource,omitempty"`
    // VoidedTimeMillis: The time at which the purchase was
    // canceled/refunded/charged-back, in milliseconds since the epoch (Jan 1,
    // 1970).
    VoidedTimeMillis int64 `json:"voidedTimeMillis,omitempty,string"`
    // ForceSendFields is a list of field names (e.g. "Kind") to unconditionally
    // include in API requests. By default, fields with empty or default values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "Kind") to include in API requests
    // with the JSON null value. By default, fields with empty values are omitted
    // from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*VoidedPurchase) MarshalJSON

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

type VoidedPurchasesListResponse

VoidedPurchasesListResponse: Response for the voidedpurchases.list API.

type VoidedPurchasesListResponse struct {
    // PageInfo: General pagination information.
    PageInfo *PageInfo `json:"pageInfo,omitempty"`
    // TokenPagination: Pagination information for token pagination.
    TokenPagination *TokenPagination  `json:"tokenPagination,omitempty"`
    VoidedPurchases []*VoidedPurchase `json:"voidedPurchases,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 or
    // default values are omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
    // details.
    ForceSendFields []string `json:"-"`
    // NullFields is a list of field names (e.g. "PageInfo") to include in API
    // requests with the JSON null value. By default, fields with empty values are
    // omitted from API requests. See
    // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
    NullFields []string `json:"-"`
}

func (*VoidedPurchasesListResponse) MarshalJSON

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