public class GrafeasClient : ClientBase<Grafeas.GrafeasClient>Client for Grafeas
Namespace
Grafeas.V1Assembly
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 |
CallInvokerThe 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 | |
|---|---|
| Name | Description |
channel |
Grpc.Core.ChannelThe channel to use to make remote calls. |
GrafeasClient(ChannelBase)
public GrafeasClient(ChannelBase channel)Creates a new client for Grafeas
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
GrafeasClient(ClientBase.ClientBaseConfiguration)
protected GrafeasClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe client configuration. |
Methods
BatchCreateNotes(BatchCreateNotesRequest, CallOptions)
public virtual BatchCreateNotesResponse BatchCreateNotes(BatchCreateNotesRequest request, CallOptions options)Creates new notes in batch.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchCreateNotesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
BatchCreateNotesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
BatchCreateNotesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
BatchCreateNotesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<BatchCreateNotesResponse> |
The call object. |
BatchCreateOccurrences(BatchCreateOccurrencesRequest, CallOptions)
public virtual BatchCreateOccurrencesResponse BatchCreateOccurrences(BatchCreateOccurrencesRequest request, CallOptions options)Creates new occurrences in batch.
| Parameters | |
|---|---|
| Name | Description |
request |
BatchCreateOccurrencesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
BatchCreateOccurrencesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
BatchCreateOccurrencesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
BatchCreateOccurrencesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<BatchCreateOccurrencesResponse> |
The call object. |
CreateNote(CreateNoteRequest, CallOptions)
public virtual Note CreateNote(CreateNoteRequest request, CallOptions options)Creates a new note.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateNoteRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
CreateNoteRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
CreateNoteRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
CreateNoteRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Note> |
The call object. |
CreateOccurrence(CreateOccurrenceRequest, CallOptions)
public virtual Occurrence CreateOccurrence(CreateOccurrenceRequest request, CallOptions options)Creates a new occurrence.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateOccurrenceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
CreateOccurrenceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
CreateOccurrenceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
CreateOccurrenceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Occurrence> |
The call object. |
DeleteNote(DeleteNoteRequest, CallOptions)
public virtual Empty DeleteNote(DeleteNoteRequest request, CallOptions options)Deletes the specified note.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNoteRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteNoteRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
DeleteNoteRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteNoteRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteOccurrenceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteOccurrenceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
DeleteOccurrenceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteOccurrenceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Empty> |
The call object. |
GetNote(GetNoteRequest, CallOptions)
public virtual Note GetNote(GetNoteRequest request, CallOptions options)Gets the specified note.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNoteRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetNoteRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
GetNoteRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetNoteRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Note> |
The call object. |
GetOccurrence(GetOccurrenceRequest, CallOptions)
public virtual Occurrence GetOccurrence(GetOccurrenceRequest request, CallOptions options)Gets the specified occurrence.
| Parameters | |
|---|---|
| Name | Description |
request |
GetOccurrenceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetOccurrenceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
GetOccurrenceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetOccurrenceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetOccurrenceNoteRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetOccurrenceNoteRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
GetOccurrenceNoteRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetOccurrenceNoteRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListNoteOccurrencesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListNoteOccurrencesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ListNoteOccurrencesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListNoteOccurrencesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListNoteOccurrencesResponse> |
The call object. |
ListNotes(ListNotesRequest, CallOptions)
public virtual ListNotesResponse ListNotes(ListNotesRequest request, CallOptions options)Lists notes for the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNotesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListNotesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ListNotesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListNotesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<ListNotesResponse> |
The call object. |
ListOccurrences(ListOccurrencesRequest, CallOptions)
public virtual ListOccurrencesResponse ListOccurrences(ListOccurrencesRequest request, CallOptions options)Lists occurrences for the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListOccurrencesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListOccurrencesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ListOccurrencesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListOccurrencesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
Grafeas.GrafeasClient |
|
UpdateNote(UpdateNoteRequest, CallOptions)
public virtual Note UpdateNote(UpdateNoteRequest request, CallOptions options)Updates the specified note.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateNoteRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdateNoteRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
UpdateNoteRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdateNoteRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Note> |
The call object. |
UpdateOccurrence(UpdateOccurrenceRequest, CallOptions)
public virtual Occurrence UpdateOccurrence(UpdateOccurrenceRequest request, CallOptions options)Updates the specified occurrence.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateOccurrenceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdateOccurrenceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
UpdateOccurrenceRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdateOccurrenceRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Occurrence> |
The call object. |