api: google.golang.org/api/androidpublisher/v3 Index | Files

package androidpublisher

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

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

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

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 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 option.WithTokenSource:

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

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Package Files

androidpublisher-gen.go

Constants

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

OAuth2 scopes used by this API.

type Apk Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Binary") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

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

func (*Apk) MarshalJSON Uses

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

type ApkBinary Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Sha1") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

ApkBinary: Represents the binary payload of an APK.

func (*ApkBinary) MarshalJSON Uses

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

type ApksAddExternallyHostedRequest Uses

type ApksAddExternallyHostedRequest struct {
    // ExternallyHostedApk: The definition of the externally-hosted APK and
    // where it is located.
    ExternallyHostedApk *ExternallyHostedApk `json:"externallyHostedApk,omitempty"`

    // ForceSendFields is a list of field names (e.g. "ExternallyHostedApk")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // 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. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

ApksAddExternallyHostedRequest: Request to create a new externally hosted APK.

func (*ApksAddExternallyHostedRequest) MarshalJSON Uses

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

type ApksAddExternallyHostedResponse Uses

type ApksAddExternallyHostedResponse struct {
    // ExternallyHostedApk: The definition of the externally-hosted APK and
    // where it is located.
    ExternallyHostedApk *ExternallyHostedApk `json:"externallyHostedApk,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "ExternallyHostedApk")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // 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. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

ApksAddExternallyHostedResponse: Response for creating a new externally hosted APK.

func (*ApksAddExternallyHostedResponse) MarshalJSON Uses

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

type ApksListResponse Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Apks") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

ApksListResponse: Response listing all APKs.

func (*ApksListResponse) MarshalJSON Uses

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

type AppDetails Uses

type AppDetails struct {
    // ContactEmail: The user-visible support email for this app.
    ContactEmail string `json:"contactEmail,omitempty"`

    // ContactPhone: The user-visible support telephone number for this app.
    ContactPhone string `json:"contactPhone,omitempty"`

    // ContactWebsite: The user-visible website for this app.
    ContactWebsite string `json:"contactWebsite,omitempty"`

    // DefaultLanguage: Default language code, in BCP 47 format (eg
    // "en-US").
    DefaultLanguage string `json:"defaultLanguage,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "ContactEmail") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // 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. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

AppDetails: The app details. The resource for DetailsService.

func (*AppDetails) MarshalJSON Uses

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

type AppEdit Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ExpiryTimeSeconds") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

AppEdit: An app edit. The resource for EditsService.

func (*AppEdit) MarshalJSON Uses

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

type Bundle Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Sha1") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

Bundle: Information about a bundle. The resource for BundlesService.

func (*Bundle) MarshalJSON Uses

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

type BundlesListResponse Uses

type BundlesListResponse struct {
    // Bundles: All 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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Bundles") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

BundlesListResponse: Response listing all bundles.

func (*BundlesListResponse) MarshalJSON Uses

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

type Comment Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DeveloperComment") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

Comment: An entry of conversation between user and developer.

func (*Comment) MarshalJSON Uses

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

type CountryTargeting Uses

type CountryTargeting struct {
    // Countries: Countries to target, specified as two letter
    // [CLDR
    // codes](https://unicode.org/cldr/charts/latest/supplemental/terri
    // tory_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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Countries") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

CountryTargeting: Country targeting specification.

func (*CountryTargeting) MarshalJSON Uses

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

type DeobfuscationFile Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "SymbolType") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

DeobfuscationFile: Represents a deobfuscation file.

func (*DeobfuscationFile) MarshalJSON Uses

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

type DeobfuscationFilesUploadResponse Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DeobfuscationFile") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

DeobfuscationFilesUploadResponse: Responses for the upload.

func (*DeobfuscationFilesUploadResponse) MarshalJSON Uses

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

type DeveloperComment Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "LastModified") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

DeveloperComment: Developer entry from conversation between user and developer.

func (*DeveloperComment) MarshalJSON Uses

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

type DeviceMetadata Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CpuMake") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

DeviceMetadata: Characteristics of the user's device.

func (*DeviceMetadata) MarshalJSON Uses

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

type DeviceSpec Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ScreenDensity") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

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

func (*DeviceSpec) MarshalJSON Uses

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

type EditsApksAddexternallyhostedCall Uses

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

func (*EditsApksAddexternallyhostedCall) Context Uses

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

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

func (*EditsApksAddexternallyhostedCall) Do Uses

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

Do executes the "androidpublisher.edits.apks.addexternallyhosted" call. Exactly one of *ApksAddExternallyHostedResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ApksAddExternallyHostedResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsApksAddexternallyhostedCall) Fields Uses

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

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

func (*EditsApksAddexternallyhostedCall) Header Uses

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

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

type EditsApksListCall Uses

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

func (*EditsApksListCall) Context Uses

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

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

func (*EditsApksListCall) Do Uses

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

Do executes the "androidpublisher.edits.apks.list" call. Exactly one of *ApksListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ApksListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsApksListCall) Fields Uses

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

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

func (*EditsApksListCall) Header Uses

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

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

func (*EditsApksListCall) IfNoneMatch Uses

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

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

type EditsApksService Uses

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

func NewEditsApksService Uses

func NewEditsApksService(s *Service) *EditsApksService

func (*EditsApksService) Addexternallyhosted Uses

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.

func (*EditsApksService) List Uses

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

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

func (*EditsApksService) Upload Uses

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

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

type EditsApksUploadCall Uses

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

func (*EditsApksUploadCall) Context Uses

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

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

func (*EditsApksUploadCall) Do Uses

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

Do executes the "androidpublisher.edits.apks.upload" call. Exactly one of *Apk or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Apk.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsApksUploadCall) Fields Uses

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

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

func (*EditsApksUploadCall) Header Uses

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

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

func (*EditsApksUploadCall) Media Uses

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 Uses

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 Uses

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 Uses

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

func (*EditsBundlesListCall) Context Uses

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

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

func (*EditsBundlesListCall) Do Uses

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

Do executes the "androidpublisher.edits.bundles.list" call. Exactly one of *BundlesListResponse or error will be non-nil. 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 Uses

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 information.

func (*EditsBundlesListCall) Header Uses

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

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

func (*EditsBundlesListCall) IfNoneMatch Uses

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

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

type EditsBundlesService Uses

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

func NewEditsBundlesService Uses

func NewEditsBundlesService(s *Service) *EditsBundlesService

func (*EditsBundlesService) List Uses

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

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

func (*EditsBundlesService) Upload Uses

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/goog le-api-java-client/errors) for an example in java.

type EditsBundlesUploadCall Uses

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

func (*EditsBundlesUploadCall) AckBundleInstallationWarning Uses

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

AckBundleInstallationWarning sets the optional parameter "ackBundleInstallationWarning": Must be set to true if the 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 Uses

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

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

