Enum google_api_proto::google::cloud::cloudcontrolspartner::v1::access_reason::Type
source · #[repr(i32)]pub enum Type {
Unspecified = 0,
CustomerInitiatedSupport = 1,
GoogleInitiatedService = 2,
GoogleInitiatedReview = 3,
ThirdPartyDataRequest = 4,
GoogleResponseToProductionAlert = 5,
CloudInitiatedAccess = 6,
}
Expand description
Type of access justification.
Variants§
Unspecified = 0
Default value for proto, shouldn’t be used.
CustomerInitiatedSupport = 1
Customer made a request or raised an issue that required the principal to
access customer data. detail
is of the form (“#####” is the issue ID):
- “Feedback Report: #####”
- “Case Number: #####”
- “Case ID: #####”
- “E-PIN Reference: #####”
- “Google-#####”
- “T-#####”
GoogleInitiatedService = 2
The principal accessed customer data in order to diagnose or resolve a suspected issue in services. Often this access is used to confirm that customers are not affected by a suspected service issue or to remediate a reversible system issue.
GoogleInitiatedReview = 3
Google initiated service for security, fraud, abuse, or compliance purposes.
ThirdPartyDataRequest = 4
The principal was compelled to access customer data in order to respond to a legal third party data request or process, including legal processes from customers themselves.
GoogleResponseToProductionAlert = 5
The principal accessed customer data in order to diagnose or resolve a suspected issue in services or a known outage.
CloudInitiatedAccess = 6
Similar to ‘GOOGLE_INITIATED_SERVICE’ or ‘GOOGLE_INITIATED_REVIEW’, but with universe agnostic naming. The principal accessed customer data in order to diagnose or resolve a suspected issue in services or a known outage, or for security, fraud, abuse, or compliance review purposes.
Implementations§
source§impl Type
impl Type
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Ord for Type
impl Ord for Type
source§impl PartialEq for Type
impl PartialEq for Type
source§impl PartialOrd for Type
impl PartialOrd for Type
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for Type
impl TryFrom<i32> for Type
§type Error = DecodeError
type Error = DecodeError
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request