Class ProjectsResource.SchemasResource.DeleteRevisionRequest
Deletes a specific schema revision.
Inheritance
ProjectsResource.SchemasResource.DeleteRevisionRequest
Inherited Members
Namespace: Google.Apis.Pubsub.v1
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class ProjectsResource.SchemasResource.DeleteRevisionRequest : PubsubBaseServiceRequest<Schema>, IClientServiceRequest<Schema>, 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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the schema revision to be deleted, with a revision ID explicitly included.
Example: projects/123/schemas/my-schema@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
RevisionId
Optional. This field is deprecated and should not be used for specifying the revision ID. The
revision ID should be specified via the name
parameter.
Declaration
[RequestParameter("revisionId", RequestParameterType.Query)]
public virtual string RevisionId { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes DeleteRevision parameter list.
Declaration
protected override void InitParameters()