{ "uuid": "0f8b80fb-b5dd-4422-a918-a648d1cb4f1d", "lastMigration": 29, "name": "Service Usage API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "265dabea-40d5-4c47-b2a3-dd0066931649", "documentation": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", "method": "get", "endpoint": "v1beta1/operations", "responses": [ { "uuid": "8245008d-bfbb-41e9-9372-d1a7b2033d4a", "body": "{\n \"nextPageToken\": \"\",\n \"operations\": [\n {\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\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": "f2c88192-ce81-452a-b1b5-6ab85fca3981", "documentation": "Deletes a consumer override.", "method": "delete", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "41efb07e-dcc7-46bf-b984-662e006f192f", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\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": "dc1c6e10-098d-4403-aaf0-e8f022ee1c1c", "documentation": "Retrieves a summary of quota information for a specific quota limit.", "method": "get", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "91dc76a8-0509-4b75-9350-62bf9e399045", "body": "{\n \"allowsAdminOverrides\": {{faker 'datatype.boolean'}},\n \"isPrecise\": {{faker 'datatype.boolean'}},\n \"metric\": \"\",\n \"name\": \"\",\n \"quotaBuckets\": [\n {\n \"adminOverride\": {\n \"adminOverrideAncestor\": \"\",\n \"dimensions\": {},\n \"metric\": \"\",\n \"name\": \"\",\n \"overrideValue\": \"\",\n \"unit\": \"\"\n },\n \"consumerOverride\": {\n \"adminOverrideAncestor\": \"\",\n \"dimensions\": {},\n \"metric\": \"\",\n \"name\": \"\",\n \"overrideValue\": \"\",\n \"unit\": \"\"\n },\n \"defaultLimit\": \"\",\n \"dimensions\": {},\n \"effectiveLimit\": \"\",\n \"producerOverride\": {\n \"adminOverrideAncestor\": \"\",\n \"dimensions\": {},\n \"metric\": \"\",\n \"name\": \"\",\n \"overrideValue\": \"\",\n \"unit\": \"\"\n }\n }\n ],\n \"supportedLocations\": [\n \"\"\n ],\n \"unit\": \"\"\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": "e08b42ae-f147-471d-8e43-3827bb8f6a49", "documentation": "Updates a consumer override.", "method": "patch", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "cbc11490-c957-4e55-96f1-57396ad5d039", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\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": "307c30e5-0c8d-4147-86d4-f83a68693b57", "documentation": "Disables a service so that it can no longer be used with a project. This prevents unintended usage that may cause unexpected billing charges or security leaks. It is not valid to call the disable method on a service that is not currently enabled. Callers will receive a `FAILED_PRECONDITION` status if the target service is not currently enabled. Operation response type: `google.protobuf.Empty`", "method": "post", "endpoint": "v1beta1/:name:disable", "responses": [ { "uuid": "53706346-b6aa-4b03-b0a2-6946dae5ace0", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\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": "a9a62f17-9e19-44e5-95b0-d51eadc19882", "documentation": "Enables a service so that it can be used with a project. Operation response type: `google.protobuf.Empty`", "method": "post", "endpoint": "v1beta1/:name:enable", "responses": [ { "uuid": "21ce041c-7d9d-4c94-b6d7-4db44926c61a", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\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": "494e91ec-7d77-424a-89c9-8b73c2dfa912", "documentation": "Lists all admin overrides on this limit.", "method": "get", "endpoint": "v1beta1/:parent/adminOverrides", "responses": [ { "uuid": "81fabbd2-8de4-42c5-abad-64a9f7705822", "body": "{\n \"nextPageToken\": \"\",\n \"overrides\": [\n {\n \"adminOverrideAncestor\": \"\",\n \"dimensions\": {},\n \"metric\": \"\",\n \"name\": \"\",\n \"overrideValue\": \"\",\n \"unit\": \"\"\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": "39099b21-0d1d-40d1-b1dc-a4ac649b96f2", "documentation": "Creates an admin override. An admin override is applied by an administrator of a parent folder or parent organization of the consumer receiving the override. An admin override is intended to limit the amount of quota the consumer can use out of the total quota pool allocated to all children of the folder or organization.", "method": "post", "endpoint": "v1beta1/:parent/adminOverrides", "responses": [ { "uuid": "8fcbbd4c-367b-44ee-98f5-88db40f89bf4", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\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": "87b69efd-645e-4d17-b8f3-75691ea5db8e", "documentation": "Lists all consumer overrides on this limit.", "method": "get", "endpoint": "v1beta1/:parent/consumerOverrides", "responses": [ { "uuid": "3c0a56eb-afa0-40e7-9756-e103c320f943", "body": "{\n \"nextPageToken\": \"\",\n \"overrides\": [\n {\n \"adminOverrideAncestor\": \"\",\n \"dimensions\": {},\n \"metric\": \"\",\n \"name\": \"\",\n \"overrideValue\": \"\",\n \"unit\": \"\"\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": "9ccf0216-9161-475a-b83c-a4908c0797f1", "documentation": "Creates a consumer override. A consumer override is applied to the consumer on its own authority to limit its own quota usage. Consumer overrides cannot be used to grant more quota than would be allowed by admin overrides, producer overrides, or the default limit of the service.", "method": "post", "endpoint": "v1beta1/:parent/consumerOverrides", "responses": [ { "uuid": "b179aa1a-388b-4a9c-b75b-5d841651d5d9", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\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": "a6a4086e-5009-43d9-bb4c-33e1535389d1", "documentation": "Retrieves a summary of all quota information visible to the service consumer, organized by service metric. Each metric includes information about all of its defined limits. Each limit includes the limit configuration (quota unit, preciseness, default value), the current effective limit value, and all of the overrides applied to the limit.", "method": "get", "endpoint": "v1beta1/:parent/consumerQuotaMetrics", "responses": [ { "uuid": "42aa3ad2-c6d5-4624-baf4-ecc480739e4c", "body": "{\n \"metrics\": [\n {\n \"consumerQuotaLimits\": [\n {\n \"allowsAdminOverrides\": {{faker 'datatype.boolean'}},\n \"isPrecise\": {{faker 'datatype.boolean'}},\n \"metric\": \"\",\n \"name\": \"\",\n \"quotaBuckets\": [\n {\n \"adminOverride\": {\n \"adminOverrideAncestor\": \"\",\n \"dimensions\": {},\n \"metric\": \"\",\n \"name\": \"\",\n \"overrideValue\": \"\",\n \"unit\": \"\"\n },\n \"consumerOverride\": {\n \"adminOverrideAncestor\": \"\",\n \"dimensions\": {},\n \"metric\": \"\",\n \"name\": \"\",\n \"overrideValue\": \"\",\n \"unit\": \"\"\n },\n \"defaultLimit\": \"\",\n \"dimensions\": {},\n \"effectiveLimit\": \"\",\n \"producerOverride\": {\n \"adminOverrideAncestor\": \"\",\n \"dimensions\": {},\n \"metric\": \"\",\n \"name\": \"\",\n \"overrideValue\": \"\",\n \"unit\": \"\"\n }\n }\n ],\n \"supportedLocations\": [\n \"\"\n ],\n \"unit\": \"\"\n }\n ],\n \"descendantConsumerQuotaLimits\": [\n {\n \"allowsAdminOverrides\": {{faker 'datatype.boolean'}},\n \"isPrecise\": {{faker 'datatype.boolean'}},\n \"metric\": \"\",\n \"name\": \"\",\n \"quotaBuckets\": [\n {\n \"adminOverride\": {\n \"adminOverrideAncestor\": \"\",\n \"dimensions\": {},\n \"metric\": \"\",\n \"name\": \"\",\n \"overrideValue\": \"\",\n \"unit\": \"\"\n },\n \"consumerOverride\": {\n \"adminOverrideAncestor\": \"\",\n \"dimensions\": {},\n \"metric\": \"\",\n \"name\": \"\",\n \"overrideValue\": \"\",\n \"unit\": \"\"\n },\n \"defaultLimit\": \"\",\n \"dimensions\": {},\n \"effectiveLimit\": \"\",\n \"producerOverride\": {\n \"adminOverrideAncestor\": \"\",\n \"dimensions\": {},\n \"metric\": \"\",\n \"name\": \"\",\n \"overrideValue\": \"\",\n \"unit\": \"\"\n }\n }\n ],\n \"supportedLocations\": [\n \"\"\n ],\n \"unit\": \"\"\n }\n ],\n \"displayName\": \"\",\n \"metric\": \"\",\n \"name\": \"\",\n \"unit\": \"\"\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": "f64b6ae9-ccfc-4022-a619-5076186c77d8", "documentation": "Creates or updates multiple admin overrides atomically, all on the same consumer, but on many different metrics or limits. The name field in the quota override message should not be set.", "method": "post", "endpoint": "v1beta1/:parent/consumerQuotaMetrics:importAdminOverrides", "responses": [ { "uuid": "230d6984-7039-4f6f-8d85-66acce660b36", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\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": "0a996784-7475-4929-8751-8bb56cac5bad", "documentation": "Creates or updates multiple consumer overrides atomically, all on the same consumer, but on many different metrics or limits. The name field in the quota override message should not be set.", "method": "post", "endpoint": "v1beta1/:parent/consumerQuotaMetrics:importConsumerOverrides", "responses": [ { "uuid": "690f5e97-10ad-4e7d-88a7-aae1c37228d2", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\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": "4c6ec411-7993-4d04-b131-67145c6df2b0", "documentation": "Lists all services available to the specified project, and the current state of those services with respect to the project. The list includes all public services, all services for which the calling user has the `servicemanagement.services.bind` permission, and all services that have already been enabled on the project. The list can be filtered to only include services in a specific state, for example to only include services enabled on the project.", "method": "get", "endpoint": "v1beta1/:parent/services", "responses": [ { "uuid": "3f2a5cd3-b0d5-4ab5-8e5b-37d6b39d41b6", "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": "48a0b712-f4a6-46b7-b797-49e8c747a1ff", "documentation": "Enables multiple services on a project. The operation is atomic: if enabling any service fails, then the entire batch fails, and no state changes occur. Operation response type: `google.protobuf.Empty`", "method": "post", "endpoint": "v1beta1/:parent/services:batchEnable", "responses": [ { "uuid": "eaffc569-71d5-4311-aa82-6fe9407d6811", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\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": "bd87c7ec-5be6-47af-96e3-c6564bfecbe5", "documentation": "Generates service identity for service.", "method": "post", "endpoint": "v1beta1/:parent:generateServiceIdentity", "responses": [ { "uuid": "c6ae83a7-77bc-46d8-a086-dfa03a6a286d", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\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": "265dabea-40d5-4c47-b2a3-dd0066931649" }, { "type": "route", "uuid": "f2c88192-ce81-452a-b1b5-6ab85fca3981" }, { "type": "route", "uuid": "dc1c6e10-098d-4403-aaf0-e8f022ee1c1c" }, { "type": "route", "uuid": "e08b42ae-f147-471d-8e43-3827bb8f6a49" }, { "type": "route", "uuid": "307c30e5-0c8d-4147-86d4-f83a68693b57" }, { "type": "route", "uuid": "a9a62f17-9e19-44e5-95b0-d51eadc19882" }, { "type": "route", "uuid": "494e91ec-7d77-424a-89c9-8b73c2dfa912" }, { "type": "route", "uuid": "39099b21-0d1d-40d1-b1dc-a4ac649b96f2" }, { "type": "route", "uuid": "87b69efd-645e-4d17-b8f3-75691ea5db8e" }, { "type": "route", "uuid": "9ccf0216-9161-475a-b83c-a4908c0797f1" }, { "type": "route", "uuid": "a6a4086e-5009-43d9-bb4c-33e1535389d1" }, { "type": "route", "uuid": "f64b6ae9-ccfc-4022-a619-5076186c77d8" }, { "type": "route", "uuid": "0a996784-7475-4929-8751-8bb56cac5bad" }, { "type": "route", "uuid": "4c6ec411-7993-4d04-b131-67145c6df2b0" }, { "type": "route", "uuid": "48a0b712-f4a6-46b7-b797-49e8c747a1ff" }, { "type": "route", "uuid": "bd87c7ec-5be6-47af-96e3-c6564bfecbe5" } ] }