<?php
$json = [
    "type" => "service_account",
    "project_id" => "panel-distribucion-497223",
    "private_key_id" => "e3bee00300f681906fc87addff2b29afb6704381",
    "private_key" => "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCjOGWltC/gtoRZ\n8hTbAydv1+kDfdKvPPwowasxdxzrEH7ULgIqC9jfjj4WVqQMTNvKnq9EDEUysg0Z\nWHPyuR/SEIAU2sgkIdVtMKQZapjfgsostYcQGEuchSJAwDPOqkpV44huQOU+ULTl\nWkwNdfNpLlfft38KkR143+/jD89tuMwl5wUP5AzJN8vKO3iijzoks0vbXqOk7jWO\n6C0Y7ADRfurl3o7axcCUPUBT6gbmAEpC9gxecob4U9HobIM9D/zVg/h0wp5YTTAm\nmqKiz8n73nTadPhn9PsrwVQsvYM4vRDxeCpREHQJwxC5kxpQ7oOAQBM7T3dpNy3v\nQB7vQpPpAgMBAAECggEAAnWt/Xdnzc1+VNsrsom7gUlaDPgLUeH7xFL31RrgDBBP\ncvvfAzpyuhq7B4vmdLt/R/BIgKBlNhB+F0rQk4Cz8K7YOUg7QiUi4d586JelRmAC\nkzYomwbcs9cDR0HGPhftnxn60zuF4OCnOzoXQZAsmwIMZ7YMk3CQpsLMKwow1GzR\neIv4jvCAFYpK3vWR+MiKpojGR0uv2lHDHD1y+2kGKH4YJUzRsyfrLo+5swGlkj9O\nAUMU2IyGQawz26cir+JirXj/HUEsr1vjJ6GwU0n+aNUlNkH/CArEBFrKHZ6/LENx\njmpTO4/4xS96eQo1co6GMEIqJHorycw5bDgqNMMLcQKBgQDNLlzHOyTplCFX4/+Z\nEUjmOi9djIVH3nTGlpg2LsCHWkUnuvdZu3illUisZjocGmYLu7nEEvkAbBzbK3VT\nKtopuPn7GWQ7WZL9SBLTeDAcorpoToHLZogBiAdtTZIOMz0QIal/smGp0kCIYBmU\nb9RRp3ByT6rPZ5S2EKerCmuBkQKBgQDLpXvDcYUJV0UyrP8jrgsVZRuNFkDn6GaY\nJqmoWLAbNP9XCmG3L6pVKSpcVUfTPCF8PBuP1bLLzWI2DgCHQcnZPVk0JYpnIjhV\nA9UIKmEG6sTX65N0BMAyqpzpIX9t4//nciq2Lwp2lOPKq2btlzxIIVzK+PnVmkW2\nQYZ9TyXA2QKBgQC2NFOjgLwYyLiLaibScO0Bte3V7zF0TvH4YEcu5nmGOP1seLWq\n87YBpP3ySp2T00WHad9fZVHFtDwzzPXVMxqlLmSfPT8rDTJgxZ4iOHrRExjiA8Vz\nMMvaQEgIInhvL8UsDBiPE4Ny4Qj5kg1lKaGsGTrb6C9RGzSOMWATnZ82YQKBgCg3\n62Ri9AIvQRRMBCt4wOmdyT4o6fKi/DgKUrFTqpwE8HSxMTErcblV4u7PTNsT4g0W\nFd9nNeN4EXBZfZM40/NaYVaiH15U7Mklc5okPHtQPEXkWX+tPIQFG+4S1obOY4jD\nDFpkme1nZEFvbml318jrBdd0KmscB66B7FytF+ipAoGAcK/vzk9s/FLukREyqwee\neFgyjSyGBV40ZhXqh496p+BCmz00z5Nk3pHlC5NkW9AIStvVDsGsLs/suot5xrTJ\nZE9pkTbIsriLwEWQLvHixOwLIsbSQUte4vCt9fZJxn94n4cDknb67yyl8LuwNaHI\nHdlIpPz6nWrUNdTBVx49C4M=\n-----END PRIVATE KEY-----\n",
    "client_email" => "lector-pedidos@panel-distribucion-497223.iam.gserviceaccount.com",
    "client_id" => "117294550322855996646",
    "auth_uri" => "https://accounts.google.com/o/oauth2/auth",
    "token_uri" => "https://oauth2.googleapis.com/token",
    "auth_provider_x509_cert_url" => "https://www.googleapis.com/oauth2/v1/certs",
    "client_x509_cert_url" => "https://www.googleapis.com/robot/v1/metadata/x509/lector-pedidos%40panel-distribucion-497223.iam.gserviceaccount.com",
    "universe_domain" => "googleapis.com"
];

file_put_contents('google_credentials.json', json_encode($json, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));
