pub struct ServiceAccount {
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,
}
Expand description
A deserialized service-account-********.json
-file.
Fields§
§type: String
The type of authentication, this should always be service_account
.
project_id: String
The name of the current project.
private_key_id: String
A unqiue identifier for the private key.
private_key: String
The private key in RSA format.
client_email: String
The email address associated with the service account.
client_id: String
The unique identifier for this client.
auth_uri: String
The endpoint where authentication happens.
token_uri: String
The endpoint where OAuth2 tokens are issued.
auth_provider_x509_cert_url: String
The url of the cert provider.
client_x509_cert_url: String
The url of a static file containing metadata for this certificate.
Trait Implementations§
Source§impl Debug for ServiceAccount
impl Debug for ServiceAccount
Source§impl<'de> Deserialize<'de> for ServiceAccount
impl<'de> Deserialize<'de> for ServiceAccount
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
Auto Trait Implementations§
impl Freeze for ServiceAccount
impl RefUnwindSafe for ServiceAccount
impl Send for ServiceAccount
impl Sync for ServiceAccount
impl Unpin for ServiceAccount
impl UnwindSafe for ServiceAccount
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