Class Bucket
A bucket.
Inheritance
System.Object
Bucket
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Storage.v1beta1.Data
Assembly: Google.Apis.Storage.v1beta1.dll
Syntax
public class Bucket : IDirectResponseSchema
Properties
Acl
Access controls on the bucket.
Declaration
[JsonProperty("acl")]
public virtual IList<BucketAccessControl> Acl { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<BucketAccessControl> |
DefaultObjectAcl
Default access controls to apply to new objects when no ACL is provided.
Declaration
[JsonProperty("defaultObjectAcl")]
public virtual IList<ObjectAccessControl> DefaultObjectAcl { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ObjectAccessControl> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
The name of the bucket.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Kind
The kind of item this is. For buckets, this is always storage#bucket.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Location
The location of the bucket. Object data for objects in the bucket resides in physical storage in this location. Can be US or EU. Defaults to US.
Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Owner
The owner of the bucket. This will always be the project team's owner group.
Declaration
[JsonProperty("owner")]
public virtual Bucket.OwnerData Owner { get; set; }
Property Value
Type | Description |
---|---|
Bucket.OwnerData |
ProjectId
The project the bucket belongs to.
Declaration
[JsonProperty("projectId")]
public virtual ulong? ProjectId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
SelfLink
The URI of this bucket.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TimeCreated
System.DateTime representation of TimeCreatedRaw.
Declaration
[JsonIgnore]
public virtual DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
TimeCreatedRaw
Creation time of the bucket in RFC 3339 format.
Declaration
[JsonProperty("timeCreated")]
public virtual string TimeCreatedRaw { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Website
The bucket's website configuration.
Declaration
[JsonProperty("website")]
public virtual Bucket.WebsiteData Website { get; set; }
Property Value
Type | Description |
---|---|
Bucket.WebsiteData |