[−][src]Struct google_cloudasset1::GoogleCloudOrgpolicyV1Policy
Defines a Cloud Organization Policy
which is used to specify Constraints
for configurations of Cloud Platform resources.
This type is not used in any activity, and only used as part of another schema.
Fields
update_time: Option<String>
The time stamp the Policy
was previously updated. This is set by the
server, not specified by the caller, and represents the last time a call to
SetOrgPolicy
was made for that Policy
. Any value set by the client will
be ignored.
version: Option<i32>
Version of the Policy
. Default version is 0;
etag: Option<String>
An opaque tag indicating the current version of the Policy
, used for
concurrency control.
When the Policy
is returned from either a GetPolicy
or a
ListOrgPolicy
request, this etag
indicates the version of the current
Policy
to use when executing a read-modify-write loop.
When the Policy
is returned from a GetEffectivePolicy
request, the
etag
will be unset.
When the Policy
is used in a SetOrgPolicy
method, use the etag
value
that was returned from a GetOrgPolicy
request as part of a
read-modify-write loop for concurrency control. Not setting the etag
in a
SetOrgPolicy
request will result in an unconditional write of the
Policy
.
constraint: Option<String>
The name of the Constraint
the Policy
is configuring, for example,
constraints/serviceuser.services
.
Immutable after creation.
restore_default: Option<GoogleCloudOrgpolicyV1RestoreDefault>
Restores the default behavior of the constraint; independent of
Constraint
type.
list_policy: Option<GoogleCloudOrgpolicyV1ListPolicy>
List of values either allowed or disallowed.
boolean_policy: Option<GoogleCloudOrgpolicyV1BooleanPolicy>
For boolean Constraints
, whether to enforce the Constraint
or not.
Trait Implementations
impl Part for GoogleCloudOrgpolicyV1Policy
[src]
impl Clone for GoogleCloudOrgpolicyV1Policy
[src]
fn clone(&self) -> GoogleCloudOrgpolicyV1Policy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for GoogleCloudOrgpolicyV1Policy
[src]
impl Debug for GoogleCloudOrgpolicyV1Policy
[src]
impl Serialize for GoogleCloudOrgpolicyV1Policy
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for GoogleCloudOrgpolicyV1Policy
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for GoogleCloudOrgpolicyV1Policy
impl Sync for GoogleCloudOrgpolicyV1Policy
impl Unpin for GoogleCloudOrgpolicyV1Policy
impl UnwindSafe for GoogleCloudOrgpolicyV1Policy
impl RefUnwindSafe for GoogleCloudOrgpolicyV1Policy
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,