#[non_exhaustive]pub struct UpdateInterceptEndpointGroupAssociationRequest {
pub update_mask: Option<FieldMask>,
pub intercept_endpoint_group_association: Option<InterceptEndpointGroupAssociation>,
pub request_id: String,
/* private fields */
}Expand description
Request message for UpdateInterceptEndpointGroupAssociation.
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.update_mask: Option<FieldMask>Optional. The list of fields to update.
Fields are specified relative to the association
(e.g. description; not
intercept_endpoint_group_association.description). See
https://google.aip.dev/161 for more details.
intercept_endpoint_group_association: Option<InterceptEndpointGroupAssociation>Required. The association to update.
request_id: StringOptional. A unique identifier for this request. Must be a UUID4.
This request is only idempotent if a request_id is provided.
See https://google.aip.dev/155 for more details.
Implementations§
Source§impl UpdateInterceptEndpointGroupAssociationRequest
impl UpdateInterceptEndpointGroupAssociationRequest
pub fn new() -> Self
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.
§Example
ⓘ
use wkt::FieldMask;
let x = UpdateInterceptEndpointGroupAssociationRequest::new().set_update_mask(FieldMask::default()/* use setters */);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.
§Example
ⓘ
use wkt::FieldMask;
let x = UpdateInterceptEndpointGroupAssociationRequest::new().set_or_clear_update_mask(Some(FieldMask::default()/* use setters */));
let x = UpdateInterceptEndpointGroupAssociationRequest::new().set_or_clear_update_mask(None::<FieldMask>);Sourcepub fn set_intercept_endpoint_group_association<T>(self, v: T) -> Selfwhere
T: Into<InterceptEndpointGroupAssociation>,
pub fn set_intercept_endpoint_group_association<T>(self, v: T) -> Selfwhere
T: Into<InterceptEndpointGroupAssociation>,
Sets the value of intercept_endpoint_group_association.
§Example
ⓘ
use google_cloud_networksecurity_v1::model::InterceptEndpointGroupAssociation;
let x = UpdateInterceptEndpointGroupAssociationRequest::new().set_intercept_endpoint_group_association(InterceptEndpointGroupAssociation::default()/* use setters */);Sourcepub fn set_or_clear_intercept_endpoint_group_association<T>(
self,
v: Option<T>,
) -> Selfwhere
T: Into<InterceptEndpointGroupAssociation>,
pub fn set_or_clear_intercept_endpoint_group_association<T>(
self,
v: Option<T>,
) -> Selfwhere
T: Into<InterceptEndpointGroupAssociation>,
Sets or clears the value of intercept_endpoint_group_association.
§Example
ⓘ
use google_cloud_networksecurity_v1::model::InterceptEndpointGroupAssociation;
let x = UpdateInterceptEndpointGroupAssociationRequest::new().set_or_clear_intercept_endpoint_group_association(Some(InterceptEndpointGroupAssociation::default()/* use setters */));
let x = UpdateInterceptEndpointGroupAssociationRequest::new().set_or_clear_intercept_endpoint_group_association(None::<InterceptEndpointGroupAssociation>);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.
§Example
ⓘ
let x = UpdateInterceptEndpointGroupAssociationRequest::new().set_request_id("example");Trait Implementations§
Source§impl Clone for UpdateInterceptEndpointGroupAssociationRequest
impl Clone for UpdateInterceptEndpointGroupAssociationRequest
Source§fn clone(&self) -> UpdateInterceptEndpointGroupAssociationRequest
fn clone(&self) -> UpdateInterceptEndpointGroupAssociationRequest
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 UpdateInterceptEndpointGroupAssociationRequest
impl Default for UpdateInterceptEndpointGroupAssociationRequest
Source§fn default() -> UpdateInterceptEndpointGroupAssociationRequest
fn default() -> UpdateInterceptEndpointGroupAssociationRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateInterceptEndpointGroupAssociationRequest
impl PartialEq for UpdateInterceptEndpointGroupAssociationRequest
Source§fn eq(&self, other: &UpdateInterceptEndpointGroupAssociationRequest) -> bool
fn eq(&self, other: &UpdateInterceptEndpointGroupAssociationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateInterceptEndpointGroupAssociationRequest
Auto Trait Implementations§
impl Freeze for UpdateInterceptEndpointGroupAssociationRequest
impl RefUnwindSafe for UpdateInterceptEndpointGroupAssociationRequest
impl Send for UpdateInterceptEndpointGroupAssociationRequest
impl Sync for UpdateInterceptEndpointGroupAssociationRequest
impl Unpin for UpdateInterceptEndpointGroupAssociationRequest
impl UnsafeUnpin for UpdateInterceptEndpointGroupAssociationRequest
impl UnwindSafe for UpdateInterceptEndpointGroupAssociationRequest
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