{ "uuid": "a3807663-272d-4e38-b210-52f610768153", "lastMigration": 19, "name": "Assured Workloads API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "2acad544-ae7b-46f9-9370-1c136452625c", "documentation": "Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error.", "method": "delete", "endpoint": "v1/:name", "responses": [ { "uuid": "5ea7141e-97a8-4582-8386-26d655581da8", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "8b2ce46f-ad46-488d-8a11-f7b163c1cbd0", "documentation": "Gets Assured Workload associated with a CRM Node", "method": "get", "endpoint": "v1/:name", "responses": [ { "uuid": "4d97622e-0da8-49b9-8be1-6967c43524f8", "body": "{\n \"billingAccount\": \"\",\n \"complianceRegime\": \"{{oneOf (array 'COMPLIANCE_REGIME_UNSPECIFIED' 'IL4' 'CJIS' 'FEDRAMP_HIGH' 'FEDRAMP_MODERATE' 'US_REGIONAL_ACCESS' 'HIPAA' 'HITRUST' 'EU_REGIONS_AND_SUPPORT' 'CA_REGIONS_AND_SUPPORT')}}\",\n \"createTime\": \"\",\n \"displayName\": \"\",\n \"enableSovereignControls\": {{faker 'random.boolean'}},\n \"etag\": \"\",\n \"kajEnrollmentState\": \"{{oneOf (array 'KAJ_ENROLLMENT_STATE_UNSPECIFIED' 'KAJ_ENROLLMENT_STATE_PENDING' 'KAJ_ENROLLMENT_STATE_COMPLETE')}}\",\n \"kmsSettings\": {\n \"nextRotationTime\": \"\",\n \"rotationPeriod\": \"\"\n },\n \"labels\": {},\n \"name\": \"\",\n \"provisionedResourcesParent\": \"\",\n \"resourceSettings\": [\n {\n \"displayName\": \"\",\n \"resourceId\": \"\",\n \"resourceType\": \"{{oneOf (array 'RESOURCE_TYPE_UNSPECIFIED' 'CONSUMER_PROJECT' 'CONSUMER_FOLDER' 'ENCRYPTION_KEYS_PROJECT' 'KEYRING')}}\"\n }\n ],\n \"resources\": [\n {\n \"resourceId\": \"\",\n \"resourceType\": \"{{oneOf (array 'RESOURCE_TYPE_UNSPECIFIED' 'CONSUMER_PROJECT' 'CONSUMER_FOLDER' 'ENCRYPTION_KEYS_PROJECT' 'KEYRING')}}\"\n }\n ],\n \"saaEnrollmentResponse\": {\n \"setupErrors\": [\n \"{{oneOf (array 'SETUP_ERROR_UNSPECIFIED' 'ERROR_INVALID_BASE_SETUP' 'ERROR_MISSING_EXTERNAL_SIGNING_KEY' 'ERROR_NOT_ALL_SERVICES_ENROLLED' 'ERROR_SETUP_CHECK_FAILED')}}\"\n ],\n \"setupStatus\": \"{{oneOf (array 'SETUP_STATE_UNSPECIFIED' 'STATUS_PENDING' 'STATUS_COMPLETE')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "f662c916-78a3-4a24-aa2c-052dbea2d79b", "documentation": "Updates an existing workload. Currently allows updating of workload display_name and labels. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.", "method": "patch", "endpoint": "v1/:name", "responses": [ { "uuid": "66001581-ff21-42e0-8eec-b40332cde5e5", "body": "{\n \"billingAccount\": \"\",\n \"complianceRegime\": \"{{oneOf (array 'COMPLIANCE_REGIME_UNSPECIFIED' 'IL4' 'CJIS' 'FEDRAMP_HIGH' 'FEDRAMP_MODERATE' 'US_REGIONAL_ACCESS' 'HIPAA' 'HITRUST' 'EU_REGIONS_AND_SUPPORT' 'CA_REGIONS_AND_SUPPORT')}}\",\n \"createTime\": \"\",\n \"displayName\": \"\",\n \"enableSovereignControls\": {{faker 'random.boolean'}},\n \"etag\": \"\",\n \"kajEnrollmentState\": \"{{oneOf (array 'KAJ_ENROLLMENT_STATE_UNSPECIFIED' 'KAJ_ENROLLMENT_STATE_PENDING' 'KAJ_ENROLLMENT_STATE_COMPLETE')}}\",\n \"kmsSettings\": {\n \"nextRotationTime\": \"\",\n \"rotationPeriod\": \"\"\n },\n \"labels\": {},\n \"name\": \"\",\n \"provisionedResourcesParent\": \"\",\n \"resourceSettings\": [\n {\n \"displayName\": \"\",\n \"resourceId\": \"\",\n \"resourceType\": \"{{oneOf (array 'RESOURCE_TYPE_UNSPECIFIED' 'CONSUMER_PROJECT' 'CONSUMER_FOLDER' 'ENCRYPTION_KEYS_PROJECT' 'KEYRING')}}\"\n }\n ],\n \"resources\": [\n {\n \"resourceId\": \"\",\n \"resourceType\": \"{{oneOf (array 'RESOURCE_TYPE_UNSPECIFIED' 'CONSUMER_PROJECT' 'CONSUMER_FOLDER' 'ENCRYPTION_KEYS_PROJECT' 'KEYRING')}}\"\n }\n ],\n \"saaEnrollmentResponse\": {\n \"setupErrors\": [\n \"{{oneOf (array 'SETUP_ERROR_UNSPECIFIED' 'ERROR_INVALID_BASE_SETUP' 'ERROR_MISSING_EXTERNAL_SIGNING_KEY' 'ERROR_NOT_ALL_SERVICES_ENROLLED' 'ERROR_SETUP_CHECK_FAILED')}}\"\n ],\n \"setupStatus\": \"{{oneOf (array 'SETUP_STATE_UNSPECIFIED' 'STATUS_PENDING' 'STATUS_COMPLETE')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "92a10d00-9cb9-4f58-b909-bc76b66d6f12", "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": "v1/:name/operations", "responses": [ { "uuid": "21c4efd7-e164-4454-b261-055f6fe78b67", "body": "{\n \"nextPageToken\": \"\",\n \"operations\": [\n {\n \"done\": {{faker 'random.boolean'}},\n \"error\": {\n \"code\": {{faker 'random.number'}},\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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "ed0f3118-97cc-4d25-8aa3-0ea38e489c46", "documentation": "Lists Assured Workloads under a CRM Node.", "method": "get", "endpoint": "v1/:parent/workloads", "responses": [ { "uuid": "330debc3-4d50-4da8-b0d2-547115d85369", "body": "{\n \"nextPageToken\": \"\",\n \"workloads\": [\n {\n \"billingAccount\": \"\",\n \"complianceRegime\": \"{{oneOf (array 'COMPLIANCE_REGIME_UNSPECIFIED' 'IL4' 'CJIS' 'FEDRAMP_HIGH' 'FEDRAMP_MODERATE' 'US_REGIONAL_ACCESS' 'HIPAA' 'HITRUST' 'EU_REGIONS_AND_SUPPORT' 'CA_REGIONS_AND_SUPPORT')}}\",\n \"createTime\": \"\",\n \"displayName\": \"\",\n \"enableSovereignControls\": {{faker 'random.boolean'}},\n \"etag\": \"\",\n \"kajEnrollmentState\": \"{{oneOf (array 'KAJ_ENROLLMENT_STATE_UNSPECIFIED' 'KAJ_ENROLLMENT_STATE_PENDING' 'KAJ_ENROLLMENT_STATE_COMPLETE')}}\",\n \"kmsSettings\": {\n \"nextRotationTime\": \"\",\n \"rotationPeriod\": \"\"\n },\n \"labels\": {},\n \"name\": \"\",\n \"provisionedResourcesParent\": \"\",\n \"resourceSettings\": [\n {\n \"displayName\": \"\",\n \"resourceId\": \"\",\n \"resourceType\": \"{{oneOf (array 'RESOURCE_TYPE_UNSPECIFIED' 'CONSUMER_PROJECT' 'CONSUMER_FOLDER' 'ENCRYPTION_KEYS_PROJECT' 'KEYRING')}}\"\n }\n ],\n \"resources\": [\n {\n \"resourceId\": \"\",\n \"resourceType\": \"{{oneOf (array 'RESOURCE_TYPE_UNSPECIFIED' 'CONSUMER_PROJECT' 'CONSUMER_FOLDER' 'ENCRYPTION_KEYS_PROJECT' 'KEYRING')}}\"\n }\n ],\n \"saaEnrollmentResponse\": {\n \"setupErrors\": [\n \"{{oneOf (array 'SETUP_ERROR_UNSPECIFIED' 'ERROR_INVALID_BASE_SETUP' 'ERROR_MISSING_EXTERNAL_SIGNING_KEY' 'ERROR_NOT_ALL_SERVICES_ENROLLED' 'ERROR_SETUP_CHECK_FAILED')}}\"\n ],\n \"setupStatus\": \"{{oneOf (array 'SETUP_STATE_UNSPECIFIED' 'STATUS_PENDING' 'STATUS_COMPLETE')}}\"\n }\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "327ac981-262a-46e1-960b-48fdd87830f0", "documentation": "Creates Assured Workload.", "method": "post", "endpoint": "v1/:parent/workloads", "responses": [ { "uuid": "408822fd-e9ee-4882-b2cb-0563ff35861a", "body": "{\n \"done\": {{faker 'random.boolean'}},\n \"error\": {\n \"code\": {{faker 'random.number'}},\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" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [ { "key": "", "value": "" } ], "proxyResHeaders": [ { "key": "", "value": "" } ] }