public sealed class GrafeasSettings : ServiceSettingsBase
Reference documentation and code samples for the Grafeas v1 API class GrafeasSettings.
Settings for GrafeasClient instances.
Namespace
Grafeas.V1Assembly
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
GrafeasSettings |
A deep clone of this GrafeasSettings object. |
GetDefault()
public static GrafeasSettings GetDefault()
Get a new instance of the default GrafeasSettings.
Returns | |
---|---|
Type | Description |
GrafeasSettings |
A new instance of the default GrafeasSettings. |