func (*EditsBundlesUploadCall) Do Uses

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

Do executes the "androidpublisher.edits.bundles.upload" call. Exactly one of *Bundle or error will be non-nil. 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 Uses

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 information.

func (*EditsBundlesUploadCall) Header Uses

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

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

func (*EditsBundlesUploadCall) Media Uses

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 Uses

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 Uses

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 Uses

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

func (*EditsCommitCall) Context Uses

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

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

func (*EditsCommitCall) Do Uses

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

Do executes the "androidpublisher.edits.commit" call. Exactly one of *AppEdit or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppEdit.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsCommitCall) Fields Uses

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

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

func (*EditsCommitCall) Header Uses

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

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

type EditsDeleteCall Uses

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

func (*EditsDeleteCall) Context Uses

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

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

func (*EditsDeleteCall) Do Uses

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

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

func (*EditsDeleteCall) Fields Uses

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

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

func (*EditsDeleteCall) Header Uses

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

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

type EditsDeobfuscationfilesService Uses

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

func NewEditsDeobfuscationfilesService Uses

func NewEditsDeobfuscationfilesService(s *Service) *EditsDeobfuscationfilesService

func (*EditsDeobfuscationfilesService) Upload Uses

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 Uses

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

func (*EditsDeobfuscationfilesUploadCall) Context Uses

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

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

func (*EditsDeobfuscationfilesUploadCall) Do Uses

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

Do executes the "androidpublisher.edits.deobfuscationfiles.upload" call. Exactly one of *DeobfuscationFilesUploadResponse or error will be non-nil. 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 Uses

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 information.

func (*EditsDeobfuscationfilesUploadCall) Header Uses

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

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

func (*EditsDeobfuscationfilesUploadCall) Media Uses

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 Uses

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 Uses

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 Uses

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

func (*EditsDetailsGetCall) Context Uses

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

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

func (*EditsDetailsGetCall) Do Uses

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

Do executes the "androidpublisher.edits.details.get" call. Exactly one of *AppDetails or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppDetails.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsDetailsGetCall) Fields Uses

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

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

func (*EditsDetailsGetCall) Header Uses

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

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

func (*EditsDetailsGetCall) IfNoneMatch Uses

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

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

type EditsDetailsPatchCall Uses

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

func (*EditsDetailsPatchCall) Context Uses

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

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

func (*EditsDetailsPatchCall) Do Uses

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

Do executes the "androidpublisher.edits.details.patch" call. Exactly one of *AppDetails or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppDetails.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsDetailsPatchCall) Fields Uses

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

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

func (*EditsDetailsPatchCall) Header Uses

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

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

type EditsDetailsService Uses

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

func NewEditsDetailsService Uses

func NewEditsDetailsService(s *Service) *EditsDetailsService

func (*EditsDetailsService) Get Uses

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

Get: Gets details of an app.

func (*EditsDetailsService) Patch Uses

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

Patch: Patches details of an app.

func (*EditsDetailsService) Update Uses

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

Update: Updates details of an app.

type EditsDetailsUpdateCall Uses

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

func (*EditsDetailsUpdateCall) Context Uses

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

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

func (*EditsDetailsUpdateCall) Do Uses

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

Do executes the "androidpublisher.edits.details.update" call. Exactly one of *AppDetails or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppDetails.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsDetailsUpdateCall) Fields Uses

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

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

func (*EditsDetailsUpdateCall) Header Uses

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

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

type EditsExpansionfilesGetCall Uses

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

func (*EditsExpansionfilesGetCall) Context Uses

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

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

func (*EditsExpansionfilesGetCall) Do Uses

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

Do executes the "androidpublisher.edits.expansionfiles.get" call. Exactly one of *ExpansionFile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ExpansionFile.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsExpansionfilesGetCall) Fields Uses

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

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

func (*EditsExpansionfilesGetCall) Header Uses

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

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

func (*EditsExpansionfilesGetCall) IfNoneMatch Uses

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

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

type EditsExpansionfilesPatchCall Uses

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

func (*EditsExpansionfilesPatchCall) Context Uses

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

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

func (*EditsExpansionfilesPatchCall) Do Uses

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

Do executes the "androidpublisher.edits.expansionfiles.patch" call. Exactly one of *ExpansionFile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ExpansionFile.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsExpansionfilesPatchCall) Fields Uses

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

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

func (*EditsExpansionfilesPatchCall) Header Uses

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

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

type EditsExpansionfilesService Uses

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

func NewEditsExpansionfilesService Uses

func NewEditsExpansionfilesService(s *Service) *EditsExpansionfilesService

func (*EditsExpansionfilesService) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

func (*EditsExpansionfilesUpdateCall) Context Uses

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

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

func (*EditsExpansionfilesUpdateCall) Do Uses

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

Do executes the "androidpublisher.edits.expansionfiles.update" call. Exactly one of *ExpansionFile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ExpansionFile.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsExpansionfilesUpdateCall) Fields Uses

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

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

func (*EditsExpansionfilesUpdateCall) Header Uses

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

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

type EditsExpansionfilesUploadCall Uses

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

func (*EditsExpansionfilesUploadCall) Context Uses

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

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

func (*EditsExpansionfilesUploadCall) Do Uses

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

Do executes the "androidpublisher.edits.expansionfiles.upload" call. Exactly one of *ExpansionFilesUploadResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ExpansionFilesUploadResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsExpansionfilesUploadCall) Fields Uses

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

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

func (*EditsExpansionfilesUploadCall) Header Uses

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

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

func (*EditsExpansionfilesUploadCall) Media Uses

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 Uses

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 Uses

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 Uses

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

func (*EditsGetCall) Context Uses

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

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

func (*EditsGetCall) Do Uses

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

Do executes the "androidpublisher.edits.get" call. Exactly one of *AppEdit or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppEdit.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsGetCall) Fields Uses

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

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

func (*EditsGetCall) Header Uses

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

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

func (*EditsGetCall) IfNoneMatch Uses

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

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

type EditsImagesDeleteCall Uses

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

func (*EditsImagesDeleteCall) Context Uses

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

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

func (*EditsImagesDeleteCall) Do Uses

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

Do executes the "androidpublisher.edits.images.delete" call.

func (*EditsImagesDeleteCall) Fields Uses

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

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

func (*EditsImagesDeleteCall) Header Uses

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

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

type EditsImagesDeleteallCall Uses

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

func (*EditsImagesDeleteallCall) Context Uses

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

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

func (*EditsImagesDeleteallCall) Do Uses

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

Do executes the "androidpublisher.edits.images.deleteall" call. Exactly one of *ImagesDeleteAllResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ImagesDeleteAllResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsImagesDeleteallCall) Fields Uses

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

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

func (*EditsImagesDeleteallCall) Header Uses

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

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

type EditsImagesListCall Uses

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

func (*EditsImagesListCall) Context Uses

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

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

func (*EditsImagesListCall) Do Uses

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

Do executes the "androidpublisher.edits.images.list" call. Exactly one of *ImagesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ImagesListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsImagesListCall) Fields Uses

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

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

func (*EditsImagesListCall) Header Uses

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

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

func (*EditsImagesListCall) IfNoneMatch Uses

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

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

type EditsImagesService Uses

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

func NewEditsImagesService Uses

func NewEditsImagesService(s *Service) *EditsImagesService

func (*EditsImagesService) Delete Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

func (*EditsImagesUploadCall) Context Uses

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

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

func (*EditsImagesUploadCall) Do Uses

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

Do executes the "androidpublisher.edits.images.upload" call. Exactly one of *ImagesUploadResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ImagesUploadResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsImagesUploadCall) Fields Uses

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

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

func (*EditsImagesUploadCall) Header Uses

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

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

func (*EditsImagesUploadCall) Media Uses

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 Uses

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 Uses

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 Uses

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

func (*EditsInsertCall) Context Uses

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

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

func (*EditsInsertCall) Do Uses

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

Do executes the "androidpublisher.edits.insert" call. Exactly one of *AppEdit or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppEdit.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsInsertCall) Fields Uses

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

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

func (*EditsInsertCall) Header Uses

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

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

type EditsListingsDeleteCall Uses

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

func (*EditsListingsDeleteCall) Context Uses

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

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

func (*EditsListingsDeleteCall) Do Uses

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

Do executes the "androidpublisher.edits.listings.delete" call.

func (*EditsListingsDeleteCall) Fields Uses

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

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

func (*EditsListingsDeleteCall) Header Uses

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

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

type EditsListingsDeleteallCall Uses

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

func (*EditsListingsDeleteallCall) Context Uses

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

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

func (*EditsListingsDeleteallCall) Do Uses

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

Do executes the "androidpublisher.edits.listings.deleteall" call.

func (*EditsListingsDeleteallCall) Fields Uses

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

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

func (*EditsListingsDeleteallCall) Header Uses

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

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

type EditsListingsGetCall Uses

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

func (*EditsListingsGetCall) Context Uses

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

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

func (*EditsListingsGetCall) Do Uses

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

Do executes the "androidpublisher.edits.listings.get" call. Exactly one of *Listing or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Listing.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsListingsGetCall) Fields Uses

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

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

func (*EditsListingsGetCall) Header Uses

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

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

func (*EditsListingsGetCall) IfNoneMatch Uses

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

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

type EditsListingsListCall Uses

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

func (*EditsListingsListCall) Context Uses

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

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

func (*EditsListingsListCall) Do Uses

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

Do executes the "androidpublisher.edits.listings.list" call. Exactly one of *ListingsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListingsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsListingsListCall) Fields Uses

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

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

func (*EditsListingsListCall) Header Uses

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

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

func (*EditsListingsListCall) IfNoneMatch Uses

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

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

type EditsListingsPatchCall Uses

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

func (*EditsListingsPatchCall) Context Uses

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

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

func (*EditsListingsPatchCall) Do Uses

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

Do executes the "androidpublisher.edits.listings.patch" call. Exactly one of *Listing or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Listing.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsListingsPatchCall) Fields Uses

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

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

func (*EditsListingsPatchCall) Header Uses

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

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

type EditsListingsService Uses

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

func NewEditsListingsService Uses

func NewEditsListingsService(s *Service) *EditsListingsService

func (*EditsListingsService) Delete Uses

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

Delete: Deletes a localized store listing.

func (*EditsListingsService) Deleteall Uses

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

Deleteall: Deletes all store listings.

func (*EditsListingsService) Get Uses

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

Get: Gets a localized store listing.

func (*EditsListingsService) List Uses

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

List: Lists all localized store listings.

func (*EditsListingsService) Patch Uses

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

Patch: Patches a localized store listing.

func (*EditsListingsService) Update Uses

func (r *EditsListingsService) Update(packageName string, editId string, language string, listing *Listing) *EditsListingsUpdateCall

Update: Creates or updates a localized store listing.

type EditsListingsUpdateCall Uses

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

func (*EditsListingsUpdateCall) Context Uses

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

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

func (*EditsListingsUpdateCall) Do Uses

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

Do executes the "androidpublisher.edits.listings.update" call. Exactly one of *Listing or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Listing.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsListingsUpdateCall) Fields Uses

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

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

func (*EditsListingsUpdateCall) Header Uses

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

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

type EditsService Uses

type EditsService struct {
    Apks *EditsApksService

    Bundles *EditsBundlesService

    Deobfuscationfiles *EditsDeobfuscationfilesService

    Details *EditsDetailsService

    Expansionfiles *EditsExpansionfilesService

    Images *EditsImagesService

    Listings *EditsListingsService

    Testers *EditsTestersService

    Tracks *EditsTracksService
    // contains filtered or unexported fields
}

func NewEditsService Uses

func NewEditsService(s *Service) *EditsService

func (*EditsService) Commit Uses

func (r *EditsService) Commit(packageName string, editId string) *EditsCommitCall

Commit: Commits an app edit.

func (*EditsService) Delete Uses

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

Delete: Deletes an app edit.

func (*EditsService) Get Uses

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

Get: Gets an app edit.

func (*EditsService) Insert Uses

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

Insert: Creates a new edit for an app.

func (*EditsService) Validate Uses

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

Validate: Validates an app edit.

type EditsTestersGetCall Uses

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

func (*EditsTestersGetCall) Context Uses

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

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

func (*EditsTestersGetCall) Do Uses

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

Do executes the "androidpublisher.edits.testers.get" call. Exactly one of *Testers or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Testers.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsTestersGetCall) Fields Uses

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

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

func (*EditsTestersGetCall) Header Uses

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

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

func (*EditsTestersGetCall) IfNoneMatch Uses

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

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

type EditsTestersPatchCall Uses

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

func (*EditsTestersPatchCall) Context Uses

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

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

func (*EditsTestersPatchCall) Do Uses

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

Do executes the "androidpublisher.edits.testers.patch" call. Exactly one of *Testers or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Testers.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsTestersPatchCall) Fields Uses

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

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

func (*EditsTestersPatchCall) Header Uses

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

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

type EditsTestersService Uses

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

func NewEditsTestersService Uses

func NewEditsTestersService(s *Service) *EditsTestersService

func (*EditsTestersService) Get Uses

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

Get: Gets testers.

func (*EditsTestersService) Patch Uses

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

Patch: Patches testers.

func (*EditsTestersService) Update Uses

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

Update: Updates testers.

type EditsTestersUpdateCall Uses

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

func (*EditsTestersUpdateCall) Context Uses

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

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

func (*EditsTestersUpdateCall) Do Uses

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

