Google Play Android Developer API . edits . bundles

Instance Methods

close()

Close httplib2 connections.

list(packageName, editId, x__xgafv=None)

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

upload(packageName, editId, ackBundleInstallationWarning=None, media_body=None, media_mime_type=None, x__xgafv=None)

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

Method Details

close()
Close httplib2 connections.
list(packageName, editId, x__xgafv=None)
Lists all current Android App Bundles of the app and edit.

Args:
  packageName: string, Package name of the app. (required)
  editId: string, Identifier of the edit. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response listing all app bundles.
  "bundles": [ # All app bundles.
    { # Information about an app bundle. The resource for BundlesService.
      "sha1": "A String", # A sha1 hash of the upload payload, encoded as a hex string and matching the output of the sha1sum command.
      "sha256": "A String", # A sha256 hash of the upload payload, encoded as a hex string and matching the output of the sha256sum command.
      "versionCode": 42, # The version code of the Android App Bundle, as specified in the Android App Bundle's base module APK manifest file.
    },
  ],
  "kind": "A String", # The kind of this response ("androidpublisher#bundlesListResponse").
}
upload(packageName, editId, ackBundleInstallationWarning=None, media_body=None, media_mime_type=None, x__xgafv=None)
Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.

Args:
  packageName: string, Package name of the app. (required)
  editId: string, Identifier of the edit. (required)
  ackBundleInstallationWarning: boolean, Must be set to true if the app bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).
  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Information about an app bundle. The resource for BundlesService.
  "sha1": "A String", # A sha1 hash of the upload payload, encoded as a hex string and matching the output of the sha1sum command.
  "sha256": "A String", # A sha256 hash of the upload payload, encoded as a hex string and matching the output of the sha256sum command.
  "versionCode": 42, # The version code of the Android App Bundle, as specified in the Android App Bundle's base module APK manifest file.
}