Cloud Build v2 API - Class RepositoryManagerSettings (1.3.0)

public sealed class RepositoryManagerSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud Build v2 API class RepositoryManagerSettings.

Settings for RepositoryManagerClient instances.

Inheritance

object > ServiceSettingsBase > RepositoryManagerSettings

Namespace

Google.Cloud.CloudBuild.V2

Assembly

Google.Cloud.CloudBuild.V2.dll

Constructors

RepositoryManagerSettings()

public RepositoryManagerSettings()

Constructs a new RepositoryManagerSettings object with default settings.

Properties

BatchCreateRepositoriesOperationsSettings

public OperationsSettings BatchCreateRepositoriesOperationsSettings { get; set; }

Long Running Operation settings for calls to RepositoryManagerClient.BatchCreateRepositories and RepositoryManagerClient.BatchCreateRepositoriesAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

BatchCreateRepositoriesSettings

public CallSettings BatchCreateRepositoriesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RepositoryManagerClient.BatchCreateRepositories and RepositoryManagerClient.BatchCreateRepositoriesAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

CreateConnectionOperationsSettings

public OperationsSettings CreateConnectionOperationsSettings { get; set; }

Long Running Operation settings for calls to RepositoryManagerClient.CreateConnection and RepositoryManagerClient.CreateConnectionAsync.

Property Value
Type Description
OperationsSettings
Remarks

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 RepositoryManagerClient.CreateConnection and RepositoryManagerClient.CreateConnectionAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

CreateRepositoryOperationsSettings

public OperationsSettings CreateRepositoryOperationsSettings { get; set; }

Long Running Operation settings for calls to RepositoryManagerClient.CreateRepository and RepositoryManagerClient.CreateRepositoryAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateRepositorySettings

public CallSettings CreateRepositorySettings { get; set; }

CallSettings for synchronous and asynchronous calls to RepositoryManagerClient.CreateRepository and RepositoryManagerClient.CreateRepositoryAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

DeleteConnectionOperationsSettings

public OperationsSettings DeleteConnectionOperationsSettings { get; set; }

Long Running Operation settings for calls to RepositoryManagerClient.DeleteConnection and RepositoryManagerClient.DeleteConnectionAsync.

Property Value
Type Description
OperationsSettings
Remarks

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 RepositoryManagerClient.DeleteConnection and RepositoryManagerClient.DeleteConnectionAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

DeleteRepositoryOperationsSettings

public OperationsSettings DeleteRepositoryOperationsSettings { get; set; }

Long Running Operation settings for calls to RepositoryManagerClient.DeleteRepository and RepositoryManagerClient.DeleteRepositoryAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

DeleteRepositorySettings

public CallSettings DeleteRepositorySettings { get; set; }

CallSettings for synchronous and asynchronous calls to RepositoryManagerClient.DeleteRepository and RepositoryManagerClient.DeleteRepositoryAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

FetchGitRefsSettings

public CallSettings FetchGitRefsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RepositoryManagerClient.FetchGitRefs and RepositoryManagerClient.FetchGitRefsAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

FetchLinkableRepositoriesSettings

public CallSettings FetchLinkableRepositoriesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RepositoryManagerClient.FetchLinkableRepositories and RepositoryManagerClient.FetchLinkableRepositoriesAsync.

Property Value
Type Description
CallSettings
Remarks
  • 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 RepositoryManagerClient.FetchReadToken and RepositoryManagerClient.FetchReadTokenAsync.

Property Value
Type Description
CallSettings
Remarks
  • 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 RepositoryManagerClient.FetchReadWriteToken and RepositoryManagerClient.FetchReadWriteTokenAsync .

Property Value
Type Description
CallSettings
Remarks
  • 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 RepositoryManagerClient.GetConnection and RepositoryManagerClient.GetConnectionAsync.

Property Value
Type Description
CallSettings
Remarks
  • 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.

GetRepositorySettings

public CallSettings GetRepositorySettings { get; set; }

CallSettings for synchronous and asynchronous calls to RepositoryManagerClient.GetRepository and RepositoryManagerClient.GetRepositoryAsync.

Property Value
Type Description
CallSettings
Remarks
  • 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.

IAMPolicySettings

public IAMPolicySettings IAMPolicySettings { get; set; }

The settings to use for the IAMPolicyClient associated with the client.

Property Value
Type Description
IAMPolicySettings

ListConnectionsSettings

public CallSettings ListConnectionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RepositoryManagerClient.ListConnections and RepositoryManagerClient.ListConnectionsAsync.

Property Value
Type Description
CallSettings
Remarks
  • 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.

ListRepositoriesSettings

public CallSettings ListRepositoriesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to RepositoryManagerClient.ListRepositories and RepositoryManagerClient.ListRepositoriesAsync.

Property Value
Type Description
CallSettings
Remarks
  • 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.

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 RepositoryManagerClient.UpdateConnection and RepositoryManagerClient.UpdateConnectionAsync.

Property Value
Type Description
OperationsSettings
Remarks

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 RepositoryManagerClient.UpdateConnection and RepositoryManagerClient.UpdateConnectionAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 60 seconds.

Methods

Clone()

public RepositoryManagerSettings Clone()

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

Returns
Type Description
RepositoryManagerSettings

A deep clone of this RepositoryManagerSettings object.

GetDefault()

public static RepositoryManagerSettings GetDefault()

Get a new instance of the default RepositoryManagerSettings.

Returns
Type Description
RepositoryManagerSettings

A new instance of the default RepositoryManagerSettings.