public virtual Task<Empty> DeleteOccurrence(DeleteOccurrenceRequest request, ServerCallContext context)
Deletes the specified occurrence. For example, use this method to delete an
occurrence when the occurrence is no longer applicable for the given
resource.
public virtual Task<ListNoteOccurrencesResponse> ListNoteOccurrences(ListNoteOccurrencesRequest request, ServerCallContext context)
Lists occurrences referencing the specified note. Provider projects can use
this method to get all occurrences across consumer projects referencing the
specified note.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the Grafeas v1 API class \u003ccode\u003eGrafeas.GrafeasBase\u003c/code\u003e, which serves as the base class for server-side Grafeas implementations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 3.7.0, with several previous versions available for reference, ranging from 2.2.0 up to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGrafeas.GrafeasBase\u003c/code\u003e class includes methods for managing notes and occurrences, such as creating, deleting, getting, listing, and updating them, as well as methods for batch operations.\u003c/p\u003e\n"],["\u003cp\u003eInherited members of the class include \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGrafeasBase\u003c/code\u003e class methods interact with requests and responses, using \u003ccode\u003eServerCallContext\u003c/code\u003e to manage server-side call handling, for operations related to managing metadata.\u003c/p\u003e\n"]]],[],null,["# Grafeas v1 API - Class Grafeas.GrafeasBase (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.Grafeas.GrafeasBase)\n- [3.8.0](/dotnet/docs/reference/Grafeas.V1/3.8.0/Grafeas.V1.Grafeas.GrafeasBase)\n- [3.7.0](/dotnet/docs/reference/Grafeas.V1/3.7.0/Grafeas.V1.Grafeas.GrafeasBase)\n- [3.6.0](/dotnet/docs/reference/Grafeas.V1/3.6.0/Grafeas.V1.Grafeas.GrafeasBase)\n- [3.5.0](/dotnet/docs/reference/Grafeas.V1/3.5.0/Grafeas.V1.Grafeas.GrafeasBase)\n- [3.4.0](/dotnet/docs/reference/Grafeas.V1/3.4.0/Grafeas.V1.Grafeas.GrafeasBase)\n- [3.3.0](/dotnet/docs/reference/Grafeas.V1/3.3.0/Grafeas.V1.Grafeas.GrafeasBase)\n- [3.2.0](/dotnet/docs/reference/Grafeas.V1/3.2.0/Grafeas.V1.Grafeas.GrafeasBase)\n- [3.1.0](/dotnet/docs/reference/Grafeas.V1/3.1.0/Grafeas.V1.Grafeas.GrafeasBase)\n- [3.0.0](/dotnet/docs/reference/Grafeas.V1/3.0.0/Grafeas.V1.Grafeas.GrafeasBase)\n- [2.4.0](/dotnet/docs/reference/Grafeas.V1/2.4.0/Grafeas.V1.Grafeas.GrafeasBase)\n- [2.3.0](/dotnet/docs/reference/Grafeas.V1/2.3.0/Grafeas.V1.Grafeas.GrafeasBase)\n- [2.2.0](/dotnet/docs/reference/Grafeas.V1/2.2.0/Grafeas.V1.Grafeas.GrafeasBase) \n\n [BindServiceMethod(typeof(Grafeas), \"BindService\")]\n public abstract class Grafeas.GrafeasBase\n\nReference documentation and code samples for the Grafeas v1 API class Grafeas.GrafeasBase.\n\nBase class for server-side implementations of Grafeas \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Grafeas.GrafeasBase \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Grafeas.V1](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1)\n\nAssembly\n--------\n\nGrafeas.V1.dll\n\nMethods\n-------\n\n### BatchCreateNotes(BatchCreateNotesRequest, ServerCallContext)\n\n public virtual Task\u003cBatchCreateNotesResponse\u003e BatchCreateNotes(BatchCreateNotesRequest request, ServerCallContext context)\n\nCreates new notes in batch.\n\n### BatchCreateOccurrences(BatchCreateOccurrencesRequest, ServerCallContext)\n\n public virtual Task\u003cBatchCreateOccurrencesResponse\u003e BatchCreateOccurrences(BatchCreateOccurrencesRequest request, ServerCallContext context)\n\nCreates new occurrences in batch.\n\n### CreateNote(CreateNoteRequest, ServerCallContext)\n\n public virtual Task\u003cNote\u003e CreateNote(CreateNoteRequest request, ServerCallContext context)\n\nCreates a new note.\n\n### CreateOccurrence(CreateOccurrenceRequest, ServerCallContext)\n\n public virtual Task\u003cOccurrence\u003e CreateOccurrence(CreateOccurrenceRequest request, ServerCallContext context)\n\nCreates a new occurrence.\n\n### DeleteNote(DeleteNoteRequest, ServerCallContext)\n\n public virtual Task\u003cEmpty\u003e DeleteNote(DeleteNoteRequest request, ServerCallContext context)\n\nDeletes the specified note.\n\n### DeleteOccurrence(DeleteOccurrenceRequest, ServerCallContext)\n\n public virtual Task\u003cEmpty\u003e DeleteOccurrence(DeleteOccurrenceRequest request, ServerCallContext context)\n\nDeletes the specified occurrence. For example, use this method to delete an\noccurrence when the occurrence is no longer applicable for the given\nresource.\n\n### GetNote(GetNoteRequest, ServerCallContext)\n\n public virtual Task\u003cNote\u003e GetNote(GetNoteRequest request, ServerCallContext context)\n\nGets the specified note.\n\n### GetOccurrence(GetOccurrenceRequest, ServerCallContext)\n\n public virtual Task\u003cOccurrence\u003e GetOccurrence(GetOccurrenceRequest request, ServerCallContext context)\n\nGets the specified occurrence.\n\n### GetOccurrenceNote(GetOccurrenceNoteRequest, ServerCallContext)\n\n public virtual Task\u003cNote\u003e GetOccurrenceNote(GetOccurrenceNoteRequest request, ServerCallContext context)\n\nGets the note attached to the specified occurrence. Consumer projects can\nuse this method to get a note that belongs to a provider project.\n\n### ListNoteOccurrences(ListNoteOccurrencesRequest, ServerCallContext)\n\n public virtual Task\u003cListNoteOccurrencesResponse\u003e ListNoteOccurrences(ListNoteOccurrencesRequest request, ServerCallContext context)\n\nLists occurrences referencing the specified note. Provider projects can use\nthis method to get all occurrences across consumer projects referencing the\nspecified note.\n\n### ListNotes(ListNotesRequest, ServerCallContext)\n\n public virtual Task\u003cListNotesResponse\u003e ListNotes(ListNotesRequest request, ServerCallContext context)\n\nLists notes for the specified project.\n\n### ListOccurrences(ListOccurrencesRequest, ServerCallContext)\n\n public virtual Task\u003cListOccurrencesResponse\u003e ListOccurrences(ListOccurrencesRequest request, ServerCallContext context)\n\nLists occurrences for the specified project.\n\n### UpdateNote(UpdateNoteRequest, ServerCallContext)\n\n public virtual Task\u003cNote\u003e UpdateNote(UpdateNoteRequest request, ServerCallContext context)\n\nUpdates the specified note.\n\n### UpdateOccurrence(UpdateOccurrenceRequest, ServerCallContext)\n\n public virtual Task\u003cOccurrence\u003e UpdateOccurrence(UpdateOccurrenceRequest request, ServerCallContext context)\n\nUpdates the specified occurrence."]]