Class GoogleDevtoolsArtifactregistryV1File
Files store content that is potentially associated with Packages or Versions.
Implements
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1.Data
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class GoogleDevtoolsArtifactregistryV1File : IDirectResponseSchema
Properties
Annotations
Optional. Client specified annotations.
Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
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 File was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { 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 |
FetchTime
object representation of FetchTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use FetchTimeDateTimeOffset instead.")]
public virtual object FetchTime { get; set; }
Property Value
Type | Description |
---|---|
object |
FetchTimeDateTimeOffset
DateTimeOffset representation of FetchTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? FetchTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
FetchTimeRaw
Output only. The time when the last attempt to refresh the file's data was made. Only set when the repository is remote.
Declaration
[JsonProperty("fetchTime")]
public virtual string FetchTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Hashes
The hashes of the file content.
Declaration
[JsonProperty("hashes")]
public virtual IList<Hash> Hashes { get; set; }
Property Value
Type | Description |
---|---|
IList<Hash> |
Name
The name of the file, for example:
projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt
. If the file ID part contains
slashes, they are escaped.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Owner
The name of the Package or Version that owns this file, if any.
Declaration
[JsonProperty("owner")]
public virtual string Owner { get; set; }
Property Value
Type | Description |
---|---|
string |
SizeBytes
The size of the File in bytes.
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 File was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |