Struct google_api_proto::google::cloud::compute::v1::Awsv4Signature
source · pub struct Awsv4Signature {
pub access_key: Option<String>,
pub access_key_id: Option<String>,
pub access_key_version: Option<String>,
pub origin_region: Option<String>,
}
Expand description
Messages
Contains the configurations necessary to generate a signature for access to private storage buckets that support Signature Version 4 for authentication. The service name for generating the authentication header will always default to ‘s3’.
Fields§
§access_key: Option<String>
The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly
access_key_id: Option<String>
The identifier of an access key used for s3 bucket authentication.
access_key_version: Option<String>
The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
origin_region: Option<String>
The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin. For example, “us-east-1” for AWS or “us-ashburn-1” for OCI.
Implementations§
source§impl Awsv4Signature
impl Awsv4Signature
sourcepub fn access_key_version(&self) -> &str
pub fn access_key_version(&self) -> &str
Returns the value of access_key_version
, or the default value if access_key_version
is unset.
sourcepub fn origin_region(&self) -> &str
pub fn origin_region(&self) -> &str
Returns the value of origin_region
, or the default value if origin_region
is unset.
sourcepub fn access_key_id(&self) -> &str
pub fn access_key_id(&self) -> &str
Returns the value of access_key_id
, or the default value if access_key_id
is unset.
sourcepub fn access_key(&self) -> &str
pub fn access_key(&self) -> &str
Returns the value of access_key
, or the default value if access_key
is unset.
Trait Implementations§
source§impl Clone for Awsv4Signature
impl Clone for Awsv4Signature
source§fn clone(&self) -> Awsv4Signature
fn clone(&self) -> Awsv4Signature
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Awsv4Signature
impl Debug for Awsv4Signature
source§impl Default for Awsv4Signature
impl Default for Awsv4Signature
source§impl Message for Awsv4Signature
impl Message for Awsv4Signature
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Awsv4Signature
impl PartialEq for Awsv4Signature
source§fn eq(&self, other: &Awsv4Signature) -> bool
fn eq(&self, other: &Awsv4Signature) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Awsv4Signature
Auto Trait Implementations§
impl Freeze for Awsv4Signature
impl RefUnwindSafe for Awsv4Signature
impl Send for Awsv4Signature
impl Sync for Awsv4Signature
impl Unpin for Awsv4Signature
impl UnwindSafe for Awsv4Signature
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request