Do executes the "androidpublisher.edits.testers.update" call. Exactly one of *Testers or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Testers.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsTestersUpdateCall) Fields Uses

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

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

func (*EditsTestersUpdateCall) Header Uses

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

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

type EditsTracksGetCall Uses

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

func (*EditsTracksGetCall) Context Uses

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

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

func (*EditsTracksGetCall) Do Uses

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

Do executes the "androidpublisher.edits.tracks.get" call. Exactly one of *Track or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Track.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsTracksGetCall) Fields Uses

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

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

func (*EditsTracksGetCall) Header Uses

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

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

func (*EditsTracksGetCall) IfNoneMatch Uses

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

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

type EditsTracksListCall Uses

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

func (*EditsTracksListCall) Context Uses

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

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

func (*EditsTracksListCall) Do Uses

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

Do executes the "androidpublisher.edits.tracks.list" call. Exactly one of *TracksListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TracksListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsTracksListCall) Fields Uses

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

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

func (*EditsTracksListCall) Header Uses

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

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

func (*EditsTracksListCall) IfNoneMatch Uses

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

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

type EditsTracksPatchCall Uses

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

func (*EditsTracksPatchCall) Context Uses

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

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

func (*EditsTracksPatchCall) Do Uses

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

Do executes the "androidpublisher.edits.tracks.patch" call. Exactly one of *Track or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Track.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsTracksPatchCall) Fields Uses

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

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

func (*EditsTracksPatchCall) Header Uses

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

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

type EditsTracksService Uses

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

func NewEditsTracksService Uses

func NewEditsTracksService(s *Service) *EditsTracksService

func (*EditsTracksService) Get Uses

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

Get: Gets a track.

func (*EditsTracksService) List Uses

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

List: Lists all tracks.

func (*EditsTracksService) Patch Uses

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

Patch: Patches a track.

func (*EditsTracksService) Update Uses

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

Update: Updates a track.

type EditsTracksUpdateCall Uses

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

func (*EditsTracksUpdateCall) Context Uses

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

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

func (*EditsTracksUpdateCall) Do Uses

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

Do executes the "androidpublisher.edits.tracks.update" call. Exactly one of *Track or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Track.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsTracksUpdateCall) Fields Uses

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

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

func (*EditsTracksUpdateCall) Header Uses

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

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

type EditsValidateCall Uses

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

func (*EditsValidateCall) Context Uses

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

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

func (*EditsValidateCall) Do Uses

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

Do executes the "androidpublisher.edits.validate" call. Exactly one of *AppEdit or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AppEdit.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*EditsValidateCall) Fields Uses

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

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

func (*EditsValidateCall) Header Uses

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

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

type ExpansionFile Uses

type ExpansionFile struct {
    // FileSize: If set, this field indicates that this APK has an expansion
    // file uploaded
    // to it: this APK does not reference another APK's expansion file.
    // The field's value is the size of the uploaded expansion file in
    // bytes.
    FileSize int64 `json:"fileSize,omitempty,string"`

    // ReferencesVersion: If set, this APK's expansion file references
    // another APK's expansion file.
    // The file_size field will not be set.
    ReferencesVersion int64 `json:"referencesVersion,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "FileSize") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // 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. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

ExpansionFile: An expansion file. The resource for ExpansionFilesService.

func (*ExpansionFile) MarshalJSON Uses

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

type ExpansionFilesUploadResponse Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ExpansionFile") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

ExpansionFilesUploadResponse: Response for uploading an expansion file.

func (*ExpansionFilesUploadResponse) MarshalJSON Uses

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

type ExternallyHostedApk Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ApplicationLabel") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

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.

func (*ExternallyHostedApk) MarshalJSON Uses

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

type Image Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

Image: An uploaded image. The resource for ImagesService.

func (*Image) MarshalJSON Uses

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

type ImagesDeleteAllResponse Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Deleted") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

ImagesDeleteAllResponse: Response for deleting all images.

func (*ImagesDeleteAllResponse) MarshalJSON Uses

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

type ImagesListResponse Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Images") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

ImagesListResponse: Response listing all images.

func (*ImagesListResponse) MarshalJSON Uses

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

type ImagesUploadResponse Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Image") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

ImagesUploadResponse: Response for uploading an image.

func (*ImagesUploadResponse) MarshalJSON Uses

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

type InAppProduct Uses

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"`

    // 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"`

    // 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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DefaultLanguage") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

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

func (*InAppProduct) MarshalJSON Uses

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

type InAppProductListing Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Benefits") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

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

func (*InAppProductListing) MarshalJSON Uses

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

type InappproductsDeleteCall Uses

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

func (*InappproductsDeleteCall) Context Uses

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

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

func (*InappproductsDeleteCall) Do Uses

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

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

func (*InappproductsDeleteCall) Fields Uses

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

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

func (*InappproductsDeleteCall) Header Uses

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

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

type InappproductsGetCall Uses

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

func (*InappproductsGetCall) Context Uses

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

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

func (*InappproductsGetCall) Do Uses

func (c *InappproductsGetCall) Do(opts ...googleapi.CallOption) (*InAppProduct, error)

Do executes the "androidpublisher.inappproducts.get" call. Exactly one of *InAppProduct or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InAppProduct.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*InappproductsGetCall) Fields Uses

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

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

func (*InappproductsGetCall) Header Uses

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

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

func (*InappproductsGetCall) IfNoneMatch Uses

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

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

type InappproductsInsertCall Uses

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

func (*InappproductsInsertCall) AutoConvertMissingPrices Uses

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 Uses

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

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

func (*InappproductsInsertCall) Do Uses

func (c *InappproductsInsertCall) Do(opts ...googleapi.CallOption) (*InAppProduct, error)

Do executes the "androidpublisher.inappproducts.insert" call. Exactly one of *InAppProduct or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InAppProduct.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*InappproductsInsertCall) Fields Uses

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

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

func (*InappproductsInsertCall) Header Uses

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

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

type InappproductsListCall Uses

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

func (*InappproductsListCall) Context Uses

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

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

func (*InappproductsListCall) Do Uses

func (c *InappproductsListCall) Do(opts ...googleapi.CallOption) (*InappproductsListResponse, error)

Do executes the "androidpublisher.inappproducts.list" call. Exactly one of *InappproductsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InappproductsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*InappproductsListCall) Fields Uses

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

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

func (*InappproductsListCall) Header Uses

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

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

func (*InappproductsListCall) IfNoneMatch Uses

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

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

func (*InappproductsListCall) MaxResults Uses

func (c *InappproductsListCall) MaxResults(maxResults int64) *InappproductsListCall

MaxResults sets the optional parameter "maxResults": How many results the list operation should return.

func (*InappproductsListCall) StartIndex Uses

func (c *InappproductsListCall) StartIndex(startIndex int64) *InappproductsListCall

StartIndex sets the optional parameter "startIndex": The index of the first element to return.

