Struct google_accesscontextmanager1::api::AccessPolicy[][src]

pub struct AccessPolicy {
    pub etag: Option<String>,
    pub name: Option<String>,
    pub parent: Option<String>,
    pub title: Option<String>,
}

AccessPolicy is a container for AccessLevels (which define the necessary attributes to use Google Cloud services) and ServicePerimeters (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.

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).

Fields

etag: Option<String>

Output only. An opaque identifier for the current version of the AccessPolicy. This will always be a strongly validated etag, meaning that two Access Polices will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.

name: Option<String>

Output only. Resource name of the AccessPolicy. Format: accessPolicies/{policy_id}

parent: Option<String>

Required. The parent of this AccessPolicy in the Cloud Resource Hierarchy. Currently immutable once created. Format: organizations/{organization_id}

title: Option<String>

Required. Human readable title. Does not affect behavior.

Trait Implementations

impl Clone for AccessPolicy[src]

impl Debug for AccessPolicy[src]

impl Default for AccessPolicy[src]

impl<'de> Deserialize<'de> for AccessPolicy[src]

impl RequestValue for AccessPolicy[src]

impl ResponseResult for AccessPolicy[src]

impl Serialize for AccessPolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.