#[non_exhaustive]pub struct AsyncQueryReasoningEngineRequest {
pub name: String,
pub input_gcs_uri: String,
pub output_gcs_uri: String,
/* private fields */
}Available on crate feature
reasoning-engine-execution-service only.Expand description
Request message for ReasoningEngineExecutionService.AsyncQueryReasoningEngine.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The name of the ReasoningEngine resource to use.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
input_gcs_uri: StringOptional. Input Cloud Storage URI for the Async query.
output_gcs_uri: StringOptional. Output Cloud Storage URI for the Async query.
Implementations§
Source§impl AsyncQueryReasoningEngineRequest
impl AsyncQueryReasoningEngineRequest
Sourcepub fn set_input_gcs_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_input_gcs_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of input_gcs_uri.
§Example
ⓘ
let x = AsyncQueryReasoningEngineRequest::new().set_input_gcs_uri("example");Sourcepub fn set_output_gcs_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_output_gcs_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of output_gcs_uri.
§Example
ⓘ
let x = AsyncQueryReasoningEngineRequest::new().set_output_gcs_uri("example");Trait Implementations§
Source§impl Clone for AsyncQueryReasoningEngineRequest
impl Clone for AsyncQueryReasoningEngineRequest
Source§fn clone(&self) -> AsyncQueryReasoningEngineRequest
fn clone(&self) -> AsyncQueryReasoningEngineRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AsyncQueryReasoningEngineRequest
impl Default for AsyncQueryReasoningEngineRequest
Source§fn default() -> AsyncQueryReasoningEngineRequest
fn default() -> AsyncQueryReasoningEngineRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for AsyncQueryReasoningEngineRequest
impl PartialEq for AsyncQueryReasoningEngineRequest
Source§fn eq(&self, other: &AsyncQueryReasoningEngineRequest) -> bool
fn eq(&self, other: &AsyncQueryReasoningEngineRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AsyncQueryReasoningEngineRequest
Auto Trait Implementations§
impl Freeze for AsyncQueryReasoningEngineRequest
impl RefUnwindSafe for AsyncQueryReasoningEngineRequest
impl Send for AsyncQueryReasoningEngineRequest
impl Sync for AsyncQueryReasoningEngineRequest
impl Unpin for AsyncQueryReasoningEngineRequest
impl UnsafeUnpin for AsyncQueryReasoningEngineRequest
impl UnwindSafe for AsyncQueryReasoningEngineRequest
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
Mutably borrows from an owned value. Read more