Class ProjectsResource.LocationsResource.ApisResource.VersionsResource.SpecsResource.DeleteRevisionRequest
Deletes a revision of a spec.
Inheritance
ProjectsResource.LocationsResource.ApisResource.VersionsResource.SpecsResource.DeleteRevisionRequest
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.VersionsResource.SpecsResource.DeleteRevisionRequest : ApigeeRegistryBaseServiceRequest<ApiSpec>, IClientServiceRequest<ApiSpec>, IClientServiceRequest
Constructors
DeleteRevisionRequest(IClientService, string)
Constructs a new DeleteRevision request.
Declaration
public DeleteRevisionRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
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 name of the spec revision to be deleted, with a revision ID explicitly
included. Example:
projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8
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
InitParameters()
Initializes DeleteRevision parameter list.
Declaration
protected override void InitParameters()