Struct yup_oauth2::ServiceAccountKey [−][src]
pub struct ServiceAccountKey {
pub key_type: Option<String>,
pub project_id: Option<String>,
pub private_key_id: Option<String>,
pub private_key: String,
pub client_email: String,
pub client_id: Option<String>,
pub auth_uri: Option<String>,
pub token_uri: String,
pub auth_provider_x509_cert_url: Option<String>,
pub client_x509_cert_url: Option<String>,
}
Expand description
JSON schema of secret service account key.
You can obtain the key from the Cloud Console.
You can use helpers::read_service_account_key()
as a quick way to read a JSON client
secret into a ServiceAccountKey.
Fields
key_type: Option<String>
key_type
project_id: Option<String>
project_id
private_key_id: Option<String>
private_key_id
private_key: String
private_key
client_email: String
client_email
client_id: Option<String>
client_id
auth_uri: Option<String>
auth_uri
token_uri: String
token_uri
auth_provider_x509_cert_url: Option<String>
auth_provider_x509_cert_url
client_x509_cert_url: Option<String>
client_x509_cert_url
Trait Implementations
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 RefUnwindSafe for ServiceAccountKey
impl Send for ServiceAccountKey
impl Sync for ServiceAccountKey
impl Unpin for ServiceAccountKey
impl UnwindSafe for ServiceAccountKey
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more