pub struct Code(/* private fields */);Expand description
The Code enum represents the state of the Private Service Connect propagation.
Implementations§
Source§impl Code
impl Code
Sourcepub const CODE_UNSPECIFIED: Code
pub const CODE_UNSPECIFIED: Code
The code is unspecified.
Sourcepub const PROPAGATING: Code
pub const PROPAGATING: Code
The Private Service Connect connection is propagating. This is a transient state.
Sourcepub const ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED: Code
pub const ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED: Code
The Private Service Connect connection propagation failed because the VPC network or the project of the target spoke has exceeded the connection limit set by the producer.
Sourcepub const ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED: Code
pub const ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED: Code
The Private Service Connect connection propagation failed because the NAT
IP subnet space has been exhausted. It is equivalent to the Needs attention status of the Private Service Connect connection. See
https://cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints#connection-statuses.
Sourcepub const ERROR_PRODUCER_QUOTA_EXCEEDED: Code
pub const ERROR_PRODUCER_QUOTA_EXCEEDED: Code
The Private Service Connect connection propagation failed because the
PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK quota in the
producer VPC network has been exceeded.
Sourcepub const ERROR_CONSUMER_QUOTA_EXCEEDED: Code
pub const ERROR_CONSUMER_QUOTA_EXCEEDED: Code
The Private Service Connect connection propagation failed because the
PSC_PROPAGATED_CONNECTIONS_PER_VPC_NETWORK quota in the consumer
VPC network has been exceeded.
Sourcepub fn as_str_name(&self) -> Cow<'static, str>
pub fn as_str_name(&self) -> Cow<'static, str>
Gets the enum value as a string.
Sourcepub fn from_str_name(name: &str) -> Option<Self>
pub fn from_str_name(name: &str) -> Option<Self>
Creates an enum value from the value name.