{ "uuid": "4218faa3-ba02-4242-9b27-d786aacb61d4", "lastMigration": 29, "name": "Cloud Functions API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "94249f97-075e-4bc4-8564-e76052ac1d95", "documentation": "Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function.", "method": "delete", "endpoint": "v2/:name", "responses": [ { "uuid": "e7dabc3e-892c-412a-9119-c97219fd43e7", "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": "4834c5ec-af71-468c-85dc-8084ebe3646e", "documentation": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", "method": "get", "endpoint": "v2/:name", "responses": [ { "uuid": "d392db13-bdc7-45d8-80d1-ae3f4e89c76e", "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": "ad0f1ff6-05be-4dec-b950-3336912aa81d", "documentation": "Updates existing function.", "method": "patch", "endpoint": "v2/:name", "responses": [ { "uuid": "1858fb86-b39c-48c8-8fcd-f34ef19c2caa", "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": "a2ae1aac-1af6-4400-a5ee-57a3863d59dc", "documentation": "Lists information about the supported locations for this service.", "method": "get", "endpoint": "v2/:name/locations", "responses": [ { "uuid": "1d4b81ce-e7b0-4be2-b72a-10256ff7ca23", "body": "{\n \"locations\": [\n {\n \"displayName\": \"\",\n \"labels\": {},\n \"locationId\": \"\",\n \"metadata\": {},\n \"name\": \"\"\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": "81429df1-7ff6-4414-9416-3146439a7e82", "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": "v2/:name/operations", "responses": [ { "uuid": "d682477e-52a7-413d-b1a4-2eba2ed9ef12", "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": "b35e23e3-e99e-4fe3-aa26-a3d83759b923", "documentation": "Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within 30 minutes of generation. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls", "method": "post", "endpoint": "v2/:name:generateDownloadUrl", "responses": [ { "uuid": "50dcfe9a-ffae-41fc-be4f-f432fbdc4559", "body": "{\n \"downloadUrl\": \"\"\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": "6096d46d-f529-4b2e-aa8f-d04d4526938c", "documentation": "Returns a list of functions that belong to the requested project.", "method": "get", "endpoint": "v2/:parent/functions", "responses": [ { "uuid": "304930c3-3a61-4ae3-b81e-6383e1be39b1", "body": "{\n \"functions\": [\n {\n \"buildConfig\": {\n \"build\": \"\",\n \"buildpackStack\": \"\",\n \"dockerRegistry\": \"{{oneOf (array 'DOCKER_REGISTRY_UNSPECIFIED' 'CONTAINER_REGISTRY' 'ARTIFACT_REGISTRY')}}\",\n \"dockerRepository\": \"\",\n \"entryPoint\": \"\",\n \"environmentVariables\": {},\n \"runtime\": \"\",\n \"source\": {\n \"repoSource\": {\n \"branchName\": \"\",\n \"commitSha\": \"\",\n \"dir\": \"\",\n \"invertRegex\": {{faker 'datatype.boolean'}},\n \"projectId\": \"\",\n \"repoName\": \"\",\n \"tagName\": \"\"\n },\n \"storageSource\": {\n \"bucket\": \"\",\n \"generation\": \"\",\n \"object\": \"\"\n }\n },\n \"sourceProvenance\": {\n \"resolvedRepoSource\": {\n \"branchName\": \"\",\n \"commitSha\": \"\",\n \"dir\": \"\",\n \"invertRegex\": {{faker 'datatype.boolean'}},\n \"projectId\": \"\",\n \"repoName\": \"\",\n \"tagName\": \"\"\n },\n \"resolvedStorageSource\": {\n \"bucket\": \"\",\n \"generation\": \"\",\n \"object\": \"\"\n }\n },\n \"workerPool\": \"\"\n },\n \"description\": \"\",\n \"environment\": \"{{oneOf (array 'ENVIRONMENT_UNSPECIFIED' 'GEN_1' 'GEN_2')}}\",\n \"eventTrigger\": {\n \"channel\": \"\",\n \"eventFilters\": [\n {\n \"attribute\": \"\",\n \"operator\": \"\",\n \"value\": \"\"\n }\n ],\n \"eventType\": \"\",\n \"pubsubTopic\": \"\",\n \"retryPolicy\": \"{{oneOf (array 'RETRY_POLICY_UNSPECIFIED' 'RETRY_POLICY_DO_NOT_RETRY' 'RETRY_POLICY_RETRY')}}\",\n \"serviceAccountEmail\": \"\",\n \"trigger\": \"\",\n \"triggerRegion\": \"\"\n },\n \"labels\": {},\n \"name\": \"\",\n \"serviceConfig\": {\n \"allTrafficOnLatestRevision\": {{faker 'datatype.boolean'}},\n \"availableMemory\": \"\",\n \"environmentVariables\": {},\n \"ingressSettings\": \"{{oneOf (array 'INGRESS_SETTINGS_UNSPECIFIED' 'ALLOW_ALL' 'ALLOW_INTERNAL_ONLY' 'ALLOW_INTERNAL_AND_GCLB')}}\",\n \"maxInstanceCount\": {{faker 'number.int' max=99999}},\n \"minInstanceCount\": {{faker 'number.int' max=99999}},\n \"revision\": \"\",\n \"secretEnvironmentVariables\": [\n {\n \"key\": \"\",\n \"projectId\": \"\",\n \"secret\": \"\",\n \"version\": \"\"\n }\n ],\n \"secretVolumes\": [\n {\n \"mountPath\": \"\",\n \"projectId\": \"\",\n \"secret\": \"\",\n \"versions\": [\n {\n \"path\": \"\",\n \"version\": \"\"\n }\n ]\n }\n ],\n \"securityLevel\": \"{{oneOf (array 'SECURITY_LEVEL_UNSPECIFIED' 'SECURE_ALWAYS' 'SECURE_OPTIONAL')}}\",\n \"service\": \"\",\n \"serviceAccountEmail\": \"\",\n \"timeoutSeconds\": {{faker 'number.int' max=99999}},\n \"uri\": \"\",\n \"vpcConnector\": \"\",\n \"vpcConnectorEgressSettings\": \"{{oneOf (array 'VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED' 'PRIVATE_RANGES_ONLY' 'ALL_TRAFFIC')}}\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'FAILED' 'DEPLOYING' 'DELETING' 'UNKNOWN')}}\",\n \"stateMessages\": [\n {\n \"message\": \"\",\n \"severity\": \"{{oneOf (array 'SEVERITY_UNSPECIFIED' 'ERROR' 'WARNING' 'INFO')}}\",\n \"type\": \"\"\n }\n ],\n \"updateTime\": \"\"\n }\n ],\n \"nextPageToken\": \"\",\n \"unreachable\": [\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": "dd7d35c2-ea5b-4771-9280-45845b48f842", "documentation": "Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error.", "method": "post", "endpoint": "v2/:parent/functions", "responses": [ { "uuid": "ac302008-daa2-41ac-bbdf-b91c9642e466", "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": "7ac14075-9e6e-4d99-860f-db0b43e29196", "documentation": "Returns a signed URL for uploading a function source code. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls. Once the function source code upload is complete, the used signed URL should be provided in CreateFunction or UpdateFunction request as a reference to the function source code. When uploading source code to the generated signed URL, please follow these restrictions: * Source file type should be a zip file. * No credentials should be attached - the signed URLs provide access to the target bucket using internal service identity; if credentials were attached, the identity from the credentials would be used, but that identity does not have permissions to upload files to the URL. When making a HTTP PUT request, these two headers need to be specified: * `content-type: application/zip` And this header SHOULD NOT be specified: * `Authorization: Bearer YOUR_TOKEN`", "method": "post", "endpoint": "v2/:parent/functions:generateUploadUrl", "responses": [ { "uuid": "4ef263cc-7692-42b2-bdb2-a8abb16c92a2", "body": "{\n \"storageSource\": {\n \"bucket\": \"\",\n \"generation\": \"\",\n \"object\": \"\"\n },\n \"uploadUrl\": \"\"\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": "66f37aeb-027a-43f7-8f93-c03a72054447", "documentation": "Returns a list of runtimes that are supported for the requested project.", "method": "get", "endpoint": "v2/:parent/runtimes", "responses": [ { "uuid": "5106b105-d05c-47f9-b349-aab2b249e910", "body": "{\n \"runtimes\": [\n {\n \"displayName\": \"\",\n \"environment\": \"{{oneOf (array 'ENVIRONMENT_UNSPECIFIED' 'GEN_1' 'GEN_2')}}\",\n \"name\": \"\",\n \"stage\": \"{{oneOf (array 'RUNTIME_STAGE_UNSPECIFIED' 'DEVELOPMENT' 'ALPHA' 'BETA' 'GA' 'DEPRECATED' 'DECOMMISSIONED')}}\",\n \"warnings\": [\n \"\"\n ]\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": "2257f3ec-2d98-4f8c-8a4b-cfe366733371", "documentation": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", "method": "get", "endpoint": "v2/:resource:getIamPolicy", "responses": [ { "uuid": "e2bebb00-be0a-446b-91e1-32033cf1331f", "body": "{\n \"auditConfigs\": [\n {\n \"auditLogConfigs\": [\n {\n \"exemptedMembers\": [\n \"\"\n ],\n \"logType\": \"{{oneOf (array 'LOG_TYPE_UNSPECIFIED' 'ADMIN_READ' 'DATA_WRITE' 'DATA_READ')}}\"\n }\n ],\n \"service\": \"\"\n }\n ],\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\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": "35ab9e66-c004-44a4-87ec-b19e0c072ddf", "documentation": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", "method": "post", "endpoint": "v2/:resource:setIamPolicy", "responses": [ { "uuid": "373da93c-360f-480b-8e4a-ce7d4acb8f4a", "body": "{\n \"auditConfigs\": [\n {\n \"auditLogConfigs\": [\n {\n \"exemptedMembers\": [\n \"\"\n ],\n \"logType\": \"{{oneOf (array 'LOG_TYPE_UNSPECIFIED' 'ADMIN_READ' 'DATA_WRITE' 'DATA_READ')}}\"\n }\n ],\n \"service\": \"\"\n }\n ],\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\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": "0bab1d71-7b83-4133-86d6-4b908fd88991", "documentation": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", "method": "post", "endpoint": "v2/:resource:testIamPermissions", "responses": [ { "uuid": "83611ad2-2afd-44eb-82e6-e71603d02dcd", "body": "{\n \"permissions\": [\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": "94249f97-075e-4bc4-8564-e76052ac1d95" }, { "type": "route", "uuid": "4834c5ec-af71-468c-85dc-8084ebe3646e" }, { "type": "route", "uuid": "ad0f1ff6-05be-4dec-b950-3336912aa81d" }, { "type": "route", "uuid": "a2ae1aac-1af6-4400-a5ee-57a3863d59dc" }, { "type": "route", "uuid": "81429df1-7ff6-4414-9416-3146439a7e82" }, { "type": "route", "uuid": "b35e23e3-e99e-4fe3-aa26-a3d83759b923" }, { "type": "route", "uuid": "6096d46d-f529-4b2e-aa8f-d04d4526938c" }, { "type": "route", "uuid": "dd7d35c2-ea5b-4771-9280-45845b48f842" }, { "type": "route", "uuid": "7ac14075-9e6e-4d99-860f-db0b43e29196" }, { "type": "route", "uuid": "66f37aeb-027a-43f7-8f93-c03a72054447" }, { "type": "route", "uuid": "2257f3ec-2d98-4f8c-8a4b-cfe366733371" }, { "type": "route", "uuid": "35ab9e66-c004-44a4-87ec-b19e0c072ddf" }, { "type": "route", "uuid": "0bab1d71-7b83-4133-86d6-4b908fd88991" } ] }