v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-131,0021,0174.3 MB
backendBuckets

Creates a BackendBucket resource in the specified project using the data included in the request.

post/projects/{project}/global/backendBuckets

Path parameters

projectstring required

Project ID for this request.

Query parameters

requestIdstring

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Request body

loadBalancingScheme'EXTERNAL_MANAGED' | 'INTERNAL_MANAGED'

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.

descriptionstring

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

customResponseHeadersstring[]

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

regionstring

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.

creationTimestampstring

[Output Only] Creation timestamp inRFC3339 text format.

bucketNamestring

Cloud Storage bucket name.

enableCdnboolean

If true, enable Cloud CDN for this BackendBucket.

kindstring

Output only. Type of the resource.

compressionMode'AUTOMATIC' | 'DISABLED'

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

namestring

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.

idstring uint64

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

edgeSecurityPolicystring

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

selfLinkstring

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

Response

Successful response