Grafeas v1 API - Class GrafeasSettings (3.3.0)

public sealed class GrafeasSettings : ServiceSettingsBase

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

Settings for GrafeasClient instances.

Inheritance

object > ServiceSettingsBase > GrafeasSettings

Namespace

GrafeasV1

Assembly

Grafeas.V1.dll

Constructors

GrafeasSettings()

public GrafeasSettings()

Constructs a new GrafeasSettings object with default settings.

Properties

BatchCreateNotesSettings

public CallSettings BatchCreateNotesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.BatchCreateNotes and GrafeasClient.BatchCreateNotesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

BatchCreateOccurrencesSettings

public CallSettings BatchCreateOccurrencesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.BatchCreateOccurrences and GrafeasClient.BatchCreateOccurrencesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

CreateNoteSettings

public CallSettings CreateNoteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.CreateNote and GrafeasClient.CreateNoteAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

CreateOccurrenceSettings

public CallSettings CreateOccurrenceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.CreateOccurrence and GrafeasClient.CreateOccurrenceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

DeleteNoteSettings

public CallSettings DeleteNoteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.DeleteNote and GrafeasClient.DeleteNoteAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 30 seconds.

DeleteOccurrenceSettings

public CallSettings DeleteOccurrenceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.DeleteOccurrence and GrafeasClient.DeleteOccurrenceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 30 seconds.

GetNoteSettings

public CallSettings GetNoteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.GetNote and GrafeasClient.GetNoteAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 30 seconds.

GetOccurrenceNoteSettings

public CallSettings GetOccurrenceNoteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.GetOccurrenceNote and GrafeasClient.GetOccurrenceNoteAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 30 seconds.

GetOccurrenceSettings

public CallSettings GetOccurrenceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.GetOccurrence and GrafeasClient.GetOccurrenceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 30 seconds.

ListNoteOccurrencesSettings

public CallSettings ListNoteOccurrencesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.ListNoteOccurrences and GrafeasClient.ListNoteOccurrencesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 30 seconds.

ListNotesSettings

public CallSettings ListNotesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.ListNotes and GrafeasClient.ListNotesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 30 seconds.

ListOccurrencesSettings

public CallSettings ListOccurrencesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.ListOccurrences and GrafeasClient.ListOccurrencesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 30 seconds.

UpdateNoteSettings

public CallSettings UpdateNoteSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.UpdateNote and GrafeasClient.UpdateNoteAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

UpdateOccurrenceSettings

public CallSettings UpdateOccurrenceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GrafeasClient.UpdateOccurrence and GrafeasClient.UpdateOccurrenceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

Methods

Clone()

public GrafeasSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
GrafeasSettings

A deep clone of this GrafeasSettings object.

GetDefault()

public static GrafeasSettings GetDefault()

Get a new instance of the default GrafeasSettings.

Returns
TypeDescription
GrafeasSettings

A new instance of the default GrafeasSettings.