Artifact Registry v1 API - Class ArtifactRegistrySettings (2.9.0)

public sealed class ArtifactRegistrySettings : ServiceSettingsBase

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

Settings for ArtifactRegistryClient instances.

Inheritance

object > ServiceSettingsBase > ArtifactRegistrySettings

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

ArtifactRegistrySettings()

public ArtifactRegistrySettings()

Constructs a new ArtifactRegistrySettings object with default settings.

Properties

BatchDeleteVersionsOperationsSettings

public OperationsSettings BatchDeleteVersionsOperationsSettings { get; set; }

Long Running Operation settings for calls to ArtifactRegistryClient.BatchDeleteVersions and ArtifactRegistryClient.BatchDeleteVersionsAsync.

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.

BatchDeleteVersionsSettings

public CallSettings BatchDeleteVersionsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.BatchDeleteVersions and ArtifactRegistryClient.BatchDeleteVersionsAsync .

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

CreateAttachmentOperationsSettings

public OperationsSettings CreateAttachmentOperationsSettings { get; set; }

Long Running Operation settings for calls to ArtifactRegistryClient.CreateAttachment and ArtifactRegistryClient.CreateAttachmentAsync.

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.

CreateAttachmentSettings

public CallSettings CreateAttachmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.CreateAttachment and ArtifactRegistryClient.CreateAttachmentAsync.

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

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

CreateRuleSettings

public CallSettings CreateRuleSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.CreateRule and ArtifactRegistryClient.CreateRuleAsync.

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

CreateTagSettings

public CallSettings CreateTagSettings { get; set; }

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

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

DeleteAttachmentOperationsSettings

public OperationsSettings DeleteAttachmentOperationsSettings { get; set; }

Long Running Operation settings for calls to ArtifactRegistryClient.DeleteAttachment and ArtifactRegistryClient.DeleteAttachmentAsync.

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.

DeleteAttachmentSettings

public CallSettings DeleteAttachmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.DeleteAttachment and ArtifactRegistryClient.DeleteAttachmentAsync.

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

DeleteFileOperationsSettings

public OperationsSettings DeleteFileOperationsSettings { get; set; }

Long Running Operation settings for calls to ArtifactRegistryClient.DeleteFile and ArtifactRegistryClient.DeleteFileAsync.

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.

DeleteFileSettings

public CallSettings DeleteFileSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.DeleteFile and ArtifactRegistryClient.DeleteFileAsync.

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

DeletePackageOperationsSettings

public OperationsSettings DeletePackageOperationsSettings { get; set; }

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

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.

DeletePackageSettings

public CallSettings DeletePackageSettings { get; set; }

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

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

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

DeleteRuleSettings

public CallSettings DeleteRuleSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.DeleteRule and ArtifactRegistryClient.DeleteRuleAsync.

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

DeleteTagSettings

public CallSettings DeleteTagSettings { get; set; }

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

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

DeleteVersionOperationsSettings

public OperationsSettings DeleteVersionOperationsSettings { get; set; }

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

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.

DeleteVersionSettings

public CallSettings DeleteVersionSettings { get; set; }

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

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

GetAttachmentSettings

public CallSettings GetAttachmentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetAttachment and ArtifactRegistryClient.GetAttachmentAsync.

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

GetDockerImageSettings

public CallSettings GetDockerImageSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetDockerImage and ArtifactRegistryClient.GetDockerImageAsync.

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

GetFileSettings

public CallSettings GetFileSettings { get; set; }

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

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

GetIamPolicySettings

public CallSettings GetIamPolicySettings { get; set; }

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

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

GetMavenArtifactSettings

public CallSettings GetMavenArtifactSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetMavenArtifact and ArtifactRegistryClient.GetMavenArtifactAsync.

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

GetNpmPackageSettings

public CallSettings GetNpmPackageSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetNpmPackage and ArtifactRegistryClient.GetNpmPackageAsync.

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

GetPackageSettings

public CallSettings GetPackageSettings { get; set; }

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

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

GetProjectSettingsSettings

public CallSettings GetProjectSettingsSettings { get; set; }

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

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

GetPythonPackageSettings

public CallSettings GetPythonPackageSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetPythonPackage and ArtifactRegistryClient.GetPythonPackageAsync.

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

