Using domain-wide delegation without service account keys, Java edition

Before we can call a Google API, we have to obtain an OAuth access token. As we learned before, there are different types of access tokens , and service account access tokens are a little different from user access tokens . The vast majority of Google Cloud APIs don&rsquo;t discriminate between these two types of token and work with both. But beyond Google Cloud, there are still many Google APIs…