Class Folder
A folder. Only available in buckets with hierarchical namespace enabled.
Implements
Inherited Members
Namespace: Google.Apis.Storage.v1.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class Folder : IDirectResponseSchema
Properties
Bucket
The name of the bucket containing this folder.
Declaration
[JsonProperty("bucket")]
public virtual string Bucket { get; set; }
Property Value
Type | Description |
---|---|
string |
CreateTime
DateTime representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual DateTime? CreateTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
The creation time of the folder in RFC 3339 format.
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 |
Id
The ID of the folder, including the bucket name, folder name.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
The kind of item this is. For folders, this is always storage#folder.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Metageneration
The version of the metadata for this folder. Used for preconditions and for detecting changes in metadata.
Declaration
[JsonProperty("metageneration")]
public virtual long? Metageneration { get; set; }
Property Value
Type | Description |
---|---|
long? |
Name
The name of the folder. Required if not specified by URL parameter.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PendingRenameInfo
Only present if the folder is part of an ongoing rename folder operation. Contains information which can be used to query the operation status.
Declaration
[JsonProperty("pendingRenameInfo")]
public virtual Folder.PendingRenameInfoData PendingRenameInfo { get; set; }
Property Value
Type | Description |
---|---|
Folder.PendingRenameInfoData |
SelfLink
The link to this folder.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
DateTime representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual DateTime? UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
The modification time of the folder metadata in RFC 3339 format.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |