Struct google_api_proto::google::storagetransfer::v1::AzureBlobStorageData
source · pub struct AzureBlobStorageData {
pub storage_account: String,
pub azure_credentials: Option<AzureCredentials>,
pub container: String,
pub path: String,
pub credentials_secret: String,
}
Expand description
An AzureBlobStorageData resource can be a data source, but not a data sink. An AzureBlobStorageData resource represents one Azure container. The storage account determines the Azure endpoint. In an AzureBlobStorageData resource, a blobs’s name is the Azure Blob Storage blob’s key name.
Fields§
§storage_account: String
Required. The name of the Azure Storage account.
azure_credentials: Option<AzureCredentials>
Required. Input only. Credentials used to authenticate API requests to Azure.
For information on our data retention policy for user credentials, see User credentials.
container: String
Required. The container to transfer from the Azure Storage account.
path: String
Root path to transfer objects.
Must be an empty string or full path name that ends with a ‘/’. This field is treated as an object prefix. As such, it should generally not begin with a ‘/’.
credentials_secret: String
Optional. The Resource name of a secret in Secret Manager.
The Azure SAS token must be stored in Secret Manager in JSON format:
{ “sas_token” : “SAS_TOKEN” }
[GoogleServiceAccount][google.storagetransfer.v1.GoogleServiceAccount] must
be granted roles/secretmanager.secretAccessor
for the resource.
See [Configure access to a source: Microsoft Azure Blob Storage] (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager) for more information.
If credentials_secret
is specified, do not specify
[azure_credentials][google.storagetransfer.v1.AzureBlobStorageData.azure_credentials].
Format: projects/{project_number}/secrets/{secret_name}
Trait Implementations§
source§impl Clone for AzureBlobStorageData
impl Clone for AzureBlobStorageData
source§fn clone(&self) -> AzureBlobStorageData
fn clone(&self) -> AzureBlobStorageData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AzureBlobStorageData
impl Debug for AzureBlobStorageData
source§impl Default for AzureBlobStorageData
impl Default for AzureBlobStorageData
source§impl Message for AzureBlobStorageData
impl Message for AzureBlobStorageData
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 AzureBlobStorageData
impl PartialEq for AzureBlobStorageData
source§fn eq(&self, other: &AzureBlobStorageData) -> bool
fn eq(&self, other: &AzureBlobStorageData) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AzureBlobStorageData
Auto Trait Implementations§
impl Freeze for AzureBlobStorageData
impl RefUnwindSafe for AzureBlobStorageData
impl Send for AzureBlobStorageData
impl Sync for AzureBlobStorageData
impl Unpin for AzureBlobStorageData
impl UnwindSafe for AzureBlobStorageData
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