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.
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.
The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer. If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both.
Check the LoadBalancingScheme enum for the list of possible values.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003eThis webpage provides comprehensive reference documentation for the \u003ccode\u003eBackendBucket\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackendBucket\u003c/code\u003e class represents a Cloud Storage Bucket resource that can be referenced by a URL map of a load balancer, allowing integration with Cloud CDN and other features.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details the class's inheritance, implemented interfaces (\u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e), constructors, and all its properties, such as \u003ccode\u003eBucketName\u003c/code\u003e, \u003ccode\u003eCdnPolicy\u003c/code\u003e, \u003ccode\u003eCompressionMode\u003c/code\u003e, and \u003ccode\u003eEnableCdn\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the \u003ccode\u003eBackendBucket\u003c/code\u003e class are available, with version 3.6.0 being the latest, and other versions listed ranging from 3.5.0 to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe properties of the \u003ccode\u003eBackendBucket\u003c/code\u003e class include optional properties, such as a user-defined description, and output-only fields, like the unique ID, creation timestamp, and server-defined URL.\u003c/p\u003e\n"]]],[],null,["# Compute Engine v1 API - Class BackendBucket (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.BackendBucket)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.12.0/Google.Cloud.Compute.V1.BackendBucket)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.11.0/Google.Cloud.Compute.V1.BackendBucket)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.10.0/Google.Cloud.Compute.V1.BackendBucket)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.9.0/Google.Cloud.Compute.V1.BackendBucket)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.8.0/Google.Cloud.Compute.V1.BackendBucket)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.7.0/Google.Cloud.Compute.V1.BackendBucket)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.6.0/Google.Cloud.Compute.V1.BackendBucket)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.5.0/Google.Cloud.Compute.V1.BackendBucket)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.4.0/Google.Cloud.Compute.V1.BackendBucket)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.3.0/Google.Cloud.Compute.V1.BackendBucket)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.2.0/Google.Cloud.Compute.V1.BackendBucket)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.1.0/Google.Cloud.Compute.V1.BackendBucket)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.0.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.17.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.16.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.15.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.14.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.13.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.12.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.11.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.10.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.9.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.8.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.7.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.6.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.5.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.4.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.3.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.2.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.1.0/Google.Cloud.Compute.V1.BackendBucket)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.0.0/Google.Cloud.Compute.V1.BackendBucket)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.4.0/Google.Cloud.Compute.V1.BackendBucket)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.3.0/Google.Cloud.Compute.V1.BackendBucket)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.2.0/Google.Cloud.Compute.V1.BackendBucket)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.1.0/Google.Cloud.Compute.V1.BackendBucket)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.0.0/Google.Cloud.Compute.V1.BackendBucket) \n\n public sealed class BackendBucket : IMessage\u003cBackendBucket\u003e, IEquatable\u003cBackendBucket\u003e, IDeepCloneable\u003cBackendBucket\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Compute Engine v1 API class BackendBucket.\n\nRepresents 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. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BackendBucket \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BackendBucket](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.BackendBucket), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BackendBucket](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.BackendBucket), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BackendBucket](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.BackendBucket), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Compute.V1](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Compute.V1.dll\n\nConstructors\n------------\n\n### BackendBucket()\n\n public BackendBucket()\n\n### BackendBucket(BackendBucket)\n\n public BackendBucket(BackendBucket other)\n\nProperties\n----------\n\n### BucketName\n\n public string BucketName { get; set; }\n\nCloud Storage bucket name.\n\n### CdnPolicy\n\n public BackendBucketCdnPolicy CdnPolicy { get; set; }\n\nCloud CDN configuration for this BackendBucket.\n\n### CompressionMode\n\n public string CompressionMode { get; set; }\n\nCompress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.\nCheck the CompressionMode enum for the list of possible values.\n\n### CreationTimestamp\n\n public string CreationTimestamp { get; set; }\n\n\\[Output Only\\] Creation timestamp in RFC3339 text format.\n\n### CustomResponseHeaders\n\n public RepeatedField\u003cstring\u003e CustomResponseHeaders { get; }\n\nHeaders that the Application Load Balancer should add to proxied responses.\n\n### Description\n\n public string Description { get; set; }\n\nAn optional textual description of the resource; provided by the client when the resource is created.\n\n### EdgeSecurityPolicy\n\n public string EdgeSecurityPolicy { get; set; }\n\n\\[Output Only\\] The resource URL for the edge security policy associated with this backend bucket.\n\n### EnableCdn\n\n public bool EnableCdn { get; set; }\n\nIf true, enable Cloud CDN for this BackendBucket.\n\n### HasBucketName\n\n public bool HasBucketName { get; }\n\nGets whether the \"bucket_name\" field is set\n\n### HasCompressionMode\n\n public bool HasCompressionMode { get; }\n\nGets whether the \"compression_mode\" field is set\n\n### HasCreationTimestamp\n\n public bool HasCreationTimestamp { get; }\n\nGets whether the \"creation_timestamp\" field is set\n\n### HasDescription\n\n public bool HasDescription { get; }\n\nGets whether the \"description\" field is set\n\n### HasEdgeSecurityPolicy\n\n public bool HasEdgeSecurityPolicy { get; }\n\nGets whether the \"edge_security_policy\" field is set\n\n### HasEnableCdn\n\n public bool HasEnableCdn { get; }\n\nGets whether the \"enable_cdn\" field is set\n\n### HasId\n\n public bool HasId { get; }\n\nGets whether the \"id\" field is set\n\n### HasKind\n\n public bool HasKind { get; }\n\nGets whether the \"kind\" field is set\n\n### HasLoadBalancingScheme\n\n public bool HasLoadBalancingScheme { get; }\n\nGets whether the \"load_balancing_scheme\" field is set\n\n### HasName\n\n public bool HasName { get; }\n\nGets whether the \"name\" field is set\n\n### HasSelfLink\n\n public bool HasSelfLink { get; }\n\nGets whether the \"self_link\" field is set\n\n### Id\n\n public ulong Id { get; set; }\n\n\\[Output Only\\] Unique identifier for the resource; defined by the server.\n\n### Kind\n\n public string Kind { get; set; }\n\nType of the resource.\n\n### LoadBalancingScheme\n\n public string LoadBalancingScheme { get; set; }\n\nThe value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer. If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both.\nCheck the LoadBalancingScheme enum for the list of possible values.\n\n### Name\n\n public string Name { get; set; }\n\nName 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.\n\n### Params\n\n public BackendBucketParams Params { get; set; }\n\nInput only. \\[Input Only\\] Additional params passed with the request, but not persisted as part of resource payload.\n\n### SelfLink\n\n public string SelfLink { get; set; }\n\n\\[Output Only\\] Server-defined URL for the resource.\n\n### UsedBy\n\n public RepeatedField\u003cBackendBucketUsedBy\u003e UsedBy { get; }\n\n\\[Output Only\\] List of resources referencing that backend bucket."]]