)]}'
{
  "commit": "1fb3c8ec61295adc876fa449e92fe5d682f33cbd",
  "tree": "4e77160f6702fd8e3b2467c610c054126ef8b1c7",
  "parents": [
    "fc365b8c30c01c6c5815b9a3e075d4413b547e81"
  ],
  "author": {
    "name": "arithmetic1728",
    "email": "58957152+arithmetic1728@users.noreply.github.com",
    "time": "Thu Oct 07 15:08:32 2021 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Oct 07 22:08:32 2021 +0000"
  },
  "message": "feat: enable self signed jwt for service account credentials (#1553)\n\nEnable self signed jwt if google-auth service account credentials are used.\r\n\r\nTested with Storage, Compute and PubSub APIs:\r\n\r\n```\r\nimport googleapiclient.discovery\r\n\r\nproject \u003d \"\u003cproject\u003e\"\r\nzone \u003d \"us-west1-a\"\r\n\r\ncompute \u003d googleapiclient.discovery.build(\u0027compute\u0027, \u0027v1\u0027)\r\nresult \u003d compute.instances().list(project\u003dproject, zone\u003dzone).execute()\r\nprint(result)\r\n\r\nstorage \u003d googleapiclient.discovery.build(\u0027storage\u0027, \u0027v1\u0027)\r\nresult \u003d storage.buckets().list(project\u003dproject).execute()\r\nprint(result)\r\n\r\ntopic \u003d \"\u003ctopic\u003e\"\r\npubsub \u003d googleapiclient.discovery.build(\u0027pubsub\u0027, \u0027v1\u0027)\r\nresult \u003d pubsub.projects().topics().get(topic\u003df\"projects/{project}/topics/{topic}\").execute()\r\nprint(result)\r\n```",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1b7aedd6fd18867782554d1655da97cd9623ef30",
      "old_mode": 33188,
      "old_path": "googleapiclient/discovery.py",
      "new_id": "1004f308880ce3878b9cb504b7f57e9461a8c922",
      "new_mode": 33188,
      "new_path": "googleapiclient/discovery.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b711fee2273a483bb4398124b25753741d86cc41",
      "new_mode": 33188,
      "new_path": "tests/data/service_account.json"
    },
    {
      "type": "modify",
      "old_id": "9500fbf9f3525d08f71fb1975180b570fc3b08c5",
      "old_mode": 33188,
      "old_path": "tests/test_discovery.py",
      "new_id": "2f3f028d73f7045b7cd75691f14f84144cff3f55",
      "new_mode": 33188,
      "new_path": "tests/test_discovery.py"
    }
  ]
}
