Class ProjectsResource.LocationsResource.ApisResource.VersionsResource.SpecsResource.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.VersionsResource.SpecsResource.RollbackRequest
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.VersionsResource.SpecsResource.RollbackRequest : ApigeeRegistryBaseServiceRequest<ApiSpec>, IClientServiceRequest<ApiSpec>, IClientServiceRequest
Constructors
RollbackRequest(IClientService, RollbackApiSpecRequest, string)
Constructs a new Rollback request.
Declaration
public RollbackRequest(IClientService service, RollbackApiSpecRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RollbackApiSpecRequest | 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.ApiSpec>.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.ApiSpec>.MethodName
Name
Required. The spec 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.ApiSpec>.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.ApiSpec>.GetBody()
InitParameters()
Initializes Rollback parameter list.
Declaration
protected override void InitParameters()