public sealed class DeveloperConnectSettings : ServiceSettingsBaseReference documentation and code samples for the Developer Connect v1 API class DeveloperConnectSettings.
Settings for DeveloperConnectClient instances.
Namespace
Google.Cloud.DeveloperConnect.V1Assembly
Google.Cloud.DeveloperConnect.V1.dll
Constructors
DeveloperConnectSettings()
public DeveloperConnectSettings()Constructs a new DeveloperConnectSettings object with default settings.
Properties
CreateConnectionOperationsSettings
public OperationsSettings CreateConnectionOperationsSettings { get; set; }Long Running Operation settings for calls to DeveloperConnectClient.CreateConnection and
DeveloperConnectClient.CreateConnectionAsync.
| Property Value | |
|---|---|
| Type | Description |
OperationsSettings |
|
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
CreateConnectionSettings
public CallSettings CreateConnectionSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.CreateConnection and DeveloperConnectClient.CreateConnectionAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
CreateGitRepositoryLinkOperationsSettings
public OperationsSettings CreateGitRepositoryLinkOperationsSettings { get; set; }Long Running Operation settings for calls to DeveloperConnectClient.CreateGitRepositoryLink and
DeveloperConnectClient.CreateGitRepositoryLinkAsync.
| Property Value | |
|---|---|
| Type | Description |
OperationsSettings |
|
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
CreateGitRepositoryLinkSettings
public CallSettings CreateGitRepositoryLinkSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.CreateGitRepositoryLink and
DeveloperConnectClient.CreateGitRepositoryLinkAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
DeleteConnectionOperationsSettings
public OperationsSettings DeleteConnectionOperationsSettings { get; set; }Long Running Operation settings for calls to DeveloperConnectClient.DeleteConnection and
DeveloperConnectClient.DeleteConnectionAsync.
| Property Value | |
|---|---|
| Type | Description |
OperationsSettings |
|
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
DeleteConnectionSettings
public CallSettings DeleteConnectionSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.DeleteConnection and DeveloperConnectClient.DeleteConnectionAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
DeleteGitRepositoryLinkOperationsSettings
public OperationsSettings DeleteGitRepositoryLinkOperationsSettings { get; set; }Long Running Operation settings for calls to DeveloperConnectClient.DeleteGitRepositoryLink and
DeveloperConnectClient.DeleteGitRepositoryLinkAsync.
| Property Value | |
|---|---|
| Type | Description |
OperationsSettings |
|
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
DeleteGitRepositoryLinkSettings
public CallSettings DeleteGitRepositoryLinkSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.DeleteGitRepositoryLink and
DeveloperConnectClient.DeleteGitRepositoryLinkAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
FetchGitHubInstallationsSettings
public CallSettings FetchGitHubInstallationsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.FetchGitHubInstallations and
DeveloperConnectClient.FetchGitHubInstallationsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
FetchGitRefsSettings
public CallSettings FetchGitRefsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.FetchGitRefs and DeveloperConnectClient.FetchGitRefsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
FetchLinkableGitRepositoriesSettings
public CallSettings FetchLinkableGitRepositoriesSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.FetchLinkableGitRepositories and
DeveloperConnectClient.FetchLinkableGitRepositoriesAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
FetchReadTokenSettings
public CallSettings FetchReadTokenSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.FetchReadToken and DeveloperConnectClient.FetchReadTokenAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
FetchReadWriteTokenSettings
public CallSettings FetchReadWriteTokenSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.FetchReadWriteToken and DeveloperConnectClient.FetchReadWriteTokenAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetConnectionSettings
public CallSettings GetConnectionSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.GetConnection and DeveloperConnectClient.GetConnectionAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetGitRepositoryLinkSettings
public CallSettings GetGitRepositoryLinkSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.GetGitRepositoryLink and DeveloperConnectClient.GetGitRepositoryLinkAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListConnectionsSettings
public CallSettings ListConnectionsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.ListConnections and DeveloperConnectClient.ListConnectionsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListGitRepositoryLinksSettings
public CallSettings ListGitRepositoryLinksSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.ListGitRepositoryLinks and
DeveloperConnectClient.ListGitRepositoryLinksAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- No timeout is applied.
LocationsSettings
public LocationsSettings LocationsSettings { get; set; }The settings to use for the LocationsClient associated with the client.
| Property Value | |
|---|---|
| Type | Description |
LocationsSettings |
|
UpdateConnectionOperationsSettings
public OperationsSettings UpdateConnectionOperationsSettings { get; set; }Long Running Operation settings for calls to DeveloperConnectClient.UpdateConnection and
DeveloperConnectClient.UpdateConnectionAsync.
| Property Value | |
|---|---|
| Type | Description |
OperationsSettings |
|
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
UpdateConnectionSettings
public CallSettings UpdateConnectionSettings { get; set; }CallSettings for synchronous and asynchronous calls to
DeveloperConnectClient.UpdateConnection and DeveloperConnectClient.UpdateConnectionAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
Methods
Clone()
public DeveloperConnectSettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectSettings |
A deep clone of this DeveloperConnectSettings object. |
GetDefault()
public static DeveloperConnectSettings GetDefault()Get a new instance of the default DeveloperConnectSettings.
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectSettings |
A new instance of the default DeveloperConnectSettings. |