Struct google_api_proto::google::cloud::discoveryengine::v1beta::CreateDataStoreRequest
source · pub struct CreateDataStoreRequest {
pub parent: String,
pub data_store: Option<DataStore>,
pub data_store_id: String,
pub create_advanced_site_search: bool,
pub skip_default_schema_creation: bool,
}
Expand description
Request for [DataStoreService.CreateDataStore][google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore] method.
Fields§
§parent: String
Required. The parent resource name, such as
projects/{project}/locations/{location}/collections/{collection}
.
data_store: Option<DataStore>
Required. The [DataStore][google.cloud.discoveryengine.v1beta.DataStore] to create.
data_store_id: String
Required. The ID to use for the [DataStore][google.cloud.discoveryengine.v1beta.DataStore], which will become the final component of the [DataStore][google.cloud.discoveryengine.v1beta.DataStore]’s resource name.
This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
create_advanced_site_search: bool
A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.
skip_default_schema_creation: bool
A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case.
If set to true, you must manually create a schema for the data store before any documents can be ingested.
This flag cannot be specified if data_store.starting_schema
is specified.
Trait Implementations§
source§impl Clone for CreateDataStoreRequest
impl Clone for CreateDataStoreRequest
source§fn clone(&self) -> CreateDataStoreRequest
fn clone(&self) -> CreateDataStoreRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDataStoreRequest
impl Debug for CreateDataStoreRequest
source§impl Default for CreateDataStoreRequest
impl Default for CreateDataStoreRequest
source§impl Message for CreateDataStoreRequest
impl Message for CreateDataStoreRequest
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 CreateDataStoreRequest
impl PartialEq for CreateDataStoreRequest
source§fn eq(&self, other: &CreateDataStoreRequest) -> bool
fn eq(&self, other: &CreateDataStoreRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateDataStoreRequest
Auto Trait Implementations§
impl Freeze for CreateDataStoreRequest
impl RefUnwindSafe for CreateDataStoreRequest
impl Send for CreateDataStoreRequest
impl Sync for CreateDataStoreRequest
impl Unpin for CreateDataStoreRequest
impl UnwindSafe for CreateDataStoreRequest
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