{ "uuid": "4b47c16e-6a91-4907-bcc9-5562391f4dc9", "lastMigration": 29, "name": "Access Approval API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "88eccd6e-fc07-43f2-8d93-a3b005298d82", "documentation": "Deletes the settings associated with a project, folder, or organization. This will have the effect of disabling Access Approval for the project, folder, or organization, but only if all ancestors also have Access Approval disabled. If Access Approval is enabled at a higher level of the hierarchy, then Access Approval will still be enabled at this level as the settings are inherited.", "method": "delete", "endpoint": "v1/:name", "responses": [ { "uuid": "08301885-661c-4f4e-b0b4-7ea1378ae224", "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": "cd9e3e6d-16b0-43ad-b12d-f457dc495fc9", "documentation": "Gets an approval request. Returns NOT_FOUND if the request does not exist.", "method": "get", "endpoint": "v1/:name", "responses": [ { "uuid": "24f704fa-b08d-41fa-b346-09eadef0197c", "body": "{\n \"approve\": {\n \"approveTime\": \"\",\n \"autoApproved\": {{faker 'datatype.boolean'}},\n \"expireTime\": \"\",\n \"invalidateTime\": \"\",\n \"signatureInfo\": {\n \"customerKmsKeyVersion\": \"\",\n \"googlePublicKeyPem\": \"\",\n \"signature\": \"\"\n }\n },\n \"dismiss\": {\n \"dismissTime\": \"\",\n \"implicit\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\",\n \"requestTime\": \"\",\n \"requestedExpiration\": \"\",\n \"requestedLocations\": {\n \"principalOfficeCountry\": \"\",\n \"principalPhysicalLocationCountry\": \"\"\n },\n \"requestedReason\": {\n \"detail\": \"\",\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'CUSTOMER_INITIATED_SUPPORT' 'GOOGLE_INITIATED_SERVICE' 'GOOGLE_INITIATED_REVIEW' 'THIRD_PARTY_DATA_REQUEST' 'GOOGLE_RESPONSE_TO_PRODUCTION_ALERT')}}\"\n },\n \"requestedResourceName\": \"\",\n \"requestedResourceProperties\": {\n \"excludesDescendants\": {{faker 'datatype.boolean'}}\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": "181d6fdd-7c3c-4c92-84fb-c3e1dae9c5b3", "documentation": "Updates the settings associated with a project, folder, or organization. Settings to update are determined by the value of field_mask.", "method": "patch", "endpoint": "v1/:name", "responses": [ { "uuid": "a636f6f7-4468-49b4-9bf8-cd16bc1fcf44", "body": "{\n \"activeKeyVersion\": \"\",\n \"ancestorHasActiveKeyVersion\": {{faker 'datatype.boolean'}},\n \"enrolledAncestor\": {{faker 'datatype.boolean'}},\n \"enrolledServices\": [\n {\n \"cloudProduct\": \"\",\n \"enrollmentLevel\": \"{{oneOf (array 'ENROLLMENT_LEVEL_UNSPECIFIED' 'BLOCK_ALL')}}\"\n }\n ],\n \"invalidKeyVersion\": {{faker 'datatype.boolean'}},\n \"name\": \"\",\n \"notificationEmails\": [\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": "f4c00703-ba4c-4913-884d-83e50c544d36", "documentation": "Approves a request and returns the updated ApprovalRequest. Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.", "method": "post", "endpoint": "v1/:name:approve", "responses": [ { "uuid": "e473921b-0074-4308-a90e-9fe9b38b12f4", "body": "{\n \"approve\": {\n \"approveTime\": \"\",\n \"autoApproved\": {{faker 'datatype.boolean'}},\n \"expireTime\": \"\",\n \"invalidateTime\": \"\",\n \"signatureInfo\": {\n \"customerKmsKeyVersion\": \"\",\n \"googlePublicKeyPem\": \"\",\n \"signature\": \"\"\n }\n },\n \"dismiss\": {\n \"dismissTime\": \"\",\n \"implicit\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\",\n \"requestTime\": \"\",\n \"requestedExpiration\": \"\",\n \"requestedLocations\": {\n \"principalOfficeCountry\": \"\",\n \"principalPhysicalLocationCountry\": \"\"\n },\n \"requestedReason\": {\n \"detail\": \"\",\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'CUSTOMER_INITIATED_SUPPORT' 'GOOGLE_INITIATED_SERVICE' 'GOOGLE_INITIATED_REVIEW' 'THIRD_PARTY_DATA_REQUEST' 'GOOGLE_RESPONSE_TO_PRODUCTION_ALERT')}}\"\n },\n \"requestedResourceName\": \"\",\n \"requestedResourceProperties\": {\n \"excludesDescendants\": {{faker 'datatype.boolean'}}\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": "6fcedfb6-c363-45fe-9f7f-b02f16b99619", "documentation": "Dismisses a request. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It is equivalent in effect to ignoring the request altogether. Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.", "method": "post", "endpoint": "v1/:name:dismiss", "responses": [ { "uuid": "8259268c-be33-4195-afc4-94b3121dedc0", "body": "{\n \"approve\": {\n \"approveTime\": \"\",\n \"autoApproved\": {{faker 'datatype.boolean'}},\n \"expireTime\": \"\",\n \"invalidateTime\": \"\",\n \"signatureInfo\": {\n \"customerKmsKeyVersion\": \"\",\n \"googlePublicKeyPem\": \"\",\n \"signature\": \"\"\n }\n },\n \"dismiss\": {\n \"dismissTime\": \"\",\n \"implicit\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\",\n \"requestTime\": \"\",\n \"requestedExpiration\": \"\",\n \"requestedLocations\": {\n \"principalOfficeCountry\": \"\",\n \"principalPhysicalLocationCountry\": \"\"\n },\n \"requestedReason\": {\n \"detail\": \"\",\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'CUSTOMER_INITIATED_SUPPORT' 'GOOGLE_INITIATED_SERVICE' 'GOOGLE_INITIATED_REVIEW' 'THIRD_PARTY_DATA_REQUEST' 'GOOGLE_RESPONSE_TO_PRODUCTION_ALERT')}}\"\n },\n \"requestedResourceName\": \"\",\n \"requestedResourceProperties\": {\n \"excludesDescendants\": {{faker 'datatype.boolean'}}\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": "314e5f06-fe4d-434c-bae0-762ae808effc", "documentation": "Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.", "method": "post", "endpoint": "v1/:name:invalidate", "responses": [ { "uuid": "7ea4813e-5a2e-474e-84d0-8a892cdd5ad9", "body": "{\n \"approve\": {\n \"approveTime\": \"\",\n \"autoApproved\": {{faker 'datatype.boolean'}},\n \"expireTime\": \"\",\n \"invalidateTime\": \"\",\n \"signatureInfo\": {\n \"customerKmsKeyVersion\": \"\",\n \"googlePublicKeyPem\": \"\",\n \"signature\": \"\"\n }\n },\n \"dismiss\": {\n \"dismissTime\": \"\",\n \"implicit\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\",\n \"requestTime\": \"\",\n \"requestedExpiration\": \"\",\n \"requestedLocations\": {\n \"principalOfficeCountry\": \"\",\n \"principalPhysicalLocationCountry\": \"\"\n },\n \"requestedReason\": {\n \"detail\": \"\",\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'CUSTOMER_INITIATED_SUPPORT' 'GOOGLE_INITIATED_SERVICE' 'GOOGLE_INITIATED_REVIEW' 'THIRD_PARTY_DATA_REQUEST' 'GOOGLE_RESPONSE_TO_PRODUCTION_ALERT')}}\"\n },\n \"requestedResourceName\": \"\",\n \"requestedResourceProperties\": {\n \"excludesDescendants\": {{faker 'datatype.boolean'}}\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": "757595b4-8b52-41ad-885d-b019fbbf0eb3", "documentation": "Lists approval requests associated with a project, folder, or organization. Approval requests can be filtered by state (pending, active, dismissed). The order is reverse chronological.", "method": "get", "endpoint": "v1/:parent/approvalRequests", "responses": [ { "uuid": "4f90b8e0-1e01-4494-bf20-c7c442e3560b", "body": "{\n \"approvalRequests\": [\n {\n \"approve\": {\n \"approveTime\": \"\",\n \"autoApproved\": {{faker 'datatype.boolean'}},\n \"expireTime\": \"\",\n \"invalidateTime\": \"\",\n \"signatureInfo\": {\n \"customerKmsKeyVersion\": \"\",\n \"googlePublicKeyPem\": \"\",\n \"signature\": \"\"\n }\n },\n \"dismiss\": {\n \"dismissTime\": \"\",\n \"implicit\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\",\n \"requestTime\": \"\",\n \"requestedExpiration\": \"\",\n \"requestedLocations\": {\n \"principalOfficeCountry\": \"\",\n \"principalPhysicalLocationCountry\": \"\"\n },\n \"requestedReason\": {\n \"detail\": \"\",\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'CUSTOMER_INITIATED_SUPPORT' 'GOOGLE_INITIATED_SERVICE' 'GOOGLE_INITIATED_REVIEW' 'THIRD_PARTY_DATA_REQUEST' 'GOOGLE_RESPONSE_TO_PRODUCTION_ALERT')}}\"\n },\n \"requestedResourceName\": \"\",\n \"requestedResourceProperties\": {\n \"excludesDescendants\": {{faker 'datatype.boolean'}}\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" } ], "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": "88eccd6e-fc07-43f2-8d93-a3b005298d82" }, { "type": "route", "uuid": "cd9e3e6d-16b0-43ad-b12d-f457dc495fc9" }, { "type": "route", "uuid": "181d6fdd-7c3c-4c92-84fb-c3e1dae9c5b3" }, { "type": "route", "uuid": "f4c00703-ba4c-4913-884d-83e50c544d36" }, { "type": "route", "uuid": "6fcedfb6-c363-45fe-9f7f-b02f16b99619" }, { "type": "route", "uuid": "314e5f06-fe4d-434c-bae0-762ae808effc" }, { "type": "route", "uuid": "757595b4-8b52-41ad-885d-b019fbbf0eb3" } ] }