Class Repository (1.0.0)

public sealed class Repository : IMessage<Repository>, IEquatable<Repository>, IDeepCloneable<Repository>, IBufferMessage, IMessage

A Repository for storing artifacts with a specific format.

Inheritance

Object > Repository

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

Repository()

public Repository()

Repository(Repository)

public Repository(Repository other)
Parameter
NameDescription
otherRepository

Properties

CreateTime

public Timestamp CreateTime { get; set; }

The time when the repository was created.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

The user-provided description of the repository.

Property Value
TypeDescription
String

Format

public Repository.Types.Format Format { get; set; }

The format of packages that are stored in the repository.

Property Value
TypeDescription
Repository.Types.Format

KmsKeyName

public string KmsKeyName { get; set; }

The Cloud KMS resource name of the customer managed encryption key that’s used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.

Property Value
TypeDescription
String

Labels

public MapField<string, string> Labels { get; }

Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.

Property Value
TypeDescription
MapField<String, String>

Name

public string Name { get; set; }

The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".

Property Value
TypeDescription
String

RepositoryName

public RepositoryName RepositoryName { get; set; }

RepositoryName-typed view over the Name resource name property.

Property Value
TypeDescription
RepositoryName

UpdateTime

public Timestamp UpdateTime { get; set; }

The time when the repository was last updated.

Property Value
TypeDescription
Timestamp