Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::BackendBucket (v1.9.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bucket_name

def bucket_name() -> ::String
Returns
  • (::String) — Cloud Storage bucket name.

#bucket_name=

def bucket_name=(value) -> ::String
Parameter
  • value (::String) — Cloud Storage bucket name.
Returns
  • (::String) — Cloud Storage bucket name.

#cdn_policy

def cdn_policy() -> ::Google::Cloud::Compute::V1::BackendBucketCdnPolicy
Returns

#cdn_policy=

def cdn_policy=(value) -> ::Google::Cloud::Compute::V1::BackendBucketCdnPolicy
Parameter
Returns

#compression_mode

def compression_mode() -> ::String
Returns
  • (::String) — 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.

#compression_mode=

def compression_mode=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#creation_timestamp

def creation_timestamp() -> ::String
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#creation_timestamp=

def creation_timestamp=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Creation timestamp in RFC3339 text format.
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#custom_response_headers

def custom_response_headers() -> ::Array<::String>
Returns
  • (::Array<::String>) — Headers that the HTTP/S load balancer should add to proxied responses.

#custom_response_headers=

def custom_response_headers=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Headers that the HTTP/S load balancer should add to proxied responses.
Returns
  • (::Array<::String>) — Headers that the HTTP/S load balancer should add to proxied responses.

#description

def description() -> ::String
Returns
  • (::String) — An optional textual description of the resource; provided by the client when the resource is created.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — An optional textual description of the resource; provided by the client when the resource is created.
Returns
  • (::String) — An optional textual description of the resource; provided by the client when the resource is created.

#edge_security_policy

def edge_security_policy() -> ::String
Returns
  • (::String) — [Output Only] The resource URL for the edge security policy associated with this backend bucket.

#edge_security_policy=

def edge_security_policy=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The resource URL for the edge security policy associated with this backend bucket.
Returns
  • (::String) — [Output Only] The resource URL for the edge security policy associated with this backend bucket.

#enable_cdn

def enable_cdn() -> ::Boolean
Returns
  • (::Boolean) — If true, enable Cloud CDN for this BackendBucket.

#enable_cdn=

def enable_cdn=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, enable Cloud CDN for this BackendBucket.
Returns
  • (::Boolean) — If true, enable Cloud CDN for this BackendBucket.

#id

def id() -> ::Integer
Returns
  • (::Integer) — [Output Only] Unique identifier for the resource; defined by the server.

#id=

def id=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] Unique identifier for the resource; defined by the server.
Returns
  • (::Integer) — [Output Only] Unique identifier for the resource; defined by the server.

#kind

def kind() -> ::String
Returns
  • (::String) — Type of the resource.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — Type of the resource.
Returns
  • (::String) — Type of the resource.

#name

def name() -> ::String
Returns
  • (::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]*[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.

#name=

def name=(value) -> ::String
Parameter
  • value (::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]*[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.
Returns
  • (::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]*[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.
def self_link() -> ::String
Returns
  • (::String) — [Output Only] Server-defined URL for the resource.
def self_link=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Server-defined URL for the resource.
Returns
  • (::String) — [Output Only] Server-defined URL for the resource.