public static final class GrafeasGrpc.GrafeasBlockingStub extends AbstractStub<GrafeasGrpc.GrafeasBlockingStub>
[Grafeas](https://grafeas.io) API. Retrieves analysis results of Cloud components such as Docker container images. Analysis results are stored as a series of occurrences. An `Occurrence` contains information about a specific analysis instance on a resource. An occurrence refers to a `Note`. A note contains details describing the analysis and is generally stored in a separate project, called a `Provider`. Multiple occurrences can refer to the same note. For example, an SSL vulnerability could affect multiple images. In this case, there would be one note for the vulnerability and an occurrence for each image with the vulnerability referring to that note.
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected GrafeasGrpc.GrafeasBlockingStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<GrafeasGrpc.GrafeasBlockingStub>
public Occurrence getOccurrence(GetOccurrenceRequest request)
Gets the specified occurrence.
public ListOccurrencesResponse listOccurrences(ListOccurrencesRequest request)
Lists occurrences for the specified project.
public Empty deleteOccurrence(DeleteOccurrenceRequest request)
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 Occurrence createOccurrence(CreateOccurrenceRequest request)
Creates a new occurrence.
public BatchCreateOccurrencesResponse batchCreateOccurrences(BatchCreateOccurrencesRequest request)
Creates new occurrences in batch.
public Occurrence updateOccurrence(UpdateOccurrenceRequest request)
Updates the specified occurrence.
public Note getOccurrenceNote(GetOccurrenceNoteRequest request)
Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.
public Note getNote(GetNoteRequest request)
Gets the specified note.
public ListNotesResponse listNotes(ListNotesRequest request)
Lists notes for the specified project.
public Empty deleteNote(DeleteNoteRequest request)
Deletes the specified note.
public Note createNote(CreateNoteRequest request)
Creates a new note.
public BatchCreateNotesResponse batchCreateNotes(BatchCreateNotesRequest request)
Creates new notes in batch.
public Note updateNote(UpdateNoteRequest request)
Updates the specified note.
public ListNoteOccurrencesResponse listNoteOccurrences(ListNoteOccurrencesRequest request)
Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.
Copyright © 2019 Google LLC. All rights reserved.