GetRepositorySettings

public CallSettings GetRepositorySettings { get; set; }

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

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

GetRuleSettings

public CallSettings GetRuleSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetRule and ArtifactRegistryClient.GetRuleAsync.

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

GetTagSettings

public CallSettings GetTagSettings { get; set; }

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

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

GetVPCSCConfigSettings

public CallSettings GetVPCSCConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.GetVPCSCConfig and ArtifactRegistryClient.GetVPCSCConfigAsync.

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

GetVersionSettings

public CallSettings GetVersionSettings { get; set; }

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

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

ImportAptArtifactsOperationsSettings

public OperationsSettings ImportAptArtifactsOperationsSettings { get; set; }

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

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.

ImportAptArtifactsSettings

public CallSettings ImportAptArtifactsSettings { get; set; }

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

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

ImportYumArtifactsOperationsSettings

public OperationsSettings ImportYumArtifactsOperationsSettings { get; set; }

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

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.

ImportYumArtifactsSettings

public CallSettings ImportYumArtifactsSettings { get; set; }

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

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

ListAttachmentsSettings

public CallSettings ListAttachmentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.ListAttachments and ArtifactRegistryClient.ListAttachmentsAsync.

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

ListDockerImagesSettings

public CallSettings ListDockerImagesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.ListDockerImages and ArtifactRegistryClient.ListDockerImagesAsync.

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

ListFilesSettings

public CallSettings ListFilesSettings { get; set; }

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

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

ListMavenArtifactsSettings

public CallSettings ListMavenArtifactsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.ListMavenArtifacts and ArtifactRegistryClient.ListMavenArtifactsAsync.

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

ListNpmPackagesSettings

public CallSettings ListNpmPackagesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.ListNpmPackages and ArtifactRegistryClient.ListNpmPackagesAsync.

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

ListPackagesSettings

public CallSettings ListPackagesSettings { get; set; }

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

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

ListPythonPackagesSettings

public CallSettings ListPythonPackagesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.ListPythonPackages and ArtifactRegistryClient.ListPythonPackagesAsync.

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

ListRepositoriesSettings

public CallSettings ListRepositoriesSettings { get; set; }

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

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

ListRulesSettings

public CallSettings ListRulesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.ListRules and ArtifactRegistryClient.ListRulesAsync.

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

ListTagsSettings

public CallSettings ListTagsSettings { get; set; }

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

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

ListVersionsSettings

public CallSettings ListVersionsSettings { get; set; }

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

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • 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

SetIamPolicySettings

public CallSettings SetIamPolicySettings { get; set; }

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

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

TestIamPermissionsSettings

public CallSettings TestIamPermissionsSettings { get; set; }

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

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

UpdateFileSettings

public CallSettings UpdateFileSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.UpdateFile and ArtifactRegistryClient.UpdateFileAsync.

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

UpdatePackageSettings

public CallSettings UpdatePackageSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.UpdatePackage and ArtifactRegistryClient.UpdatePackageAsync.

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

UpdateProjectSettingsSettings

public CallSettings UpdateProjectSettingsSettings { get; set; }

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

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

UpdateRepositorySettings

public CallSettings UpdateRepositorySettings { get; set; }

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

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

UpdateRuleSettings

public CallSettings UpdateRuleSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.UpdateRule and ArtifactRegistryClient.UpdateRuleAsync.

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

UpdateTagSettings

public CallSettings UpdateTagSettings { get; set; }

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

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

UpdateVPCSCConfigSettings

public CallSettings UpdateVPCSCConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.UpdateVPCSCConfig and ArtifactRegistryClient.UpdateVPCSCConfigAsync.

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

UpdateVersionSettings

public CallSettings UpdateVersionSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ArtifactRegistryClient.UpdateVersion and ArtifactRegistryClient.UpdateVersionAsync.

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

Methods

Clone()

public ArtifactRegistrySettings Clone()

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

Returns
Type Description
ArtifactRegistrySettings

A deep clone of this ArtifactRegistrySettings object.

GetDefault()

public static ArtifactRegistrySettings GetDefault()

Get a new instance of the default ArtifactRegistrySettings.

Returns
Type Description
ArtifactRegistrySettings

A new instance of the default ArtifactRegistrySettings.