Grafeas v1 API - Class Grafeas.GrafeasClient (3.7.0)

public class Grafeas.GrafeasClient : ClientBase<Grafeas.GrafeasClient>

Reference documentation and code samples for the Grafeas v1 API class Grafeas.GrafeasClient.

Client for Grafeas

Inheritance

object > ClientBase > ClientBaseGrafeasGrafeasClient > Grafeas.GrafeasClient

Namespace

Grafeas.V1

Assembly

Grafeas.V1.dll

Constructors

GrafeasClient()

protected GrafeasClient()

Protected parameterless constructor to allow creation of test doubles.

GrafeasClient(CallInvoker)

public GrafeasClient(CallInvoker callInvoker)

Creates a new client for Grafeas that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

GrafeasClient(ChannelBase)

public GrafeasClient(ChannelBase channel)

Creates a new client for Grafeas

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

GrafeasClient(ClientBaseConfiguration)

protected GrafeasClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

BatchCreateNotes(BatchCreateNotesRequest, CallOptions)

public virtual BatchCreateNotesResponse BatchCreateNotes(BatchCreateNotesRequest request, CallOptions options)

Creates new notes in batch.

Parameters
Name Description
request BatchCreateNotesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
BatchCreateNotesResponse

The response received from the server.

BatchCreateNotes(BatchCreateNotesRequest, Metadata, DateTime?, CancellationToken)

