Class Repository
A Repository for storing artifacts with a specific format.
Implements
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1.Data
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class Repository : IDirectResponseSchema
Properties
CleanupPolicies
Optional. Cleanup policies for this repository. Cleanup policies indicate when certain package versions can be automatically deleted. Map keys are policy IDs supplied by users during policy creation. They must unique within a repository and be under 128 characters in length.
Declaration
[JsonProperty("cleanupPolicies")]
public virtual IDictionary<string, CleanupPolicy> CleanupPolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, CleanupPolicy> |
CleanupPolicyDryRun
Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.
Declaration
[JsonProperty("cleanupPolicyDryRun")]
public virtual bool? CleanupPolicyDryRun { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The time when the repository was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
The user-provided description of the repository.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisallowUnspecifiedMode
Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.
Declaration
[JsonProperty("disallowUnspecifiedMode")]
public virtual bool? DisallowUnspecifiedMode { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
DockerConfig
Docker repository config contains repository level configuration for the repositories of docker type.
Declaration
[JsonProperty("dockerConfig")]
public virtual DockerRepositoryConfig DockerConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| DockerRepositoryConfig |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Format
Optional. The format of packages that are stored in the repository.
Declaration
[JsonProperty("format")]
public virtual string Format { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
KmsKeyName
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.
Declaration
[JsonProperty("kmsKeyName")]
public virtual string KmsKeyName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Labels
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.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
MavenConfig
Maven repository config contains repository level configuration for the repositories of maven type.
Declaration
[JsonProperty("mavenConfig")]
public virtual MavenRepositoryConfig MavenConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| MavenRepositoryConfig |
Mode
Optional. The mode of the repository.
Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
The name of the repository, for example: projects/p1/locations/us-central1/repositories/repo1. For each
location in a project, repository names must be unique.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RegistryUri
Output only. The repository endpoint, for example: us-docker.pkg.dev/my-proj/my-repo.
Declaration
[JsonProperty("registryUri")]
public virtual string RegistryUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RemoteRepositoryConfig
Configuration specific for a Remote Repository.
Declaration
[JsonProperty("remoteRepositoryConfig")]
public virtual RemoteRepositoryConfig RemoteRepositoryConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| RemoteRepositoryConfig |
SatisfiesPzi
Output only. Whether or not this repository satisfies PZI.
Declaration
[JsonProperty("satisfiesPzi")]
public virtual bool? SatisfiesPzi { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
SatisfiesPzs
Output only. Whether or not this repository satisfies PZS.
Declaration
[JsonProperty("satisfiesPzs")]
public virtual bool? SatisfiesPzs { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
SizeBytes
Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
Declaration
[JsonProperty("sizeBytes")]
public virtual long? SizeBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The time when the repository was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VirtualRepositoryConfig
Configuration specific for a Virtual Repository.
Declaration
[JsonProperty("virtualRepositoryConfig")]
public virtual VirtualRepositoryConfig VirtualRepositoryConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| VirtualRepositoryConfig |
VulnerabilityScanningConfig
Optional. Config and state for vulnerability scanning of resources within this Repository.
Declaration
[JsonProperty("vulnerabilityScanningConfig")]
public virtual VulnerabilityScanningConfig VulnerabilityScanningConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| VulnerabilityScanningConfig |