pub struct GcpKey {
pub type: String,
pub project_id: String,
pub private_key_id: String,
pub private_key: String,
pub client_email: String,
pub client_id: String,
pub auth_uri: String,
pub token_uri: String,
pub auth_provider_x509_cert_url: String,
pub client_x509_cert_url: String,
pub universe_domain: String,
}
Fields§
§type: String
This is the type of the key. Most likely, this is "service_account".
project_id: String
This is the ID of the Google Cloud project associated with this key.
private_key_id: String
This is the unique identifier for the private key.
private_key: String
This is the private key in PEM format. Note: This is not returned in the API.
client_email: String
This is the email address associated with the service account.
client_id: String
This is the unique identifier for the client.
auth_uri: String
This is the URI for the auth provider’s authorization endpoint.
token_uri: String
This is the URI for the auth provider’s token endpoint.
auth_provider_x509_cert_url: String
This is the URL of the public x509 certificate for the auth provider.
client_x509_cert_url: String
This is the URL of the public x509 certificate for the client.
universe_domain: String
This is the domain associated with the universe this service account belongs to.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GcpKey
impl<'de> Deserialize<'de> for GcpKey
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 StructuralPartialEq for GcpKey
Auto Trait Implementations§
impl Freeze for GcpKey
impl RefUnwindSafe for GcpKey
impl Send for GcpKey
impl Sync for GcpKey
impl Unpin for GcpKey
impl UnwindSafe for GcpKey
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