#[non_exhaustive]pub struct CreateEntryGroupRequest {
pub parent: String,
pub entry_group_id: String,
pub entry_group: Option<EntryGroup>,
pub validate_only: bool,
/* private fields */
}Expand description
Create EntryGroup Request.
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.parent: StringRequired. The resource name of the entryGroup, of the form:
projects/{project_number}/locations/{location_id}
where location_id refers to a Google Cloud region.
entry_group_id: StringRequired. EntryGroup identifier.
entry_group: Option<EntryGroup>Required. EntryGroup Resource.
validate_only: boolOptional. The service validates the request without performing any mutations. The default is false.
Implementations§
Source§impl CreateEntryGroupRequest
impl CreateEntryGroupRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_entry_group_id<T: Into<String>>(self, v: T) -> Self
pub fn set_entry_group_id<T: Into<String>>(self, v: T) -> Self
Sets the value of entry_group_id.
Sourcepub fn set_entry_group<T>(self, v: T) -> Selfwhere
T: Into<EntryGroup>,
pub fn set_entry_group<T>(self, v: T) -> Selfwhere
T: Into<EntryGroup>,
Sets the value of entry_group.
Sourcepub fn set_or_clear_entry_group<T>(self, v: Option<T>) -> Selfwhere
T: Into<EntryGroup>,
pub fn set_or_clear_entry_group<T>(self, v: Option<T>) -> Selfwhere
T: Into<EntryGroup>,
Sets or clears the value of entry_group.
Sourcepub fn set_validate_only<T: Into<bool>>(self, v: T) -> Self
pub fn set_validate_only<T: Into<bool>>(self, v: T) -> Self
Sets the value of validate_only.
Trait Implementations§
Source§impl Clone for CreateEntryGroupRequest
impl Clone for CreateEntryGroupRequest
Source§fn clone(&self) -> CreateEntryGroupRequest
fn clone(&self) -> CreateEntryGroupRequest
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 Debug for CreateEntryGroupRequest
impl Debug for CreateEntryGroupRequest
Source§impl Default for CreateEntryGroupRequest
impl Default for CreateEntryGroupRequest
Source§fn default() -> CreateEntryGroupRequest
fn default() -> CreateEntryGroupRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateEntryGroupRequest
impl Message for CreateEntryGroupRequest
Source§impl PartialEq for CreateEntryGroupRequest
impl PartialEq for CreateEntryGroupRequest
impl StructuralPartialEq for CreateEntryGroupRequest
Auto Trait Implementations§
impl Freeze for CreateEntryGroupRequest
impl RefUnwindSafe for CreateEntryGroupRequest
impl Send for CreateEntryGroupRequest
impl Sync for CreateEntryGroupRequest
impl Unpin for CreateEntryGroupRequest
impl UnwindSafe for CreateEntryGroupRequest
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