Class AppstoreappsreviewResource
The "appstoreappsreview" collection of methods.
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class AppstoreappsreviewResource
Constructors
AppstoreappsreviewResource(IClientService)
Constructs a new resource.
Declaration
public AppstoreappsreviewResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Createappstorehostedapp(CreateAppStoreHostedAppRequest, string)
Creates an app store hosted app. This must be called before any other RPCs for this hosted app.
Declaration
public virtual AppstoreappsreviewResource.CreateappstorehostedappRequest Createappstorehostedapp(CreateAppStoreHostedAppRequest body, string appStorePackageName)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAppStoreHostedAppRequest | body | The body of the request. |
| string | appStorePackageName | Required. Package name of the third-party app store. |
Returns
| Type | Description |
|---|---|
| AppstoreappsreviewResource.CreateappstorehostedappRequest |
Updateappstorehostedapp(UpdateAppStoreHostedAppRequest, string)
Updates details for an app hosted on an app store. Use this to provide details for a new app, or to update details for an existing app. The update will be sent for review immediately after creation.
Declaration
public virtual AppstoreappsreviewResource.UpdateappstorehostedappRequest Updateappstorehostedapp(UpdateAppStoreHostedAppRequest body, string appStorePackageName)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateAppStoreHostedAppRequest | body | The body of the request. |
| string | appStorePackageName | Required. Package name of the third-party app store. |
Returns
| Type | Description |
|---|---|
| AppstoreappsreviewResource.UpdateappstorehostedappRequest |
Updateappstorehostedapppublishstatus(UpdateAppStoreHostedAppPublishStatusRequest, string, string)
Updates the publish status of an app store hosted app. The default state after calling UpdateAppStoreHostedApp is PUBLISHED. It is not necessary to call this RPC explicitly to set an app to PUBLISHED.
Declaration
public virtual AppstoreappsreviewResource.UpdateappstorehostedapppublishstatusRequest Updateappstorehostedapppublishstatus(UpdateAppStoreHostedAppPublishStatusRequest body, string appStorePackageName, string packageName)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateAppStoreHostedAppPublishStatusRequest | body | The body of the request. |
| string | appStorePackageName | Required. Package name of the third-party app store. |
| string | packageName | Required. Package name of the app. |
Returns
| Type | Description |
|---|---|
| AppstoreappsreviewResource.UpdateappstorehostedapppublishstatusRequest |
Uploadapk(UploadApkRequest, string, string)
Upload an APK file for the hosted app. Returns an ID to track this APK.
Declaration
public virtual AppstoreappsreviewResource.UploadapkRequest Uploadapk(UploadApkRequest body, string appStorePackageName, string packageName)
Parameters
| Type | Name | Description |
|---|---|---|
| UploadApkRequest | body | The body of the request. |
| string | appStorePackageName | Required. Package name of the third-party app store. |
| string | packageName | Required. Package name of the app. |
Returns
| Type | Description |
|---|---|
| AppstoreappsreviewResource.UploadapkRequest |
Uploadapk(UploadApkRequest, string, string, Stream, string)
Upload an APK file for the hosted app. Returns an ID to track this APK.
Declaration
public virtual AppstoreappsreviewResource.UploadapkMediaUpload Uploadapk(UploadApkRequest body, string appStorePackageName, string packageName, Stream stream, string contentType)
Parameters
| Type | Name | Description |
|---|---|---|
| UploadApkRequest | body | The body of the request. |
| string | appStorePackageName | Required. Package name of the third-party app store. |
| string | packageName | Required. Package name of the app. |
| Stream | stream | The stream to upload. See remarks for further information. |
| string | contentType | The content type of the stream to upload. |
Returns
| Type | Description |
|---|---|
| AppstoreappsreviewResource.UploadapkMediaUpload |
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
Uploadappstoreapppolicydeclarationfile(UploadAppStoreAppPolicyDeclarationFileRequest, string, string)
Upload a policy declaration file for the hosted app. Returns an ID to track the file.
Declaration
public virtual AppstoreappsreviewResource.UploadappstoreapppolicydeclarationfileRequest Uploadappstoreapppolicydeclarationfile(UploadAppStoreAppPolicyDeclarationFileRequest body, string appStorePackageName, string packageName)
Parameters
| Type | Name | Description |
|---|---|---|
| UploadAppStoreAppPolicyDeclarationFileRequest | body | The body of the request. |
| string | appStorePackageName | Required. Package name of the third-party app store. |
| string | packageName | Required. Package name of the app. |
Returns
| Type | Description |
|---|---|
| AppstoreappsreviewResource.UploadappstoreapppolicydeclarationfileRequest |
Uploadappstoreapppolicydeclarationfile(UploadAppStoreAppPolicyDeclarationFileRequest, string, string, Stream, string)
Upload a policy declaration file for the hosted app. Returns an ID to track the file.
Declaration
public virtual AppstoreappsreviewResource.UploadappstoreapppolicydeclarationfileMediaUpload Uploadappstoreapppolicydeclarationfile(UploadAppStoreAppPolicyDeclarationFileRequest body, string appStorePackageName, string packageName, Stream stream, string contentType)
Parameters
| Type | Name | Description |
|---|---|---|
| UploadAppStoreAppPolicyDeclarationFileRequest | body | The body of the request. |
| string | appStorePackageName | Required. Package name of the third-party app store. |
| string | packageName | Required. Package name of the app. |
| Stream | stream | The stream to upload. See remarks for further information. |
| string | contentType | The content type of the stream to upload. |
Returns
| Type | Description |
|---|---|
| AppstoreappsreviewResource.UploadappstoreapppolicydeclarationfileMediaUpload |
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
Uploadimage(UploadImageRequest, string, string)
Upload a screenshot or app icon for the hosted app. Returns an ID to track the image.
Declaration
public virtual AppstoreappsreviewResource.UploadimageRequest Uploadimage(UploadImageRequest body, string appStorePackageName, string packageName)
Parameters
| Type | Name | Description |
|---|---|---|
| UploadImageRequest | body | The body of the request. |
| string | appStorePackageName | Required. Package name of the third-party app store. |
| string | packageName | Required. Package name of the app. |
Returns
| Type | Description |
|---|---|
| AppstoreappsreviewResource.UploadimageRequest |
Uploadimage(UploadImageRequest, string, string, Stream, string)
Upload a screenshot or app icon for the hosted app. Returns an ID to track the image.
Declaration
public virtual AppstoreappsreviewResource.UploadimageMediaUpload Uploadimage(UploadImageRequest body, string appStorePackageName, string packageName, Stream stream, string contentType)
Parameters
| Type | Name | Description |
|---|---|---|
| UploadImageRequest | body | The body of the request. |
| string | appStorePackageName | Required. Package name of the third-party app store. |
| string | packageName | Required. Package name of the app. |
| Stream | stream | The stream to upload. See remarks for further information. |
| string | contentType | The content type of the stream to upload. |
Returns
| Type | Description |
|---|---|
| AppstoreappsreviewResource.UploadimageMediaUpload |
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