Compute Engine v1 API - Class BackendBucket (3.1.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
Name Description
other BackendBucket

Properties

BucketName

public string BucketName { get; set; }

Cloud Storage bucket name.

Property Value
Type Description
string

CdnPolicy

public BackendBucketCdnPolicy CdnPolicy { get; set; }

Cloud CDN configuration for this BackendBucket.

Property Value
Type Description
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
Type Description
string

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
Type Description
string

CustomResponseHeaders

public RepeatedField<string> CustomResponseHeaders { get; }

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

Property Value
Type Description
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
Type Description
string

EdgeSecurityPolicy

public string EdgeSecurityPolicy { get; set; }

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

Property Value
Type Description
string

EnableCdn

public bool EnableCdn { get; set; }

If true, enable Cloud CDN for this BackendBucket.

Property Value
Type Description
bool

HasBucketName

public bool HasBucketName { get; }

Gets whether the "bucket_name" field is set

Property Value
Type Description
bool

HasCompressionMode

public bool HasCompressionMode { get; }

Gets whether the "compression_mode" field is set

Property Value
Type Description
bool

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
Type Description
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
Type Description
bool

HasEdgeSecurityPolicy

public bool HasEdgeSecurityPolicy { get; }

Gets whether the "edge_security_policy" field is set

Property Value
Type Description
bool

HasEnableCdn

public bool HasEnableCdn { get; }

Gets whether the "enable_cdn" field is set

Property Value
Type Description
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
Type Description
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
Type Description
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
Type Description
bool

Id

public ulong Id { get; set; }

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

Property Value
Type Description
ulong

Kind

public string Kind { get; set; }

Type of the resource.

Property Value
Type Description
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
Type Description
string
public string SelfLink { get; set; }

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

Property Value
Type Description
string

UsedBy

public RepeatedField<BackendBucketUsedBy> UsedBy { get; }

[Output Only] List of resources referencing that backend bucket.

Property Value
Type Description
RepeatedFieldBackendBucketUsedBy