Class ArtifactRegistrySettings (1.0.0)

public sealed class ArtifactRegistrySettings : ServiceSettingsBase

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

GetRepositorySettings

public CallSettings GetRepositorySettings { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.