Class Repository
A Repository for storing artifacts with a specific format.
Implements
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1beta2.Data
Assembly: Google.Apis.ArtifactRegistry.v1beta2.dll
Syntax
public class Repository : IDirectResponseSchema
Properties
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 |
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 |
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 |
SatisfiesPzi
Output only. If set, the repository satisfies physical zone isolation.
Declaration
[JsonProperty("satisfiesPzi")]
public virtual bool? SatisfiesPzi { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SatisfiesPzs
Output only. If set, the repository satisfies physical zone separation.
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 |