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, readBackend Buckets.
Implements
Inherited Members
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class BackendBucket : IDirectResponseSchema
Properties
BucketName
Cloud Storage bucket name.
Declaration
[JsonProperty("bucketName")]
public virtual string BucketName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CdnPolicy
Cloud CDN configuration for this BackendBucket.
Declaration
[JsonProperty("cdnPolicy")]
public virtual BackendBucketCdnPolicy CdnPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| BackendBucketCdnPolicy |
CompressionMode
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
Declaration
[JsonProperty("compressionMode")]
public virtual string CompressionMode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CreationTimestamp
[Output Only] Creation timestamp inRFC3339 text format.
Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CustomResponseHeaders
Headers that the Application Load Balancer should add to proxied responses.
Declaration
[JsonProperty("customResponseHeaders")]
public virtual IList<string> CustomResponseHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Description
An optional textual description of the resource; provided by the client when the resource is created.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EdgeSecurityPolicy
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
Declaration
[JsonProperty("edgeSecurityPolicy")]
public virtual string EdgeSecurityPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EnableCdn
If true, enable Cloud CDN for this BackendBucket.
Declaration
[JsonProperty("enableCdn")]
public virtual bool? EnableCdn { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Id
[Output Only] Unique identifier for the resource; defined by the server.
Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
Kind
Output only. Type of the resource.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LoadBalancingScheme
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.
Declaration
[JsonProperty("loadBalancingScheme")]
public virtual string LoadBalancingScheme { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters
long, and comply withRFC1035. 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.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Params__
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
Declaration
[JsonProperty("params")]
public virtual BackendBucketParams Params__ { get; set; }
Property Value
| Type | Description |
|---|---|
| BackendBucketParams |
Region
Output only. [Output Only] URL of the region where the regional backend bucket resides. This field is not applicable to global backend buckets. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SelfLink
[Output Only] Server-defined URL for the resource.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
Declaration
[JsonProperty("selfLinkWithId")]
public virtual string SelfLinkWithId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UsedBy
Output only. [Output Only] List of resources referencing that backend bucket.
Declaration
[JsonProperty("usedBy")]
public virtual IList<BackendBucketUsedBy> UsedBy { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<BackendBucketUsedBy> |