Class Grafeas.GrafeasClient

public class GrafeasClient : ClientBase<Grafeas.GrafeasClient>

Client for Grafeas

Inheritance

Object > ClientBase > ClientBase<Grafeas.GrafeasClient> > 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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

GrafeasClient(Channel)

[Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
public GrafeasClient(Channel channel)

Creates a new client using a channel.

Parameter
NameDescription
channelChannel

The channel 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(ClientBase.ClientBaseConfiguration)

protected GrafeasClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<BatchCreateNotesResponse>

The call object.

BatchCreateNotesAsync(BatchCreateNotesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<BatchCreateNotesResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<BatchCreateOccurrencesResponse>

The call object.

BatchCreateOccurrencesAsync(BatchCreateOccurrencesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<BatchCreateOccurrencesResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Note>

The call object.

CreateNoteAsync(CreateNoteRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Note>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Occurrence>

The call object.

CreateOccurrenceAsync(CreateOccurrenceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Occurrence>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

DeleteNoteAsync(DeleteNoteRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

DeleteOccurrenceAsync(DeleteOccurrenceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Note>

The call object.

GetNoteAsync(GetNoteRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Note>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Occurrence>

The call object.

GetOccurrenceAsync(GetOccurrenceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Occurrence>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Note>

The call object.

GetOccurrenceNoteAsync(GetOccurrenceNoteRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Note>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListNoteOccurrencesResponse>

The call object.

ListNoteOccurrencesAsync(ListNoteOccurrencesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListNoteOccurrencesResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListNotesResponse>

The call object.

ListNotesAsync(ListNotesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListNotesResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListOccurrencesResponse>

The call object.

ListOccurrencesAsync(ListOccurrencesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListOccurrencesResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
Grafeas.GrafeasClient
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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Note>

The call object.

UpdateNoteAsync(UpdateNoteRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Note>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Occurrence>

The call object.

UpdateOccurrenceAsync(UpdateOccurrenceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Occurrence>

The call object.