{"id":25930654,"url":"https://github.com/rubyhcm/google_api_upload_files","last_synced_at":"2026-05-07T12:39:13.149Z","repository":{"id":279379011,"uuid":"938602633","full_name":"rubyhcm/google_api_upload_files","owner":"rubyhcm","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-07T08:06:51.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-07T09:22:38.552Z","etag":null,"topics":["google-drive-api","rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubyhcm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-25T08:02:58.000Z","updated_at":"2025-03-07T08:06:54.000Z","dependencies_parsed_at":"2025-02-25T09:39:02.795Z","dependency_job_id":null,"html_url":"https://github.com/rubyhcm/google_api_upload_files","commit_stats":null,"previous_names":["rubyhcm/google_api_upload_files"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rubyhcm/google_api_upload_files","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyhcm%2Fgoogle_api_upload_files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyhcm%2Fgoogle_api_upload_files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyhcm%2Fgoogle_api_upload_files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyhcm%2Fgoogle_api_upload_files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubyhcm","download_url":"https://codeload.github.com/rubyhcm/google_api_upload_files/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyhcm%2Fgoogle_api_upload_files/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32738499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google-drive-api","rails"],"created_at":"2025-03-03T23:22:20.466Z","updated_at":"2026-05-07T12:39:13.134Z","avatar_url":"https://github.com/rubyhcm.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### Gemfile\n\n`gem \"google-apis-drive_v3\", \"~\u003e 0.58.0\"`\n\n#### Some changed files\n\n```ruby\n# app/controllers/files_controller.rb\n\n# app/services/google_drive_service.rb\n\n# app/views/files/_form.html.erb\n# app/views/files/index.html.erb\n# app/views/layouts/application.html.erb to add bootstrap and fontawesome\n# app/views/shared/_messages.html.erb\n\n# config/credentials/google_drive_credentials.json this is a file which we downloaded from google when create key\n\n# config/routes.rb\n```\n\n#### Guide\n\n\u003c!-- See at https://github.com/rubyhcm/note/tree/master/secrets --\u003e\n\n- Create a Google Cloud Project\n  - Go to the Google Cloud Console.\n  - Click on \"Select a project\" and then \"New Project.\"\n  - Enter a name for your project and click \"Create.\"\n- Enable Google Drive API\n  - In the Google Cloud Console, navigate to \"APIs \u0026 Services\" \u003e \"Library.\"\n  - Search for \"Google Drive API\" and click on it.\n  - Click the \"Enable\" button to activate the API for your project.\n- Create a Service Account\n  - In the Google Cloud Console, navigate to \"IAM \u0026 Admin\" \u003e \"Service Accounts.\"\n  - Click \"Create Service Account,\" provide a name, and click \"Create.\"\n  - Assign the necessary roles (e.g., \"Editor\" or \"Viewer\") for Google Drive access.\n- Generate a Key for the Service Account\n  - After creating the Service Account, click on it to open its details.\n  - Go to the \"Keys\" tab and click \"Add Key\" \u003e \"Create New Key.\"\n  - Choose JSON as the key type and download the key file.\n\n#### Note\n\nYou can using `fast_upload_google_drive.rb` to upload/delete files\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyhcm%2Fgoogle_api_upload_files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyhcm%2Fgoogle_api_upload_files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyhcm%2Fgoogle_api_upload_files/lists"}