Struct google_api_proto::google::storagetransfer::v1::S3CompatibleMetadata
source · pub struct S3CompatibleMetadata {
pub auth_method: i32,
pub request_model: i32,
pub protocol: i32,
pub list_api: i32,
}
Expand description
S3CompatibleMetadata contains the metadata fields that apply to the basic types of S3-compatible data providers.
Fields§
§auth_method: i32
Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use.
request_model: i32
Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used.
protocol: i32
Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used.
list_api: i32
The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use.
Implementations§
source§impl S3CompatibleMetadata
impl S3CompatibleMetadata
sourcepub fn auth_method(&self) -> AuthMethod
pub fn auth_method(&self) -> AuthMethod
Returns the enum value of auth_method
, or the default if the field is set to an invalid enum value.
sourcepub fn set_auth_method(&mut self, value: AuthMethod)
pub fn set_auth_method(&mut self, value: AuthMethod)
Sets auth_method
to the provided enum value.
sourcepub fn request_model(&self) -> RequestModel
pub fn request_model(&self) -> RequestModel
Returns the enum value of request_model
, or the default if the field is set to an invalid enum value.
sourcepub fn set_request_model(&mut self, value: RequestModel)
pub fn set_request_model(&mut self, value: RequestModel)
Sets request_model
to the provided enum value.
sourcepub fn protocol(&self) -> NetworkProtocol
pub fn protocol(&self) -> NetworkProtocol
Returns the enum value of protocol
, or the default if the field is set to an invalid enum value.
sourcepub fn set_protocol(&mut self, value: NetworkProtocol)
pub fn set_protocol(&mut self, value: NetworkProtocol)
Sets protocol
to the provided enum value.
sourcepub fn list_api(&self) -> ListApi
pub fn list_api(&self) -> ListApi
Returns the enum value of list_api
, or the default if the field is set to an invalid enum value.
sourcepub fn set_list_api(&mut self, value: ListApi)
pub fn set_list_api(&mut self, value: ListApi)
Sets list_api
to the provided enum value.
Trait Implementations§
source§impl Clone for S3CompatibleMetadata
impl Clone for S3CompatibleMetadata
source§fn clone(&self) -> S3CompatibleMetadata
fn clone(&self) -> S3CompatibleMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3CompatibleMetadata
impl Debug for S3CompatibleMetadata
source§impl Default for S3CompatibleMetadata
impl Default for S3CompatibleMetadata
source§impl Message for S3CompatibleMetadata
impl Message for S3CompatibleMetadata
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 S3CompatibleMetadata
impl PartialEq for S3CompatibleMetadata
source§fn eq(&self, other: &S3CompatibleMetadata) -> bool
fn eq(&self, other: &S3CompatibleMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for S3CompatibleMetadata
impl StructuralPartialEq for S3CompatibleMetadata
Auto Trait Implementations§
impl Freeze for S3CompatibleMetadata
impl RefUnwindSafe for S3CompatibleMetadata
impl Send for S3CompatibleMetadata
impl Sync for S3CompatibleMetadata
impl Unpin for S3CompatibleMetadata
impl UnwindSafe for S3CompatibleMetadata
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