Struct google_api_proto::google::cloud::discoveryengine::v1alpha::BigQuerySource
source · pub struct BigQuerySource {
pub project_id: String,
pub dataset_id: String,
pub table_id: String,
pub gcs_staging_dir: String,
pub data_schema: String,
pub partition: Option<Partition>,
}
Expand description
BigQuery source import data from.
Fields§
§project_id: String
The project ID or the project number that contains the BigQuery source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
dataset_id: String
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
table_id: String
Required. The BigQuery table to copy the data from with a length limit of 1,024 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 BigQuery export to a specific Cloud Storage directory.
data_schema: String
The schema to use when parsing the data from the source.
Supported values for user event imports:
user_event
(default): One [UserEvent][google.cloud.discoveryengine.v1alpha.UserEvent] per row.
Supported values for document imports:
document
(default): One [Document][google.cloud.discoveryengine.v1alpha.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1alpha.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1alpha.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1alpha.Document.struct_data].custom
: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1alpha.Schema] of the data store. This can only be used by the GENERIC Data Store vertical.
partition: Option<Partition>
BigQuery table partition info. Leave this empty if the BigQuery table is not partitioned.
Trait Implementations§
source§impl Clone for BigQuerySource
impl Clone for BigQuerySource
source§fn clone(&self) -> BigQuerySource
fn clone(&self) -> BigQuerySource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BigQuerySource
impl Debug for BigQuerySource
source§impl Default for BigQuerySource
impl Default for BigQuerySource
source§impl Message for BigQuerySource
impl Message for BigQuerySource
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 BigQuerySource
impl PartialEq for BigQuerySource
source§fn eq(&self, other: &BigQuerySource) -> bool
fn eq(&self, other: &BigQuerySource) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BigQuerySource
Auto Trait Implementations§
impl Freeze for BigQuerySource
impl RefUnwindSafe for BigQuerySource
impl Send for BigQuerySource
impl Sync for BigQuerySource
impl Unpin for BigQuerySource
impl UnwindSafe for BigQuerySource
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