Class: Google::Cloud::Compute::V1::BackendBucket

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#bucket_name::String

Returns Cloud Storage bucket name.

Returns:

  • (::String)

    Cloud Storage bucket name.



2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2939

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.

Returns:



2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2939

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.

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.



2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2939

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.

Returns:

  • (::String)

    [Output Only] Creation timestamp in RFC3339 text format.



2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2939

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 HTTP/S load balancer should add to proxied responses.

Returns:

  • (::Array<::String>)

    Headers that the HTTP/S load balancer should add to proxied responses.



2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2939

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.

Returns:

  • (::String)

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



2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2939

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.

Returns:

  • (::String)

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



2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2939

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.

Returns:

  • (::Boolean)

    If true, enable Cloud CDN for this BackendBucket.



2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2939

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.

Returns:

  • (::Integer)

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



2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2939

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.

Returns:

  • (::String)

    Type of the resource.



2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2939

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.

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.



2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2939

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

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

Returns:

  • (::String)

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



2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2939

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