Grafeas v1 API - Class Grafeas.GrafeasClient (3.3.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

GrafeasV1

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

GrafeasClient(ChannelBase)

public GrafeasClient(ChannelBase channel)

Creates a new client for Grafeas

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

GrafeasClient(ClientBaseConfiguration)

protected GrafeasClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

BatchCreateNotes(BatchCreateNotesRequest, CallOptions)

public virtual BatchCreateNotesResponse BatchCreateNotes(BatchCreateNotesRequest request, CallOptions options)

Creates new notes in batch.

Parameters
NameDescription
requestBatchCreateNotesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestBatchCreateNotesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestBatchCreateNotesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestBatchCreateNotesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallBatchCreateNotesResponse

The call object.

BatchCreateOccurrences(BatchCreateOccurrencesRequest, CallOptions)

public virtual BatchCreateOccurrencesResponse BatchCreateOccurrences(BatchCreateOccurrencesRequest request, CallOptions options)

Creates new occurrences in batch.

Parameters
NameDescription
requestBatchCreateOccurrencesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestBatchCreateOccurrencesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestBatchCreateOccurrencesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestBatchCreateOccurrencesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallBatchCreateOccurrencesResponse

The call object.

CreateNote(CreateNoteRequest, CallOptions)

public virtual Note CreateNote(CreateNoteRequest request, CallOptions options)

Creates a new note.

Parameters
NameDescription
requestCreateNoteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateNoteRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Note

The response received from the server.

CreateNoteAsync(CreateNoteRequest, CallOptions)

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

Creates a new note.

Parameters
NameDescription
requestCreateNoteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateNoteRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallNote

The call object.

CreateOccurrence(CreateOccurrenceRequest, CallOptions)

public virtual Occurrence CreateOccurrence(CreateOccurrenceRequest request, CallOptions options)

Creates a new occurrence.

Parameters
NameDescription
requestCreateOccurrenceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateOccurrenceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Occurrence

The response received from the server.

CreateOccurrenceAsync(CreateOccurrenceRequest, CallOptions)

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

Creates a new occurrence.

Parameters
NameDescription
requestCreateOccurrenceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateOccurrenceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOccurrence

The call object.

DeleteNote(DeleteNoteRequest, CallOptions)

public virtual Empty DeleteNote(DeleteNoteRequest request, CallOptions options)

Deletes the specified note.

Parameters
NameDescription
requestDeleteNoteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteNoteRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteNoteAsync(DeleteNoteRequest, CallOptions)

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

Deletes the specified note.

Parameters
NameDescription
requestDeleteNoteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteNoteRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteOccurrenceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteOccurrenceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteOccurrenceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteOccurrenceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

GetNote(GetNoteRequest, CallOptions)

public virtual Note GetNote(GetNoteRequest request, CallOptions options)

Gets the specified note.

Parameters
NameDescription
requestGetNoteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetNoteRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Note

The response received from the server.

GetNoteAsync(GetNoteRequest, CallOptions)

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

Gets the specified note.

Parameters
NameDescription
requestGetNoteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetNoteRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallNote

The call object.

GetOccurrence(GetOccurrenceRequest, CallOptions)

public virtual Occurrence GetOccurrence(GetOccurrenceRequest request, CallOptions options)

Gets the specified occurrence.

Parameters
NameDescription
requestGetOccurrenceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetOccurrenceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Occurrence

The response received from the server.

GetOccurrenceAsync(GetOccurrenceRequest, CallOptions)

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

Gets the specified occurrence.

Parameters
NameDescription
requestGetOccurrenceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetOccurrenceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetOccurrenceNoteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetOccurrenceNoteRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetOccurrenceNoteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetOccurrenceNoteRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListNoteOccurrencesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListNoteOccurrencesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListNoteOccurrencesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListNoteOccurrencesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListNoteOccurrencesResponse

The call object.

ListNotes(ListNotesRequest, CallOptions)

public virtual ListNotesResponse ListNotes(ListNotesRequest request, CallOptions options)

Lists notes for the specified project.

Parameters
NameDescription
requestListNotesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListNotesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListNotesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListNotesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListNotesResponse

The call object.

ListOccurrences(ListOccurrencesRequest, CallOptions)

public virtual ListOccurrencesResponse ListOccurrences(ListOccurrencesRequest request, CallOptions options)

Lists occurrences for the specified project.

Parameters
NameDescription
requestListOccurrencesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListOccurrencesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListOccurrencesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListOccurrencesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListOccurrencesResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
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
NameDescription
requestUpdateNoteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdateNoteRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Note

The response received from the server.

UpdateNoteAsync(UpdateNoteRequest, CallOptions)

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

Updates the specified note.

Parameters
NameDescription
requestUpdateNoteRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdateNoteRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallNote

The call object.

UpdateOccurrence(UpdateOccurrenceRequest, CallOptions)

public virtual Occurrence UpdateOccurrence(UpdateOccurrenceRequest request, CallOptions options)

Updates the specified occurrence.

Parameters
NameDescription
requestUpdateOccurrenceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdateOccurrenceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Occurrence

The response received from the server.

UpdateOccurrenceAsync(UpdateOccurrenceRequest, CallOptions)

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

Updates the specified occurrence.

Parameters
NameDescription
requestUpdateOccurrenceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdateOccurrenceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOccurrence

The call object.