pub struct GcpUserAccessBinding {
pub access_levels: Option<Vec<String>>,
pub group_key: Option<String>,
pub name: Option<String>,
}Expand description
Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access.
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).
- gcp user access bindings create organizations (request)
- gcp user access bindings get organizations (response)
- gcp user access bindings patch organizations (request)
Fields
access_levels: Option<Vec<String>>Required. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: “accessPolicies/9522/accessLevels/device_trusted”
group_key: Option<String>Required. Immutable. Google Group id whose members are subject to this binding’s restrictions. See “id” in the [G Suite Directory API’s Groups resource] (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). If a group’s email address/alias is changed, this resource will continue to point at the changed group. This field does not accept group email addresses or aliases. Example: “01d520gv4vjcrht”
name: Option<String>Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by RFC 3986 Section 2.3). Should not be specified by the client during creation. Example: “organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N”
Trait Implementations
sourceimpl Clone for GcpUserAccessBinding
impl Clone for GcpUserAccessBinding
sourcefn clone(&self) -> GcpUserAccessBinding
fn clone(&self) -> GcpUserAccessBinding
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GcpUserAccessBinding
impl Debug for GcpUserAccessBinding
sourceimpl Default for GcpUserAccessBinding
impl Default for GcpUserAccessBinding
sourcefn default() -> GcpUserAccessBinding
fn default() -> GcpUserAccessBinding
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GcpUserAccessBinding
impl<'de> Deserialize<'de> for GcpUserAccessBinding
sourcefn 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
sourceimpl Serialize for GcpUserAccessBinding
impl Serialize for GcpUserAccessBinding
impl RequestValue for GcpUserAccessBinding
impl ResponseResult for GcpUserAccessBinding
Auto Trait Implementations
impl RefUnwindSafe for GcpUserAccessBinding
impl Send for GcpUserAccessBinding
impl Sync for GcpUserAccessBinding
impl Unpin for GcpUserAccessBinding
impl UnwindSafe for GcpUserAccessBinding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more