Class BackendBucket (1.7.0)

BackendBucket(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

NameDescription
bucket_name str
Cloud Storage bucket name. This field is a member of oneof_ _bucket_name.
cdn_policy google.cloud.compute_v1.types.BackendBucketCdnPolicy
Cloud CDN configuration for this BackendBucket. This field is a member of oneof_ _cdn_policy.
compression_mode str
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. This field is a member of oneof_ _compression_mode.
creation_timestamp str
[Output Only] Creation timestamp in RFC3339 text format. This field is a member of oneof_ _creation_timestamp.
custom_response_headers MutableSequence[str]
Headers that the HTTP/S load balancer should add to proxied responses.
description str
An optional textual description of the resource; provided by the client when the resource is created. This field is a member of oneof_ _description.
edge_security_policy str
[Output Only] The resource URL for the edge security policy associated with this backend bucket. This field is a member of oneof_ _edge_security_policy.
enable_cdn bool
If true, enable Cloud CDN for this BackendBucket. This field is a member of oneof_ _enable_cdn.
id int
[Output Only] Unique identifier for the resource; defined by the server. This field is a member of oneof_ _id.
kind str
Type of the resource. This field is a member of oneof_ _kind.
name str
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. This field is a member of oneof_ _name.
self_link str
[Output Only] Server-defined URL for the resource. This field is a member of oneof_ _self_link.

Classes

CompressionMode

CompressionMode(value)

Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.