python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to mock googleapiclient.discovery.build to unit test reading from google sheets
Hi I want to unit test the below code by mocking the api calls .
def get_data_from_google_sheets(spreadsheet_id, google_creds):
"""
Pupose:
"""
scopes = [...
AMJ
Votes: 0
Answers: 1
How to let my users save their configuration on Google Drive without sahring my developer credentials.json?
There is something I don't understand, when it comes to using the Google Drive API.
I'm trying to develop a desktop application that lets the user save his config file to his personal Google Drive, so...
PiRK
Votes: 0
Answers: 2
GCP - vulnerabilityReports.get() with Python
I am trying to get the vulnerability report for an instance as part of a Python script. For that I am following the documentation here:
https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/proj...
Beembo
Votes: 0
Answers: 1
What is the expiry policy of Google OAuth2 access tokens for Firebase database?
I'm working on authenticating REST API calls to a Firebase Realtime database and have decided to use Google OAuth2 access tokens to authorize the requests. I've followed this doc -
https://firebase.go...

vepzfe
Votes: 0
Answers: 1