class Google::Apis::ComputeV1::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.
Attributes
Cloud Storage bucket name. Corresponds to the JSON property `bucketName` @return [String]
Message containing Cloud CDN configuration for a backend bucket. Corresponds to the JSON property `cdnPolicy` @return [Google::Apis::ComputeV1::BackendBucketCdnPolicy]
Compress text responses using Brotli or gzip compression, based on the client' s Accept-Encoding header. Corresponds to the JSON property `compressionMode` @return [String]
- Output Only
-
Creation timestamp in RFC3339 text format.
Corresponds to the JSON property `creationTimestamp` @return [String]
Headers that the HTTP/S load balancer should add to proxied responses. Corresponds to the JSON property `customResponseHeaders` @return [Array<String>]
An optional textual description of the resource; provided by the client when the resource is created. Corresponds to the JSON property `description` @return [String]
- Output Only
-
The resource URL for the edge security policy associated with
this backend bucket. Corresponds to the JSON property `edgeSecurityPolicy` @return [String]
If true, enable Cloud CDN for this BackendBucket
. Corresponds to the JSON property `enableCdn` @return [Boolean]
If true, enable Cloud CDN for this BackendBucket
. Corresponds to the JSON property `enableCdn` @return [Boolean]
- Output Only
-
Unique identifier for the resource; defined by the server.
Corresponds to the JSON property `id` @return [Fixnum]
Type of the resource. Corresponds to the JSON property `kind` @return [String]
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]*)?` 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. Corresponds to the JSON property `name` @return [String]
- Output Only
-
Server-defined URL for the resource.
Corresponds to the JSON property `selfLink` @return [String]
Public Class Methods
# File lib/google/apis/compute_v1/classes.rb, line 2680 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 2685 def update!(**args) @bucket_name = args[:bucket_name] if args.key?(:bucket_name) @cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy) @compression_mode = args[:compression_mode] if args.key?(:compression_mode) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @custom_response_headers = args[:custom_response_headers] if args.key?(:custom_response_headers) @description = args[:description] if args.key?(:description) @edge_security_policy = args[:edge_security_policy] if args.key?(:edge_security_policy) @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @self_link = args[:self_link] if args.key?(:self_link) end