pub struct GcpFederationScope {
pub deployment_id: String,
}Expand description
Identity of one installation. The runtime constructs this from its authenticated deployment record, never names or imported target metadata.
Fields§
§deployment_id: StringImmutable ID allocated by the control plane before cloud setup. Names, display metadata and imported resource identifiers cannot replace it.
Implementations§
Source§impl GcpFederationScope
impl GcpFederationScope
Sourcepub fn validate_access(
&self,
access: &GcpFederationAccess,
resource_type: &ResourceType,
) -> Result<()>
pub fn validate_access( &self, access: &GcpFederationAccess, resource_type: &ResourceType, ) -> Result<()>
Check setup-owned access against the runtime’s authenticated installation.
Sourcepub fn assertion_audience(&self, resource_type: &ResourceType) -> Result<String>
pub fn assertion_audience(&self, resource_type: &ResourceType) -> Result<String>
Binds an assertion to one immutable installation and access purpose. Base64 components keep the cross-language hash unambiguous without depending on JSON escaping rules in setup engines.
Sourcepub fn pool_id(&self, resource_type: &ResourceType) -> Result<String>
pub fn pool_id(&self, resource_type: &ResourceType) -> Result<String>
A fresh installation gets a fresh pool name even while a deleted installation’s pool remains reserved during Google’s recovery period.
Trait Implementations§
Source§impl Clone for GcpFederationScope
impl Clone for GcpFederationScope
Source§impl Debug for GcpFederationScope
impl Debug for GcpFederationScope
Source§impl<'de> Deserialize<'de> for GcpFederationScope
impl<'de> Deserialize<'de> for GcpFederationScope
Source§fn 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
impl Eq for GcpFederationScope
Source§impl PartialEq for GcpFederationScope
impl PartialEq for GcpFederationScope
Source§impl Serialize for GcpFederationScope
impl Serialize for GcpFederationScope
impl StructuralPartialEq for GcpFederationScope
Auto Trait Implementations§
impl Freeze for GcpFederationScope
impl RefUnwindSafe for GcpFederationScope
impl Send for GcpFederationScope
impl Sync for GcpFederationScope
impl Unpin for GcpFederationScope
impl UnsafeUnpin for GcpFederationScope
impl UnwindSafe for GcpFederationScope
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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
Compare self to
key and return true if they are equal.