pub struct AuthzPolicyTarget {
pub load_balancing_scheme: Option<String>,
pub resources: Option<Vec<String>>,
}Expand description
Specifies the set of targets to which this policy should be applied to.
This type is not used in any activity, and only used as part of another schema.
Fields§
§load_balancing_scheme: Option<String>Required. All gateways and forwarding rules referenced by this policy and extensions must share the same load balancing scheme. Supported values: INTERNAL_MANAGED and EXTERNAL_MANAGED. For more information, refer to Backend services overview.
resources: Option<Vec<String>>Required. A list of references to the Forwarding Rules on which this policy will be applied.
Trait Implementations§
Source§impl Clone for AuthzPolicyTarget
impl Clone for AuthzPolicyTarget
Source§fn clone(&self) -> AuthzPolicyTarget
fn clone(&self) -> AuthzPolicyTarget
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 AuthzPolicyTarget
impl Debug for AuthzPolicyTarget
Source§impl Default for AuthzPolicyTarget
impl Default for AuthzPolicyTarget
Source§fn default() -> AuthzPolicyTarget
fn default() -> AuthzPolicyTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthzPolicyTarget
impl<'de> Deserialize<'de> for AuthzPolicyTarget
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AuthzPolicyTarget
impl Serialize for AuthzPolicyTarget
impl Part for AuthzPolicyTarget
Auto Trait Implementations§
impl Freeze for AuthzPolicyTarget
impl RefUnwindSafe for AuthzPolicyTarget
impl Send for AuthzPolicyTarget
impl Sync for AuthzPolicyTarget
impl Unpin for AuthzPolicyTarget
impl UnwindSafe for AuthzPolicyTarget
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