pub struct BackendBucket {
pub bucket_name: Option<String>,
pub cdn_policy: Option<BackendBucketCdnPolicy>,
pub compression_mode: Option<String>,
pub creation_timestamp: Option<String>,
pub custom_response_headers: Option<Vec<String>>,
pub description: Option<String>,
pub edge_security_policy: Option<String>,
pub enable_cdn: Option<bool>,
pub id: Option<u64>,
pub kind: Option<String>,
pub name: Option<String>,
pub self_link: Option<String>,
}
Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- add signed url key backend buckets (none)
- delete backend buckets (none)
- delete signed url key backend buckets (none)
- get backend buckets (response)
- get iam policy backend buckets (none)
- insert backend buckets (request)
- list backend buckets (none)
- patch backend buckets (request)
- set edge security policy backend buckets (none)
- set iam policy backend buckets (none)
- test iam permissions backend buckets (none)
- update backend buckets (request)
Fields§
§bucket_name: Option<String>
Cloud Storage bucket name.
cdn_policy: Option<BackendBucketCdnPolicy>
Cloud CDN configuration for this BackendBucket.
compression_mode: Option<String>
Compress text responses using Brotli or gzip compression, based on the client’s Accept-Encoding header.
creation_timestamp: Option<String>
[Output Only] Creation timestamp in RFC3339 text format.
custom_response_headers: Option<Vec<String>>
Headers that the Application Load Balancer should add to proxied responses.
description: Option<String>
An optional textual description of the resource; provided by the client when the resource is created.
edge_security_policy: Option<String>
[Output Only] The resource URL for the edge security policy associated with this backend bucket.
enable_cdn: Option<bool>
If true, enable Cloud CDN for this BackendBucket.
id: Option<u64>
[Output Only] Unique identifier for the resource; defined by the server.
kind: Option<String>
Type of the resource.
name: Option<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.
self_link: Option<String>
[Output Only] Server-defined URL for the resource.
Trait Implementations§
Source§impl Clone for BackendBucket
impl Clone for BackendBucket
Source§fn clone(&self) -> BackendBucket
fn clone(&self) -> BackendBucket
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for BackendBucket
impl Debug for BackendBucket
Source§impl Default for BackendBucket
impl Default for BackendBucket
Source§fn default() -> BackendBucket
fn default() -> BackendBucket
Source§impl<'de> Deserialize<'de> for BackendBucket
impl<'de> Deserialize<'de> for BackendBucket
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for BackendBucket
impl Serialize for BackendBucket
impl RequestValue for BackendBucket
impl Resource for BackendBucket
impl ResponseResult for BackendBucket
Auto Trait Implementations§
impl Freeze for BackendBucket
impl RefUnwindSafe for BackendBucket
impl Send for BackendBucket
impl Sync for BackendBucket
impl Unpin for BackendBucket
impl UnwindSafe for BackendBucket
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more