Compute Engine v1 API - Class BackendBucket (2.11.0)

public sealed class BackendBucket : IMessage<BackendBucket>, IEquatable<BackendBucket>, IDeepCloneable<BackendBucket>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class BackendBucket.

Represents a Cloud Storage Bucket resource. This Cloud Storage bucket resource is referenced by a URL map of a load balancer. For more information, read Backend Buckets.

Inheritance

object > BackendBucket

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

BackendBucket()

public BackendBucket()

BackendBucket(BackendBucket)

public BackendBucket(BackendBucket other)
Parameter
NameDescription
otherBackendBucket

Properties

BucketName

public string BucketName { get; set; }

Cloud Storage bucket name.

Property Value
TypeDescription
string

CdnPolicy

public BackendBucketCdnPolicy CdnPolicy { get; set; }

Cloud CDN configuration for this BackendBucket.

Property Value
TypeDescription
BackendBucketCdnPolicy

CompressionMode

public string CompressionMode { get; set; }

Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Check the CompressionMode enum for the list of possible values.

Property Value
TypeDescription
string

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
TypeDescription
string

CustomResponseHeaders

public RepeatedField<string> CustomResponseHeaders { get; }

Headers that the Application Load Balancer should add to proxied responses.

Property Value
TypeDescription
RepeatedFieldstring

Description

public string Description { get; set; }

An optional textual description of the resource; provided by the client when the resource is created.

Property Value
TypeDescription
string

EdgeSecurityPolicy

public string EdgeSecurityPolicy { get; set; }

[Output Only] The resource URL for the edge security policy associated with this backend bucket.

Property Value
TypeDescription
string

EnableCdn

public bool EnableCdn { get; set; }

If true, enable Cloud CDN for this BackendBucket.

Property Value
TypeDescription
bool

HasBucketName

public bool HasBucketName { get; }

Gets whether the "bucket_name" field is set

Property Value
TypeDescription
bool

HasCompressionMode

public bool HasCompressionMode { get; }

Gets whether the "compression_mode" field is set

Property Value
TypeDescription
bool

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
TypeDescription
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
TypeDescription
bool

HasEdgeSecurityPolicy

public bool HasEdgeSecurityPolicy { get; }

Gets whether the "edge_security_policy" field is set

Property Value
TypeDescription
bool

HasEnableCdn

public bool HasEnableCdn { get; }

Gets whether the "enable_cdn" field is set

Property Value
TypeDescription
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
bool

Id

public ulong Id { get; set; }

[Output Only] Unique identifier for the resource; defined by the server.

Property Value
TypeDescription
ulong

Kind

public string Kind { get; set; }

Type of the resource.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Property Value
TypeDescription
string
public string SelfLink { get; set; }

[Output Only] Server-defined URL for the resource.

Property Value
TypeDescription
string