設定電子郵件 DMARC
提供設定 DMARC 的範例,並且提供官...
本文最後更新日期 2024/1/17。
# Gemfile gem 'googleauth' gem 'google-apis-sheets_v4'
client = Google::Apis::SheetsV4::SheetsService.new cred_file = '/tmp/secret.json' authorizer = Google::Auth::ServiceAccountCredentials.make_creds(json_key_io: File.open(cred_file), scope: [Google::Apis::SheetsV4::AUTH_SPREADSHEETS]) client.authorization = authorizer
client.get_spreadsheet_values(spreadsheet_id, "哈哈!A3:J507").to_h