[BindServiceMethod(typeof(Grafeas), "BindService")]
public abstract class Grafeas.GrafeasBase
Reference documentation and code samples for the Grafeas v1 API class Grafeas.GrafeasBase.
Base class for server-side implementations of Grafeas
Namespace
Grafeas.V1Assembly
Grafeas.V1.dll
Methods
BatchCreateNotes(BatchCreateNotesRequest, ServerCallContext)
public virtual Task<BatchCreateNotesResponse> BatchCreateNotes(BatchCreateNotesRequest request, ServerCallContext context)
Creates new notes in batch.
request
context
The response to send back to the client (wrapped by a task).
BatchCreateOccurrences(BatchCreateOccurrencesRequest, ServerCallContext)
public virtual Task<BatchCreateOccurrencesResponse> BatchCreateOccurrences(BatchCreateOccurrencesRequest request, ServerCallContext context)
Creates new occurrences in batch.
request
context
The response to send back to the client (wrapped by a task).
CreateNote(CreateNoteRequest, ServerCallContext)
public virtual Task<Note> CreateNote(CreateNoteRequest request, ServerCallContext context)
Creates a new note.
request
context
CreateOccurrence(CreateOccurrenceRequest, ServerCallContext)
public virtual Task<Occurrence> CreateOccurrence(CreateOccurrenceRequest request, ServerCallContext context)
Creates a new occurrence.
request
context
The response to send back to the client (wrapped by a task).
DeleteNote(DeleteNoteRequest, ServerCallContext)
public virtual Task<Empty> DeleteNote(DeleteNoteRequest request, ServerCallContext context)
Deletes the specified note.
request
context
DeleteOccurrence(DeleteOccurrenceRequest, ServerCallContext)
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.
request
context
GetNote(GetNoteRequest, ServerCallContext)
public virtual Task<Note> GetNote(GetNoteRequest request, ServerCallContext context)
Gets the specified note.
request
context
GetOccurrence(GetOccurrenceRequest, ServerCallContext)
public virtual Task<Occurrence> GetOccurrence(GetOccurrenceRequest request, ServerCallContext context)
Gets the specified occurrence.
request
context
The response to send back to the client (wrapped by a task).
GetOccurrenceNote(GetOccurrenceNoteRequest, ServerCallContext)
public virtual Task<Note> GetOccurrenceNote(GetOccurrenceNoteRequest request, ServerCallContext context)
Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.
request
context
ListNoteOccurrences(ListNoteOccurrencesRequest, ServerCallContext)
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.
request
context
The response to send back to the client (wrapped by a task).
ListNotes(ListNotesRequest, ServerCallContext)
public virtual Task<ListNotesResponse> ListNotes(ListNotesRequest request, ServerCallContext context)
Lists notes for the specified project.
request
context
The response to send back to the client (wrapped by a task).
ListOccurrences(ListOccurrencesRequest, ServerCallContext)
public virtual Task<ListOccurrencesResponse> ListOccurrences(ListOccurrencesRequest request, ServerCallContext context)
Lists occurrences for the specified project.
request
context
The response to send back to the client (wrapped by a task).
UpdateNote(UpdateNoteRequest, ServerCallContext)
public virtual Task<Note> UpdateNote(UpdateNoteRequest request, ServerCallContext context)
Updates the specified note.
request
context
UpdateOccurrence(UpdateOccurrenceRequest, ServerCallContext)
public virtual Task<Occurrence> UpdateOccurrence(UpdateOccurrenceRequest request, ServerCallContext context)
Updates the specified occurrence.
request
context
The response to send back to the client (wrapped by a task).