Class: Google::Cloud::Compute::V1::BackendBucket
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::BackendBucket
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
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.
Defined Under Namespace
Modules: CompressionMode
Instance Attribute Summary collapse
-
#bucket_name ⇒ ::String
Cloud Storage bucket name.
-
#cdn_policy ⇒ ::Google::Cloud::Compute::V1::BackendBucketCdnPolicy
Cloud CDN configuration for this BackendBucket.
-
#compression_mode ⇒ ::String
Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
-
#creation_timestamp ⇒ ::String
[Output Only] Creation timestamp in RFC3339 text format.
-
#custom_response_headers ⇒ ::Array<::String>
Headers that the Application Load Balancer should add to proxied responses.
-
#description ⇒ ::String
An optional textual description of the resource; provided by the client when the resource is created.
-
#edge_security_policy ⇒ ::String
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
-
#enable_cdn ⇒ ::Boolean
If true, enable Cloud CDN for this BackendBucket.
-
#id ⇒ ::Integer
[Output Only] Unique identifier for the resource; defined by the server.
-
#kind ⇒ ::String
Type of the resource.
-
#name ⇒ ::String
Name of the resource.
-
#self_link ⇒ ::String
[Output Only] Server-defined URL for the resource.
-
#used_by ⇒ ::Array<::Google::Cloud::Compute::V1::BackendBucketUsedBy>
[Output Only] List of resources referencing that backend bucket.
Instance Attribute Details
#bucket_name ⇒ ::String
Returns Cloud Storage bucket name.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |
#cdn_policy ⇒ ::Google::Cloud::Compute::V1::BackendBucketCdnPolicy
Returns Cloud CDN configuration for this BackendBucket.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |
#compression_mode ⇒ ::String
Returns 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.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |
#creation_timestamp ⇒ ::String
Returns [Output Only] Creation timestamp in RFC3339 text format.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |
#custom_response_headers ⇒ ::Array<::String>
Returns Headers that the Application Load Balancer should add to proxied responses.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |
#description ⇒ ::String
Returns An optional textual description of the resource; provided by the client when the resource is created.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |
#edge_security_policy ⇒ ::String
Returns [Output Only] The resource URL for the edge security policy associated with this backend bucket.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |
#enable_cdn ⇒ ::Boolean
Returns If true, enable Cloud CDN for this BackendBucket.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |
#id ⇒ ::Integer
Returns [Output Only] Unique identifier for the resource; defined by the server.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |
#kind ⇒ ::String
Returns Type of the resource.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |
#name ⇒ ::String
Returns 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.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |
#self_link ⇒ ::String
Returns [Output Only] Server-defined URL for the resource.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |
#used_by ⇒ ::Array<::Google::Cloud::Compute::V1::BackendBucketUsedBy>
Returns [Output Only] List of resources referencing that backend bucket.
3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 3404 class BackendBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. module CompressionMode # A value indicating that the enum field is not set. UNDEFINED_COMPRESSION_MODE = 0 # Automatically uses the best compression based on the Accept-Encoding header sent by the client. AUTOMATIC = 165_298_699 # Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. DISABLED = 516_696_700 end end |