/** * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { GaxiosPromise } from 'gaxios'; import { Compute, JWT, OAuth2Client, UserRefreshClient } from 'google-auth-library'; import { BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions } from 'googleapis-common'; export declare namespace androidpublisher_v3 { interface Options extends GlobalOptions { version: 'v3'; } interface StandardParameters { /** * Data format for the response. */ alt?: string; /** * Selector specifying which fields to include in a partial response. */ fields?: string; /** * API key. Your API key identifies your project and provides you with API * access, quota, and reports. Required unless you provide an OAuth 2.0 * token. */ key?: string; /** * OAuth 2.0 token for the current user. */ oauth_token?: string; /** * Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** * An opaque string that represents a user for quota purposes. Must not * exceed 40 characters. */ quotaUser?: string; /** * Deprecated. Please use quotaUser instead. */ userIp?: string; } /** * Google Play Developer API * * Accesses Android application developers' Google Play accounts. * * @example * const {google} = require('googleapis'); * const androidpublisher = google.androidpublisher('v3'); * * @namespace androidpublisher * @type {Function} * @version v3 * @variation v3 * @param {object=} options Options for Androidpublisher */ class Androidpublisher { edits: Resource$Edits; inappproducts: Resource$Inappproducts; orders: Resource$Orders; purchases: Resource$Purchases; reviews: Resource$Reviews; constructor(options: GlobalOptions, google?: GoogleConfigurable); } interface Schema$Apk { /** * Information about the binary payload of this APK. */ binary?: Schema$ApkBinary; /** * The version code of the APK, as specified in the APK's manifest file. */ versionCode?: number; } /** * Represents the binary payload of an APK. */ interface Schema$ApkBinary { /** * A sha1 hash of the APK payload, encoded as a hex string and matching the * output of the sha1sum command. */ sha1?: string; /** * A sha256 hash of the APK payload, encoded as a hex string and matching * the output of the sha256sum command. */ sha256?: string; } interface Schema$ApksAddExternallyHostedRequest { /** * The definition of the externally-hosted APK and where it is located. */ externallyHostedApk?: Schema$ExternallyHostedApk; } interface Schema$ApksAddExternallyHostedResponse { /** * The definition of the externally-hosted APK and where it is located. */ externallyHostedApk?: Schema$ExternallyHostedApk; } interface Schema$ApksListResponse { apks?: Schema$Apk[]; /** * Identifies what kind of resource this is. Value: the fixed string * "androidpublisher#apksListResponse". */ kind?: string; } interface Schema$AppDetails { /** * The user-visible support email for this app. */ contactEmail?: string; /** * The user-visible support telephone number for this app. */ contactPhone?: string; /** * The user-visible website for this app. */ contactWebsite?: string; /** * Default language code, in BCP 47 format (eg "en-US"). */ defaultLanguage?: string; } /** * Represents an edit of an app. An edit allows clients to make multiple * changes before committing them in one operation. */ interface Schema$AppEdit { /** * The time at which the edit will expire and will be no longer valid for * use in any subsequent API calls (encoded as seconds since the Epoch). */ expiryTimeSeconds?: string; /** * The ID of the edit that can be used in subsequent API calls. */ id?: string; } interface Schema$Bundle { /** * A sha1 hash of the upload payload, encoded as a hex string and matching * the output of the sha1sum command. */ sha1?: string; /** * A sha256 hash of the upload payload, encoded as a hex string and matching * the output of the sha256sum command. */ sha256?: string; /** * The version code of the Android App Bundle. As specified in the Android * App Bundle's base module APK manifest file. */ versionCode?: number; } interface Schema$BundlesListResponse { bundles?: Schema$Bundle[]; /** * Identifies what kind of resource this is. Value: the fixed string * "androidpublisher#bundlesListResponse". */ kind?: string; } interface Schema$Comment { /** * A comment from a developer. */ developerComment?: Schema$DeveloperComment; /** * A comment from a user. */ userComment?: Schema$UserComment; } /** * Represents a deobfuscation file. */ interface Schema$DeobfuscationFile { /** * The type of the deobfuscation file. */ symbolType?: string; } interface Schema$DeobfuscationFilesUploadResponse { deobfuscationFile?: Schema$DeobfuscationFile; } interface Schema$DeveloperComment { /** * The last time at which this comment was updated. */ lastModified?: Schema$Timestamp; /** * The content of the comment, i.e. reply body. */ text?: string; } interface Schema$DeviceMetadata { /** * Device CPU make e.g. "Qualcomm" */ cpuMake?: string; /** * Device CPU model e.g. "MSM8974" */ cpuModel?: string; /** * Device class (e.g. tablet) */ deviceClass?: string; /** * OpenGL version */ glEsVersion?: number; /** * Device manufacturer (e.g. Motorola) */ manufacturer?: string; /** * Comma separated list of native platforms (e.g. "arm", * "arm7") */ nativePlatform?: string; /** * Device model name (e.g. Droid) */ productName?: string; /** * Device RAM in Megabytes e.g. "2048" */ ramMb?: number; /** * Screen density in DPI */ screenDensityDpi?: number; /** * Screen height in pixels */ screenHeightPx?: number; /** * Screen width in pixels */ screenWidthPx?: number; } interface Schema$ExpansionFile { /** * 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?: string; /** * If set this APK's Expansion File references another APK's * Expansion File. The file_size field will not be set. */ referencesVersion?: number; } interface Schema$ExpansionFilesUploadResponse { expansionFile?: Schema$ExpansionFile; } /** * Defines an APK available for this application that is hosted externally and * not uploaded to Google Play. This function is only available to enterprises * who are using Google Play for Work, and whos application is restricted to * the enterprise private channel */ interface Schema$ExternallyHostedApk { /** * The application label. */ applicationLabel?: string; /** * A certificate (or array of certificates if a certificate-chain is used) * used to signed this APK, represented as a base64 encoded byte array. */ certificateBase64s?: string[]; /** * The URL at which the APK is hosted. This must be an https URL. */ externallyHostedUrl?: string; /** * The SHA1 checksum of this APK, represented as a base64 encoded byte * array. */ fileSha1Base64?: string; /** * The SHA256 checksum of this APK, represented as a base64 encoded byte * array. */ fileSha256Base64?: string; /** * The file size in bytes of this APK. */ fileSize?: string; /** * The icon image from the APK, as a base64 encoded byte array. */ iconBase64?: string; /** * The maximum SDK supported by this APK (optional). */ maximumSdk?: number; /** * The minimum SDK targeted by this APK. */ minimumSdk?: number; /** * The native code environments supported by this APK (optional). */ nativeCodes?: string[]; /** * The package name. */ packageName?: string; /** * The features required by this APK (optional). */ usesFeatures?: string[]; /** * The permissions requested by this APK. */ usesPermissions?: Schema$ExternallyHostedApkUsesPermission[]; /** * The version code of this APK. */ versionCode?: number; /** * The version name of this APK. */ versionName?: string; } /** * A permission used by this APK. */ interface Schema$ExternallyHostedApkUsesPermission { /** * Optionally, the maximum SDK version for which the permission is required. */ maxSdkVersion?: number; /** * The name of the permission requested. */ name?: string; } interface Schema$Image { /** * A unique id representing this image. */ id?: string; /** * A sha1 hash of the image that was uploaded. */ sha1?: string; /** * A URL that will serve a preview of the image. */ url?: string; } interface Schema$ImagesDeleteAllResponse { deleted?: Schema$Image[]; } interface Schema$ImagesListResponse { images?: Schema$Image[]; } interface Schema$ImagesUploadResponse { image?: Schema$Image; } interface Schema$InAppProduct { /** * The default language of the localized data, as defined by BCP 47. e.g. * "en-US", "en-GB". */ defaultLanguage?: string; /** * Default price cannot be zero. In-app products can never be free. Default * price is always in the developer's Checkout merchant currency. */ defaultPrice?: Schema$Price; /** * Grace period of the subscription, specified in ISO 8601 format. It will * allow developers to give their subscribers a grace period when the * payment for the new recurrence period is declined. Acceptable values = * "P3D" (three days) and "P7D" (seven days) */ gracePeriod?: string; /** * List of localized title and description data. */ listings?: { [key: string]: Schema$InAppProductListing; }; /** * The package name of the parent app. */ packageName?: string; /** * Prices per buyer region. None of these prices should be zero. In-app * products can never be free. */ prices?: { [key: string]: Schema$Price; }; /** * Purchase type enum value. Unmodifiable after creation. */ purchaseType?: string; /** * Definition of a season for a seasonal subscription. Can be defined only * for yearly subscriptions. */ season?: Schema$Season; /** * The stock-keeping-unit (SKU) of the product, unique within an app. */ sku?: string; status?: string; /** * 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; /** * Trial period, specified in ISO 8601 format. Acceptable values are * anything between "P7D" (seven days) and "P999D" (999 * days). Seasonal subscriptions cannot have a trial period. */ trialPeriod?: string; } interface Schema$InAppProductListing { description?: string; title?: string; } interface Schema$InappproductsListResponse { inappproduct?: Schema$InAppProduct[]; /** * Identifies what kind of resource this is. Value: the fixed string * "androidpublisher#inappproductsListResponse". */ kind?: string; pageInfo?: Schema$PageInfo; tokenPagination?: Schema$TokenPagination; } interface Schema$Listing { /** * Full description of the app; this may be up to 4000 characters in length. */ fullDescription?: string; /** * Language localization code (for example, "de-AT" for Austrian * German). */ language?: string; /** * Short description of the app (previously known as promo text); this may * be up to 80 characters in length. */ shortDescription?: string; /** * App's localized title. */ title?: string; /** * URL of a promotional YouTube video for the app. */ video?: string; } interface Schema$ListingsListResponse { /** * Identifies what kind of resource this is. Value: the fixed string * "androidpublisher#listingsListResponse". */ kind?: string; listings?: Schema$Listing[]; } interface Schema$LocalizedText { /** * The language code, in BCP 47 format (eg "en-US"). */ language?: string; /** * The text in the given `language`. */ text?: string; } interface Schema$MonthDay { /** * Day of a month, value in [1, 31] range. Valid range depends on the * specified month. */ day?: number; /** * Month of a year. e.g. 1 = JAN, 2 = FEB etc. */ month?: number; } interface Schema$PageInfo { resultPerPage?: number; startIndex?: number; totalResults?: number; } interface Schema$Price { /** * 3 letter Currency code, as defined by ISO 4217. */ currency?: string; /** * The price in millionths of the currency base unit represented as a * string. */ priceMicros?: string; } /** * A ProductPurchase resource indicates the status of a user's inapp * product purchase. */ interface Schema$ProductPurchase { /** * The consumption state of the inapp product. Possible values are: - Yet * to be consumed - Consumed */ consumptionState?: number; /** * A developer-specified string that contains supplemental information about * an order. */ developerPayload?: string; /** * This kind represents an inappPurchase object in the androidpublisher * service. */ kind?: string; /** * The order id associated with the purchase of the inapp product. */ orderId?: string; /** * The purchase state of the order. Possible values are: - Purchased - * Canceled */ purchaseState?: number; /** * The time the product was purchased, in milliseconds since the epoch (Jan * 1, 1970). */ purchaseTimeMillis?: string; /** * 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: - Test (i.e. purchased from a license testing account) - * Promo (i.e. purchased using a promo code) - Rewarded (i.e. from watching * a video ad instead of paying) */ purchaseType?: number; } interface Schema$Prorate { /** * Default price cannot be zero and must be less than the full subscription * price. Default price is always in the developer's Checkout merchant * currency. Targeted countries have their prices set automatically based on * the default_price. */ defaultPrice?: Schema$Price; /** * Defines the first day on which the price takes effect. */ start?: Schema$MonthDay; } interface Schema$Review { /** * The name of the user who wrote the review. */ authorName?: string; /** * A repeated field containing comments for the review. */ comments?: Schema$Comment[]; /** * Unique identifier for this review. */ reviewId?: string; } interface Schema$ReviewReplyResult { /** * The time at which the reply took effect. */ lastEdited?: Schema$Timestamp; /** * The reply text that was applied. */ replyText?: string; } interface Schema$ReviewsListResponse { pageInfo?: Schema$PageInfo; reviews?: Schema$Review[]; tokenPagination?: Schema$TokenPagination; } interface Schema$ReviewsReplyRequest { /** * The text to set as the reply. Replies of more than approximately 350 * characters will be rejected. HTML tags will be stripped. */ replyText?: string; } interface Schema$ReviewsReplyResponse { result?: Schema$ReviewReplyResult; } interface Schema$Season { /** * Inclusive end date of the recurrence period. */ end?: Schema$MonthDay; /** * Optionally present list of prorations for the season. Each proration is a * one-off discounted entry into a subscription. Each proration contains the * first date on which the discount is available and the new pricing * information. */ prorations?: Schema$Prorate[]; /** * Inclusive start date of the recurrence period. */ start?: Schema$MonthDay; } /** * Information provided by the user when they complete the subscription * cancellation flow (cancellation reason survey). */ interface Schema$SubscriptionCancelSurveyResult { /** * The cancellation reason the user chose in the survey. Possible values * are: - Other - I don't use this service enough - Technical issues * - Cost-related reasons - I found a better app */ cancelSurveyReason?: number; /** * The customized input cancel reason from the user. Only present when * cancelReason is 0. */ userInputCancelReason?: string; } /** * A SubscriptionDeferralInfo contains the data needed to defer a subscription * purchase to a future expiry time. */ interface Schema$SubscriptionDeferralInfo { /** * 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?: string; /** * 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?: string; } /** * 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. */ interface Schema$SubscriptionPriceChange { /** * The new price the subscription will renew with if the price change is * accepted by the user. */ newPrice?: Schema$Price; /** * The current state of the price change. Possible values are: - * 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. - 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?: number; } /** * A SubscriptionPurchase resource indicates the status of a user's * subscription purchase. */ interface Schema$SubscriptionPurchase { /** * Whether the subscription will automatically be renewed when it reaches * its current expiry time. */ autoRenewing?: boolean; /** * 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?: string; /** * The reason why a subscription was canceled or is not auto-renewing. * Possible values are: - User canceled the subscription - Subscription * was canceled by the system, for example because of a billing problem - * Subscription was replaced with a new subscription - Subscription was * canceled by the developer */ cancelReason?: number; /** * Information provided by the user when they complete the subscription * cancellation flow (cancellation reason survey). */ cancelSurveyResult?: Schema$SubscriptionCancelSurveyResult; /** * ISO 3166-1 alpha-2 billing country/region code of the user at the time * the subscription was granted. */ countryCode?: string; /** * A developer-specified string that contains supplemental information about * an order. */ developerPayload?: string; /** * The email address of the user when the subscription was purchased. Only * present for purchases made with 'Subscribe with Google'. */ emailAddress?: string; /** * Time at which the subscription will expire, in milliseconds since the * Epoch. */ expiryTimeMillis?: string; /** * The family name of the user when the subscription was purchased. Only * present for purchases made with 'Subscribe with Google'. */ familyName?: string; /** * The given name of the user when the subscription was purchased. Only * present for purchases made with 'Subscribe with Google'. */ givenName?: string; /** * This kind represents a subscriptionPurchase object in the * androidpublisher service. */ kind?: string; /** * The purchase token of the originating purchase if this subscription is * one of the following: - Re-signup of a canceled but non-lapsed * subscription - 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; /** * The order id of the latest recurring order associated with the purchase * of the subscription. */ orderId?: string; /** * The payment state of the subscription. Possible values are: - Payment * pending - Payment received - Free trial - Pending deferred * upgrade/downgrade */ paymentState?: number; /** * 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?: string; /** * 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?: Schema$SubscriptionPriceChange; /** * 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; /** * The profile id of the user when the subscription was purchased. Only * present for purchases made with 'Subscribe with Google'. */ profileId?: string; /** * The profile name of the user when the subscription was purchased. Only * present for purchases made with 'Subscribe with Google'. */ profileName?: string; /** * 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: - Test (i.e. purchased from a license testing account) */ purchaseType?: number; /** * Time at which the subscription was granted, in milliseconds since the * Epoch. */ startTimeMillis?: string; /** * The time at which the subscription was canceled by the user, in * milliseconds since the epoch. Only present if cancelReason is 0. */ userCancellationTimeMillis?: string; } interface Schema$SubscriptionPurchasesDeferRequest { /** * The information about the new desired expiry time for the subscription. */ deferralInfo?: Schema$SubscriptionDeferralInfo; } interface Schema$SubscriptionPurchasesDeferResponse { /** * The new expiry time for the subscription in milliseconds since the Epoch. */ newExpiryTimeMillis?: string; } interface Schema$Testers { googleGroups?: string[]; googlePlusCommunities?: string[]; } interface Schema$Timestamp { nanos?: number; seconds?: string; } interface Schema$TokenPagination { nextPageToken?: string; previousPageToken?: string; } interface Schema$Track { /** * A list of all active releases in this track during a read request. On an * update request, it represents desired changes. */ releases?: Schema$TrackRelease[]; /** * Identifier for this track. */ track?: string; } interface Schema$TrackRelease { /** * The release name, used to identify this release in the Play Console UI. * Not required to be unique. This is optional, if not set it will be * generated from the version_name in the APKs. */ name?: string; /** * The description of what is new in the app in this release. */ releaseNotes?: Schema$LocalizedText[]; /** * The desired status of this release. */ status?: string; /** * Fraction of users who are eligible to receive the release. 0 < * fraction < 1. To be set, release status must be "inProgress" * or "halted". */ userFraction?: number; /** * A list of all version codes of APKs that will be exposed to the users of * this track when this release is rolled out. Note that this list should * contain all versions you wish to be active, including those you wish to * retain from previous releases. */ versionCodes?: string[]; } interface Schema$TracksListResponse { /** * Identifies what kind of resource this is. Value: the fixed string * "androidpublisher#tracksListResponse". */ kind?: string; tracks?: Schema$Track[]; } interface Schema$UserComment { /** * 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?: number; /** * Integer version code of the app as installed at the time the review was * written. May be absent. */ appVersionCode?: number; /** * String version name of the app as installed at the time the review was * written. May be absent. */ appVersionName?: string; /** * Codename for the reviewer's device, e.g. klte, flounder. May be * absent. */ device?: string; /** * Some information about the characteristics of the user's device */ deviceMetadata?: Schema$DeviceMetadata; /** * The last time at which this comment was updated. */ lastModified?: Schema$Timestamp; /** * Untranslated text of the review, in the case where the review has been * translated. If the review has not been translated this is left blank. */ originalText?: string; /** * 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; /** * The star rating associated with the review, from 1 to 5. */ starRating?: number; /** * 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; /** * Number of users who have given this review a thumbs down */ thumbsDownCount?: number; /** * Number of users who have given this review a thumbs up */ thumbsUpCount?: number; } /** * A VoidedPurchase resource indicates a purchase that was either * canceled/refunded/charged-back. */ interface Schema$VoidedPurchase { /** * This kind represents a voided purchase object in the androidpublisher * service. */ kind?: string; /** * The time at which the purchase was made, in milliseconds since the epoch * (Jan 1, 1970). */ purchaseTimeMillis?: string; /** * The token that was generated when a purchase was made. This uniquely * identifies a purchase. */ purchaseToken?: string; /** * The time at which the purchase was canceled/refunded/charged-back, in * milliseconds since the epoch (Jan 1, 1970). */ voidedTimeMillis?: string; } interface Schema$VoidedPurchasesListResponse { pageInfo?: Schema$PageInfo; tokenPagination?: Schema$TokenPagination; voidedPurchases?: Schema$VoidedPurchase[]; } class Resource$Edits { apks: Resource$Edits$Apks; bundles: Resource$Edits$Bundles; deobfuscationfiles: Resource$Edits$Deobfuscationfiles; details: Resource$Edits$Details; expansionfiles: Resource$Edits$Expansionfiles; images: Resource$Edits$Images; listings: Resource$Edits$Listings; testers: Resource$Edits$Testers; tracks: Resource$Edits$Tracks; constructor(); /** * androidpublisher.edits.commit * @desc Commits/applies the changes made in this edit back to the app. * @alias androidpublisher.edits.commit * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ commit(params?: Params$Resource$Edits$Commit, options?: MethodOptions): GaxiosPromise; commit(params: Params$Resource$Edits$Commit, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; commit(params: Params$Resource$Edits$Commit, callback: BodyResponseCallback): void; commit(callback: BodyResponseCallback): void; /** * androidpublisher.edits.delete * @desc Deletes an edit for an app. Creating a new edit will automatically * delete any of your previous edits so this method need only be called if * you want to preemptively abandon an edit. * @alias androidpublisher.edits.delete * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ delete(params?: Params$Resource$Edits$Delete, options?: MethodOptions): GaxiosPromise; delete(params: Params$Resource$Edits$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; delete(params: Params$Resource$Edits$Delete, callback: BodyResponseCallback): void; delete(callback: BodyResponseCallback): void; /** * androidpublisher.edits.get * @desc Returns information about the edit specified. Calls will fail if * the edit is no long active (e.g. has been deleted, superseded or * expired). * @alias androidpublisher.edits.get * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ get(params?: Params$Resource$Edits$Get, options?: MethodOptions): GaxiosPromise; get(params: Params$Resource$Edits$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; get(params: Params$Resource$Edits$Get, callback: BodyResponseCallback): void; get(callback: BodyResponseCallback): void; /** * androidpublisher.edits.insert * @desc Creates a new edit for an app, populated with the app's current * state. * @alias androidpublisher.edits.insert * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {().AppEdit} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ insert(params?: Params$Resource$Edits$Insert, options?: MethodOptions): GaxiosPromise; insert(params: Params$Resource$Edits$Insert, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; insert(params: Params$Resource$Edits$Insert, callback: BodyResponseCallback): void; insert(callback: BodyResponseCallback): void; /** * androidpublisher.edits.validate * @desc Checks that the edit can be successfully committed. The edit's * changes are not applied to the live app. * @alias androidpublisher.edits.validate * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ validate(params?: Params$Resource$Edits$Validate, options?: MethodOptions): GaxiosPromise; validate(params: Params$Resource$Edits$Validate, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; validate(params: Params$Resource$Edits$Validate, callback: BodyResponseCallback): void; validate(callback: BodyResponseCallback): void; } interface Params$Resource$Edits$Commit extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Delete extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Get extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Insert extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * Request body metadata */ requestBody?: Schema$AppEdit; } interface Params$Resource$Edits$Validate extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } class Resource$Edits$Apks { constructor(); /** * androidpublisher.edits.apks.addexternallyhosted * @desc Creates a new APK without uploading the APK itself to Google Play, * instead hosting the APK at a specified URL. This function is only * available to enterprises using Google Play for Work whose application is * configured to restrict distribution to the enterprise domain. * @alias androidpublisher.edits.apks.addexternallyhosted * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {().ApksAddExternallyHostedRequest} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ addexternallyhosted(params?: Params$Resource$Edits$Apks$Addexternallyhosted, options?: MethodOptions): GaxiosPromise; addexternallyhosted(params: Params$Resource$Edits$Apks$Addexternallyhosted, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; addexternallyhosted(params: Params$Resource$Edits$Apks$Addexternallyhosted, callback: BodyResponseCallback): void; addexternallyhosted(callback: BodyResponseCallback): void; /** * androidpublisher.edits.apks.list * @alias androidpublisher.edits.apks.list * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ list(params?: Params$Resource$Edits$Apks$List, options?: MethodOptions): GaxiosPromise; list(params: Params$Resource$Edits$Apks$List, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; list(params: Params$Resource$Edits$Apks$List, callback: BodyResponseCallback): void; list(callback: BodyResponseCallback): void; /** * androidpublisher.edits.apks.upload * @alias androidpublisher.edits.apks.upload * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} params.media Media object * @param {string} params.media.mimeType Media mime-type * @param {string|object} params.media.body Media body contents * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ upload(params?: Params$Resource$Edits$Apks$Upload, options?: MethodOptions): GaxiosPromise; upload(params: Params$Resource$Edits$Apks$Upload, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; upload(params: Params$Resource$Edits$Apks$Upload, callback: BodyResponseCallback): void; upload(callback: BodyResponseCallback): void; } interface Params$Resource$Edits$Apks$Addexternallyhosted extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * Request body metadata */ requestBody?: Schema$ApksAddExternallyHostedRequest; } interface Params$Resource$Edits$Apks$List extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Apks$Upload extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * Media metadata */ media?: { /** * Media mime-type */ mediaType?: string; /** * Media body contents */ body?: any; }; } class Resource$Edits$Bundles { constructor(); /** * androidpublisher.edits.bundles.list * @alias androidpublisher.edits.bundles.list * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ list(params?: Params$Resource$Edits$Bundles$List, options?: MethodOptions): GaxiosPromise; list(params: Params$Resource$Edits$Bundles$List, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; list(params: Params$Resource$Edits$Bundles$List, callback: BodyResponseCallback): void; list(callback: BodyResponseCallback): void; /** * androidpublisher.edits.bundles.upload * @desc 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: * https://developers.google.com/api-client-library/java/google-api-java-client/errors * for an example in java. * @alias androidpublisher.edits.bundles.upload * @memberOf! () * * @param {object} params Parameters for request * @param {boolean=} params.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). * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} params.media Media object * @param {string} params.media.mimeType Media mime-type * @param {string|object} params.media.body Media body contents * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ upload(params?: Params$Resource$Edits$Bundles$Upload, options?: MethodOptions): GaxiosPromise; upload(params: Params$Resource$Edits$Bundles$Upload, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; upload(params: Params$Resource$Edits$Bundles$Upload, callback: BodyResponseCallback): void; upload(callback: BodyResponseCallback): void; } interface Params$Resource$Edits$Bundles$List extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Bundles$Upload extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * 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). */ ackBundleInstallationWarning?: boolean; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * Media metadata */ media?: { /** * Media mime-type */ mediaType?: string; /** * Media body contents */ body?: any; }; } class Resource$Edits$Deobfuscationfiles { constructor(); /** * androidpublisher.edits.deobfuscationfiles.upload * @desc Uploads the deobfuscation file of the specified APK. If a * deobfuscation file already exists, it will be replaced. * @alias androidpublisher.edits.deobfuscationfiles.upload * @memberOf! () * * @param {object} params Parameters for request * @param {integer} params.apkVersionCode The version code of the APK whose deobfuscation file is being uploaded. * @param {string} params.deobfuscationFileType * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier of the Android app for which the deobfuscatiuon files are being uploaded; for example, "com.spiffygame". * @param {object} params.media Media object * @param {string} params.media.mimeType Media mime-type * @param {string|object} params.media.body Media body contents * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ upload(params?: Params$Resource$Edits$Deobfuscationfiles$Upload, options?: MethodOptions): GaxiosPromise; upload(params: Params$Resource$Edits$Deobfuscationfiles$Upload, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; upload(params: Params$Resource$Edits$Deobfuscationfiles$Upload, callback: BodyResponseCallback): void; upload(callback: BodyResponseCallback): void; } interface Params$Resource$Edits$Deobfuscationfiles$Upload extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The version code of the APK whose deobfuscation file is being uploaded. */ apkVersionCode?: number; /** * */ deobfuscationFileType?: string; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier of the Android app for which the deobfuscatiuon files * are being uploaded; for example, "com.spiffygame". */ packageName?: string; /** * Media metadata */ media?: { /** * Media mime-type */ mediaType?: string; /** * Media body contents */ body?: any; }; } class Resource$Edits$Details { constructor(); /** * androidpublisher.edits.details.get * @desc Fetches app details for this edit. This includes the default * language and developer support contact information. * @alias androidpublisher.edits.details.get * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ get(params?: Params$Resource$Edits$Details$Get, options?: MethodOptions): GaxiosPromise; get(params: Params$Resource$Edits$Details$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; get(params: Params$Resource$Edits$Details$Get, callback: BodyResponseCallback): void; get(callback: BodyResponseCallback): void; /** * androidpublisher.edits.details.patch * @desc Updates app details for this edit. This method supports patch * semantics. * @alias androidpublisher.edits.details.patch * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {().AppDetails} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ patch(params?: Params$Resource$Edits$Details$Patch, options?: MethodOptions): GaxiosPromise; patch(params: Params$Resource$Edits$Details$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; patch(params: Params$Resource$Edits$Details$Patch, callback: BodyResponseCallback): void; patch(callback: BodyResponseCallback): void; /** * androidpublisher.edits.details.update * @desc Updates app details for this edit. * @alias androidpublisher.edits.details.update * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {().AppDetails} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ update(params?: Params$Resource$Edits$Details$Update, options?: MethodOptions): GaxiosPromise; update(params: Params$Resource$Edits$Details$Update, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; update(params: Params$Resource$Edits$Details$Update, callback: BodyResponseCallback): void; update(callback: BodyResponseCallback): void; } interface Params$Resource$Edits$Details$Get extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Details$Patch extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * Request body metadata */ requestBody?: Schema$AppDetails; } interface Params$Resource$Edits$Details$Update extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * Request body metadata */ requestBody?: Schema$AppDetails; } class Resource$Edits$Expansionfiles { constructor(); /** * androidpublisher.edits.expansionfiles.get * @desc Fetches the Expansion File configuration for the APK specified. * @alias androidpublisher.edits.expansionfiles.get * @memberOf! () * * @param {object} params Parameters for request * @param {integer} params.apkVersionCode The version code of the APK whose Expansion File configuration is being read or modified. * @param {string} params.editId Unique identifier for this edit. * @param {string} params.expansionFileType * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ get(params?: Params$Resource$Edits$Expansionfiles$Get, options?: MethodOptions): GaxiosPromise; get(params: Params$Resource$Edits$Expansionfiles$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; get(params: Params$Resource$Edits$Expansionfiles$Get, callback: BodyResponseCallback): void; get(callback: BodyResponseCallback): void; /** * androidpublisher.edits.expansionfiles.patch * @desc Updates the APK's Expansion File configuration to reference another * APK's Expansion Files. To add a new Expansion File use the Upload method. * This method supports patch semantics. * @alias androidpublisher.edits.expansionfiles.patch * @memberOf! () * * @param {object} params Parameters for request * @param {integer} params.apkVersionCode The version code of the APK whose Expansion File configuration is being read or modified. * @param {string} params.editId Unique identifier for this edit. * @param {string} params.expansionFileType * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {().ExpansionFile} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ patch(params?: Params$Resource$Edits$Expansionfiles$Patch, options?: MethodOptions): GaxiosPromise; patch(params: Params$Resource$Edits$Expansionfiles$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; patch(params: Params$Resource$Edits$Expansionfiles$Patch, callback: BodyResponseCallback): void; patch(callback: BodyResponseCallback): void; /** * androidpublisher.edits.expansionfiles.update * @desc Updates the APK's Expansion File configuration to reference another * APK's Expansion Files. To add a new Expansion File use the Upload method. * @alias androidpublisher.edits.expansionfiles.update * @memberOf! () * * @param {object} params Parameters for request * @param {integer} params.apkVersionCode The version code of the APK whose Expansion File configuration is being read or modified. * @param {string} params.editId Unique identifier for this edit. * @param {string} params.expansionFileType * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {().ExpansionFile} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ update(params?: Params$Resource$Edits$Expansionfiles$Update, options?: MethodOptions): GaxiosPromise; update(params: Params$Resource$Edits$Expansionfiles$Update, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; update(params: Params$Resource$Edits$Expansionfiles$Update, callback: BodyResponseCallback): void; update(callback: BodyResponseCallback): void; /** * androidpublisher.edits.expansionfiles.upload * @desc Uploads and attaches a new Expansion File to the APK specified. * @alias androidpublisher.edits.expansionfiles.upload * @memberOf! () * * @param {object} params Parameters for request * @param {integer} params.apkVersionCode The version code of the APK whose Expansion File configuration is being read or modified. * @param {string} params.editId Unique identifier for this edit. * @param {string} params.expansionFileType * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} params.media Media object * @param {string} params.media.mimeType Media mime-type * @param {string|object} params.media.body Media body contents * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ upload(params?: Params$Resource$Edits$Expansionfiles$Upload, options?: MethodOptions): GaxiosPromise; upload(params: Params$Resource$Edits$Expansionfiles$Upload, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; upload(params: Params$Resource$Edits$Expansionfiles$Upload, callback: BodyResponseCallback): void; upload(callback: BodyResponseCallback): void; } interface Params$Resource$Edits$Expansionfiles$Get extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The version code of the APK whose Expansion File configuration is being * read or modified. */ apkVersionCode?: number; /** * Unique identifier for this edit. */ editId?: string; /** * */ expansionFileType?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Expansionfiles$Patch extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The version code of the APK whose Expansion File configuration is being * read or modified. */ apkVersionCode?: number; /** * Unique identifier for this edit. */ editId?: string; /** * */ expansionFileType?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * Request body metadata */ requestBody?: Schema$ExpansionFile; } interface Params$Resource$Edits$Expansionfiles$Update extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The version code of the APK whose Expansion File configuration is being * read or modified. */ apkVersionCode?: number; /** * Unique identifier for this edit. */ editId?: string; /** * */ expansionFileType?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * Request body metadata */ requestBody?: Schema$ExpansionFile; } interface Params$Resource$Edits$Expansionfiles$Upload extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The version code of the APK whose Expansion File configuration is being * read or modified. */ apkVersionCode?: number; /** * Unique identifier for this edit. */ editId?: string; /** * */ expansionFileType?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * Media metadata */ media?: { /** * Media mime-type */ mediaType?: string; /** * Media body contents */ body?: any; }; } class Resource$Edits$Images { constructor(); /** * androidpublisher.edits.images.delete * @desc Deletes the image (specified by id) from the edit. * @alias androidpublisher.edits.images.delete * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.imageId Unique identifier an image within the set of images attached to this edit. * @param {string} params.imageType * @param {string} params.language The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT". * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ delete(params?: Params$Resource$Edits$Images$Delete, options?: MethodOptions): GaxiosPromise; delete(params: Params$Resource$Edits$Images$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; delete(params: Params$Resource$Edits$Images$Delete, callback: BodyResponseCallback): void; delete(callback: BodyResponseCallback): void; /** * androidpublisher.edits.images.deleteall * @desc Deletes all images for the specified language and image type. * @alias androidpublisher.edits.images.deleteall * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.imageType * @param {string} params.language The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT". * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ deleteall(params?: Params$Resource$Edits$Images$Deleteall, options?: MethodOptions): GaxiosPromise; deleteall(params: Params$Resource$Edits$Images$Deleteall, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; deleteall(params: Params$Resource$Edits$Images$Deleteall, callback: BodyResponseCallback): void; deleteall(callback: BodyResponseCallback): void; /** * androidpublisher.edits.images.list * @desc Lists all images for the specified language and image type. * @alias androidpublisher.edits.images.list * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.imageType * @param {string} params.language The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT". * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ list(params?: Params$Resource$Edits$Images$List, options?: MethodOptions): GaxiosPromise; list(params: Params$Resource$Edits$Images$List, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; list(params: Params$Resource$Edits$Images$List, callback: BodyResponseCallback): void; list(callback: BodyResponseCallback): void; /** * androidpublisher.edits.images.upload * @desc Uploads a new image and adds it to the list of images for the * specified language and image type. * @alias androidpublisher.edits.images.upload * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.imageType * @param {string} params.language The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT". * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} params.media Media object * @param {string} params.media.mimeType Media mime-type * @param {string|object} params.media.body Media body contents * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ upload(params?: Params$Resource$Edits$Images$Upload, options?: MethodOptions): GaxiosPromise; upload(params: Params$Resource$Edits$Images$Upload, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; upload(params: Params$Resource$Edits$Images$Upload, callback: BodyResponseCallback): void; upload(callback: BodyResponseCallback): void; } interface Params$Resource$Edits$Images$Delete extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier an image within the set of images attached to this * edit. */ imageId?: string; /** * */ imageType?: string; /** * The language code (a BCP-47 language tag) of the localized listing whose * images are to read or modified. For example, to select Austrian German, * pass "de-AT". */ language?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Images$Deleteall extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * */ imageType?: string; /** * The language code (a BCP-47 language tag) of the localized listing whose * images are to read or modified. For example, to select Austrian German, * pass "de-AT". */ language?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Images$List extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * */ imageType?: string; /** * The language code (a BCP-47 language tag) of the localized listing whose * images are to read or modified. For example, to select Austrian German, * pass "de-AT". */ language?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Images$Upload extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * */ imageType?: string; /** * The language code (a BCP-47 language tag) of the localized listing whose * images are to read or modified. For example, to select Austrian German, * pass "de-AT". */ language?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * Media metadata */ media?: { /** * Media mime-type */ mediaType?: string; /** * Media body contents */ body?: any; }; } class Resource$Edits$Listings { constructor(); /** * androidpublisher.edits.listings.delete * @desc Deletes the specified localized store listing from an edit. * @alias androidpublisher.edits.listings.delete * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.language The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass "de-AT". * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ delete(params?: Params$Resource$Edits$Listings$Delete, options?: MethodOptions): GaxiosPromise; delete(params: Params$Resource$Edits$Listings$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; delete(params: Params$Resource$Edits$Listings$Delete, callback: BodyResponseCallback): void; delete(callback: BodyResponseCallback): void; /** * androidpublisher.edits.listings.deleteall * @desc Deletes all localized listings from an edit. * @alias androidpublisher.edits.listings.deleteall * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ deleteall(params?: Params$Resource$Edits$Listings$Deleteall, options?: MethodOptions): GaxiosPromise; deleteall(params: Params$Resource$Edits$Listings$Deleteall, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; deleteall(params: Params$Resource$Edits$Listings$Deleteall, callback: BodyResponseCallback): void; deleteall(callback: BodyResponseCallback): void; /** * androidpublisher.edits.listings.get * @desc Fetches information about a localized store listing. * @alias androidpublisher.edits.listings.get * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.language The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass "de-AT". * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ get(params?: Params$Resource$Edits$Listings$Get, options?: MethodOptions): GaxiosPromise; get(params: Params$Resource$Edits$Listings$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; get(params: Params$Resource$Edits$Listings$Get, callback: BodyResponseCallback): void; get(callback: BodyResponseCallback): void; /** * androidpublisher.edits.listings.list * @desc Returns all of the localized store listings attached to this edit. * @alias androidpublisher.edits.listings.list * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ list(params?: Params$Resource$Edits$Listings$List, options?: MethodOptions): GaxiosPromise; list(params: Params$Resource$Edits$Listings$List, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; list(params: Params$Resource$Edits$Listings$List, callback: BodyResponseCallback): void; list(callback: BodyResponseCallback): void; /** * androidpublisher.edits.listings.patch * @desc Creates or updates a localized store listing. This method supports * patch semantics. * @alias androidpublisher.edits.listings.patch * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.language The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass "de-AT". * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {().Listing} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ patch(params?: Params$Resource$Edits$Listings$Patch, options?: MethodOptions): GaxiosPromise; patch(params: Params$Resource$Edits$Listings$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; patch(params: Params$Resource$Edits$Listings$Patch, callback: BodyResponseCallback): void; patch(callback: BodyResponseCallback): void; /** * androidpublisher.edits.listings.update * @desc Creates or updates a localized store listing. * @alias androidpublisher.edits.listings.update * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.language The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass "de-AT". * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {().Listing} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ update(params?: Params$Resource$Edits$Listings$Update, options?: MethodOptions): GaxiosPromise; update(params: Params$Resource$Edits$Listings$Update, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; update(params: Params$Resource$Edits$Listings$Update, callback: BodyResponseCallback): void; update(callback: BodyResponseCallback): void; } interface Params$Resource$Edits$Listings$Delete extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * The language code (a BCP-47 language tag) of the localized listing to * read or modify. For example, to select Austrian German, pass "de-AT". */ language?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Listings$Deleteall extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Listings$Get extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * The language code (a BCP-47 language tag) of the localized listing to * read or modify. For example, to select Austrian German, pass "de-AT". */ language?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Listings$List extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Listings$Patch extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * The language code (a BCP-47 language tag) of the localized listing to * read or modify. For example, to select Austrian German, pass "de-AT". */ language?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * Request body metadata */ requestBody?: Schema$Listing; } interface Params$Resource$Edits$Listings$Update extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * The language code (a BCP-47 language tag) of the localized listing to * read or modify. For example, to select Austrian German, pass "de-AT". */ language?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * Request body metadata */ requestBody?: Schema$Listing; } class Resource$Edits$Testers { constructor(); /** * androidpublisher.edits.testers.get * @alias androidpublisher.edits.testers.get * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {string} params.track The track to read or modify. Acceptable values are: "alpha", "beta", "production", "rollout" or "internal". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ get(params?: Params$Resource$Edits$Testers$Get, options?: MethodOptions): GaxiosPromise; get(params: Params$Resource$Edits$Testers$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; get(params: Params$Resource$Edits$Testers$Get, callback: BodyResponseCallback): void; get(callback: BodyResponseCallback): void; /** * androidpublisher.edits.testers.patch * @alias androidpublisher.edits.testers.patch * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {string} params.track The track to read or modify. Acceptable values are: "alpha", "beta", "production", "rollout" or "internal". * @param {().Testers} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ patch(params?: Params$Resource$Edits$Testers$Patch, options?: MethodOptions): GaxiosPromise; patch(params: Params$Resource$Edits$Testers$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; patch(params: Params$Resource$Edits$Testers$Patch, callback: BodyResponseCallback): void; patch(callback: BodyResponseCallback): void; /** * androidpublisher.edits.testers.update * @alias androidpublisher.edits.testers.update * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {string} params.track The track to read or modify. Acceptable values are: "alpha", "beta", "production", "rollout" or "internal". * @param {().Testers} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ update(params?: Params$Resource$Edits$Testers$Update, options?: MethodOptions): GaxiosPromise; update(params: Params$Resource$Edits$Testers$Update, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; update(params: Params$Resource$Edits$Testers$Update, callback: BodyResponseCallback): void; update(callback: BodyResponseCallback): void; } interface Params$Resource$Edits$Testers$Get extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * The track to read or modify. Acceptable values are: "alpha", "beta", * "production", "rollout" or "internal". */ track?: string; } interface Params$Resource$Edits$Testers$Patch extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * The track to read or modify. Acceptable values are: "alpha", "beta", * "production", "rollout" or "internal". */ track?: string; /** * Request body metadata */ requestBody?: Schema$Testers; } interface Params$Resource$Edits$Testers$Update extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * The track to read or modify. Acceptable values are: "alpha", "beta", * "production", "rollout" or "internal". */ track?: string; /** * Request body metadata */ requestBody?: Schema$Testers; } class Resource$Edits$Tracks { constructor(); /** * androidpublisher.edits.tracks.get * @desc Fetches the track configuration for the specified track type. * Includes the APK version codes that are in this track. * @alias androidpublisher.edits.tracks.get * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {string} params.track The track to read or modify. * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ get(params?: Params$Resource$Edits$Tracks$Get, options?: MethodOptions): GaxiosPromise; get(params: Params$Resource$Edits$Tracks$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; get(params: Params$Resource$Edits$Tracks$Get, callback: BodyResponseCallback): void; get(callback: BodyResponseCallback): void; /** * androidpublisher.edits.tracks.list * @desc Lists all the track configurations for this edit. * @alias androidpublisher.edits.tracks.list * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ list(params?: Params$Resource$Edits$Tracks$List, options?: MethodOptions): GaxiosPromise; list(params: Params$Resource$Edits$Tracks$List, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; list(params: Params$Resource$Edits$Tracks$List, callback: BodyResponseCallback): void; list(callback: BodyResponseCallback): void; /** * androidpublisher.edits.tracks.patch * @desc Updates the track configuration for the specified track type. When * halted, the rollout track cannot be updated without adding new APKs, and * adding new APKs will cause it to resume. This method supports patch * semantics. * @alias androidpublisher.edits.tracks.patch * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {string} params.track The track to read or modify. * @param {().Track} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ patch(params?: Params$Resource$Edits$Tracks$Patch, options?: MethodOptions): GaxiosPromise; patch(params: Params$Resource$Edits$Tracks$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; patch(params: Params$Resource$Edits$Tracks$Patch, callback: BodyResponseCallback): void; patch(callback: BodyResponseCallback): void; /** * androidpublisher.edits.tracks.update * @desc Updates the track configuration for the specified track type. When * halted, the rollout track cannot be updated without adding new APKs, and * adding new APKs will cause it to resume. * @alias androidpublisher.edits.tracks.update * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.editId Unique identifier for this edit. * @param {string} params.packageName Unique identifier for the Android app that is being updated; for example, "com.spiffygame". * @param {string} params.track The track to read or modify. * @param {().Track} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ update(params?: Params$Resource$Edits$Tracks$Update, options?: MethodOptions): GaxiosPromise; update(params: Params$Resource$Edits$Tracks$Update, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; update(params: Params$Resource$Edits$Tracks$Update, callback: BodyResponseCallback): void; update(callback: BodyResponseCallback): void; } interface Params$Resource$Edits$Tracks$Get extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * The track to read or modify. */ track?: string; } interface Params$Resource$Edits$Tracks$List extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; } interface Params$Resource$Edits$Tracks$Patch extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * The track to read or modify. */ track?: string; /** * Request body metadata */ requestBody?: Schema$Track; } interface Params$Resource$Edits$Tracks$Update extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for this edit. */ editId?: string; /** * Unique identifier for the Android app that is being updated; for example, * "com.spiffygame". */ packageName?: string; /** * The track to read or modify. */ track?: string; /** * Request body metadata */ requestBody?: Schema$Track; } class Resource$Inappproducts { constructor(); /** * androidpublisher.inappproducts.delete * @desc Delete an in-app product for an app. * @alias androidpublisher.inappproducts.delete * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName Unique identifier for the Android app with the in-app product; for example, "com.spiffygame". * @param {string} params.sku Unique identifier for the in-app product. * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ delete(params?: Params$Resource$Inappproducts$Delete, options?: MethodOptions): GaxiosPromise; delete(params: Params$Resource$Inappproducts$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; delete(params: Params$Resource$Inappproducts$Delete, callback: BodyResponseCallback): void; delete(callback: BodyResponseCallback): void; /** * androidpublisher.inappproducts.get * @desc Returns information about the in-app product specified. * @alias androidpublisher.inappproducts.get * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName * @param {string} params.sku Unique identifier for the in-app product. * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ get(params?: Params$Resource$Inappproducts$Get, options?: MethodOptions): GaxiosPromise; get(params: Params$Resource$Inappproducts$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; get(params: Params$Resource$Inappproducts$Get, callback: BodyResponseCallback): void; get(callback: BodyResponseCallback): void; /** * androidpublisher.inappproducts.insert * @desc Creates a new in-app product for an app. * @alias androidpublisher.inappproducts.insert * @memberOf! () * * @param {object} params Parameters for request * @param {boolean=} params.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. * @param {string} params.packageName Unique identifier for the Android app; for example, "com.spiffygame". * @param {().InAppProduct} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ insert(params?: Params$Resource$Inappproducts$Insert, options?: MethodOptions): GaxiosPromise; insert(params: Params$Resource$Inappproducts$Insert, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; insert(params: Params$Resource$Inappproducts$Insert, callback: BodyResponseCallback): void; insert(callback: BodyResponseCallback): void; /** * androidpublisher.inappproducts.list * @desc List all the in-app products for an Android app, both subscriptions * and managed in-app products.. * @alias androidpublisher.inappproducts.list * @memberOf! () * * @param {object} params Parameters for request * @param {integer=} params.maxResults * @param {string} params.packageName Unique identifier for the Android app with in-app products; for example, "com.spiffygame". * @param {integer=} params.startIndex * @param {string=} params.token * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ list(params?: Params$Resource$Inappproducts$List, options?: MethodOptions): GaxiosPromise; list(params: Params$Resource$Inappproducts$List, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; list(params: Params$Resource$Inappproducts$List, callback: BodyResponseCallback): void; list(callback: BodyResponseCallback): void; /** * androidpublisher.inappproducts.patch * @desc Updates the details of an in-app product. This method supports * patch semantics. * @alias androidpublisher.inappproducts.patch * @memberOf! () * * @param {object} params Parameters for request * @param {boolean=} params.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. * @param {string} params.packageName Unique identifier for the Android app with the in-app product; for example, "com.spiffygame". * @param {string} params.sku Unique identifier for the in-app product. * @param {().InAppProduct} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ patch(params?: Params$Resource$Inappproducts$Patch, options?: MethodOptions): GaxiosPromise; patch(params: Params$Resource$Inappproducts$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; patch(params: Params$Resource$Inappproducts$Patch, callback: BodyResponseCallback): void; patch(callback: BodyResponseCallback): void; /** * androidpublisher.inappproducts.update * @desc Updates the details of an in-app product. * @alias androidpublisher.inappproducts.update * @memberOf! () * * @param {object} params Parameters for request * @param {boolean=} params.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. * @param {string} params.packageName Unique identifier for the Android app with the in-app product; for example, "com.spiffygame". * @param {string} params.sku Unique identifier for the in-app product. * @param {().InAppProduct} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ update(params?: Params$Resource$Inappproducts$Update, options?: MethodOptions): GaxiosPromise; update(params: Params$Resource$Inappproducts$Update, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; update(params: Params$Resource$Inappproducts$Update, callback: BodyResponseCallback): void; update(callback: BodyResponseCallback): void; } interface Params$Resource$Inappproducts$Delete extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for the Android app with the in-app product; for * example, "com.spiffygame". */ packageName?: string; /** * Unique identifier for the in-app product. */ sku?: string; } interface Params$Resource$Inappproducts$Get extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * */ packageName?: string; /** * Unique identifier for the in-app product. */ sku?: string; } interface Params$Resource$Inappproducts$Insert extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * If true the prices for all regions targeted by the parent app that don't * have a price specified for this in-app product will be auto converted to * the target currency based on the default price. Defaults to false. */ autoConvertMissingPrices?: boolean; /** * Unique identifier for the Android app; for example, "com.spiffygame". */ packageName?: string; /** * Request body metadata */ requestBody?: Schema$InAppProduct; } interface Params$Resource$Inappproducts$List extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * */ maxResults?: number; /** * Unique identifier for the Android app with in-app products; for example, * "com.spiffygame". */ packageName?: string; /** * */ startIndex?: number; /** * */ token?: string; } interface Params$Resource$Inappproducts$Patch extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * If true the prices for all regions targeted by the parent app that don't * have a price specified for this in-app product will be auto converted to * the target currency based on the default price. Defaults to false. */ autoConvertMissingPrices?: boolean; /** * Unique identifier for the Android app with the in-app product; for * example, "com.spiffygame". */ packageName?: string; /** * Unique identifier for the in-app product. */ sku?: string; /** * Request body metadata */ requestBody?: Schema$InAppProduct; } interface Params$Resource$Inappproducts$Update extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * If true the prices for all regions targeted by the parent app that don't * have a price specified for this in-app product will be auto converted to * the target currency based on the default price. Defaults to false. */ autoConvertMissingPrices?: boolean; /** * Unique identifier for the Android app with the in-app product; for * example, "com.spiffygame". */ packageName?: string; /** * Unique identifier for the in-app product. */ sku?: string; /** * Request body metadata */ requestBody?: Schema$InAppProduct; } class Resource$Orders { constructor(); /** * androidpublisher.orders.refund * @desc Refund a user's subscription or in-app purchase order. * @alias androidpublisher.orders.refund * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.orderId The order ID provided to the user when the subscription or in-app order was purchased. * @param {string} params.packageName The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing'). * @param {boolean=} params.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) * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ refund(params?: Params$Resource$Orders$Refund, options?: MethodOptions): GaxiosPromise; refund(params: Params$Resource$Orders$Refund, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; refund(params: Params$Resource$Orders$Refund, callback: BodyResponseCallback): void; refund(callback: BodyResponseCallback): void; } interface Params$Resource$Orders$Refund extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The order ID provided to the user when the subscription or in-app order * was purchased. */ orderId?: string; /** * The package name of the application for which this subscription or in-app * item was purchased (for example, 'com.some.thing'). */ packageName?: string; /** * 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) */ revoke?: boolean; } class Resource$Purchases { products: Resource$Purchases$Products; subscriptions: Resource$Purchases$Subscriptions; voidedpurchases: Resource$Purchases$Voidedpurchases; constructor(); } class Resource$Purchases$Products { constructor(); /** * androidpublisher.purchases.products.get * @desc Checks the purchase and consumption status of an inapp item. * @alias androidpublisher.purchases.products.get * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName The package name of the application the inapp product was sold in (for example, 'com.some.thing'). * @param {string} params.productId The inapp product SKU (for example, 'com.some.thing.inapp1'). * @param {string} params.token The token provided to the user's device when the inapp product was purchased. * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ get(params?: Params$Resource$Purchases$Products$Get, options?: MethodOptions): GaxiosPromise; get(params: Params$Resource$Purchases$Products$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; get(params: Params$Resource$Purchases$Products$Get, callback: BodyResponseCallback): void; get(callback: BodyResponseCallback): void; } interface Params$Resource$Purchases$Products$Get extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The package name of the application the inapp product was sold in (for * example, 'com.some.thing'). */ packageName?: string; /** * The inapp product SKU (for example, 'com.some.thing.inapp1'). */ productId?: string; /** * The token provided to the user's device when the inapp product was * purchased. */ token?: string; } class Resource$Purchases$Subscriptions { constructor(); /** * androidpublisher.purchases.subscriptions.cancel * @desc Cancels a user's subscription purchase. The subscription remains * valid until its expiration time. * @alias androidpublisher.purchases.subscriptions.cancel * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). * @param {string} params.subscriptionId The purchased subscription ID (for example, 'monthly001'). * @param {string} params.token The token provided to the user's device when the subscription was purchased. * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ cancel(params?: Params$Resource$Purchases$Subscriptions$Cancel, options?: MethodOptions): GaxiosPromise; cancel(params: Params$Resource$Purchases$Subscriptions$Cancel, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; cancel(params: Params$Resource$Purchases$Subscriptions$Cancel, callback: BodyResponseCallback): void; cancel(callback: BodyResponseCallback): void; /** * androidpublisher.purchases.subscriptions.defer * @desc Defers a user's subscription purchase until a specified future * expiration time. * @alias androidpublisher.purchases.subscriptions.defer * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). * @param {string} params.subscriptionId The purchased subscription ID (for example, 'monthly001'). * @param {string} params.token The token provided to the user's device when the subscription was purchased. * @param {().SubscriptionPurchasesDeferRequest} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ defer(params?: Params$Resource$Purchases$Subscriptions$Defer, options?: MethodOptions): GaxiosPromise; defer(params: Params$Resource$Purchases$Subscriptions$Defer, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; defer(params: Params$Resource$Purchases$Subscriptions$Defer, callback: BodyResponseCallback): void; defer(callback: BodyResponseCallback): void; /** * androidpublisher.purchases.subscriptions.get * @desc Checks whether a user's subscription purchase is valid and returns * its expiry time. * @alias androidpublisher.purchases.subscriptions.get * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). * @param {string} params.subscriptionId The purchased subscription ID (for example, 'monthly001'). * @param {string} params.token The token provided to the user's device when the subscription was purchased. * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ get(params?: Params$Resource$Purchases$Subscriptions$Get, options?: MethodOptions): GaxiosPromise; get(params: Params$Resource$Purchases$Subscriptions$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; get(params: Params$Resource$Purchases$Subscriptions$Get, callback: BodyResponseCallback): void; get(callback: BodyResponseCallback): void; /** * androidpublisher.purchases.subscriptions.refund * @desc Refunds a user's subscription purchase, but the subscription * remains valid until its expiration time and it will continue to recur. * @alias androidpublisher.purchases.subscriptions.refund * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). * @param {string} params.subscriptionId The purchased subscription ID (for example, 'monthly001'). * @param {string} params.token The token provided to the user's device when the subscription was purchased. * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ refund(params?: Params$Resource$Purchases$Subscriptions$Refund, options?: MethodOptions): GaxiosPromise; refund(params: Params$Resource$Purchases$Subscriptions$Refund, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; refund(params: Params$Resource$Purchases$Subscriptions$Refund, callback: BodyResponseCallback): void; refund(callback: BodyResponseCallback): void; /** * androidpublisher.purchases.subscriptions.revoke * @desc Refunds and immediately revokes a user's subscription purchase. * Access to the subscription will be terminated immediately and it will * stop recurring. * @alias androidpublisher.purchases.subscriptions.revoke * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). * @param {string} params.subscriptionId The purchased subscription ID (for example, 'monthly001'). * @param {string} params.token The token provided to the user's device when the subscription was purchased. * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ revoke(params?: Params$Resource$Purchases$Subscriptions$Revoke, options?: MethodOptions): GaxiosPromise; revoke(params: Params$Resource$Purchases$Subscriptions$Revoke, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; revoke(params: Params$Resource$Purchases$Subscriptions$Revoke, callback: BodyResponseCallback): void; revoke(callback: BodyResponseCallback): void; } interface Params$Resource$Purchases$Subscriptions$Cancel extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The package name of the application for which this subscription was * purchased (for example, 'com.some.thing'). */ packageName?: string; /** * The purchased subscription ID (for example, 'monthly001'). */ subscriptionId?: string; /** * The token provided to the user's device when the subscription was * purchased. */ token?: string; } interface Params$Resource$Purchases$Subscriptions$Defer extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The package name of the application for which this subscription was * purchased (for example, 'com.some.thing'). */ packageName?: string; /** * The purchased subscription ID (for example, 'monthly001'). */ subscriptionId?: string; /** * The token provided to the user's device when the subscription was * purchased. */ token?: string; /** * Request body metadata */ requestBody?: Schema$SubscriptionPurchasesDeferRequest; } interface Params$Resource$Purchases$Subscriptions$Get extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The package name of the application for which this subscription was * purchased (for example, 'com.some.thing'). */ packageName?: string; /** * The purchased subscription ID (for example, 'monthly001'). */ subscriptionId?: string; /** * The token provided to the user's device when the subscription was * purchased. */ token?: string; } interface Params$Resource$Purchases$Subscriptions$Refund extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The package name of the application for which this subscription was * purchased (for example, 'com.some.thing'). */ packageName?: string; /** * The purchased subscription ID (for example, 'monthly001'). */ subscriptionId?: string; /** * The token provided to the user's device when the subscription was * purchased. */ token?: string; } interface Params$Resource$Purchases$Subscriptions$Revoke extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The package name of the application for which this subscription was * purchased (for example, 'com.some.thing'). */ packageName?: string; /** * The purchased subscription ID (for example, 'monthly001'). */ subscriptionId?: string; /** * The token provided to the user's device when the subscription was * purchased. */ token?: string; } class Resource$Purchases$Voidedpurchases { constructor(); /** * androidpublisher.purchases.voidedpurchases.list * @desc Lists the purchases that were canceled, refunded or charged-back. * @alias androidpublisher.purchases.voidedpurchases.list * @memberOf! () * * @param {object} params Parameters for request * @param {string=} params.endTime The time, in milliseconds since the Epoch, of the newest voided in-app product 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. * @param {integer=} params.maxResults * @param {string} params.packageName The package name of the application for which voided purchases need to be returned (for example, 'com.some.thing'). * @param {integer=} params.startIndex * @param {string=} params.startTime The time, in milliseconds since the Epoch, of the oldest voided in-app product 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. * @param {string=} params.token * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ list(params?: Params$Resource$Purchases$Voidedpurchases$List, options?: MethodOptions): GaxiosPromise; list(params: Params$Resource$Purchases$Voidedpurchases$List, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; list(params: Params$Resource$Purchases$Voidedpurchases$List, callback: BodyResponseCallback): void; list(callback: BodyResponseCallback): void; } interface Params$Resource$Purchases$Voidedpurchases$List extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * The time, in milliseconds since the Epoch, of the newest voided in-app * product 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. */ endTime?: string; /** * */ maxResults?: number; /** * The package name of the application for which voided purchases need to be * returned (for example, 'com.some.thing'). */ packageName?: string; /** * */ startIndex?: number; /** * The time, in milliseconds since the Epoch, of the oldest voided in-app * product 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. */ startTime?: string; /** * */ token?: string; } class Resource$Reviews { constructor(); /** * androidpublisher.reviews.get * @desc Returns a single review. * @alias androidpublisher.reviews.get * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName Unique identifier for the Android app for which we want reviews; for example, "com.spiffygame". * @param {string} params.reviewId * @param {string=} params.translationLanguage * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ get(params?: Params$Resource$Reviews$Get, options?: MethodOptions): GaxiosPromise; get(params: Params$Resource$Reviews$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; get(params: Params$Resource$Reviews$Get, callback: BodyResponseCallback): void; get(callback: BodyResponseCallback): void; /** * androidpublisher.reviews.list * @desc Returns a list of reviews. Only reviews from last week will be * returned. * @alias androidpublisher.reviews.list * @memberOf! () * * @param {object} params Parameters for request * @param {integer=} params.maxResults * @param {string} params.packageName Unique identifier for the Android app for which we want reviews; for example, "com.spiffygame". * @param {integer=} params.startIndex * @param {string=} params.token * @param {string=} params.translationLanguage * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ list(params?: Params$Resource$Reviews$List, options?: MethodOptions): GaxiosPromise; list(params: Params$Resource$Reviews$List, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; list(params: Params$Resource$Reviews$List, callback: BodyResponseCallback): void; list(callback: BodyResponseCallback): void; /** * androidpublisher.reviews.reply * @desc Reply to a single review, or update an existing reply. * @alias androidpublisher.reviews.reply * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName Unique identifier for the Android app for which we want reviews; for example, "com.spiffygame". * @param {string} params.reviewId * @param {().ReviewsReplyRequest} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object */ reply(params?: Params$Resource$Reviews$Reply, options?: MethodOptions): GaxiosPromise; reply(params: Params$Resource$Reviews$Reply, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void; reply(params: Params$Resource$Reviews$Reply, callback: BodyResponseCallback): void; reply(callback: BodyResponseCallback): void; } interface Params$Resource$Reviews$Get extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for the Android app for which we want reviews; for * example, "com.spiffygame". */ packageName?: string; /** * */ reviewId?: string; /** * */ translationLanguage?: string; } interface Params$Resource$Reviews$List extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * */ maxResults?: number; /** * Unique identifier for the Android app for which we want reviews; for * example, "com.spiffygame". */ packageName?: string; /** * */ startIndex?: number; /** * */ token?: string; /** * */ translationLanguage?: string; } interface Params$Resource$Reviews$Reply extends StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient; /** * Unique identifier for the Android app for which we want reviews; for * example, "com.spiffygame". */ packageName?: string; /** * */ reviewId?: string; /** * Request body metadata */ requestBody?: Schema$ReviewsReplyRequest; } }