{"id":22671469,"url":"https://github.com/cloudforet-io/plugin-mzc-google-cost-datasource","last_synced_at":"2025-03-29T11:21:59.312Z","repository":{"id":179377866,"uuid":"661577843","full_name":"cloudforet-io/plugin-mzc-google-cost-datasource","owner":"cloudforet-io","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-21T16:37:31.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-04T11:52:06.473Z","etag":null,"topics":["cost-analysis","data-source","plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudforet-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-07-03T07:31:01.000Z","updated_at":"2023-07-07T07:46:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"7acebb46-58b2-48e8-8481-e022d8e241cc","html_url":"https://github.com/cloudforet-io/plugin-mzc-google-cost-datasource","commit_stats":null,"previous_names":["cloudforet-io/plugin-mzc-google-cost-datasource"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudforet-io%2Fplugin-mzc-google-cost-datasource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudforet-io%2Fplugin-mzc-google-cost-datasource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudforet-io%2Fplugin-mzc-google-cost-datasource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudforet-io%2Fplugin-mzc-google-cost-datasource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudforet-io","download_url":"https://codeload.github.com/cloudforet-io/plugin-mzc-google-cost-datasource/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246175271,"owners_count":20735529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cost-analysis","data-source","plugin"],"created_at":"2024-12-09T16:15:09.980Z","updated_at":"2025-03-29T11:21:59.288Z","avatar_url":"https://github.com/cloudforet-io.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plugin-mzc-google-cost-datasource\n\nPlugin for collecting GCP Billing data\n\n---\n\n## Secret Data\n\n*Schema*\n\n* project_id (str): project_id is a unique identifier for a project and is used only within the GCP console.\n* private_key (str): When you add a GCP cloud account, you use a private key for a GCP service account\n* token_uri (str): The OAuth 2.0 authorization server’s token endpoint URI.\n* client_email (str): A service account's credentials include a generated email address\n* bucket (str): Bucket of GCS (e.g. `spaceone-billing-data`)\n* organization(str): Specifies a sub-specific organization within the bucket\n\n```\nproject_id, private_key, token_uri and client_email can be obtained from api_key issued when creating service_account.  \n\n```\n\n\u003cbr\u003e\n\n*Example 1*\n\n```python\n{\n    \"project_id\": \"\u003cproject_id\u003e\",\n    \"private_key\": \"*****\",\n    \"client_email\": \"\u003cservice_account_name\u003e@\u003cproject_id\u003e.iam.gserviceaccount.com\",\n    \"token_uri\": \"https://oauth2.googleapis.com/token\",\n    \"bucket\": \"spaceone-billing-data\",\n    \"organization\": \"*\"\n}\n```\n\n- Collect all cost data under `spaceone-billing-data`.\n\n\u003cbr\u003e\n\n*Example 2*\n```python\n{\n    \"project_id\": \"\u003cproject_id\u003e\",\n    \"private_key\": \"*****\",\n    \"client_email\": \"\u003cservice_account_name\u003e@\u003cproject_id\u003e.iam.gserviceaccount.com\",\n    \"token_uri\": \"https://oauth2.googleapis.com/token\",\n    \"bucket\": \"spaceone-billing-data\",\n    \"organization\": \"\u003corganization name_1 (spaceone domain name)\u003e\"\n}\n```\n\n- Cost data is collected for a specific organization of the `spaceone-billing-data` bucket.\n\n\u003cbr\u003e\n\n## Options\n\nCurrently, not required.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudforet-io%2Fplugin-mzc-google-cost-datasource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudforet-io%2Fplugin-mzc-google-cost-datasource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudforet-io%2Fplugin-mzc-google-cost-datasource/lists"}