Struct google_api_proto::google::cloud::discoveryengine::v1beta::CloudSqlSource
source · pub struct CloudSqlSource {
pub project_id: String,
pub instance_id: String,
pub database_id: String,
pub table_id: String,
pub gcs_staging_dir: String,
pub offload: bool,
}
Expand description
Cloud SQL source import data from.
Fields§
§project_id: String
The project ID that contains the Cloud SQL source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
instance_id: String
Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
database_id: String
Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
table_id: String
Required. The Cloud SQL 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 Cloud SQL export to a specific Cloud Storage directory.
Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
offload: bool
Option for serverless export. Enabling this option will incur additional cost. More info can be found here.
Trait Implementations§
source§impl Clone for CloudSqlSource
impl Clone for CloudSqlSource
source§fn clone(&self) -> CloudSqlSource
fn clone(&self) -> CloudSqlSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CloudSqlSource
impl Debug for CloudSqlSource
source§impl Default for CloudSqlSource
impl Default for CloudSqlSource
source§impl Message for CloudSqlSource
impl Message for CloudSqlSource
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 CloudSqlSource
impl PartialEq for CloudSqlSource
source§fn eq(&self, other: &CloudSqlSource) -> bool
fn eq(&self, other: &CloudSqlSource) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CloudSqlSource
Auto Trait Implementations§
impl Freeze for CloudSqlSource
impl RefUnwindSafe for CloudSqlSource
impl Send for CloudSqlSource
impl Sync for CloudSqlSource
impl Unpin for CloudSqlSource
impl UnwindSafe for CloudSqlSource
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