func (*InappproductsListCall) Token Uses

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 Uses

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: Information about the current page.
    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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Inappproduct") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

InappproductsListResponse: Response listing all in-app products.

func (*InappproductsListResponse) MarshalJSON Uses

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

type InappproductsPatchCall Uses

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

func (*InappproductsPatchCall) AutoConvertMissingPrices Uses

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 Uses

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

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

func (*InappproductsPatchCall) Do Uses

func (c *InappproductsPatchCall) Do(opts ...googleapi.CallOption) (*InAppProduct, error)

Do executes the "androidpublisher.inappproducts.patch" call. Exactly one of *InAppProduct or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InAppProduct.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*InappproductsPatchCall) Fields Uses

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

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

func (*InappproductsPatchCall) Header Uses

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

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

type InappproductsService Uses

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

func NewInappproductsService Uses

func NewInappproductsService(s *Service) *InappproductsService

func (*InappproductsService) Delete Uses

func (r *InappproductsService) Delete(packageName string, skuid string) *InappproductsDeleteCall

Delete: Deletes an in-app product (i.e. a managed product or a subscriptions).

func (*InappproductsService) Get Uses

func (r *InappproductsService) Get(packageName string, skuid string) *InappproductsGetCall

Get: Gets an in-app product, which can be a managed product or a subscription.

func (*InappproductsService) Insert Uses

func (r *InappproductsService) Insert(packageName string, inappproduct *InAppProduct) *InappproductsInsertCall

Insert: Creates an in-app product (i.e. a managed product or a subscriptions).

func (*InappproductsService) List Uses

func (r *InappproductsService) List(packageName string) *InappproductsListCall

List: Lists all in-app products - both managed products and subscriptions.

func (*InappproductsService) Patch Uses

func (r *InappproductsService) Patch(packageName string, skuid string, inappproduct *InAppProduct) *InappproductsPatchCall

Patch: Patches an in-app product (i.e. a managed product or a subscriptions).

func (*InappproductsService) Update Uses

func (r *InappproductsService) Update(packageName string, skuid string, inappproduct *InAppProduct) *InappproductsUpdateCall

Update: Updates an in-app product (i.e. a managed product or a subscriptions).

type InappproductsUpdateCall Uses

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

func (*InappproductsUpdateCall) AutoConvertMissingPrices Uses

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 Uses

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

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

func (*InappproductsUpdateCall) Do Uses

func (c *InappproductsUpdateCall) Do(opts ...googleapi.CallOption) (*InAppProduct, error)

Do executes the "androidpublisher.inappproducts.update" call. Exactly one of *InAppProduct or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InAppProduct.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*InappproductsUpdateCall) Fields Uses

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

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

func (*InappproductsUpdateCall) Header Uses

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

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

type InternalAppSharingArtifact Uses

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 values are omitted from API requests.
    // However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CertificateFingerprint")
    // to include in API requests with the JSON null value. By default,
    // fields with empty values are omitted from API requests. However, any
    // field with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

InternalAppSharingArtifact: An artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.

func (*InternalAppSharingArtifact) MarshalJSON Uses

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

type InternalappsharingartifactsService Uses

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

func NewInternalappsharingartifactsService Uses

func NewInternalappsharingartifactsService(s *Service) *InternalappsharingartifactsService

func (*InternalappsharingartifactsService) Uploadapk Uses

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/goog le-api-java-client/errors) for an example in java.

func (*InternalappsharingartifactsService) Uploadbundle Uses

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/goog le-api-java-client/errors) for an example in java.

type InternalappsharingartifactsUploadapkCall Uses

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

func (*InternalappsharingartifactsUploadapkCall) Context Uses

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

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

func (*InternalappsharingartifactsUploadapkCall) Do Uses

func (c *InternalappsharingartifactsUploadapkCall) Do(opts ...googleapi.CallOption) (*InternalAppSharingArtifact, error)

Do executes the "androidpublisher.internalappsharingartifacts.uploadapk" call. Exactly one of *InternalAppSharingArtifact or error will be non-nil. 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 Uses

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 information.

func (*InternalappsharingartifactsUploadapkCall) Header Uses

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

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

func (*InternalappsharingartifactsUploadapkCall) Media Uses

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 Uses

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 Uses

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 Uses

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

func (*InternalappsharingartifactsUploadbundleCall) Context Uses

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

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

func (*InternalappsharingartifactsUploadbundleCall) Do Uses

func (c *InternalappsharingartifactsUploadbundleCall) Do(opts ...googleapi.CallOption) (*InternalAppSharingArtifact, error)

Do executes the "androidpublisher.internalappsharingartifacts.uploadbundle" call. Exactly one of *InternalAppSharingArtifact or error will be non-nil. 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 Uses

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 information.

func (*InternalappsharingartifactsUploadbundleCall) Header Uses

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

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

func (*InternalappsharingartifactsUploadbundleCall) Media Uses

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 Uses

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 Uses

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 Uses

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 values are omitted from API
    // requests. However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g.
    // "IntroductoryPriceAmountMicros") to include in API requests with the
    // JSON null value. By default, fields with empty values are omitted
    // from API requests. However, any field with an empty value appearing
    // in NullFields will be sent to the server as null. It is an error if a
    // field in this list has a non-empty value. This may be used to include
    // null fields in Patch requests.
    NullFields []string `json:"-"`
}

IntroductoryPriceInfo: Contains the introductory price information for a subscription.

func (*IntroductoryPriceInfo) MarshalJSON Uses

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

type Listing Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "FullDescription") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

Listing: A localized store listing. The resource for ListingsService.

func (*Listing) MarshalJSON Uses

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

type ListingsListResponse Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Kind") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

ListingsListResponse: Response listing all localized listings.

func (*ListingsListResponse) MarshalJSON Uses

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

type LocalizedText Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Language") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

LocalizedText: Release notes specification, i.e. language and text.

func (*LocalizedText) MarshalJSON Uses

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

type OrdersRefundCall Uses

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

func (*OrdersRefundCall) Context Uses

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

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

func (*OrdersRefundCall) Do Uses

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

Do executes the "androidpublisher.orders.refund" call.

func (*OrdersRefundCall) Fields Uses

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 information.

func (*OrdersRefundCall) Header Uses

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

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

func (*OrdersRefundCall) Revoke Uses

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 Uses

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

func NewOrdersService Uses

func NewOrdersService(s *Service) *OrdersService

func (*OrdersService) Refund Uses

func (r *OrdersService) Refund(packageName string, orderId string) *OrdersRefundCall

Refund: Refund a user's subscription or in-app purchase order.

type PageInfo Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ResultPerPage") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

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.

func (*PageInfo) MarshalJSON Uses

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

type Price Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Currency") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

Price: Definition of a price, i.e. currency and units.

func (*Price) MarshalJSON Uses

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

