#[non_exhaustive]pub struct CreateInterceptEndpointGroupAssociationRequest {
pub parent: String,
pub intercept_endpoint_group_association_id: String,
pub intercept_endpoint_group_association: Option<InterceptEndpointGroupAssociation>,
pub request_id: String,
/* private fields */
}Expand description
Request message for CreateInterceptEndpointGroupAssociation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. The parent resource where this association will be created. Format: projects/{project}/locations/{location}
intercept_endpoint_group_association_id: StringOptional. The ID to use for the new association, which will become the final component of the endpoint group’s resource name. If not provided, the server will generate a unique ID.
intercept_endpoint_group_association: Option<InterceptEndpointGroupAssociation>Required. The association to create.
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 CreateInterceptEndpointGroupAssociationRequest
impl CreateInterceptEndpointGroupAssociationRequest
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_intercept_endpoint_group_association_id<T: Into<String>>(
self,
v: T,
) -> Self
pub fn set_intercept_endpoint_group_association_id<T: Into<String>>( self, v: T, ) -> Self
Sets the value of intercept_endpoint_group_association_id.
§Example
let x = CreateInterceptEndpointGroupAssociationRequest::new().set_intercept_endpoint_group_association_id("example");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 = CreateInterceptEndpointGroupAssociationRequest::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 = CreateInterceptEndpointGroupAssociationRequest::new().set_or_clear_intercept_endpoint_group_association(Some(InterceptEndpointGroupAssociation::default()/* use setters */));
let x = CreateInterceptEndpointGroupAssociationRequest::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 = CreateInterceptEndpointGroupAssociationRequest::new().set_request_id("example");Trait Implementations§
Source§impl Clone for CreateInterceptEndpointGroupAssociationRequest
impl Clone for CreateInterceptEndpointGroupAssociationRequest
Source§fn clone(&self) -> CreateInterceptEndpointGroupAssociationRequest
fn clone(&self) -> CreateInterceptEndpointGroupAssociationRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for CreateInterceptEndpointGroupAssociationRequest
impl Default for CreateInterceptEndpointGroupAssociationRequest
Source§fn default() -> CreateInterceptEndpointGroupAssociationRequest
fn default() -> CreateInterceptEndpointGroupAssociationRequest
impl StructuralPartialEq for CreateInterceptEndpointGroupAssociationRequest
Auto Trait Implementations§
impl Freeze for CreateInterceptEndpointGroupAssociationRequest
impl RefUnwindSafe for CreateInterceptEndpointGroupAssociationRequest
impl Send for CreateInterceptEndpointGroupAssociationRequest
impl Sync for CreateInterceptEndpointGroupAssociationRequest
impl Unpin for CreateInterceptEndpointGroupAssociationRequest
impl UnsafeUnpin for CreateInterceptEndpointGroupAssociationRequest
impl UnwindSafe for CreateInterceptEndpointGroupAssociationRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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>
T in a tonic::Request