{ "uuid": "2f51d852-7e51-4523-84f6-0dab8907fae1", "lastMigration": 29, "name": "Cloud Billing Budget API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "4513eb8a-83ca-4420-8113-13474be7c91b", "documentation": "Deletes a budget. Returns successfully if already deleted.", "method": "delete", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "50591bf0-0c05-4bbf-a68b-a80e989c2f20", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2d3695c7-7bb2-448a-b754-692071c4d859", "documentation": "Returns a budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.", "method": "get", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "72b2a883-10be-4246-bfad-cf76b1296fcd", "body": "{\n \"allUpdatesRule\": {\n \"disableDefaultIamRecipients\": {{faker 'datatype.boolean'}},\n \"monitoringNotificationChannels\": [\n \"\"\n ],\n \"pubsubTopic\": \"\",\n \"schemaVersion\": \"\"\n },\n \"amount\": {\n \"lastPeriodAmount\": {},\n \"specifiedAmount\": {\n \"currencyCode\": \"\",\n \"nanos\": {{faker 'number.int' max=99999}},\n \"units\": \"\"\n }\n },\n \"budgetFilter\": {\n \"calendarPeriod\": \"{{oneOf (array 'CALENDAR_PERIOD_UNSPECIFIED' 'MONTH' 'QUARTER' 'YEAR')}}\",\n \"creditTypes\": [\n \"\"\n ],\n \"creditTypesTreatment\": \"{{oneOf (array 'CREDIT_TYPES_TREATMENT_UNSPECIFIED' 'INCLUDE_ALL_CREDITS' 'EXCLUDE_ALL_CREDITS' 'INCLUDE_SPECIFIED_CREDITS')}}\",\n \"customPeriod\": {\n \"endDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"startDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n }\n },\n \"labels\": {},\n \"projects\": [\n \"\"\n ],\n \"services\": [\n \"\"\n ],\n \"subaccounts\": [\n \"\"\n ]\n },\n \"displayName\": \"\",\n \"etag\": \"\",\n \"name\": \"\",\n \"thresholdRules\": [\n {\n \"spendBasis\": \"{{oneOf (array 'BASIS_UNSPECIFIED' 'CURRENT_SPEND' 'FORECASTED_SPEND')}}\",\n \"thresholdPercent\": {{faker 'number.float'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "245cbe49-5b60-45f0-aa21-ff53bec2e0a9", "documentation": "Updates a budget and returns the updated budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. Budget fields that are not exposed in this API will not be changed by this method.", "method": "patch", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "a0b1e3b7-a095-4665-a521-0bccfefc254e", "body": "{\n \"allUpdatesRule\": {\n \"disableDefaultIamRecipients\": {{faker 'datatype.boolean'}},\n \"monitoringNotificationChannels\": [\n \"\"\n ],\n \"pubsubTopic\": \"\",\n \"schemaVersion\": \"\"\n },\n \"amount\": {\n \"lastPeriodAmount\": {},\n \"specifiedAmount\": {\n \"currencyCode\": \"\",\n \"nanos\": {{faker 'number.int' max=99999}},\n \"units\": \"\"\n }\n },\n \"budgetFilter\": {\n \"calendarPeriod\": \"{{oneOf (array 'CALENDAR_PERIOD_UNSPECIFIED' 'MONTH' 'QUARTER' 'YEAR')}}\",\n \"creditTypes\": [\n \"\"\n ],\n \"creditTypesTreatment\": \"{{oneOf (array 'CREDIT_TYPES_TREATMENT_UNSPECIFIED' 'INCLUDE_ALL_CREDITS' 'EXCLUDE_ALL_CREDITS' 'INCLUDE_SPECIFIED_CREDITS')}}\",\n \"customPeriod\": {\n \"endDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"startDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n }\n },\n \"labels\": {},\n \"projects\": [\n \"\"\n ],\n \"services\": [\n \"\"\n ],\n \"subaccounts\": [\n \"\"\n ]\n },\n \"displayName\": \"\",\n \"etag\": \"\",\n \"name\": \"\",\n \"thresholdRules\": [\n {\n \"spendBasis\": \"{{oneOf (array 'BASIS_UNSPECIFIED' 'CURRENT_SPEND' 'FORECASTED_SPEND')}}\",\n \"thresholdPercent\": {{faker 'number.float'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0172440c-e059-4870-b988-b508dc0b4b42", "documentation": "Returns a list of budgets for a billing account. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.", "method": "get", "endpoint": "v1beta1/:parent/budgets", "responses": [ { "uuid": "4fdb02ea-a370-4e21-aaaa-b09a3bbeb9e3", "body": "{\n \"budgets\": [\n {\n \"allUpdatesRule\": {\n \"disableDefaultIamRecipients\": {{faker 'datatype.boolean'}},\n \"monitoringNotificationChannels\": [\n \"\"\n ],\n \"pubsubTopic\": \"\",\n \"schemaVersion\": \"\"\n },\n \"amount\": {\n \"lastPeriodAmount\": {},\n \"specifiedAmount\": {\n \"currencyCode\": \"\",\n \"nanos\": {{faker 'number.int' max=99999}},\n \"units\": \"\"\n }\n },\n \"budgetFilter\": {\n \"calendarPeriod\": \"{{oneOf (array 'CALENDAR_PERIOD_UNSPECIFIED' 'MONTH' 'QUARTER' 'YEAR')}}\",\n \"creditTypes\": [\n \"\"\n ],\n \"creditTypesTreatment\": \"{{oneOf (array 'CREDIT_TYPES_TREATMENT_UNSPECIFIED' 'INCLUDE_ALL_CREDITS' 'EXCLUDE_ALL_CREDITS' 'INCLUDE_SPECIFIED_CREDITS')}}\",\n \"customPeriod\": {\n \"endDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"startDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n }\n },\n \"labels\": {},\n \"projects\": [\n \"\"\n ],\n \"services\": [\n \"\"\n ],\n \"subaccounts\": [\n \"\"\n ]\n },\n \"displayName\": \"\",\n \"etag\": \"\",\n \"name\": \"\",\n \"thresholdRules\": [\n {\n \"spendBasis\": \"{{oneOf (array 'BASIS_UNSPECIFIED' 'CURRENT_SPEND' 'FORECASTED_SPEND')}}\",\n \"thresholdPercent\": {{faker 'number.float'}}\n }\n ]\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "05311811-ace6-4cd6-8862-5b8dd9a27cd1", "documentation": "Creates a new budget. See [Quotas and limits](https://cloud.google.com/billing/quotas) for more information on the limits of the number of budgets you can create.", "method": "post", "endpoint": "v1beta1/:parent/budgets", "responses": [ { "uuid": "f7feb45e-0e0d-4f30-87cf-bc93ba15a2c3", "body": "{\n \"allUpdatesRule\": {\n \"disableDefaultIamRecipients\": {{faker 'datatype.boolean'}},\n \"monitoringNotificationChannels\": [\n \"\"\n ],\n \"pubsubTopic\": \"\",\n \"schemaVersion\": \"\"\n },\n \"amount\": {\n \"lastPeriodAmount\": {},\n \"specifiedAmount\": {\n \"currencyCode\": \"\",\n \"nanos\": {{faker 'number.int' max=99999}},\n \"units\": \"\"\n }\n },\n \"budgetFilter\": {\n \"calendarPeriod\": \"{{oneOf (array 'CALENDAR_PERIOD_UNSPECIFIED' 'MONTH' 'QUARTER' 'YEAR')}}\",\n \"creditTypes\": [\n \"\"\n ],\n \"creditTypesTreatment\": \"{{oneOf (array 'CREDIT_TYPES_TREATMENT_UNSPECIFIED' 'INCLUDE_ALL_CREDITS' 'EXCLUDE_ALL_CREDITS' 'INCLUDE_SPECIFIED_CREDITS')}}\",\n \"customPeriod\": {\n \"endDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"startDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n }\n },\n \"labels\": {},\n \"projects\": [\n \"\"\n ],\n \"services\": [\n \"\"\n ],\n \"subaccounts\": [\n \"\"\n ]\n },\n \"displayName\": \"\",\n \"etag\": \"\",\n \"name\": \"\",\n \"thresholdRules\": [\n {\n \"spendBasis\": \"{{oneOf (array 'BASIS_UNSPECIFIED' 'CURRENT_SPEND' 'FORECASTED_SPEND')}}\",\n \"thresholdPercent\": {{faker 'number.float'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "4513eb8a-83ca-4420-8113-13474be7c91b" }, { "type": "route", "uuid": "2d3695c7-7bb2-448a-b754-692071c4d859" }, { "type": "route", "uuid": "245cbe49-5b60-45f0-aa21-ff53bec2e0a9" }, { "type": "route", "uuid": "0172440c-e059-4870-b988-b508dc0b4b42" }, { "type": "route", "uuid": "05311811-ace6-4cd6-8862-5b8dd9a27cd1" } ] }