pub struct GoogleCloudDialogflowV2ImportAgentRequest {
pub agent_content: Option<Vec<u8>>,
pub agent_uri: Option<String>,
}
Expand description
The request message for Agents.ImportAgent.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- agent import projects (request)
- locations agent import projects (request)
Fields§
§agent_content: Option<Vec<u8>>
Zip compressed raw byte content for agent.
agent_uri: Option<String>
The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with “gs://”. Dialogflow performs a read operation for the Cloud Storage object on the caller’s behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2ImportAgentRequest
impl Clone for GoogleCloudDialogflowV2ImportAgentRequest
source§fn clone(&self) -> GoogleCloudDialogflowV2ImportAgentRequest
fn clone(&self) -> GoogleCloudDialogflowV2ImportAgentRequest
Returns a copy 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 GoogleCloudDialogflowV2ImportAgentRequest
impl Default for GoogleCloudDialogflowV2ImportAgentRequest
source§fn default() -> GoogleCloudDialogflowV2ImportAgentRequest
fn default() -> GoogleCloudDialogflowV2ImportAgentRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2ImportAgentRequest
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2ImportAgentRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for GoogleCloudDialogflowV2ImportAgentRequest
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2ImportAgentRequest
impl Send for GoogleCloudDialogflowV2ImportAgentRequest
impl Sync for GoogleCloudDialogflowV2ImportAgentRequest
impl Unpin for GoogleCloudDialogflowV2ImportAgentRequest
impl UnwindSafe for GoogleCloudDialogflowV2ImportAgentRequest
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