Class ProjectsResource.LocationsResource.AppsResource.VersionsResource
The "versions" collection of methods.
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.AppsResource.VersionsResource
Constructors
VersionsResource(IClientService)
Constructs a new resource.
Declaration
public VersionsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(AppVersion, string)
Creates a new app version in the given app.
Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.VersionsResource.CreateRequest Create(AppVersion body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| AppVersion | body | The body of the request. |
| string | parent | Required. The resource name of the app to create an app version in. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AppsResource.VersionsResource.CreateRequest |
Delete(string)
Deletes the specified app version.
Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.VersionsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the app version to delete. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AppsResource.VersionsResource.DeleteRequest |
Get(string)
Gets details of the specified app version.
Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.VersionsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the app version to retrieve. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AppsResource.VersionsResource.GetRequest |
List(string)
Lists all app versions in the given app.
Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.VersionsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The resource name of the app to list app versions from. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AppsResource.VersionsResource.ListRequest |
Restore(RestoreAppVersionRequest, string)
Restores the specified app version. This will create a new app version from the current draft app and overwrite the current draft with the specified app version.
Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.VersionsResource.RestoreRequest Restore(RestoreAppVersionRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| RestoreAppVersionRequest | body | The body of the request. |
| string | name | Required. The resource name of the app version to restore. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AppsResource.VersionsResource.RestoreRequest |