Struct google_orgpolicy2::api::GoogleCloudOrgpolicyV2Policy [−][src]
Defines a Cloud Organization Policy
which is used to specify Constraints
for configurations of Cloud Platform resources.
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).
- policies create folders (request|response)
- policies get folders (response)
- policies get effective policy folders (response)
- policies patch folders (request|response)
- policies create organizations (request|response)
- policies get organizations (response)
- policies get effective policy organizations (response)
- policies patch organizations (request|response)
- policies create projects (request|response)
- policies get projects (response)
- policies get effective policy projects (response)
- policies patch projects (request|response)
Fields
name: Option<String>
Immutable. The resource name of the Policy. Must be one of the following forms, where constraint_name is the name of the constraint which this Policy configures: * projects/{project_number}/policies/{constraint_name}
* folders/{folder_id}/policies/{constraint_name}
* organizations/{organization_id}/policies/{constraint_name}
For example, “projects/123/policies/compute.disableSerialPortAccess”. Note: projects/{project_id}/policies/{constraint_name}
is also an acceptable name for API requests, but responses will return the name using the equivalent project number.
spec: Option<GoogleCloudOrgpolicyV2PolicySpec>
Basic information about the Organization Policy.
Trait Implementations
impl Clone for GoogleCloudOrgpolicyV2Policy
[src]
fn clone(&self) -> GoogleCloudOrgpolicyV2Policy
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GoogleCloudOrgpolicyV2Policy
[src]
impl Default for GoogleCloudOrgpolicyV2Policy
[src]
impl<'de> Deserialize<'de> for GoogleCloudOrgpolicyV2Policy
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for GoogleCloudOrgpolicyV2Policy
[src]
impl ResponseResult for GoogleCloudOrgpolicyV2Policy
[src]
impl Serialize for GoogleCloudOrgpolicyV2Policy
[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudOrgpolicyV2Policy
impl Send for GoogleCloudOrgpolicyV2Policy
impl Sync for GoogleCloudOrgpolicyV2Policy
impl Unpin for GoogleCloudOrgpolicyV2Policy
impl UnwindSafe for GoogleCloudOrgpolicyV2Policy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub fn to_owned(&self) -> T
[src]
pub 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 = Infallible
The type returned in the event of a conversion error.
pub 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>,