public virtual BatchCreateNotesResponse BatchCreateNotes(BatchCreateNotesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates new notes in batch.

Parameters
Name Description
request BatchCreateNotesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchCreateNotesResponse

The response received from the server.

BatchCreateNotesAsync(BatchCreateNotesRequest, CallOptions)

public virtual AsyncUnaryCall<BatchCreateNotesResponse> BatchCreateNotesAsync(BatchCreateNotesRequest request, CallOptions options)

Creates new notes in batch.

Parameters
Name Description
request BatchCreateNotesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallBatchCreateNotesResponse

The call object.

BatchCreateNotesAsync(BatchCreateNotesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<BatchCreateNotesResponse> BatchCreateNotesAsync(BatchCreateNotesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates new notes in batch.

Parameters
Name Description
request BatchCreateNotesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallBatchCreateNotesResponse

The call object.

BatchCreateOccurrences(BatchCreateOccurrencesRequest, CallOptions)

public virtual BatchCreateOccurrencesResponse BatchCreateOccurrences(BatchCreateOccurrencesRequest request, CallOptions options)

Creates new occurrences in batch.

Parameters
Name Description
request BatchCreateOccurrencesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
BatchCreateOccurrencesResponse

The response received from the server.

BatchCreateOccurrences(BatchCreateOccurrencesRequest, Metadata, DateTime?, CancellationToken)

public virtual BatchCreateOccurrencesResponse BatchCreateOccurrences(BatchCreateOccurrencesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates new occurrences in batch.

Parameters
Name Description
request BatchCreateOccurrencesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchCreateOccurrencesResponse

The response received from the server.

BatchCreateOccurrencesAsync(BatchCreateOccurrencesRequest, CallOptions)

public virtual AsyncUnaryCall<BatchCreateOccurrencesResponse> BatchCreateOccurrencesAsync(BatchCreateOccurrencesRequest request, CallOptions options)

Creates new occurrences in batch.

Parameters
Name Description
request BatchCreateOccurrencesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallBatchCreateOccurrencesResponse

The call object.

BatchCreateOccurrencesAsync(BatchCreateOccurrencesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<BatchCreateOccurrencesResponse> BatchCreateOccurrencesAsync(BatchCreateOccurrencesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates new occurrences in batch.

Parameters
Name Description
request BatchCreateOccurrencesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallBatchCreateOccurrencesResponse

The call object.

CreateNote(CreateNoteRequest, CallOptions)

public virtual Note CreateNote(CreateNoteRequest request, CallOptions options)

Creates a new note.

Parameters
Name Description
request CreateNoteRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Note

The response received from the server.

CreateNote(CreateNoteRequest, Metadata, DateTime?, CancellationToken)

public virtual Note CreateNote(CreateNoteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new note.

Parameters
Name Description
request CreateNoteRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Note

The response received from the server.

CreateNoteAsync(CreateNoteRequest, CallOptions)

public virtual AsyncUnaryCall<Note> CreateNoteAsync(CreateNoteRequest request, CallOptions options)

Creates a new note.

Parameters
Name Description
request CreateNoteRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNote

The call object.

CreateNoteAsync(CreateNoteRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Note> CreateNoteAsync(CreateNoteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new note.

Parameters
Name Description
request CreateNoteRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallNote

The call object.

CreateOccurrence(CreateOccurrenceRequest, CallOptions)

public virtual Occurrence CreateOccurrence(CreateOccurrenceRequest request, CallOptions options)

Creates a new occurrence.

Parameters
Name Description
request CreateOccurrenceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Occurrence

The response received from the server.

CreateOccurrence(CreateOccurrenceRequest, Metadata, DateTime?, CancellationToken)

public virtual Occurrence CreateOccurrence(CreateOccurrenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new occurrence.

Parameters
Name Description
request CreateOccurrenceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Occurrence

The response received from the server.

CreateOccurrenceAsync(CreateOccurrenceRequest, CallOptions)

public virtual AsyncUnaryCall<Occurrence> CreateOccurrenceAsync(CreateOccurrenceRequest request, CallOptions options)

Creates a new occurrence.

Parameters
Name Description
request CreateOccurrenceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOccurrence

The call object.

CreateOccurrenceAsync(CreateOccurrenceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Occurrence> CreateOccurrenceAsync(CreateOccurrenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new occurrence.

Parameters
Name Description
request CreateOccurrenceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOccurrence

The call object.

DeleteNote(DeleteNoteRequest, CallOptions)

public virtual Empty DeleteNote(DeleteNoteRequest request, CallOptions options)

Deletes the specified note.

Parameters
Name Description
request DeleteNoteRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteNote(DeleteNoteRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteNote(DeleteNoteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified note.

Parameters
Name Description
request DeleteNoteRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteNoteAsync(DeleteNoteRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteNoteAsync(DeleteNoteRequest request, CallOptions options)

Deletes the specified note.

Parameters
Name Description
request DeleteNoteRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteNoteAsync(DeleteNoteRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteNoteAsync(DeleteNoteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified note.

Parameters
Name Description
request DeleteNoteRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteOccurrence(DeleteOccurrenceRequest, CallOptions)

public virtual Empty DeleteOccurrence(DeleteOccurrenceRequest request, CallOptions options)

Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.

Parameters
Name Description
request DeleteOccurrenceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteOccurrence(DeleteOccurrenceRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteOccurrence(DeleteOccurrenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.

Parameters
Name Description
request DeleteOccurrenceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteOccurrenceAsync(DeleteOccurrenceRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteOccurrenceAsync(DeleteOccurrenceRequest request, CallOptions options)

Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.

Parameters
Name Description
request DeleteOccurrenceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteOccurrenceAsync(DeleteOccurrenceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteOccurrenceAsync(DeleteOccurrenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.

Parameters
Name Description
request DeleteOccurrenceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

GetNote(GetNoteRequest, CallOptions)

public virtual Note GetNote(GetNoteRequest request, CallOptions options)

Gets the specified note.

Parameters
Name Description
request GetNoteRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Note

The response received from the server.

GetNote(GetNoteRequest, Metadata, DateTime?, CancellationToken)

public virtual Note GetNote(GetNoteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the specified note.

Parameters
Name Description
request GetNoteRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Note

The response received from the server.

GetNoteAsync(GetNoteRequest, CallOptions)

public virtual AsyncUnaryCall<Note> GetNoteAsync(GetNoteRequest request, CallOptions options)

Gets the specified note.

Parameters
Name Description
request GetNoteRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNote

The call object.

GetNoteAsync(GetNoteRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Note> GetNoteAsync(GetNoteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the specified note.

Parameters
Name Description
request GetNoteRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallNote

The call object.

GetOccurrence(GetOccurrenceRequest, CallOptions)

public virtual Occurrence GetOccurrence(GetOccurrenceRequest request, CallOptions options)

Gets the specified occurrence.

Parameters
Name Description
request GetOccurrenceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Occurrence

The response received from the server.

GetOccurrence(GetOccurrenceRequest, Metadata, DateTime?, CancellationToken)

public virtual Occurrence GetOccurrence(GetOccurrenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the specified occurrence.

Parameters
Name Description
request GetOccurrenceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Occurrence

The response received from the server.

GetOccurrenceAsync(GetOccurrenceRequest, CallOptions)

public virtual AsyncUnaryCall<Occurrence> GetOccurrenceAsync(GetOccurrenceRequest request, CallOptions options)

Gets the specified occurrence.

Parameters
Name Description
request GetOccurrenceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOccurrence

The call object.

GetOccurrenceAsync(GetOccurrenceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Occurrence> GetOccurrenceAsync(GetOccurrenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the specified occurrence.

Parameters
Name Description
request GetOccurrenceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOccurrence

The call object.

GetOccurrenceNote(GetOccurrenceNoteRequest, CallOptions)

public virtual Note GetOccurrenceNote(GetOccurrenceNoteRequest request, CallOptions options)

Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.

Parameters
Name Description
request GetOccurrenceNoteRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Note

The response received from the server.

GetOccurrenceNote(GetOccurrenceNoteRequest, Metadata, DateTime?, CancellationToken)

public virtual Note GetOccurrenceNote(GetOccurrenceNoteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.

Parameters
Name Description
request GetOccurrenceNoteRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Note

The response received from the server.

GetOccurrenceNoteAsync(GetOccurrenceNoteRequest, CallOptions)

public virtual AsyncUnaryCall<Note> GetOccurrenceNoteAsync(GetOccurrenceNoteRequest request, CallOptions options)

Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.

Parameters
Name Description
request GetOccurrenceNoteRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNote

The call object.

GetOccurrenceNoteAsync(GetOccurrenceNoteRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Note> GetOccurrenceNoteAsync(GetOccurrenceNoteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.

Parameters
Name Description
request GetOccurrenceNoteRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallNote

The call object.

ListNoteOccurrences(ListNoteOccurrencesRequest, CallOptions)

public virtual ListNoteOccurrencesResponse ListNoteOccurrences(ListNoteOccurrencesRequest request, CallOptions options)

Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.

Parameters
Name Description
request ListNoteOccurrencesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListNoteOccurrencesResponse

The response received from the server.

ListNoteOccurrences(ListNoteOccurrencesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListNoteOccurrencesResponse ListNoteOccurrences(ListNoteOccurrencesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.

Parameters
Name Description
request ListNoteOccurrencesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListNoteOccurrencesResponse

The response received from the server.

ListNoteOccurrencesAsync(ListNoteOccurrencesRequest, CallOptions)

public virtual AsyncUnaryCall<ListNoteOccurrencesResponse> ListNoteOccurrencesAsync(ListNoteOccurrencesRequest request, CallOptions options)

Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.

Parameters
Name Description
request ListNoteOccurrencesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListNoteOccurrencesResponse

The call object.

ListNoteOccurrencesAsync(ListNoteOccurrencesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListNoteOccurrencesResponse> ListNoteOccurrencesAsync(ListNoteOccurrencesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.

Parameters
Name Description
request ListNoteOccurrencesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListNoteOccurrencesResponse

The call object.

ListNotes(ListNotesRequest, CallOptions)

public virtual ListNotesResponse ListNotes(ListNotesRequest request, CallOptions options)

Lists notes for the specified project.

Parameters
Name Description
request ListNotesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListNotesResponse

The response received from the server.

ListNotes(ListNotesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListNotesResponse ListNotes(ListNotesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists notes for the specified project.

Parameters
Name Description
request ListNotesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListNotesResponse

The response received from the server.

ListNotesAsync(ListNotesRequest, CallOptions)

public virtual AsyncUnaryCall<ListNotesResponse> ListNotesAsync(ListNotesRequest request, CallOptions options)

Lists notes for the specified project.

Parameters
Name Description
request ListNotesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListNotesResponse

The call object.

ListNotesAsync(ListNotesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListNotesResponse> ListNotesAsync(ListNotesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists notes for the specified project.

Parameters
Name Description
request ListNotesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListNotesResponse

The call object.

ListOccurrences(ListOccurrencesRequest, CallOptions)

public virtual ListOccurrencesResponse ListOccurrences(ListOccurrencesRequest request, CallOptions options)

Lists occurrences for the specified project.

Parameters
Name Description
request ListOccurrencesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListOccurrencesResponse

The response received from the server.

ListOccurrences(ListOccurrencesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListOccurrencesResponse ListOccurrences(ListOccurrencesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists occurrences for the specified project.

Parameters
Name Description
request ListOccurrencesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListOccurrencesResponse

The response received from the server.

ListOccurrencesAsync(ListOccurrencesRequest, CallOptions)

public virtual AsyncUnaryCall<ListOccurrencesResponse> ListOccurrencesAsync(ListOccurrencesRequest request, CallOptions options)

Lists occurrences for the specified project.

Parameters
Name Description
request ListOccurrencesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListOccurrencesResponse

The call object.

ListOccurrencesAsync(ListOccurrencesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListOccurrencesResponse> ListOccurrencesAsync(ListOccurrencesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists occurrences for the specified project.

Parameters
Name Description
request ListOccurrencesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListOccurrencesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override Grafeas.GrafeasClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
GrafeasGrafeasClient
Overrides
Grpc.Core.ClientBase<Grafeas.V1.Grafeas.GrafeasClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateNote(UpdateNoteRequest, CallOptions)

public virtual Note UpdateNote(UpdateNoteRequest request, CallOptions options)

Updates the specified note.

Parameters
Name Description
request UpdateNoteRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Note

The response received from the server.

UpdateNote(UpdateNoteRequest, Metadata, DateTime?, CancellationToken)

public virtual Note UpdateNote(UpdateNoteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified note.

Parameters
Name Description
request UpdateNoteRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Note

The response received from the server.

UpdateNoteAsync(UpdateNoteRequest, CallOptions)

public virtual AsyncUnaryCall<Note> UpdateNoteAsync(UpdateNoteRequest request, CallOptions options)

Updates the specified note.

Parameters
Name Description
request UpdateNoteRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallNote

The call object.

UpdateNoteAsync(UpdateNoteRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Note> UpdateNoteAsync(UpdateNoteRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified note.

Parameters
Name Description
request UpdateNoteRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallNote

The call object.

UpdateOccurrence(UpdateOccurrenceRequest, CallOptions)

public virtual Occurrence UpdateOccurrence(UpdateOccurrenceRequest request, CallOptions options)

Updates the specified occurrence.

Parameters
Name Description
request UpdateOccurrenceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Occurrence

The response received from the server.

UpdateOccurrence(UpdateOccurrenceRequest, Metadata, DateTime?, CancellationToken)

public virtual Occurrence UpdateOccurrence(UpdateOccurrenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified occurrence.

Parameters
Name Description
request UpdateOccurrenceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Occurrence

The response received from the server.

UpdateOccurrenceAsync(UpdateOccurrenceRequest, CallOptions)

public virtual AsyncUnaryCall<Occurrence> UpdateOccurrenceAsync(UpdateOccurrenceRequest request, CallOptions options)

Updates the specified occurrence.

Parameters
Name Description
request UpdateOccurrenceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOccurrence

The call object.

UpdateOccurrenceAsync(UpdateOccurrenceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Occurrence> UpdateOccurrenceAsync(UpdateOccurrenceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified occurrence.

Parameters
Name Description
request UpdateOccurrenceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOccurrence

The call object.