Artifact Registry v1beta2 API - Class ArtifactRegistrySettings (2.0.0-beta02)

public sealed class ArtifactRegistrySettings : ServiceSettingsBase

Reference documentation and code samples for the Artifact Registry v1beta2 API class ArtifactRegistrySettings.

Settings for ArtifactRegistryClient instances.

Inheritance

Object > ServiceSettingsBase > ArtifactRegistrySettings

Namespace

Google.Cloud.ArtifactRegistry.V1Beta2

Assembly

Google.Cloud.ArtifactRegistry.V1Beta2.dll

Constructors

ArtifactRegistrySettings()

public ArtifactRegistrySettings()

Constructs a new ArtifactRegistrySettings object with default settings.

Properties

CreateRepositoryOperationsSettings

public OperationsSettings CreateRepositoryOperationsSettings { get; set; }

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

Property Value
TypeDescription
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 ArtifactRegistryClient.CreateRepository and ArtifactRegistryClient.CreateRepositoryAsync.

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

CreateTagSettings

public CallSettings CreateTagSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.CreateTag and ArtifactRegistryClient.CreateTagAsync.

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

DeletePackageOperationsSettings

public OperationsSettings DeletePackageOperationsSettings { get; set; }

Long Running Operation settings for calls to ArtifactRegistryClient.DeletePackage and ArtifactRegistryClient.DeletePackageAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

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

DeletePackageSettings

public CallSettings DeletePackageSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.DeletePackage and ArtifactRegistryClient.DeletePackageAsync.

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.
  • Timeout: 30 seconds.

DeleteRepositoryOperationsSettings

public OperationsSettings DeleteRepositoryOperationsSettings { get; set; }

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

Property Value
TypeDescription
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 ArtifactRegistryClient.DeleteRepository and ArtifactRegistryClient.DeleteRepositoryAsync.

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.
  • Timeout: 30 seconds.

DeleteTagSettings

public CallSettings DeleteTagSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.DeleteTag and ArtifactRegistryClient.DeleteTagAsync.

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.
  • Timeout: 30 seconds.

DeleteVersionOperationsSettings

public OperationsSettings DeleteVersionOperationsSettings { get; set; }

Long Running Operation settings for calls to ArtifactRegistryClient.DeleteVersion and ArtifactRegistryClient.DeleteVersionAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

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

DeleteVersionSettings

public CallSettings DeleteVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.DeleteVersion and ArtifactRegistryClient.DeleteVersionAsync.

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.
  • Timeout: 30 seconds.

GetFileSettings

public CallSettings GetFileSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetFile and ArtifactRegistryClient.GetFileAsync.

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.
  • Timeout: 30 seconds.

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetIamPolicy and ArtifactRegistryClient.GetIamPolicyAsync.

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.
  • Timeout: 30 seconds.

GetPackageSettings

public CallSettings GetPackageSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetPackage and ArtifactRegistryClient.GetPackageAsync.

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.
  • Timeout: 30 seconds.

GetProjectSettingsSettings

public CallSettings GetProjectSettingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetProjectSettings and ArtifactRegistryClient.GetProjectSettingsAsync.

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

GetRepositorySettings

public CallSettings GetRepositorySettings { get; set; }

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

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.
  • Timeout: 30 seconds.

GetTagSettings

public CallSettings GetTagSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetTag and ArtifactRegistryClient.GetTagAsync.

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.
  • Timeout: 30 seconds.

GetVersionSettings

public CallSettings GetVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetVersion and ArtifactRegistryClient.GetVersionAsync.

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.
  • Timeout: 30 seconds.

ImportAptArtifactsOperationsSettings

public OperationsSettings ImportAptArtifactsOperationsSettings { get; set; }

Long Running Operation settings for calls to ArtifactRegistryClient.ImportAptArtifacts and ArtifactRegistryClient.ImportAptArtifactsAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

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

ImportAptArtifactsSettings

public CallSettings ImportAptArtifactsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.ImportAptArtifacts and ArtifactRegistryClient.ImportAptArtifactsAsync.

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

ImportYumArtifactsOperationsSettings

public OperationsSettings ImportYumArtifactsOperationsSettings { get; set; }

Long Running Operation settings for calls to ArtifactRegistryClient.ImportYumArtifacts and ArtifactRegistryClient.ImportYumArtifactsAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

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

ImportYumArtifactsSettings

public CallSettings ImportYumArtifactsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.ImportYumArtifacts and ArtifactRegistryClient.ImportYumArtifactsAsync.

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

ListFilesSettings

public CallSettings ListFilesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.ListFiles and ArtifactRegistryClient.ListFilesAsync.

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.
  • Timeout: 30 seconds.

ListPackagesSettings

public CallSettings ListPackagesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.ListPackages and ArtifactRegistryClient.ListPackagesAsync.

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.
  • Timeout: 30 seconds.

ListRepositoriesSettings

public CallSettings ListRepositoriesSettings { get; set; }

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

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.
  • Timeout: 30 seconds.

ListTagsSettings

public CallSettings ListTagsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.ListTags and ArtifactRegistryClient.ListTagsAsync.

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.
  • Timeout: 30 seconds.

ListVersionsSettings

public CallSettings ListVersionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.ListVersions and ArtifactRegistryClient.ListVersionsAsync.

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.
  • Timeout: 30 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
TypeDescription
LocationsSettings

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.SetIamPolicy and ArtifactRegistryClient.SetIamPolicyAsync.

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.TestIamPermissions and ArtifactRegistryClient.TestIamPermissionsAsync.

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

UpdateProjectSettingsSettings

public CallSettings UpdateProjectSettingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.UpdateProjectSettings and ArtifactRegistryClient.UpdateProjectSettingsAsync .

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

UpdateRepositorySettings

public CallSettings UpdateRepositorySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.UpdateRepository and ArtifactRegistryClient.UpdateRepositoryAsync.

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

UpdateTagSettings

public CallSettings UpdateTagSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.UpdateTag and ArtifactRegistryClient.UpdateTagAsync.

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

Methods

Clone()

public ArtifactRegistrySettings Clone()

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

Returns
TypeDescription
ArtifactRegistrySettings

A deep clone of this ArtifactRegistrySettings object.

GetDefault()

public static ArtifactRegistrySettings GetDefault()

Get a new instance of the default ArtifactRegistrySettings.

Returns
TypeDescription
ArtifactRegistrySettings

A new instance of the default ArtifactRegistrySettings.