# JSON данные также могут быть переданы как путь к файлу .json

oint google ПолучитьТокенServiceАккаунта \
  --auth "{'type':'service_account','project_id':'openintegrations','private_key_id':'***','private_key':'***','client_email':'***','client_id':'***','auth_uri':'https://accounts.google.com/o/oauth2/auth','token_uri':'***','auth_provider_x509_cert_url':'https://www.googleapis.com/oauth2/v1/certs','client_x509_cert_url':'***','universe_domain':'googleapis.com'}" \
  --scope "['https://www.googleapis.com/auth/calendar','https://www.googleapis.com/auth/drive','https://www.googleapis.com/auth/spreadsheets']"