Class EditsResource.BundlesResource
The "bundles" collection of methods.
Inheritance
Namespace: Google.Apis.AndroidPublisher.v2
Assembly: Google.Apis.AndroidPublisher.v2.dll
Syntax
public class BundlesResource : object
Constructors
BundlesResource(IClientService)
Constructs a new resource.
Declaration
public BundlesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
List(String, String)
Declaration
public virtual EditsResource.BundlesResource.ListRequest List(string packageName, string editId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | packageName | Unique identifier for the Android app that is being updated; for example, "com.spiffygame". |
| System.String | editId | Unique identifier for this edit. |
Returns
| Type | Description |
|---|---|
| EditsResource.BundlesResource.ListRequest |
Upload(String, String)
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.
Declaration
public virtual EditsResource.BundlesResource.UploadRequest Upload(string packageName, string editId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | packageName | Unique identifier for the Android app that is being updated; for example, "com.spiffygame". |
| System.String | editId | Unique identifier for this edit. |
Returns
| Type | Description |
|---|---|
| EditsResource.BundlesResource.UploadRequest |
Upload(String, String, Stream, String)
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.
Declaration
public virtual EditsResource.BundlesResource.UploadMediaUpload Upload(string packageName, string editId, Stream stream, string contentType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | packageName | Unique identifier for the Android app that is being updated; for example, "com.spiffygame". |
| System.String | editId | Unique identifier for this edit. |
| System.IO.Stream | stream | The stream to upload. See remarks for further information. |
| System.String | contentType | The content type of the stream to upload. |
Returns
| Type | Description |
|---|---|
| EditsResource.BundlesResource.UploadMediaUpload |
Remarks
Considerations regarding stream:
-
If
streamis seekable, then the stream position will be reset to0before reading commences. Ifstreamis not seekable, then it will be read from its current position. -
Caller is responsible for maintaining the
streamopen until the upload is completed. -
Caller is responsible for closing the
stream.