#[non_exhaustive]pub struct UndeployIndexRequest {
pub index_endpoint: String,
pub deployed_index_id: String,
/* private fields */
}Expand description
Request message for IndexEndpointService.UndeployIndex.
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.index_endpoint: StringRequired. The name of the IndexEndpoint resource from which to undeploy an
Index. Format:
projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}
deployed_index_id: StringRequired. The ID of the DeployedIndex to be undeployed from the IndexEndpoint.
Implementations§
Source§impl UndeployIndexRequest
impl UndeployIndexRequest
pub fn new() -> Self
Sourcepub fn set_index_endpoint<T: Into<String>>(self, v: T) -> Self
pub fn set_index_endpoint<T: Into<String>>(self, v: T) -> Self
Sets the value of index_endpoint.
Sourcepub fn set_deployed_index_id<T: Into<String>>(self, v: T) -> Self
pub fn set_deployed_index_id<T: Into<String>>(self, v: T) -> Self
Sets the value of deployed_index_id.
Trait Implementations§
Source§impl Clone for UndeployIndexRequest
impl Clone for UndeployIndexRequest
Source§fn clone(&self) -> UndeployIndexRequest
fn clone(&self) -> UndeployIndexRequest
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 Debug for UndeployIndexRequest
impl Debug for UndeployIndexRequest
Source§impl Default for UndeployIndexRequest
impl Default for UndeployIndexRequest
Source§fn default() -> UndeployIndexRequest
fn default() -> UndeployIndexRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UndeployIndexRequestwhere
UndeployIndexRequest: Default,
impl<'de> Deserialize<'de> for UndeployIndexRequestwhere
UndeployIndexRequest: Default,
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
Source§impl Message for UndeployIndexRequest
impl Message for UndeployIndexRequest
Source§impl PartialEq for UndeployIndexRequest
impl PartialEq for UndeployIndexRequest
Source§impl Serialize for UndeployIndexRequest
impl Serialize for UndeployIndexRequest
impl StructuralPartialEq for UndeployIndexRequest
Auto Trait Implementations§
impl Freeze for UndeployIndexRequest
impl RefUnwindSafe for UndeployIndexRequest
impl Send for UndeployIndexRequest
impl Sync for UndeployIndexRequest
impl Unpin for UndeployIndexRequest
impl UnwindSafe for UndeployIndexRequest
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