{"id":22671395,"url":"https://github.com/cloudforet-io/plugin-google-billing-cost-datasource","last_synced_at":"2025-04-12T12:22:29.793Z","repository":{"id":189125443,"uuid":"668623134","full_name":"cloudforet-io/plugin-google-billing-cost-datasource","owner":"cloudforet-io","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-17T08:35:18.000Z","size":86,"stargazers_count":2,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T07:04:21.081Z","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,"publiccode":null,"codemeta":null}},"created_at":"2023-07-20T08:34:44.000Z","updated_at":"2024-06-17T08:35:10.000Z","dependencies_parsed_at":"2023-08-18T12:08:52.092Z","dependency_job_id":"ec387952-be64-457b-996b-49206c678180","html_url":"https://github.com/cloudforet-io/plugin-google-billing-cost-datasource","commit_stats":null,"previous_names":["cloudforet-io/plugin-google-billing-cost-datasource"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudforet-io%2Fplugin-google-billing-cost-datasource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudforet-io%2Fplugin-google-billing-cost-datasource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudforet-io%2Fplugin-google-billing-cost-datasource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudforet-io%2Fplugin-google-billing-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-google-billing-cost-datasource/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565252,"owners_count":21125439,"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:14:53.193Z","updated_at":"2025-04-12T12:22:29.768Z","avatar_url":"https://github.com/cloudforet-io.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plugin-google-billing-cost-datasource\n\nPlugin for collecting GCP Billing data from BigQuery service\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* billing_dataset (str)(**optional**): specifies the name of the dataset to collect billing data from. If not present, `spaceone_billing_data` is used.\n* target_billing_account_id(str)(**optional**): specifies the billing_account_id to be collected. If not present, use billing_account_id linked to project_id in secret_data.\n* target_project_id (list): specify the project_id to be collected by filtering the Cloud Billing data loaded into BigQuery by project_id. If `*` is specified, it is collected regardless of project_id. \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*\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    \"billing_dataset\": \"spaceone_billing_data\", #optional\n    \"target_billing_account_id\": \"{BILLING_ACCOUNT_ID}\", #optional\n    \"target_project_id\": [\"*\"]\n}\n```\n\n\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-google-billing-cost-datasource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudforet-io%2Fplugin-google-billing-cost-datasource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudforet-io%2Fplugin-google-billing-cost-datasource/lists"}