type ProductPurchase Uses

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/billingclien
    // t/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/billingclien
    // t/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.
    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.
    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)
    // 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.
    Quantity int64 `json:"quantity,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 values are omitted from API requests.
    // However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AcknowledgementState") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

ProductPurchase: A ProductPurchase resource indicates the status of a user's inapp product purchase.

func (*ProductPurchase) MarshalJSON Uses

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

type ProductPurchasesAcknowledgeRequest Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DeveloperPayload") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

ProductPurchasesAcknowledgeRequest: Request for the product.purchases.acknowledge API.

func (*ProductPurchasesAcknowledgeRequest) MarshalJSON Uses

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

type PurchasesProductsAcknowledgeCall Uses

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

func (*PurchasesProductsAcknowledgeCall) Context Uses

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

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

func (*PurchasesProductsAcknowledgeCall) Do Uses

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

Do executes the "androidpublisher.purchases.products.acknowledge" call.

func (*PurchasesProductsAcknowledgeCall) Fields Uses

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 information.

func (*PurchasesProductsAcknowledgeCall) Header Uses

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

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

type PurchasesProductsGetCall Uses

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

func (*PurchasesProductsGetCall) Context Uses

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

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

func (*PurchasesProductsGetCall) Do Uses

func (c *PurchasesProductsGetCall) Do(opts ...googleapi.CallOption) (*ProductPurchase, error)

Do executes the "androidpublisher.purchases.products.get" call. Exactly one of *ProductPurchase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ProductPurchase.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PurchasesProductsGetCall) Fields Uses

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

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

func (*PurchasesProductsGetCall) Header Uses

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

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

func (*PurchasesProductsGetCall) IfNoneMatch Uses

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

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

type PurchasesProductsService Uses

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

func NewPurchasesProductsService Uses

func NewPurchasesProductsService(s *Service) *PurchasesProductsService

func (*PurchasesProductsService) Acknowledge Uses

func (r *PurchasesProductsService) Acknowledge(packageName string, productId string, token string, productpurchasesacknowledgerequest *ProductPurchasesAcknowledgeRequest) *PurchasesProductsAcknowledgeCall

Acknowledge: Acknowledges a purchase of an inapp item.

func (*PurchasesProductsService) Get Uses

func (r *PurchasesProductsService) Get(packageName string, productId string, token string) *PurchasesProductsGetCall

Get: Checks the purchase and consumption status of an inapp item.

type PurchasesService Uses

type PurchasesService struct {
    Products *PurchasesProductsService

    Subscriptions *PurchasesSubscriptionsService

    Voidedpurchases *PurchasesVoidedpurchasesService
    // contains filtered or unexported fields
}

func NewPurchasesService Uses

func NewPurchasesService(s *Service) *PurchasesService

type PurchasesSubscriptionsAcknowledgeCall Uses

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

func (*PurchasesSubscriptionsAcknowledgeCall) Context Uses

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

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

func (*PurchasesSubscriptionsAcknowledgeCall) Do Uses

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

Do executes the "androidpublisher.purchases.subscriptions.acknowledge" call.

func (*PurchasesSubscriptionsAcknowledgeCall) Fields Uses

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 information.

func (*PurchasesSubscriptionsAcknowledgeCall) Header Uses

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

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

type PurchasesSubscriptionsCancelCall Uses

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

func (*PurchasesSubscriptionsCancelCall) Context Uses

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

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

func (*PurchasesSubscriptionsCancelCall) Do Uses

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

Do executes the "androidpublisher.purchases.subscriptions.cancel" call.

func (*PurchasesSubscriptionsCancelCall) Fields Uses

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

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

func (*PurchasesSubscriptionsCancelCall) Header Uses

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

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

type PurchasesSubscriptionsDeferCall Uses

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

func (*PurchasesSubscriptionsDeferCall) Context Uses

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

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

func (*PurchasesSubscriptionsDeferCall) Do Uses

func (c *PurchasesSubscriptionsDeferCall) Do(opts ...googleapi.CallOption) (*SubscriptionPurchasesDeferResponse, error)

Do executes the "androidpublisher.purchases.subscriptions.defer" call. Exactly one of *SubscriptionPurchasesDeferResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SubscriptionPurchasesDeferResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PurchasesSubscriptionsDeferCall) Fields Uses

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

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

func (*PurchasesSubscriptionsDeferCall) Header Uses

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

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

type PurchasesSubscriptionsGetCall Uses

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

func (*PurchasesSubscriptionsGetCall) Context Uses

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

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

func (*PurchasesSubscriptionsGetCall) Do Uses

func (c *PurchasesSubscriptionsGetCall) Do(opts ...googleapi.CallOption) (*SubscriptionPurchase, error)

Do executes the "androidpublisher.purchases.subscriptions.get" call. Exactly one of *SubscriptionPurchase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SubscriptionPurchase.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*PurchasesSubscriptionsGetCall) Fields Uses

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

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

func (*PurchasesSubscriptionsGetCall) Header Uses

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

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

func (*PurchasesSubscriptionsGetCall) IfNoneMatch Uses

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

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

type PurchasesSubscriptionsRefundCall Uses

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

func (*PurchasesSubscriptionsRefundCall) Context Uses

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

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

func (*PurchasesSubscriptionsRefundCall) Do Uses

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

Do executes the "androidpublisher.purchases.subscriptions.refund" call.

func (*PurchasesSubscriptionsRefundCall) Fields Uses

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

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

func (*PurchasesSubscriptionsRefundCall) Header Uses

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

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

type PurchasesSubscriptionsRevokeCall Uses

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

func (*PurchasesSubscriptionsRevokeCall) Context Uses

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

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

func (*PurchasesSubscriptionsRevokeCall) Do Uses

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

Do executes the "androidpublisher.purchases.subscriptions.revoke" call.

func (*PurchasesSubscriptionsRevokeCall) Fields Uses

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

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

func (*PurchasesSubscriptionsRevokeCall) Header Uses

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

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

type PurchasesSubscriptionsService Uses

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

func NewPurchasesSubscriptionsService Uses

func NewPurchasesSubscriptionsService(s *Service) *PurchasesSubscriptionsService

func (*PurchasesSubscriptionsService) Acknowledge Uses

func (r *PurchasesSubscriptionsService) Acknowledge(packageName string, subscriptionId string, token string, subscriptionpurchasesacknowledgerequest *SubscriptionPurchasesAcknowledgeRequest) *PurchasesSubscriptionsAcknowledgeCall

Acknowledge: Acknowledges a subscription purchase.

func (*PurchasesSubscriptionsService) Cancel Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 PurchasesVoidedpurchasesListCall Uses

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

func (*PurchasesVoidedpurchasesListCall) Context Uses

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

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

func (*PurchasesVoidedpurchasesListCall) Do Uses

func (c *PurchasesVoidedpurchasesListCall) Do(opts ...googleapi.CallOption) (*VoidedPurchasesListResponse, error)

Do executes the "androidpublisher.purchases.voidedpurchases.list" call. Exactly one of *VoidedPurchasesListResponse or error will be non-nil. 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 Uses

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 Uses

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 information.

func (*PurchasesVoidedpurchasesListCall) Header Uses

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

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

func (*PurchasesVoidedpurchasesListCall) IfNoneMatch Uses

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

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

func (*PurchasesVoidedpurchasesListCall) MaxResults Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

func NewPurchasesVoidedpurchasesService Uses

func NewPurchasesVoidedpurchasesService(s *Service) *PurchasesVoidedpurchasesService

func (*PurchasesVoidedpurchasesService) List Uses

func (r *PurchasesVoidedpurchasesService) List(packageName string) *PurchasesVoidedpurchasesListCall

List: Lists the purchases that were canceled, refunded or charged-back.

type Review Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AuthorName") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

Review: An Android app review.

func (*Review) MarshalJSON Uses

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

type ReviewReplyResult Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "LastEdited") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

ReviewReplyResult: The result of replying/updating a reply to review.

func (*ReviewReplyResult) MarshalJSON Uses

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

type ReviewsGetCall Uses

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

func (*ReviewsGetCall) Context Uses

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

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

func (*ReviewsGetCall) Do Uses

func (c *ReviewsGetCall) Do(opts ...googleapi.CallOption) (*Review, error)

Do executes the "androidpublisher.reviews.get" call. Exactly one of *Review or error will be non-nil. 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 Uses

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 information.

func (*ReviewsGetCall) Header Uses

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

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

func (*ReviewsGetCall) IfNoneMatch Uses

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

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

func (*ReviewsGetCall) TranslationLanguage Uses

func (c *ReviewsGetCall) TranslationLanguage(translationLanguage string) *ReviewsGetCall

TranslationLanguage sets the optional parameter "translationLanguage": Language localization code.

type ReviewsListCall Uses

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

func (*ReviewsListCall) Context Uses

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

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

func (*ReviewsListCall) Do Uses

func (c *ReviewsListCall) Do(opts ...googleapi.CallOption) (*ReviewsListResponse, error)

Do executes the "androidpublisher.reviews.list" call. Exactly one of *ReviewsListResponse or error will be non-nil. 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 Uses

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 information.

func (*ReviewsListCall) Header Uses

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

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

func (*ReviewsListCall) IfNoneMatch Uses

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

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

func (*ReviewsListCall) MaxResults Uses

func (c *ReviewsListCall) MaxResults(maxResults int64) *ReviewsListCall

MaxResults sets the optional parameter "maxResults": How many results the list operation should return.

func (*ReviewsListCall) StartIndex Uses

func (c *ReviewsListCall) StartIndex(startIndex int64) *ReviewsListCall

StartIndex sets the optional parameter "startIndex": The index of the first element to return.

func (*ReviewsListCall) Token Uses

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 Uses

func (c *ReviewsListCall) TranslationLanguage(translationLanguage string) *ReviewsListCall

TranslationLanguage sets the optional parameter "translationLanguage": Language localization code.

type ReviewsListResponse Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "PageInfo") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

ReviewsListResponse: Response listing reviews.

func (*ReviewsListResponse) MarshalJSON Uses

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

type ReviewsReplyCall Uses

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

func (*ReviewsReplyCall) Context Uses

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

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

func (*ReviewsReplyCall) Do Uses

func (c *ReviewsReplyCall) Do(opts ...googleapi.CallOption) (*ReviewsReplyResponse, error)

Do executes the "androidpublisher.reviews.reply" call. Exactly one of *ReviewsReplyResponse or error will be non-nil. 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 Uses

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 information.

func (*ReviewsReplyCall) Header Uses

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

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

type ReviewsReplyRequest Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ReplyText") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

ReviewsReplyRequest: Request to reply to review or update existing reply.

func (*ReviewsReplyRequest) MarshalJSON Uses

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

type ReviewsReplyResponse Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Result") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

ReviewsReplyResponse: Response on status of replying to a review.

func (*ReviewsReplyResponse) MarshalJSON Uses

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

type ReviewsService Uses

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

func NewReviewsService Uses

func NewReviewsService(s *Service) *ReviewsService

func (*ReviewsService) Get Uses

func (r *ReviewsService) Get(packageName string, reviewId string) *ReviewsGetCall

Get: Gets a single review.

func (*ReviewsService) List Uses

func (r *ReviewsService) List(packageName string) *ReviewsListCall

List: Lists all reviews.

func (*ReviewsService) Reply Uses

func (r *ReviewsService) Reply(packageName string, reviewId string, reviewsreplyrequest *ReviewsReplyRequest) *ReviewsReplyCall

Reply: Replies to a single review, or updates an existing reply.

type Service Uses

type Service struct {
    BasePath  string // API endpoint base URL
    UserAgent string // optional additional User-Agent fragment

    Edits *EditsService

    Inappproducts *InappproductsService

    Internalappsharingartifacts *InternalappsharingartifactsService

    Orders *OrdersService

    Purchases *PurchasesService

    Reviews *ReviewsService

    Systemapks *SystemapksService
    // contains filtered or unexported fields
}

func New Uses

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 Uses

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

type SubscriptionCancelSurveyResult Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CancelSurveyReason") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

SubscriptionCancelSurveyResult: Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey).

func (*SubscriptionCancelSurveyResult) MarshalJSON Uses

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

type SubscriptionDeferralInfo Uses

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 values are omitted from API
    // requests. However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DesiredExpiryTimeMillis")
    // to include in API requests with the JSON null value. By default,
    // fields with empty values are omitted from API requests. However, any
    // field with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

SubscriptionDeferralInfo: A SubscriptionDeferralInfo contains the data needed to defer a subscription purchase to a future expiry time.

func (*SubscriptionDeferralInfo) MarshalJSON Uses

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

type SubscriptionPriceChange Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "NewPrice") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

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.

func (*SubscriptionPriceChange) MarshalJSON Uses

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

type SubscriptionPurchase Uses

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/billingclien
    // t/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.
    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
    PaymentState int64 `json:"paymentState,omitempty"`

    // PriceAmountMicros: Price of the subscription, not including 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 values are omitted from API requests.
    // However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AcknowledgementState") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

SubscriptionPurchase: A SubscriptionPurchase resource indicates the status of a user's subscription purchase.

func (*SubscriptionPurchase) MarshalJSON Uses

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

type SubscriptionPurchasesAcknowledgeRequest Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DeveloperPayload") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

SubscriptionPurchasesAcknowledgeRequest: Request for the purchases.subscriptions.acknowledge API.

func (*SubscriptionPurchasesAcknowledgeRequest) MarshalJSON Uses

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

type SubscriptionPurchasesDeferRequest Uses

type SubscriptionPurchasesDeferRequest struct {
    // DeferralInfo: The information about the new desired expiry time for
    // the subscription.
    DeferralInfo *SubscriptionDeferralInfo `json:"deferralInfo,omitempty"`

    // ForceSendFields is a list of field names (e.g. "DeferralInfo") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // 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. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

SubscriptionPurchasesDeferRequest: Request for the purchases.subscriptions.defer API.

func (*SubscriptionPurchasesDeferRequest) MarshalJSON Uses

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

type SubscriptionPurchasesDeferResponse Uses

type SubscriptionPurchasesDeferResponse struct {
    // NewExpiryTimeMillis: The new expiry time for the subscription in
    // milliseconds since the Epoch.
    NewExpiryTimeMillis int64 `json:"newExpiryTimeMillis,omitempty,string"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "NewExpiryTimeMillis")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // 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. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

SubscriptionPurchasesDeferResponse: Response for the purchases.subscriptions.defer API.

func (*SubscriptionPurchasesDeferResponse) MarshalJSON Uses

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

type SystemApksListResponse Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Variants") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

SystemApksListResponse: Response to list previously created system APK variants.

func (*SystemApksListResponse) MarshalJSON Uses

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

type SystemapksService Uses

type SystemapksService struct {
    Variants *SystemapksVariantsService
    // contains filtered or unexported fields
}

func NewSystemapksService Uses

func NewSystemapksService(s *Service) *SystemapksService

type SystemapksVariantsCreateCall Uses

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

func (*SystemapksVariantsCreateCall) Context Uses

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

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

func (*SystemapksVariantsCreateCall) Do Uses

func (c *SystemapksVariantsCreateCall) Do(opts ...googleapi.CallOption) (*Variant, error)

Do executes the "androidpublisher.systemapks.variants.create" call. Exactly one of *Variant or error will be non-nil. 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 Uses

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 information.

func (*SystemapksVariantsCreateCall) Header Uses

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

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

type SystemapksVariantsDownloadCall Uses

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

func (*SystemapksVariantsDownloadCall) Context Uses

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

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

func (*SystemapksVariantsDownloadCall) Do Uses

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

Do executes the "androidpublisher.systemapks.variants.download" call.

