Struct google_compute1::api::ZoneSetPolicyRequest
source · pub struct ZoneSetPolicyRequest {
pub bindings: Option<Vec<Binding>>,
pub etag: Option<Vec<u8>>,
pub policy: Option<Policy>,
}
Expand description
There is no detailed description.
§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).
- set iam policy disks (request)
- set iam policy instances (request)
- set iam policy instant snapshots (request)
- set iam policy node groups (request)
- set iam policy reservations (request)
Fields§
§bindings: Option<Vec<Binding>>
Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use ‘policy’ to specify bindings.
etag: Option<Vec<u8>>
Flatten Policy to create a backward compatible wire-format. Deprecated. Use ‘policy’ to specify the etag.
policy: Option<Policy>
REQUIRED: The complete policy to be applied to the ‘resource’. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
Trait Implementations§
source§impl Clone for ZoneSetPolicyRequest
impl Clone for ZoneSetPolicyRequest
source§fn clone(&self) -> ZoneSetPolicyRequest
fn clone(&self) -> ZoneSetPolicyRequest
Returns a copy 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 ZoneSetPolicyRequest
impl Debug for ZoneSetPolicyRequest
source§impl Default for ZoneSetPolicyRequest
impl Default for ZoneSetPolicyRequest
source§fn default() -> ZoneSetPolicyRequest
fn default() -> ZoneSetPolicyRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ZoneSetPolicyRequest
impl<'de> Deserialize<'de> for ZoneSetPolicyRequest
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 ZoneSetPolicyRequest
impl Serialize for ZoneSetPolicyRequest
impl RequestValue for ZoneSetPolicyRequest
Auto Trait Implementations§
impl RefUnwindSafe for ZoneSetPolicyRequest
impl Send for ZoneSetPolicyRequest
impl Sync for ZoneSetPolicyRequest
impl Unpin for ZoneSetPolicyRequest
impl UnwindSafe for ZoneSetPolicyRequest
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