Class ProjectsResource.LocationsResource.AppsResource.VersionsResource.RestoreRequest
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.
Inheritance
ProjectsResource.LocationsResource.AppsResource.VersionsResource.RestoreRequest
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.AppsResource.VersionsResource.RestoreRequest : CustomerEngagementSuiteBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
RestoreRequest(IClientService, RestoreAppVersionRequest, string)
Constructs a new Restore request.
Declaration
public RestoreRequest(IClientService service, RestoreAppVersionRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| RestoreAppVersionRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The resource name of the app version to restore.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Restore parameter list.
Declaration
protected override void InitParameters()