Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource.DeleteRequest

Delete a subject. The response will be an array of versions of the deleted subject.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<HttpBody>
ManagedKafkaBaseServiceRequest<HttpBody>
ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource.DeleteRequest
Implements
IClientServiceRequest<HttpBody>
IClientServiceRequest
Inherited Members
ManagedKafkaBaseServiceRequest<HttpBody>.Xgafv
ManagedKafkaBaseServiceRequest<HttpBody>.AccessToken
ManagedKafkaBaseServiceRequest<HttpBody>.Alt
ManagedKafkaBaseServiceRequest<HttpBody>.Callback
ManagedKafkaBaseServiceRequest<HttpBody>.Fields
ManagedKafkaBaseServiceRequest<HttpBody>.Key
ManagedKafkaBaseServiceRequest<HttpBody>.OauthToken
ManagedKafkaBaseServiceRequest<HttpBody>.PrettyPrint
ManagedKafkaBaseServiceRequest<HttpBody>.QuotaUser
ManagedKafkaBaseServiceRequest<HttpBody>.UploadType
ManagedKafkaBaseServiceRequest<HttpBody>.UploadProtocol
ClientServiceRequest<HttpBody>.Execute()
ClientServiceRequest<HttpBody>.ExecuteAsStream()
ClientServiceRequest<HttpBody>.ExecuteAsync()
ClientServiceRequest<HttpBody>.ExecuteAsync(CancellationToken)
ClientServiceRequest<HttpBody>.ExecuteAsStreamAsync()
ClientServiceRequest<HttpBody>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<HttpBody>.CreateRequest(bool?)
ClientServiceRequest<HttpBody>.GenerateRequestUri()
ClientServiceRequest<HttpBody>.GetBody()
ClientServiceRequest<HttpBody>.GetDefaultETagAction(string)
ClientServiceRequest<HttpBody>.ETagAction
ClientServiceRequest<HttpBody>.ModifyRequest
ClientServiceRequest<HttpBody>.ValidateParameters
ClientServiceRequest<HttpBody>.ApiVersion
ClientServiceRequest<HttpBody>.RequestParameters
ClientServiceRequest<HttpBody>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ManagedKafka.v1
Assembly: Google.Apis.ManagedKafka.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SchemaRegistriesResource.ContextsResource.SubjectsResource.DeleteRequest : ManagedKafkaBaseServiceRequest<HttpBody>, IClientServiceRequest<HttpBody>, IClientServiceRequest

Constructors

DeleteRequest(IClientService, string)

Constructs a new Delete request.

Declaration
public DeleteRequest(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
ClientServiceRequest<HttpBody>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<HttpBody>.MethodName

Name

Required. The name of the subject to delete. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject} or projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

Permanent

Optional. If true, the subject and all associated metadata including the schema ID will be deleted permanently. Otherwise, only the subject is soft-deleted. The default is false. Soft-deleted subjects can still be searched in ListSubjects API call with deleted=true query parameter. A soft-delete of a subject must be performed before a hard-delete.

Declaration
[RequestParameter("permanent", RequestParameterType.Query)]
public virtual bool? Permanent { get; set; }
Property Value
Type Description
bool?

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<HttpBody>.RestPath

Methods

InitParameters()

Initializes Delete parameter list.

Declaration
protected override void InitParameters()
Overrides
ManagedKafkaBaseServiceRequest<HttpBody>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX