{ "uuid": "d8c86275-86d8-4c60-b11d-674a1135ed2d", "lastMigration": 29, "name": "Organization Policy API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "f4547205-829f-4b2b-b22d-8a6c68ae4a8a", "documentation": "Deletes a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or Org Policy does not exist.", "method": "delete", "endpoint": "v2/:name", "responses": [ { "uuid": "923cd3df-ec06-4dd2-9d3b-24797fd4dbc6", "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": "c90a20c6-1da0-49f9-8e9e-f5aea6973509", "documentation": "Gets a `Policy` on a resource. If no `Policy` is set on the resource, NOT_FOUND is returned. The `etag` value can be used with `UpdatePolicy()` to update a `Policy` during read-modify-write.", "method": "get", "endpoint": "v2/:name", "responses": [ { "uuid": "e1db130e-da40-4847-9c9e-a6b607a0d606", "body": "{\n \"alternate\": {\n \"launch\": \"\",\n \"spec\": {\n \"etag\": \"\",\n \"inheritFromParent\": {{faker 'datatype.boolean'}},\n \"reset\": {{faker 'datatype.boolean'}},\n \"rules\": [\n {\n \"allowAll\": {{faker 'datatype.boolean'}},\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"denyAll\": {{faker 'datatype.boolean'}},\n \"enforce\": {{faker 'datatype.boolean'}},\n \"values\": {\n \"allowedValues\": [\n \"\"\n ],\n \"deniedValues\": [\n \"\"\n ]\n }\n }\n ],\n \"updateTime\": \"\"\n }\n },\n \"name\": \"\",\n \"spec\": {\n \"etag\": \"\",\n \"inheritFromParent\": {{faker 'datatype.boolean'}},\n \"reset\": {{faker 'datatype.boolean'}},\n \"rules\": [\n {\n \"allowAll\": {{faker 'datatype.boolean'}},\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"denyAll\": {{faker 'datatype.boolean'}},\n \"enforce\": {{faker 'datatype.boolean'}},\n \"values\": {\n \"allowedValues\": [\n \"\"\n ],\n \"deniedValues\": [\n \"\"\n ]\n }\n }\n ],\n \"updateTime\": \"\"\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": "6eef0d40-79f1-46ab-aa38-3b3aa08072df", "documentation": "Updates a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields.", "method": "patch", "endpoint": "v2/:name", "responses": [ { "uuid": "7580dad4-fe59-44da-8584-bf42b0831799", "body": "{\n \"alternate\": {\n \"launch\": \"\",\n \"spec\": {\n \"etag\": \"\",\n \"inheritFromParent\": {{faker 'datatype.boolean'}},\n \"reset\": {{faker 'datatype.boolean'}},\n \"rules\": [\n {\n \"allowAll\": {{faker 'datatype.boolean'}},\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"denyAll\": {{faker 'datatype.boolean'}},\n \"enforce\": {{faker 'datatype.boolean'}},\n \"values\": {\n \"allowedValues\": [\n \"\"\n ],\n \"deniedValues\": [\n \"\"\n ]\n }\n }\n ],\n \"updateTime\": \"\"\n }\n },\n \"name\": \"\",\n \"spec\": {\n \"etag\": \"\",\n \"inheritFromParent\": {{faker 'datatype.boolean'}},\n \"reset\": {{faker 'datatype.boolean'}},\n \"rules\": [\n {\n \"allowAll\": {{faker 'datatype.boolean'}},\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"denyAll\": {{faker 'datatype.boolean'}},\n \"enforce\": {{faker 'datatype.boolean'}},\n \"values\": {\n \"allowedValues\": [\n \"\"\n ],\n \"deniedValues\": [\n \"\"\n ]\n }\n }\n ],\n \"updateTime\": \"\"\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": "55892500-f900-4a1e-a2e8-3447421b5170", "documentation": "Gets the effective `Policy` on a resource. This is the result of merging `Policies` in the resource hierarchy and evaluating conditions. The returned `Policy` will not have an `etag` or `condition` set because it is a computed `Policy` across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.", "method": "get", "endpoint": "v2/:name:getEffectivePolicy", "responses": [ { "uuid": "74a9478a-b465-4ad7-85c5-cfd1cd019030", "body": "{\n \"alternate\": {\n \"launch\": \"\",\n \"spec\": {\n \"etag\": \"\",\n \"inheritFromParent\": {{faker 'datatype.boolean'}},\n \"reset\": {{faker 'datatype.boolean'}},\n \"rules\": [\n {\n \"allowAll\": {{faker 'datatype.boolean'}},\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"denyAll\": {{faker 'datatype.boolean'}},\n \"enforce\": {{faker 'datatype.boolean'}},\n \"values\": {\n \"allowedValues\": [\n \"\"\n ],\n \"deniedValues\": [\n \"\"\n ]\n }\n }\n ],\n \"updateTime\": \"\"\n }\n },\n \"name\": \"\",\n \"spec\": {\n \"etag\": \"\",\n \"inheritFromParent\": {{faker 'datatype.boolean'}},\n \"reset\": {{faker 'datatype.boolean'}},\n \"rules\": [\n {\n \"allowAll\": {{faker 'datatype.boolean'}},\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"denyAll\": {{faker 'datatype.boolean'}},\n \"enforce\": {{faker 'datatype.boolean'}},\n \"values\": {\n \"allowedValues\": [\n \"\"\n ],\n \"deniedValues\": [\n \"\"\n ]\n }\n }\n ],\n \"updateTime\": \"\"\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": "901076c7-3a07-418d-9de3-a703625f58c2", "documentation": "Lists `Constraints` that could be applied on the specified resource.", "method": "get", "endpoint": "v2/:parent/constraints", "responses": [ { "uuid": "03265847-465d-4f08-9a18-17718be5eef1", "body": "{\n \"constraints\": [\n {\n \"booleanConstraint\": {},\n \"constraintDefault\": \"{{oneOf (array 'CONSTRAINT_DEFAULT_UNSPECIFIED' 'ALLOW' 'DENY')}}\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"listConstraint\": {\n \"supportsIn\": {{faker 'datatype.boolean'}},\n \"supportsUnder\": {{faker 'datatype.boolean'}}\n },\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": "0f8a44b9-beb9-4671-a2a2-279d28816ecb", "documentation": "Retrieves all of the `CustomConstraints` that exist on a particular organization resource.", "method": "get", "endpoint": "v2/:parent/customConstraints", "responses": [ { "uuid": "0dfd576e-87d4-4e90-99ab-7a570a6bd580", "body": "{\n \"customConstraints\": [\n {\n \"actionType\": \"{{oneOf (array 'ACTION_TYPE_UNSPECIFIED' 'ALLOW' 'DENY')}}\",\n \"condition\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"methodTypes\": [\n \"{{oneOf (array 'METHOD_TYPE_UNSPECIFIED' 'CREATE' 'UPDATE' 'DELETE')}}\"\n ],\n \"name\": \"\",\n \"resourceTypes\": [\n \"\"\n ],\n \"updateTime\": \"\"\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": "9121811c-d608-4932-807f-cd4fb91a1e6d", "documentation": "Creates a CustomConstraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the organization does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the constraint already exists on the given organization.", "method": "post", "endpoint": "v2/:parent/customConstraints", "responses": [ { "uuid": "c271bffd-0abc-4938-b044-d55e096d2197", "body": "{\n \"actionType\": \"{{oneOf (array 'ACTION_TYPE_UNSPECIFIED' 'ALLOW' 'DENY')}}\",\n \"condition\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"methodTypes\": [\n \"{{oneOf (array 'METHOD_TYPE_UNSPECIFIED' 'CREATE' 'UPDATE' 'DELETE')}}\"\n ],\n \"name\": \"\",\n \"resourceTypes\": [\n \"\"\n ],\n \"updateTime\": \"\"\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": "36d016a0-4b4b-456c-9a42-cf0783b3bad9", "documentation": "Retrieves all of the `Policies` that exist on a particular resource.", "method": "get", "endpoint": "v2/:parent/policies", "responses": [ { "uuid": "3ecbfe50-284f-43bf-881f-e56a2abda44c", "body": "{\n \"nextPageToken\": \"\",\n \"policies\": [\n {\n \"alternate\": {\n \"launch\": \"\",\n \"spec\": {\n \"etag\": \"\",\n \"inheritFromParent\": {{faker 'datatype.boolean'}},\n \"reset\": {{faker 'datatype.boolean'}},\n \"rules\": [\n {\n \"allowAll\": {{faker 'datatype.boolean'}},\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"denyAll\": {{faker 'datatype.boolean'}},\n \"enforce\": {{faker 'datatype.boolean'}},\n \"values\": {\n \"allowedValues\": [\n \"\"\n ],\n \"deniedValues\": [\n \"\"\n ]\n }\n }\n ],\n \"updateTime\": \"\"\n }\n },\n \"name\": \"\",\n \"spec\": {\n \"etag\": \"\",\n \"inheritFromParent\": {{faker 'datatype.boolean'}},\n \"reset\": {{faker 'datatype.boolean'}},\n \"rules\": [\n {\n \"allowAll\": {{faker 'datatype.boolean'}},\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"denyAll\": {{faker 'datatype.boolean'}},\n \"enforce\": {{faker 'datatype.boolean'}},\n \"values\": {\n \"allowedValues\": [\n \"\"\n ],\n \"deniedValues\": [\n \"\"\n ]\n }\n }\n ],\n \"updateTime\": \"\"\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": "3d1f6b19-0cca-4968-a32c-a4580ffd3167", "documentation": "Creates a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the policy already exists on the given Cloud resource.", "method": "post", "endpoint": "v2/:parent/policies", "responses": [ { "uuid": "30eaecb1-5f66-48f6-bbe0-d44068bafd37", "body": "{\n \"alternate\": {\n \"launch\": \"\",\n \"spec\": {\n \"etag\": \"\",\n \"inheritFromParent\": {{faker 'datatype.boolean'}},\n \"reset\": {{faker 'datatype.boolean'}},\n \"rules\": [\n {\n \"allowAll\": {{faker 'datatype.boolean'}},\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"denyAll\": {{faker 'datatype.boolean'}},\n \"enforce\": {{faker 'datatype.boolean'}},\n \"values\": {\n \"allowedValues\": [\n \"\"\n ],\n \"deniedValues\": [\n \"\"\n ]\n }\n }\n ],\n \"updateTime\": \"\"\n }\n },\n \"name\": \"\",\n \"spec\": {\n \"etag\": \"\",\n \"inheritFromParent\": {{faker 'datatype.boolean'}},\n \"reset\": {{faker 'datatype.boolean'}},\n \"rules\": [\n {\n \"allowAll\": {{faker 'datatype.boolean'}},\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"denyAll\": {{faker 'datatype.boolean'}},\n \"enforce\": {{faker 'datatype.boolean'}},\n \"values\": {\n \"allowedValues\": [\n \"\"\n ],\n \"deniedValues\": [\n \"\"\n ]\n }\n }\n ],\n \"updateTime\": \"\"\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": "f4547205-829f-4b2b-b22d-8a6c68ae4a8a" }, { "type": "route", "uuid": "c90a20c6-1da0-49f9-8e9e-f5aea6973509" }, { "type": "route", "uuid": "6eef0d40-79f1-46ab-aa38-3b3aa08072df" }, { "type": "route", "uuid": "55892500-f900-4a1e-a2e8-3447421b5170" }, { "type": "route", "uuid": "901076c7-3a07-418d-9de3-a703625f58c2" }, { "type": "route", "uuid": "0f8a44b9-beb9-4671-a2a2-279d28816ecb" }, { "type": "route", "uuid": "9121811c-d608-4932-807f-cd4fb91a1e6d" }, { "type": "route", "uuid": "36d016a0-4b4b-456c-9a42-cf0783b3bad9" }, { "type": "route", "uuid": "3d1f6b19-0cca-4968-a32c-a4580ffd3167" } ] }