我开始通过Powershell连接到Google API。我得到了一个包含以下内容的JSON对象:
{
"type": "service_account",
"project_id": "projectidhere",
"private_key_id": "privatekeyidhere",
"private_key": "-----BEGIN PRIVATE KEY-----Privatekeyishere---END PRIVATE
KEY-----\n",
"client_email": "emailaccounthere",
"client_id": "clientidhere",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://accounts.google.com/o/oauth2/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/termoutest%40test123.iam.gserviceaccount.com" }
该JSON对象是否包含授权给Google API所需的标头信息?
如果是这样,如何将此对象作为标题传递?
谢谢!