Database Reference
In-Depth Information
should be stored securely. Save the file to a secure location and remember
where you put it—you will need it later in the setup process. After you
download the key, you return to the API Access section, and there is an entry
for the newly created service account.
Figure 3.2 OAuth client type selection
Client Types
The web and installed application client types enable developers to
request access to user data in Google accounts. The service account is
more like a user account and can appear in team and access control
lists. The installed client credentials are the simplest to use with
hand-built HTTP requests. In Chapter 5, “Talking to the BigQuery API,”
you construct such requests to explore the details of the API. However,
you do not need to create a credential of this type because you can use
one set up for the examples in this topic.
This information, shown in Figure 3.3 , needs to be saved so that it can
be used in the code samples for authentication. The simplest way is to
download a JSON file describing the account using the link in the account
information panel. Alternatively, you can just record the e-mail address for
the service account.
 
 
Search WWH ::




Custom Search