Class Bucket
A bucket.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Storage.v1beta2.Data
Assembly: Google.Apis.Storage.v1beta2.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> |
Cors
The bucket's Cross-Origin Resource Sharing (CORS) configuration.
Declaration
[JsonProperty("cors")]
public virtual IList<Bucket.CorsData> Cors { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Bucket.CorsData> |
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
HTTP 1.1 Entity tag for the bucket.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
The ID 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 |
Lifecycle
The bucket's lifecycle configuration. See object lifecycle management for more information.
Declaration
[JsonProperty("lifecycle")]
public virtual Bucket.LifecycleData Lifecycle { get; set; }
Property Value
Type | Description |
---|---|
Bucket.LifecycleData |
Location
The location of the bucket. Object data for objects in the bucket resides in physical storage within this region. Typical values are US and EU. Defaults to US. See the developer's guide for the authoritative list.
Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Logging
The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs.
Declaration
[JsonProperty("logging")]
public virtual Bucket.LoggingData Logging { get; set; }
Property Value
Type | Description |
---|---|
Bucket.LoggingData |
Metageneration
The metadata generation of this bucket.
Declaration
[JsonProperty("metageneration")]
public virtual long? Metageneration { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Name
The name of the bucket.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Owner
The owner of the bucket. This is always the project team's owner group.
Declaration
[JsonProperty("owner")]
public virtual Bucket.OwnerData Owner { get; set; }
Property Value
Type | Description |
---|---|
Bucket.OwnerData |
SelfLink
The URI of this bucket.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StorageClass
The bucket's storage class. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Typical values are STANDARD and DURABLE_REDUCED_AVAILABILITY. Defaults to STANDARD. See the developer's guide for the authoritative list.
Declaration
[JsonProperty("storageClass")]
public virtual string StorageClass { 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 |
Versioning
The bucket's versioning configuration.
Declaration
[JsonProperty("versioning")]
public virtual Bucket.VersioningData Versioning { get; set; }
Property Value
Type | Description |
---|---|
Bucket.VersioningData |
Website
The bucket's website configuration.
Declaration
[JsonProperty("website")]
public virtual Bucket.WebsiteData Website { get; set; }
Property Value
Type | Description |
---|---|
Bucket.WebsiteData |