pub struct GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest {
pub policy_target_key: Option<GoogleChromePolicyVersionsV1PolicyTargetKey>,
pub policy_value: Option<GoogleChromePolicyVersionsV1PolicyValue>,
pub update_mask: Option<FieldMask>,
}Expand description
Request parameters for modifying a policy value for a specific org unit target.
This type is not used in any activity, and only used as part of another schema.
Fields§
§policy_target_key: Option<GoogleChromePolicyVersionsV1PolicyTargetKey>Required. The key of the target for which we want to modify a policy. The target resource must point to an Org Unit.
policy_value: Option<GoogleChromePolicyVersionsV1PolicyValue>The new value for the policy.
update_mask: Option<FieldMask>Required. Policy fields to update. Only fields in this mask will be updated; other fields in policy_value will be ignored (even if they have values). If a field is in this list it must have a value in ‘policy_value’.
Trait Implementations§
Source§impl Clone for GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
impl Clone for GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
Source§fn clone(&self) -> GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
fn clone(&self) -> GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
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 GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
impl Default for GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
Source§fn default() -> GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
fn default() -> GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
impl<'de> Deserialize<'de> for GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
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
impl Part for GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
Auto Trait Implementations§
impl Freeze for GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
impl RefUnwindSafe for GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
impl Send for GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
impl Sync for GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
impl Unpin for GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
impl UnwindSafe for GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
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