create static method

ServiceAccount create({
  1. String? special_type,
  2. String? type,
  3. String? project_id,
  4. String? private_key_id,
  5. String? private_key,
  6. String? client_email,
  7. String? client_id,
  8. String? auth_uri,
  9. String? token_uri,
  10. String? auth_provider_x509_cert_url,
  11. String? client_x509_cert_url,
  12. String? universe_domain,
})
override

return original data json

Implementation

static ServiceAccount create({
  String? special_type,
  String? type,
  String? project_id,
  String? private_key_id,
  String? private_key,
  String? client_email,
  String? client_id,
  String? auth_uri,
  String? token_uri,
  String? auth_provider_x509_cert_url,
  String? client_x509_cert_url,
  String? universe_domain,
}) {
  ServiceAccount serviceAccount = ServiceAccount({
    "@type": special_type,
    "type": type,
    "project_id": project_id,
    "private_key_id": private_key_id,
    "private_key": private_key,
    "client_email": client_email,
    "client_id": client_id,
    "auth_uri": auth_uri,
    "token_uri": token_uri,
    "auth_provider_x509_cert_url": auth_provider_x509_cert_url,
    "client_x509_cert_url": client_x509_cert_url,
    "universe_domain": universe_domain,
  });

  return serviceAccount;
}