Class File
Files store content that is potentially associated with Packages or Versions.
Implements
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1beta1.Data
Assembly: Google.Apis.ArtifactRegistry.v1beta1.dll
Syntax
public class File : 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 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 |
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 |