Class TopicsResource.DeleteRequest
Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name.
Inheritance
TopicsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.Pubsub.v1beta1a
Assembly: Google.Apis.Pubsub.v1beta1a.dll
Syntax
public class TopicsResource.DeleteRequest : PubsubBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string topic)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | topic |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Topic
Name of the topic to delete.
Declaration
[RequestParameter("topic", RequestParameterType.Path)]
public virtual string Topic { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()