pub struct AddressGroup {
pub capacity: Option<i32>,
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub items: Option<Vec<String>>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub self_link: Option<String>,
pub type_: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
AddressGroup is a resource that specifies how a collection of IP/DNS used in Firewall Policy.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations address groups create organizations (request)
- locations address groups get organizations (response)
- locations address groups patch organizations (request)
- locations address groups create projects (request)
- locations address groups get projects (response)
- locations address groups patch projects (request)
Fields§
§capacity: Option<i32>
Required. Capacity of the Address Group
create_time: Option<DateTime<Utc>>
Output only. The timestamp when the resource was created.
description: Option<String>
Optional. Free-text description of the resource.
items: Option<Vec<String>>
Optional. List of items.
labels: Option<HashMap<String, String>>
Optional. Set of label tags associated with the AddressGroup resource.
name: Option<String>
Required. Name of the AddressGroup resource. It matches pattern projects/*/locations/{location}/addressGroups/
.
self_link: Option<String>
Output only. Server-defined fully-qualified URL for this resource.
type_: Option<String>
Required. The type of the Address Group. Possible values are “IPv4” or “IPV6”.
update_time: Option<DateTime<Utc>>
Output only. The timestamp when the resource was updated.
Trait Implementations§
Source§impl Clone for AddressGroup
impl Clone for AddressGroup
Source§fn clone(&self) -> AddressGroup
fn clone(&self) -> AddressGroup
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AddressGroup
impl Debug for AddressGroup
Source§impl Default for AddressGroup
impl Default for AddressGroup
Source§fn default() -> AddressGroup
fn default() -> AddressGroup
Source§impl<'de> Deserialize<'de> for AddressGroup
impl<'de> Deserialize<'de> for AddressGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for AddressGroup
impl Serialize for AddressGroup
impl RequestValue for AddressGroup
impl ResponseResult for AddressGroup
Auto Trait Implementations§
impl Freeze for AddressGroup
impl RefUnwindSafe for AddressGroup
impl Send for AddressGroup
impl Sync for AddressGroup
impl Unpin for AddressGroup
impl UnwindSafe for AddressGroup
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
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more