Class DeleteSubjectRequest (0.1.0)

DeleteSubjectRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
name str
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}
permanent bool
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. This field is a member of oneof_ _permanent.