func (*SystemapksVariantsDownloadCall) Download Uses

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 Uses

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 information.

func (*SystemapksVariantsDownloadCall) Header Uses

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

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

func (*SystemapksVariantsDownloadCall) IfNoneMatch Uses

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

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

type SystemapksVariantsGetCall Uses

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

func (*SystemapksVariantsGetCall) Context Uses

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

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

func (*SystemapksVariantsGetCall) Do Uses

func (c *SystemapksVariantsGetCall) Do(opts ...googleapi.CallOption) (*Variant, error)

Do executes the "androidpublisher.systemapks.variants.get" call. Exactly one of *Variant or error will be non-nil. 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 Uses

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 information.

func (*SystemapksVariantsGetCall) Header Uses

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

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

func (*SystemapksVariantsGetCall) IfNoneMatch Uses

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

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

type SystemapksVariantsListCall Uses

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

func (*SystemapksVariantsListCall) Context Uses

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

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

func (*SystemapksVariantsListCall) Do Uses

func (c *SystemapksVariantsListCall) Do(opts ...googleapi.CallOption) (*SystemApksListResponse, error)

Do executes the "androidpublisher.systemapks.variants.list" call. Exactly one of *SystemApksListResponse or error will be non-nil. 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 Uses

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 information.

func (*SystemapksVariantsListCall) Header Uses

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

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

func (*SystemapksVariantsListCall) IfNoneMatch Uses

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

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

type SystemapksVariantsService Uses

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

func NewSystemapksVariantsService Uses

func NewSystemapksVariantsService(s *Service) *SystemapksVariantsService

func (*SystemapksVariantsService) Create Uses

func (r *SystemapksVariantsService) Create(packageNameid 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.

func (*SystemapksVariantsService) Download Uses

func (r *SystemapksVariantsService) Download(packageNameid string, versionCode int64, variantId int64) *SystemapksVariantsDownloadCall

Download: Downloads a previously created system APK which is suitable for inclusion in a system image.

func (*SystemapksVariantsService) Get Uses

func (r *SystemapksVariantsService) Get(packageNameid string, versionCode int64, variantId int64) *SystemapksVariantsGetCall

Get: Returns a previously created system APK variant.

func (*SystemapksVariantsService) List Uses

func (r *SystemapksVariantsService) List(packageNameid string, versionCode int64) *SystemapksVariantsListCall

List: Returns the list of previously created system APK variants.

type Testers Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "GoogleGroups") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

Testers: The testers of an app. The resource for TestersService.

func (*Testers) MarshalJSON Uses

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

type Timestamp Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Nanos") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

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.

func (*Timestamp) MarshalJSON Uses

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

type TokenPagination Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "NextPageToken") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

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.

func (*TokenPagination) MarshalJSON Uses

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

type Track Uses

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.
    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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Releases") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

Track: A track configuration. The resource for TracksService.

func (*Track) MarshalJSON Uses

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

type TrackRelease Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CountryTargeting") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

TrackRelease: A release within a track.

func (*TrackRelease) MarshalJSON Uses

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

func (*TrackRelease) UnmarshalJSON Uses

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

type TracksListResponse Uses

type TracksListResponse struct {
    // Kind: The kind of this response
    // ("androidpublisher#tracksListResponse").
    Kind string `json:"kind,omitempty"`

    // Tracks: All tracks.
    Tracks []*Track `json:"tracks,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Kind") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // 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. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

TracksListResponse: Response listing all tracks.

func (*TracksListResponse) MarshalJSON Uses

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

type UserComment Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AndroidOsVersion") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

UserComment: User entry from conversation between user and developer.

func (*UserComment) MarshalJSON Uses

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

type UsesPermission Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "MaxSdkVersion") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

UsesPermission: A permission used by this APK.

func (*UsesPermission) MarshalJSON Uses

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

type Variant Uses

type Variant struct {
    // DeviceSpec: The device spec used to generate the APK.
    DeviceSpec *DeviceSpec `json:"deviceSpec,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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DeviceSpec") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

Variant: APK that is suitable for inclusion in a system image. The resource of SystemApksService.

func (*Variant) MarshalJSON Uses

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

type VoidedPurchase Uses

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"`

    // 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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Kind") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

VoidedPurchase: A VoidedPurchase resource indicates a purchase that was either canceled/refunded/charged-back.

func (*VoidedPurchase) MarshalJSON Uses

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

type VoidedPurchasesListResponse Uses

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 values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "PageInfo") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

VoidedPurchasesListResponse: Response for the voidedpurchases.list API.

func (*VoidedPurchasesListResponse) MarshalJSON Uses

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

Package androidpublisher imports 15 packages (graph) and is imported by 8 packages. Updated 2020-07-09. Refresh now. Tools for package owners.