Class Object
An object.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Storage.v1beta2.Data
Assembly: Google.Apis.Storage.v1beta2.dll
Syntax
public class Object : IDirectResponseSchema
Properties
Acl
Access controls on the object.
Declaration
[JsonProperty("acl")]
public virtual IList<ObjectAccessControl> Acl { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ObjectAccessControl> |
Bucket
The bucket containing this object.
Declaration
[JsonProperty("bucket")]
public virtual string Bucket { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CacheControl
Cache-Control directive for the object data.
Declaration
[JsonProperty("cacheControl")]
public virtual string CacheControl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ComponentCount
Number of underlying components that make up this object. Components are accumulated by compose operations and are limited to a count of 32.
Declaration
[JsonProperty("componentCount")]
public virtual int? ComponentCount { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ContentDisposition
Content-Disposition of the object data.
Declaration
[JsonProperty("contentDisposition")]
public virtual string ContentDisposition { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentEncoding
Content-Encoding of the object data.
Declaration
[JsonProperty("contentEncoding")]
public virtual string ContentEncoding { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentLanguage
Content-Language of the object data.
Declaration
[JsonProperty("contentLanguage")]
public virtual string ContentLanguage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentType
Content-Type of the object data.
Declaration
[JsonProperty("contentType")]
public virtual string ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Crc32c
CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64.
Declaration
[JsonProperty("crc32c")]
public virtual string Crc32c { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
HTTP 1.1 Entity tag for the object.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Generation
The content generation of this object. Used for object versioning.
Declaration
[JsonProperty("generation")]
public virtual long? Generation { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Id
The ID of the object.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Kind
The kind of item this is. For objects, this is always storage#object.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Md5Hash
MD5 hash of the data; encoded using base64.
Declaration
[JsonProperty("md5Hash")]
public virtual string Md5Hash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MediaLink
Media download link.
Declaration
[JsonProperty("mediaLink")]
public virtual string MediaLink { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Metadata
User-provided metadata, in key/value pairs.
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, string> Metadata { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> |
Metageneration
The generation of the metadata for this object at this generation. Used for metadata versioning. Has no meaning outside of the context of this generation.
Declaration
[JsonProperty("metageneration")]
public virtual long? Metageneration { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Name
The name of this object. Required if not specified by URL parameter.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Owner
The owner of the object. This will always be the uploader of the object.
Declaration
[JsonProperty("owner")]
public virtual Object.OwnerData Owner { get; set; }
Property Value
Type | Description |
---|---|
Object.OwnerData |
SelfLink
The link to this object.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Size
Content-Length of the data in bytes.
Declaration
[JsonProperty("size")]
public virtual ulong? Size { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
StorageClass
Storage class of the object.
Declaration
[JsonProperty("storageClass")]
public virtual string StorageClass { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TimeDeleted
System.DateTime representation of TimeDeletedRaw.
Declaration
[JsonIgnore]
public virtual DateTime? TimeDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
TimeDeletedRaw
Deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted.
Declaration
[JsonProperty("timeDeleted")]
public virtual string TimeDeletedRaw { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Updated
System.DateTime representation of UpdatedRaw.
Declaration
[JsonIgnore]
public virtual DateTime? Updated { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
UpdatedRaw
Modification time of the object metadata in RFC 3339 format.
Declaration
[JsonProperty("updated")]
public virtual string UpdatedRaw { get; set; }
Property Value
Type | Description |
---|---|
System.String |