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: Option<String>,
    pub client_email: Option<String>,
    pub client_id: Option<String>,
    pub auth_uri: Option<String>,
    pub token_uri: Option<String>,
    pub auth_provier_x509_cert_url: Option<String>,
    pub client_x509_cert_url: Option<String>,
}

JSON schema of secret service account key. You can obtain the key from the Cloud Console at https://console.cloud.google.com/.

You can use helpers::service_account_key_from_file() as a quick way to read a JSON client secret into a ServiceAccountKey.

Fields

Trait Implementations

impl Debug for ServiceAccountKey
[src]

Formats the value using the given formatter. Read more

impl Clone for ServiceAccountKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations