#[non_exhaustive]pub struct UpdateFolderIntelligenceConfigRequest {
pub intelligence_config: Option<IntelligenceConfig>,
pub update_mask: Option<FieldMask>,
pub request_id: String,
/* private fields */
}Expand description
Request message to update the IntelligenceConfig resource associated with
your folder.
IAM Permissions:
Requires storage.intelligenceConfigs.update
IAM permission on
the folder.
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.intelligence_config: Option<IntelligenceConfig>Required. The IntelligenceConfig resource to be updated.
update_mask: Option<FieldMask>Required. The update_mask that specifies the fields within the
IntelligenceConfig resource that should be modified by this update. Only
the listed fields are updated.
request_id: StringOptional. The ID that uniquely identifies the request, preventing duplicate processing.
Implementations§
Source§impl UpdateFolderIntelligenceConfigRequest
impl UpdateFolderIntelligenceConfigRequest
pub fn new() -> Self
Sourcepub fn set_intelligence_config<T>(self, v: T) -> Selfwhere
T: Into<IntelligenceConfig>,
pub fn set_intelligence_config<T>(self, v: T) -> Selfwhere
T: Into<IntelligenceConfig>,
Sets the value of intelligence_config.
Sourcepub fn set_or_clear_intelligence_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<IntelligenceConfig>,
pub fn set_or_clear_intelligence_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<IntelligenceConfig>,
Sets or clears the value of intelligence_config.
Sourcepub fn set_update_mask<T>(self, v: T) -> Self
pub fn set_update_mask<T>(self, v: T) -> Self
Sets the value of update_mask.
Sourcepub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_mask.
Sourcepub fn set_request_id<T: Into<String>>(self, v: T) -> Self
pub fn set_request_id<T: Into<String>>(self, v: T) -> Self
Sets the value of request_id.
Trait Implementations§
Source§impl Clone for UpdateFolderIntelligenceConfigRequest
impl Clone for UpdateFolderIntelligenceConfigRequest
Source§fn clone(&self) -> UpdateFolderIntelligenceConfigRequest
fn clone(&self) -> UpdateFolderIntelligenceConfigRequest
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 UpdateFolderIntelligenceConfigRequest
impl Default for UpdateFolderIntelligenceConfigRequest
Source§fn default() -> UpdateFolderIntelligenceConfigRequest
fn default() -> UpdateFolderIntelligenceConfigRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateFolderIntelligenceConfigRequest
impl PartialEq for UpdateFolderIntelligenceConfigRequest
Source§fn eq(&self, other: &UpdateFolderIntelligenceConfigRequest) -> bool
fn eq(&self, other: &UpdateFolderIntelligenceConfigRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateFolderIntelligenceConfigRequest
Auto Trait Implementations§
impl Freeze for UpdateFolderIntelligenceConfigRequest
impl RefUnwindSafe for UpdateFolderIntelligenceConfigRequest
impl Send for UpdateFolderIntelligenceConfigRequest
impl Sync for UpdateFolderIntelligenceConfigRequest
impl Unpin for UpdateFolderIntelligenceConfigRequest
impl UnwindSafe for UpdateFolderIntelligenceConfigRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
Wrap the input message
T in a tonic::Request