Struct google_api_proto::google::cloud::discoveryengine::v1::AlloyDbSource
source · pub struct AlloyDbSource {
pub project_id: String,
pub location_id: String,
pub cluster_id: String,
pub database_id: String,
pub table_id: String,
pub gcs_staging_dir: String,
}
Expand description
AlloyDB source import data from.
Fields§
§project_id: String
The project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
location_id: String
Required. The AlloyDB location to copy the data from with a length limit of 256 characters.
cluster_id: String
Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.
database_id: String
Required. The AlloyDB database to copy the data from with a length limit of 256 characters.
table_id: String
Required. The AlloyDB table to copy the data from with a length limit of 256 characters.
gcs_staging_dir: String
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the AlloyDB export to a specific Cloud Storage directory.
Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
Trait Implementations§
source§impl Clone for AlloyDbSource
impl Clone for AlloyDbSource
source§fn clone(&self) -> AlloyDbSource
fn clone(&self) -> AlloyDbSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AlloyDbSource
impl Debug for AlloyDbSource
source§impl Default for AlloyDbSource
impl Default for AlloyDbSource
source§impl Message for AlloyDbSource
impl Message for AlloyDbSource
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 AlloyDbSource
impl PartialEq for AlloyDbSource
source§fn eq(&self, other: &AlloyDbSource) -> bool
fn eq(&self, other: &AlloyDbSource) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AlloyDbSource
Auto Trait Implementations§
impl Freeze for AlloyDbSource
impl RefUnwindSafe for AlloyDbSource
impl Send for AlloyDbSource
impl Sync for AlloyDbSource
impl Unpin for AlloyDbSource
impl UnwindSafe for AlloyDbSource
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