Class ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.RollbackRequest
Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.
Inheritance
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.RollbackRequest
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.RollbackRequest : ApigeeRegistryBaseServiceRequest<ApiDeployment>, IClientServiceRequest<ApiDeployment>, IClientServiceRequest
Constructors
RollbackRequest(IClientService, RollbackApiDeploymentRequest, string)
Constructs a new Rollback request.
Declaration
public RollbackRequest(IClientService service, RollbackApiDeploymentRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RollbackApiDeploymentRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.ApiDeployment>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.ApiDeployment>.MethodName
Name
Required. The deployment being rolled back.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.ApiDeployment>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.ApiDeployment>.GetBody()
InitParameters()
Initializes Rollback parameter list.
Declaration
protected override void InitParameters()