Enum google_api_proto::google::cloud::run::v2::condition::CommonReason
source · #[repr(i32)]pub enum CommonReason {
Show 15 variants
Undefined = 0,
Unknown = 1,
RevisionFailed = 3,
ProgressDeadlineExceeded = 4,
ContainerMissing = 6,
ContainerPermissionDenied = 7,
ContainerImageUnauthorized = 8,
ContainerImageAuthorizationCheckFailed = 9,
EncryptionKeyPermissionDenied = 10,
EncryptionKeyCheckFailed = 11,
SecretsAccessCheckFailed = 12,
WaitingForOperation = 13,
ImmediateRetry = 14,
PostponedRetry = 15,
Internal = 16,
}
Expand description
Reasons common to all types of conditions.
Variants§
Undefined = 0
Default value.
Unknown = 1
Reason unknown. Further details will be in message.
RevisionFailed = 3
Revision creation process failed.
ProgressDeadlineExceeded = 4
Timed out waiting for completion.
ContainerMissing = 6
The container image path is incorrect.
ContainerPermissionDenied = 7
Insufficient permissions on the container image.
Container image is not authorized by policy.
ContainerImageAuthorizationCheckFailed = 9
Container image policy authorization check failed.
EncryptionKeyPermissionDenied = 10
Insufficient permissions on encryption key.
EncryptionKeyCheckFailed = 11
Permission check on encryption key failed.
SecretsAccessCheckFailed = 12
At least one Access check on secrets failed.
WaitingForOperation = 13
Waiting for operation to complete.
ImmediateRetry = 14
System will retry immediately.
PostponedRetry = 15
System will retry later; current attempt failed.
Internal = 16
An internal error occurred. Further information may be in the message.
Implementations§
source§impl CommonReason
impl CommonReason
source§impl CommonReason
impl CommonReason
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 Clone for CommonReason
impl Clone for CommonReason
source§fn clone(&self) -> CommonReason
fn clone(&self) -> CommonReason
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CommonReason
impl Debug for CommonReason
source§impl Default for CommonReason
impl Default for CommonReason
source§fn default() -> CommonReason
fn default() -> CommonReason
source§impl From<CommonReason> for i32
impl From<CommonReason> for i32
source§fn from(value: CommonReason) -> i32
fn from(value: CommonReason) -> i32
source§impl Hash for CommonReason
impl Hash for CommonReason
source§impl Ord for CommonReason
impl Ord for CommonReason
source§fn cmp(&self, other: &CommonReason) -> Ordering
fn cmp(&self, other: &CommonReason) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for CommonReason
impl PartialEq for CommonReason
source§fn eq(&self, other: &CommonReason) -> bool
fn eq(&self, other: &CommonReason) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CommonReason
impl PartialOrd for CommonReason
source§fn partial_cmp(&self, other: &CommonReason) -> Option<Ordering>
fn partial_cmp(&self, other: &CommonReason) -> Option<Ordering>
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 CommonReason
impl TryFrom<i32> for CommonReason
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<CommonReason, UnknownEnumValue>
fn try_from(value: i32) -> Result<CommonReason, UnknownEnumValue>
impl Copy for CommonReason
impl Eq for CommonReason
impl StructuralPartialEq for CommonReason
Auto Trait Implementations§
impl Freeze for CommonReason
impl RefUnwindSafe for CommonReason
impl Send for CommonReason
impl Sync for CommonReason
impl Unpin for CommonReason
impl UnwindSafe for CommonReason
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