#[non_exhaustive]pub struct UpdateProjectIntelligenceConfigRequest {
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 project.
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 UpdateProjectIntelligenceConfigRequest
impl UpdateProjectIntelligenceConfigRequest
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 UpdateProjectIntelligenceConfigRequest
impl Clone for UpdateProjectIntelligenceConfigRequest
Source§fn clone(&self) -> UpdateProjectIntelligenceConfigRequest
fn clone(&self) -> UpdateProjectIntelligenceConfigRequest
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 UpdateProjectIntelligenceConfigRequest
impl Default for UpdateProjectIntelligenceConfigRequest
Source§fn default() -> UpdateProjectIntelligenceConfigRequest
fn default() -> UpdateProjectIntelligenceConfigRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateProjectIntelligenceConfigRequest
impl PartialEq for UpdateProjectIntelligenceConfigRequest
Source§fn eq(&self, other: &UpdateProjectIntelligenceConfigRequest) -> bool
fn eq(&self, other: &UpdateProjectIntelligenceConfigRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateProjectIntelligenceConfigRequest
Auto Trait Implementations§
impl Freeze for UpdateProjectIntelligenceConfigRequest
impl RefUnwindSafe for UpdateProjectIntelligenceConfigRequest
impl Send for UpdateProjectIntelligenceConfigRequest
impl Sync for UpdateProjectIntelligenceConfigRequest
impl Unpin for UpdateProjectIntelligenceConfigRequest
impl UnwindSafe for UpdateProjectIntelligenceConfigRequest
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