Struct google_compute1::api::GlobalSetPolicyRequest
source · pub struct GlobalSetPolicyRequest {
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 backend buckets (request)
- set iam policy backend services (request)
- set iam policy images (request)
- set iam policy instance templates (request)
- set iam policy licenses (request)
- set iam policy machine images (request)
- set iam policy network firewall policies (request)
- set iam policy snapshots (request)
Fields§
§bindings: Option<Vec<Binding>>
Flatten Policy to create a backward 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 GlobalSetPolicyRequest
impl Clone for GlobalSetPolicyRequest
source§fn clone(&self) -> GlobalSetPolicyRequest
fn clone(&self) -> GlobalSetPolicyRequest
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 GlobalSetPolicyRequest
impl Debug for GlobalSetPolicyRequest
source§impl Default for GlobalSetPolicyRequest
impl Default for GlobalSetPolicyRequest
source§fn default() -> GlobalSetPolicyRequest
fn default() -> GlobalSetPolicyRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GlobalSetPolicyRequest
impl<'de> Deserialize<'de> for GlobalSetPolicyRequest
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 GlobalSetPolicyRequest
impl Serialize for GlobalSetPolicyRequest
impl RequestValue for GlobalSetPolicyRequest
Auto Trait Implementations§
impl RefUnwindSafe for GlobalSetPolicyRequest
impl Send for GlobalSetPolicyRequest
impl Sync for GlobalSetPolicyRequest
impl Unpin for GlobalSetPolicyRequest
impl UnwindSafe for GlobalSetPolicyRequest
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