{ "uuid": "23e88df5-9a61-4862-b12d-8a0d120720eb", "lastMigration": 29, "name": "OS Config API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "2092e95b-cd61-4e97-9635-c891af3cadaa", "documentation": "Lookup the effective guest policy that applies to a VM instance. This lookup merges all policies that are assigned to the instance ancestry.", "method": "post", "endpoint": "v1beta/:instance:lookupEffectiveGuestPolicy", "responses": [ { "uuid": "045aa650-7cf3-4110-adcd-0b57351d1bb1", "body": "{\n \"packageRepositories\": [\n {\n \"packageRepository\": {\n \"apt\": {\n \"archiveType\": \"{{oneOf (array 'ARCHIVE_TYPE_UNSPECIFIED' 'DEB' 'DEB_SRC')}}\",\n \"components\": [\n \"\"\n ],\n \"distribution\": \"\",\n \"gpgKey\": \"\",\n \"uri\": \"\"\n },\n \"goo\": {\n \"name\": \"\",\n \"url\": \"\"\n },\n \"yum\": {\n \"baseUrl\": \"\",\n \"displayName\": \"\",\n \"gpgKeys\": [\n \"\"\n ],\n \"id\": \"\"\n },\n \"zypper\": {\n \"baseUrl\": \"\",\n \"displayName\": \"\",\n \"gpgKeys\": [\n \"\"\n ],\n \"id\": \"\"\n }\n },\n \"source\": \"\"\n }\n ],\n \"packages\": [\n {\n \"package\": {\n \"desiredState\": \"{{oneOf (array 'DESIRED_STATE_UNSPECIFIED' 'INSTALLED' 'UPDATED' 'REMOVED')}}\",\n \"manager\": \"{{oneOf (array 'MANAGER_UNSPECIFIED' 'ANY' 'APT' 'YUM' 'ZYPPER' 'GOO')}}\",\n \"name\": \"\"\n },\n \"source\": \"\"\n }\n ],\n \"softwareRecipes\": [\n {\n \"softwareRecipe\": {\n \"artifacts\": [\n {\n \"allowInsecure\": {{faker 'datatype.boolean'}},\n \"gcs\": {\n \"bucket\": \"\",\n \"generation\": \"\",\n \"object\": \"\"\n },\n \"id\": \"\",\n \"remote\": {\n \"checksum\": \"\",\n \"uri\": \"\"\n }\n }\n ],\n \"desiredState\": \"{{oneOf (array 'DESIRED_STATE_UNSPECIFIED' 'INSTALLED' 'UPDATED' 'REMOVED')}}\",\n \"installSteps\": [\n {\n \"archiveExtraction\": {\n \"artifactId\": \"\",\n \"destination\": \"\",\n \"type\": \"{{oneOf (array 'ARCHIVE_TYPE_UNSPECIFIED' 'TAR' 'TAR_GZIP' 'TAR_BZIP' 'TAR_LZMA' 'TAR_XZ' 'ZIP')}}\"\n },\n \"dpkgInstallation\": {\n \"artifactId\": \"\"\n },\n \"fileCopy\": {\n \"artifactId\": \"\",\n \"destination\": \"\",\n \"overwrite\": {{faker 'datatype.boolean'}},\n \"permissions\": \"\"\n },\n \"fileExec\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"args\": [\n \"\"\n ],\n \"artifactId\": \"\",\n \"localPath\": \"\"\n },\n \"msiInstallation\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"artifactId\": \"\",\n \"flags\": [\n \"\"\n ]\n },\n \"rpmInstallation\": {\n \"artifactId\": \"\"\n },\n \"scriptRun\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'SHELL' 'POWERSHELL')}}\",\n \"script\": \"\"\n }\n }\n ],\n \"name\": \"\",\n \"updateSteps\": [\n {\n \"archiveExtraction\": {\n \"artifactId\": \"\",\n \"destination\": \"\",\n \"type\": \"{{oneOf (array 'ARCHIVE_TYPE_UNSPECIFIED' 'TAR' 'TAR_GZIP' 'TAR_BZIP' 'TAR_LZMA' 'TAR_XZ' 'ZIP')}}\"\n },\n \"dpkgInstallation\": {\n \"artifactId\": \"\"\n },\n \"fileCopy\": {\n \"artifactId\": \"\",\n \"destination\": \"\",\n \"overwrite\": {{faker 'datatype.boolean'}},\n \"permissions\": \"\"\n },\n \"fileExec\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"args\": [\n \"\"\n ],\n \"artifactId\": \"\",\n \"localPath\": \"\"\n },\n \"msiInstallation\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"artifactId\": \"\",\n \"flags\": [\n \"\"\n ]\n },\n \"rpmInstallation\": {\n \"artifactId\": \"\"\n },\n \"scriptRun\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'SHELL' 'POWERSHELL')}}\",\n \"script\": \"\"\n }\n }\n ],\n \"version\": \"\"\n },\n \"source\": \"\"\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": "862d587b-280a-42f3-8bc6-de2a8466f6f5", "documentation": "Delete an OS Config patch deployment.", "method": "delete", "endpoint": "v1beta/:name", "responses": [ { "uuid": "fa6cb2af-6fc4-44df-8792-2d1712f60e5f", "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": "5d0c763d-39bf-4f47-9c89-64bf1ee6ee3b", "documentation": "Get the patch job. This can be used to track the progress of an ongoing patch job or review the details of completed jobs.", "method": "get", "endpoint": "v1beta/:name", "responses": [ { "uuid": "e69f9537-161a-4774-b466-641429315faf", "body": "{\n \"createTime\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"dryRun\": {{faker 'datatype.boolean'}},\n \"duration\": \"\",\n \"errorMessage\": \"\",\n \"instanceDetailsSummary\": {\n \"ackedInstanceCount\": \"\",\n \"applyingPatchesInstanceCount\": \"\",\n \"downloadingPatchesInstanceCount\": \"\",\n \"failedInstanceCount\": \"\",\n \"inactiveInstanceCount\": \"\",\n \"noAgentDetectedInstanceCount\": \"\",\n \"notifiedInstanceCount\": \"\",\n \"pendingInstanceCount\": \"\",\n \"postPatchStepInstanceCount\": \"\",\n \"prePatchStepInstanceCount\": \"\",\n \"rebootingInstanceCount\": \"\",\n \"startedInstanceCount\": \"\",\n \"succeededInstanceCount\": \"\",\n \"succeededRebootRequiredInstanceCount\": \"\",\n \"timedOutInstanceCount\": \"\"\n },\n \"instanceFilter\": {\n \"all\": {{faker 'datatype.boolean'}},\n \"groupLabels\": [\n {\n \"labels\": {}\n }\n ],\n \"instanceNamePrefixes\": [\n \"\"\n ],\n \"instances\": [\n \"\"\n ],\n \"zones\": [\n \"\"\n ]\n },\n \"name\": \"\",\n \"patchConfig\": {\n \"apt\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DIST' 'UPGRADE')}}\"\n },\n \"goo\": {},\n \"migInstancesAllowed\": {{faker 'datatype.boolean'}},\n \"postStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"preStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"rebootConfig\": \"{{oneOf (array 'REBOOT_CONFIG_UNSPECIFIED' 'DEFAULT' 'ALWAYS' 'NEVER')}}\",\n \"windowsUpdate\": {\n \"classifications\": [\n \"{{oneOf (array 'CLASSIFICATION_UNSPECIFIED' 'CRITICAL' 'SECURITY' 'DEFINITION' 'DRIVER' 'FEATURE_PACK' 'SERVICE_PACK' 'TOOL' 'UPDATE_ROLLUP' 'UPDATE')}}\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ]\n },\n \"yum\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"minimal\": {{faker 'datatype.boolean'}},\n \"security\": {{faker 'datatype.boolean'}}\n },\n \"zypper\": {\n \"categories\": [\n \"\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ],\n \"severities\": [\n \"\"\n ],\n \"withOptional\": {{faker 'datatype.boolean'}},\n \"withUpdate\": {{faker 'datatype.boolean'}}\n }\n },\n \"patchDeployment\": \"\",\n \"percentComplete\": {{faker 'number.float'}},\n \"rollout\": {\n \"disruptionBudget\": {\n \"fixed\": {{faker 'number.int' max=99999}},\n \"percent\": {{faker 'number.int' max=99999}}\n },\n \"mode\": \"{{oneOf (array 'MODE_UNSPECIFIED' 'ZONE_BY_ZONE' 'CONCURRENT_ZONES')}}\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'STARTED' 'INSTANCE_LOOKUP' 'PATCHING' 'SUCCEEDED' 'COMPLETED_WITH_ERRORS' 'CANCELED' 'TIMED_OUT')}}\",\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": "d21d0397-f166-4ed7-a11f-8deabc3c447f", "documentation": "Update an OS Config patch deployment.", "method": "patch", "endpoint": "v1beta/:name", "responses": [ { "uuid": "1aa1318a-079d-4a6a-ae2a-b71edeb1f5d7", "body": "{\n \"createTime\": \"\",\n \"description\": \"\",\n \"duration\": \"\",\n \"instanceFilter\": {\n \"all\": {{faker 'datatype.boolean'}},\n \"groupLabels\": [\n {\n \"labels\": {}\n }\n ],\n \"instanceNamePrefixes\": [\n \"\"\n ],\n \"instances\": [\n \"\"\n ],\n \"zones\": [\n \"\"\n ]\n },\n \"lastExecuteTime\": \"\",\n \"name\": \"\",\n \"oneTimeSchedule\": {\n \"executeTime\": \"\"\n },\n \"patchConfig\": {\n \"apt\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DIST' 'UPGRADE')}}\"\n },\n \"goo\": {},\n \"migInstancesAllowed\": {{faker 'datatype.boolean'}},\n \"postStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"preStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"rebootConfig\": \"{{oneOf (array 'REBOOT_CONFIG_UNSPECIFIED' 'DEFAULT' 'ALWAYS' 'NEVER')}}\",\n \"windowsUpdate\": {\n \"classifications\": [\n \"{{oneOf (array 'CLASSIFICATION_UNSPECIFIED' 'CRITICAL' 'SECURITY' 'DEFINITION' 'DRIVER' 'FEATURE_PACK' 'SERVICE_PACK' 'TOOL' 'UPDATE_ROLLUP' 'UPDATE')}}\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ]\n },\n \"yum\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"minimal\": {{faker 'datatype.boolean'}},\n \"security\": {{faker 'datatype.boolean'}}\n },\n \"zypper\": {\n \"categories\": [\n \"\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ],\n \"severities\": [\n \"\"\n ],\n \"withOptional\": {{faker 'datatype.boolean'}},\n \"withUpdate\": {{faker 'datatype.boolean'}}\n }\n },\n \"recurringSchedule\": {\n \"endTime\": \"\",\n \"frequency\": \"{{oneOf (array 'FREQUENCY_UNSPECIFIED' 'WEEKLY' 'MONTHLY' 'DAILY')}}\",\n \"lastExecuteTime\": \"\",\n \"monthly\": {\n \"monthDay\": {{faker 'number.int' max=99999}},\n \"weekDayOfMonth\": {\n \"dayOfWeek\": \"{{oneOf (array 'DAY_OF_WEEK_UNSPECIFIED' 'MONDAY' 'TUESDAY' 'WEDNESDAY' 'THURSDAY' 'FRIDAY' 'SATURDAY' 'SUNDAY')}}\",\n \"dayOffset\": {{faker 'number.int' max=99999}},\n \"weekOrdinal\": {{faker 'number.int' max=99999}}\n }\n },\n \"nextExecuteTime\": \"\",\n \"startTime\": \"\",\n \"timeOfDay\": {\n \"hours\": {{faker 'number.int' max=99999}},\n \"minutes\": {{faker 'number.int' max=99999}},\n \"nanos\": {{faker 'number.int' max=99999}},\n \"seconds\": {{faker 'number.int' max=99999}}\n },\n \"timeZone\": {\n \"id\": \"\",\n \"version\": \"\"\n },\n \"weekly\": {\n \"dayOfWeek\": \"{{oneOf (array 'DAY_OF_WEEK_UNSPECIFIED' 'MONDAY' 'TUESDAY' 'WEDNESDAY' 'THURSDAY' 'FRIDAY' 'SATURDAY' 'SUNDAY')}}\"\n }\n },\n \"rollout\": {\n \"disruptionBudget\": {\n \"fixed\": {{faker 'number.int' max=99999}},\n \"percent\": {{faker 'number.int' max=99999}}\n },\n \"mode\": \"{{oneOf (array 'MODE_UNSPECIFIED' 'ZONE_BY_ZONE' 'CONCURRENT_ZONES')}}\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'PAUSED')}}\",\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": "4ca8f0fe-5117-4d00-952f-4d9052863ed2", "documentation": "Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.", "method": "post", "endpoint": "v1beta/:name:cancel", "responses": [ { "uuid": "0a3276f7-ef77-484e-b9da-4777e3356332", "body": "{\n \"createTime\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"dryRun\": {{faker 'datatype.boolean'}},\n \"duration\": \"\",\n \"errorMessage\": \"\",\n \"instanceDetailsSummary\": {\n \"ackedInstanceCount\": \"\",\n \"applyingPatchesInstanceCount\": \"\",\n \"downloadingPatchesInstanceCount\": \"\",\n \"failedInstanceCount\": \"\",\n \"inactiveInstanceCount\": \"\",\n \"noAgentDetectedInstanceCount\": \"\",\n \"notifiedInstanceCount\": \"\",\n \"pendingInstanceCount\": \"\",\n \"postPatchStepInstanceCount\": \"\",\n \"prePatchStepInstanceCount\": \"\",\n \"rebootingInstanceCount\": \"\",\n \"startedInstanceCount\": \"\",\n \"succeededInstanceCount\": \"\",\n \"succeededRebootRequiredInstanceCount\": \"\",\n \"timedOutInstanceCount\": \"\"\n },\n \"instanceFilter\": {\n \"all\": {{faker 'datatype.boolean'}},\n \"groupLabels\": [\n {\n \"labels\": {}\n }\n ],\n \"instanceNamePrefixes\": [\n \"\"\n ],\n \"instances\": [\n \"\"\n ],\n \"zones\": [\n \"\"\n ]\n },\n \"name\": \"\",\n \"patchConfig\": {\n \"apt\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DIST' 'UPGRADE')}}\"\n },\n \"goo\": {},\n \"migInstancesAllowed\": {{faker 'datatype.boolean'}},\n \"postStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"preStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"rebootConfig\": \"{{oneOf (array 'REBOOT_CONFIG_UNSPECIFIED' 'DEFAULT' 'ALWAYS' 'NEVER')}}\",\n \"windowsUpdate\": {\n \"classifications\": [\n \"{{oneOf (array 'CLASSIFICATION_UNSPECIFIED' 'CRITICAL' 'SECURITY' 'DEFINITION' 'DRIVER' 'FEATURE_PACK' 'SERVICE_PACK' 'TOOL' 'UPDATE_ROLLUP' 'UPDATE')}}\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ]\n },\n \"yum\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"minimal\": {{faker 'datatype.boolean'}},\n \"security\": {{faker 'datatype.boolean'}}\n },\n \"zypper\": {\n \"categories\": [\n \"\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ],\n \"severities\": [\n \"\"\n ],\n \"withOptional\": {{faker 'datatype.boolean'}},\n \"withUpdate\": {{faker 'datatype.boolean'}}\n }\n },\n \"patchDeployment\": \"\",\n \"percentComplete\": {{faker 'number.float'}},\n \"rollout\": {\n \"disruptionBudget\": {\n \"fixed\": {{faker 'number.int' max=99999}},\n \"percent\": {{faker 'number.int' max=99999}}\n },\n \"mode\": \"{{oneOf (array 'MODE_UNSPECIFIED' 'ZONE_BY_ZONE' 'CONCURRENT_ZONES')}}\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'STARTED' 'INSTANCE_LOOKUP' 'PATCHING' 'SUCCEEDED' 'COMPLETED_WITH_ERRORS' 'CANCELED' 'TIMED_OUT')}}\",\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": "ea1edc36-0021-46c0-a065-0962f87c597e", "documentation": "Change state of patch deployment to \"PAUSED\". Patch deployment in paused state doesn't generate patch jobs.", "method": "post", "endpoint": "v1beta/:name:pause", "responses": [ { "uuid": "b724049d-4dc2-4421-8821-39a5b9d77bf8", "body": "{\n \"createTime\": \"\",\n \"description\": \"\",\n \"duration\": \"\",\n \"instanceFilter\": {\n \"all\": {{faker 'datatype.boolean'}},\n \"groupLabels\": [\n {\n \"labels\": {}\n }\n ],\n \"instanceNamePrefixes\": [\n \"\"\n ],\n \"instances\": [\n \"\"\n ],\n \"zones\": [\n \"\"\n ]\n },\n \"lastExecuteTime\": \"\",\n \"name\": \"\",\n \"oneTimeSchedule\": {\n \"executeTime\": \"\"\n },\n \"patchConfig\": {\n \"apt\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DIST' 'UPGRADE')}}\"\n },\n \"goo\": {},\n \"migInstancesAllowed\": {{faker 'datatype.boolean'}},\n \"postStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"preStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"rebootConfig\": \"{{oneOf (array 'REBOOT_CONFIG_UNSPECIFIED' 'DEFAULT' 'ALWAYS' 'NEVER')}}\",\n \"windowsUpdate\": {\n \"classifications\": [\n \"{{oneOf (array 'CLASSIFICATION_UNSPECIFIED' 'CRITICAL' 'SECURITY' 'DEFINITION' 'DRIVER' 'FEATURE_PACK' 'SERVICE_PACK' 'TOOL' 'UPDATE_ROLLUP' 'UPDATE')}}\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ]\n },\n \"yum\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"minimal\": {{faker 'datatype.boolean'}},\n \"security\": {{faker 'datatype.boolean'}}\n },\n \"zypper\": {\n \"categories\": [\n \"\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ],\n \"severities\": [\n \"\"\n ],\n \"withOptional\": {{faker 'datatype.boolean'}},\n \"withUpdate\": {{faker 'datatype.boolean'}}\n }\n },\n \"recurringSchedule\": {\n \"endTime\": \"\",\n \"frequency\": \"{{oneOf (array 'FREQUENCY_UNSPECIFIED' 'WEEKLY' 'MONTHLY' 'DAILY')}}\",\n \"lastExecuteTime\": \"\",\n \"monthly\": {\n \"monthDay\": {{faker 'number.int' max=99999}},\n \"weekDayOfMonth\": {\n \"dayOfWeek\": \"{{oneOf (array 'DAY_OF_WEEK_UNSPECIFIED' 'MONDAY' 'TUESDAY' 'WEDNESDAY' 'THURSDAY' 'FRIDAY' 'SATURDAY' 'SUNDAY')}}\",\n \"dayOffset\": {{faker 'number.int' max=99999}},\n \"weekOrdinal\": {{faker 'number.int' max=99999}}\n }\n },\n \"nextExecuteTime\": \"\",\n \"startTime\": \"\",\n \"timeOfDay\": {\n \"hours\": {{faker 'number.int' max=99999}},\n \"minutes\": {{faker 'number.int' max=99999}},\n \"nanos\": {{faker 'number.int' max=99999}},\n \"seconds\": {{faker 'number.int' max=99999}}\n },\n \"timeZone\": {\n \"id\": \"\",\n \"version\": \"\"\n },\n \"weekly\": {\n \"dayOfWeek\": \"{{oneOf (array 'DAY_OF_WEEK_UNSPECIFIED' 'MONDAY' 'TUESDAY' 'WEDNESDAY' 'THURSDAY' 'FRIDAY' 'SATURDAY' 'SUNDAY')}}\"\n }\n },\n \"rollout\": {\n \"disruptionBudget\": {\n \"fixed\": {{faker 'number.int' max=99999}},\n \"percent\": {{faker 'number.int' max=99999}}\n },\n \"mode\": \"{{oneOf (array 'MODE_UNSPECIFIED' 'ZONE_BY_ZONE' 'CONCURRENT_ZONES')}}\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'PAUSED')}}\",\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": "2afff2ef-be53-4ad6-b099-f3cabfc0f27f", "documentation": "Change state of patch deployment back to \"ACTIVE\". Patch deployment in active state continues to generate patch jobs.", "method": "post", "endpoint": "v1beta/:name:resume", "responses": [ { "uuid": "2467cfe7-9dd9-45bf-abc2-b941938b8122", "body": "{\n \"createTime\": \"\",\n \"description\": \"\",\n \"duration\": \"\",\n \"instanceFilter\": {\n \"all\": {{faker 'datatype.boolean'}},\n \"groupLabels\": [\n {\n \"labels\": {}\n }\n ],\n \"instanceNamePrefixes\": [\n \"\"\n ],\n \"instances\": [\n \"\"\n ],\n \"zones\": [\n \"\"\n ]\n },\n \"lastExecuteTime\": \"\",\n \"name\": \"\",\n \"oneTimeSchedule\": {\n \"executeTime\": \"\"\n },\n \"patchConfig\": {\n \"apt\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DIST' 'UPGRADE')}}\"\n },\n \"goo\": {},\n \"migInstancesAllowed\": {{faker 'datatype.boolean'}},\n \"postStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"preStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"rebootConfig\": \"{{oneOf (array 'REBOOT_CONFIG_UNSPECIFIED' 'DEFAULT' 'ALWAYS' 'NEVER')}}\",\n \"windowsUpdate\": {\n \"classifications\": [\n \"{{oneOf (array 'CLASSIFICATION_UNSPECIFIED' 'CRITICAL' 'SECURITY' 'DEFINITION' 'DRIVER' 'FEATURE_PACK' 'SERVICE_PACK' 'TOOL' 'UPDATE_ROLLUP' 'UPDATE')}}\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ]\n },\n \"yum\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"minimal\": {{faker 'datatype.boolean'}},\n \"security\": {{faker 'datatype.boolean'}}\n },\n \"zypper\": {\n \"categories\": [\n \"\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ],\n \"severities\": [\n \"\"\n ],\n \"withOptional\": {{faker 'datatype.boolean'}},\n \"withUpdate\": {{faker 'datatype.boolean'}}\n }\n },\n \"recurringSchedule\": {\n \"endTime\": \"\",\n \"frequency\": \"{{oneOf (array 'FREQUENCY_UNSPECIFIED' 'WEEKLY' 'MONTHLY' 'DAILY')}}\",\n \"lastExecuteTime\": \"\",\n \"monthly\": {\n \"monthDay\": {{faker 'number.int' max=99999}},\n \"weekDayOfMonth\": {\n \"dayOfWeek\": \"{{oneOf (array 'DAY_OF_WEEK_UNSPECIFIED' 'MONDAY' 'TUESDAY' 'WEDNESDAY' 'THURSDAY' 'FRIDAY' 'SATURDAY' 'SUNDAY')}}\",\n \"dayOffset\": {{faker 'number.int' max=99999}},\n \"weekOrdinal\": {{faker 'number.int' max=99999}}\n }\n },\n \"nextExecuteTime\": \"\",\n \"startTime\": \"\",\n \"timeOfDay\": {\n \"hours\": {{faker 'number.int' max=99999}},\n \"minutes\": {{faker 'number.int' max=99999}},\n \"nanos\": {{faker 'number.int' max=99999}},\n \"seconds\": {{faker 'number.int' max=99999}}\n },\n \"timeZone\": {\n \"id\": \"\",\n \"version\": \"\"\n },\n \"weekly\": {\n \"dayOfWeek\": \"{{oneOf (array 'DAY_OF_WEEK_UNSPECIFIED' 'MONDAY' 'TUESDAY' 'WEDNESDAY' 'THURSDAY' 'FRIDAY' 'SATURDAY' 'SUNDAY')}}\"\n }\n },\n \"rollout\": {\n \"disruptionBudget\": {\n \"fixed\": {{faker 'number.int' max=99999}},\n \"percent\": {{faker 'number.int' max=99999}}\n },\n \"mode\": \"{{oneOf (array 'MODE_UNSPECIFIED' 'ZONE_BY_ZONE' 'CONCURRENT_ZONES')}}\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'PAUSED')}}\",\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": "5751634e-148b-4757-a92a-b8e1e36f3b11", "documentation": "Get a page of OS Config guest policies.", "method": "get", "endpoint": "v1beta/:parent/guestPolicies", "responses": [ { "uuid": "a21ed4e3-6a59-45f4-a821-68057f735230", "body": "{\n \"guestPolicies\": [\n {\n \"assignment\": {\n \"groupLabels\": [\n {\n \"labels\": {}\n }\n ],\n \"instanceNamePrefixes\": [\n \"\"\n ],\n \"instances\": [\n \"\"\n ],\n \"osTypes\": [\n {\n \"osArchitecture\": \"\",\n \"osShortName\": \"\",\n \"osVersion\": \"\"\n }\n ],\n \"zones\": [\n \"\"\n ]\n },\n \"createTime\": \"\",\n \"description\": \"\",\n \"etag\": \"\",\n \"name\": \"\",\n \"packageRepositories\": [\n {\n \"apt\": {\n \"archiveType\": \"{{oneOf (array 'ARCHIVE_TYPE_UNSPECIFIED' 'DEB' 'DEB_SRC')}}\",\n \"components\": [\n \"\"\n ],\n \"distribution\": \"\",\n \"gpgKey\": \"\",\n \"uri\": \"\"\n },\n \"goo\": {\n \"name\": \"\",\n \"url\": \"\"\n },\n \"yum\": {\n \"baseUrl\": \"\",\n \"displayName\": \"\",\n \"gpgKeys\": [\n \"\"\n ],\n \"id\": \"\"\n },\n \"zypper\": {\n \"baseUrl\": \"\",\n \"displayName\": \"\",\n \"gpgKeys\": [\n \"\"\n ],\n \"id\": \"\"\n }\n }\n ],\n \"packages\": [\n {\n \"desiredState\": \"{{oneOf (array 'DESIRED_STATE_UNSPECIFIED' 'INSTALLED' 'UPDATED' 'REMOVED')}}\",\n \"manager\": \"{{oneOf (array 'MANAGER_UNSPECIFIED' 'ANY' 'APT' 'YUM' 'ZYPPER' 'GOO')}}\",\n \"name\": \"\"\n }\n ],\n \"recipes\": [\n {\n \"artifacts\": [\n {\n \"allowInsecure\": {{faker 'datatype.boolean'}},\n \"gcs\": {\n \"bucket\": \"\",\n \"generation\": \"\",\n \"object\": \"\"\n },\n \"id\": \"\",\n \"remote\": {\n \"checksum\": \"\",\n \"uri\": \"\"\n }\n }\n ],\n \"desiredState\": \"{{oneOf (array 'DESIRED_STATE_UNSPECIFIED' 'INSTALLED' 'UPDATED' 'REMOVED')}}\",\n \"installSteps\": [\n {\n \"archiveExtraction\": {\n \"artifactId\": \"\",\n \"destination\": \"\",\n \"type\": \"{{oneOf (array 'ARCHIVE_TYPE_UNSPECIFIED' 'TAR' 'TAR_GZIP' 'TAR_BZIP' 'TAR_LZMA' 'TAR_XZ' 'ZIP')}}\"\n },\n \"dpkgInstallation\": {\n \"artifactId\": \"\"\n },\n \"fileCopy\": {\n \"artifactId\": \"\",\n \"destination\": \"\",\n \"overwrite\": {{faker 'datatype.boolean'}},\n \"permissions\": \"\"\n },\n \"fileExec\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"args\": [\n \"\"\n ],\n \"artifactId\": \"\",\n \"localPath\": \"\"\n },\n \"msiInstallation\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"artifactId\": \"\",\n \"flags\": [\n \"\"\n ]\n },\n \"rpmInstallation\": {\n \"artifactId\": \"\"\n },\n \"scriptRun\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'SHELL' 'POWERSHELL')}}\",\n \"script\": \"\"\n }\n }\n ],\n \"name\": \"\",\n \"updateSteps\": [\n {\n \"archiveExtraction\": {\n \"artifactId\": \"\",\n \"destination\": \"\",\n \"type\": \"{{oneOf (array 'ARCHIVE_TYPE_UNSPECIFIED' 'TAR' 'TAR_GZIP' 'TAR_BZIP' 'TAR_LZMA' 'TAR_XZ' 'ZIP')}}\"\n },\n \"dpkgInstallation\": {\n \"artifactId\": \"\"\n },\n \"fileCopy\": {\n \"artifactId\": \"\",\n \"destination\": \"\",\n \"overwrite\": {{faker 'datatype.boolean'}},\n \"permissions\": \"\"\n },\n \"fileExec\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"args\": [\n \"\"\n ],\n \"artifactId\": \"\",\n \"localPath\": \"\"\n },\n \"msiInstallation\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"artifactId\": \"\",\n \"flags\": [\n \"\"\n ]\n },\n \"rpmInstallation\": {\n \"artifactId\": \"\"\n },\n \"scriptRun\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'SHELL' 'POWERSHELL')}}\",\n \"script\": \"\"\n }\n }\n ],\n \"version\": \"\"\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": "69ccbb23-69e6-4f48-98a4-89be5c063783", "documentation": "Create an OS Config guest policy.", "method": "post", "endpoint": "v1beta/:parent/guestPolicies", "responses": [ { "uuid": "9ebda557-d6a0-4943-9042-7e2e8b50299d", "body": "{\n \"assignment\": {\n \"groupLabels\": [\n {\n \"labels\": {}\n }\n ],\n \"instanceNamePrefixes\": [\n \"\"\n ],\n \"instances\": [\n \"\"\n ],\n \"osTypes\": [\n {\n \"osArchitecture\": \"\",\n \"osShortName\": \"\",\n \"osVersion\": \"\"\n }\n ],\n \"zones\": [\n \"\"\n ]\n },\n \"createTime\": \"\",\n \"description\": \"\",\n \"etag\": \"\",\n \"name\": \"\",\n \"packageRepositories\": [\n {\n \"apt\": {\n \"archiveType\": \"{{oneOf (array 'ARCHIVE_TYPE_UNSPECIFIED' 'DEB' 'DEB_SRC')}}\",\n \"components\": [\n \"\"\n ],\n \"distribution\": \"\",\n \"gpgKey\": \"\",\n \"uri\": \"\"\n },\n \"goo\": {\n \"name\": \"\",\n \"url\": \"\"\n },\n \"yum\": {\n \"baseUrl\": \"\",\n \"displayName\": \"\",\n \"gpgKeys\": [\n \"\"\n ],\n \"id\": \"\"\n },\n \"zypper\": {\n \"baseUrl\": \"\",\n \"displayName\": \"\",\n \"gpgKeys\": [\n \"\"\n ],\n \"id\": \"\"\n }\n }\n ],\n \"packages\": [\n {\n \"desiredState\": \"{{oneOf (array 'DESIRED_STATE_UNSPECIFIED' 'INSTALLED' 'UPDATED' 'REMOVED')}}\",\n \"manager\": \"{{oneOf (array 'MANAGER_UNSPECIFIED' 'ANY' 'APT' 'YUM' 'ZYPPER' 'GOO')}}\",\n \"name\": \"\"\n }\n ],\n \"recipes\": [\n {\n \"artifacts\": [\n {\n \"allowInsecure\": {{faker 'datatype.boolean'}},\n \"gcs\": {\n \"bucket\": \"\",\n \"generation\": \"\",\n \"object\": \"\"\n },\n \"id\": \"\",\n \"remote\": {\n \"checksum\": \"\",\n \"uri\": \"\"\n }\n }\n ],\n \"desiredState\": \"{{oneOf (array 'DESIRED_STATE_UNSPECIFIED' 'INSTALLED' 'UPDATED' 'REMOVED')}}\",\n \"installSteps\": [\n {\n \"archiveExtraction\": {\n \"artifactId\": \"\",\n \"destination\": \"\",\n \"type\": \"{{oneOf (array 'ARCHIVE_TYPE_UNSPECIFIED' 'TAR' 'TAR_GZIP' 'TAR_BZIP' 'TAR_LZMA' 'TAR_XZ' 'ZIP')}}\"\n },\n \"dpkgInstallation\": {\n \"artifactId\": \"\"\n },\n \"fileCopy\": {\n \"artifactId\": \"\",\n \"destination\": \"\",\n \"overwrite\": {{faker 'datatype.boolean'}},\n \"permissions\": \"\"\n },\n \"fileExec\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"args\": [\n \"\"\n ],\n \"artifactId\": \"\",\n \"localPath\": \"\"\n },\n \"msiInstallation\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"artifactId\": \"\",\n \"flags\": [\n \"\"\n ]\n },\n \"rpmInstallation\": {\n \"artifactId\": \"\"\n },\n \"scriptRun\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'SHELL' 'POWERSHELL')}}\",\n \"script\": \"\"\n }\n }\n ],\n \"name\": \"\",\n \"updateSteps\": [\n {\n \"archiveExtraction\": {\n \"artifactId\": \"\",\n \"destination\": \"\",\n \"type\": \"{{oneOf (array 'ARCHIVE_TYPE_UNSPECIFIED' 'TAR' 'TAR_GZIP' 'TAR_BZIP' 'TAR_LZMA' 'TAR_XZ' 'ZIP')}}\"\n },\n \"dpkgInstallation\": {\n \"artifactId\": \"\"\n },\n \"fileCopy\": {\n \"artifactId\": \"\",\n \"destination\": \"\",\n \"overwrite\": {{faker 'datatype.boolean'}},\n \"permissions\": \"\"\n },\n \"fileExec\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"args\": [\n \"\"\n ],\n \"artifactId\": \"\",\n \"localPath\": \"\"\n },\n \"msiInstallation\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"artifactId\": \"\",\n \"flags\": [\n \"\"\n ]\n },\n \"rpmInstallation\": {\n \"artifactId\": \"\"\n },\n \"scriptRun\": {\n \"allowedExitCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'SHELL' 'POWERSHELL')}}\",\n \"script\": \"\"\n }\n }\n ],\n \"version\": \"\"\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": "a5a9ef95-28b8-42be-b401-c051b0bf5995", "documentation": "Get a list of instance details for a given patch job.", "method": "get", "endpoint": "v1beta/:parent/instanceDetails", "responses": [ { "uuid": "738fc5d8-0676-4b9b-8a54-200686ecdea1", "body": "{\n \"nextPageToken\": \"\",\n \"patchJobInstanceDetails\": [\n {\n \"attemptCount\": \"\",\n \"failureReason\": \"\",\n \"instanceSystemId\": \"\",\n \"name\": \"\",\n \"state\": \"{{oneOf (array 'PATCH_STATE_UNSPECIFIED' 'PENDING' 'INACTIVE' 'NOTIFIED' 'STARTED' 'DOWNLOADING_PATCHES' 'APPLYING_PATCHES' 'REBOOTING' 'SUCCEEDED' 'SUCCEEDED_REBOOT_REQUIRED' 'FAILED' 'ACKED' 'TIMED_OUT' 'RUNNING_PRE_PATCH_STEP' 'RUNNING_POST_PATCH_STEP' 'NO_AGENT_DETECTED')}}\"\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": "4da9df95-3bb7-479f-91f9-912ec9a25b3b", "documentation": "Get a page of OS Config patch deployments.", "method": "get", "endpoint": "v1beta/:parent/patchDeployments", "responses": [ { "uuid": "ba6da1a6-dbe5-4ba4-a864-90ffc98df9b5", "body": "{\n \"nextPageToken\": \"\",\n \"patchDeployments\": [\n {\n \"createTime\": \"\",\n \"description\": \"\",\n \"duration\": \"\",\n \"instanceFilter\": {\n \"all\": {{faker 'datatype.boolean'}},\n \"groupLabels\": [\n {\n \"labels\": {}\n }\n ],\n \"instanceNamePrefixes\": [\n \"\"\n ],\n \"instances\": [\n \"\"\n ],\n \"zones\": [\n \"\"\n ]\n },\n \"lastExecuteTime\": \"\",\n \"name\": \"\",\n \"oneTimeSchedule\": {\n \"executeTime\": \"\"\n },\n \"patchConfig\": {\n \"apt\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DIST' 'UPGRADE')}}\"\n },\n \"goo\": {},\n \"migInstancesAllowed\": {{faker 'datatype.boolean'}},\n \"postStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"preStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"rebootConfig\": \"{{oneOf (array 'REBOOT_CONFIG_UNSPECIFIED' 'DEFAULT' 'ALWAYS' 'NEVER')}}\",\n \"windowsUpdate\": {\n \"classifications\": [\n \"{{oneOf (array 'CLASSIFICATION_UNSPECIFIED' 'CRITICAL' 'SECURITY' 'DEFINITION' 'DRIVER' 'FEATURE_PACK' 'SERVICE_PACK' 'TOOL' 'UPDATE_ROLLUP' 'UPDATE')}}\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ]\n },\n \"yum\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"minimal\": {{faker 'datatype.boolean'}},\n \"security\": {{faker 'datatype.boolean'}}\n },\n \"zypper\": {\n \"categories\": [\n \"\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ],\n \"severities\": [\n \"\"\n ],\n \"withOptional\": {{faker 'datatype.boolean'}},\n \"withUpdate\": {{faker 'datatype.boolean'}}\n }\n },\n \"recurringSchedule\": {\n \"endTime\": \"\",\n \"frequency\": \"{{oneOf (array 'FREQUENCY_UNSPECIFIED' 'WEEKLY' 'MONTHLY' 'DAILY')}}\",\n \"lastExecuteTime\": \"\",\n \"monthly\": {\n \"monthDay\": {{faker 'number.int' max=99999}},\n \"weekDayOfMonth\": {\n \"dayOfWeek\": \"{{oneOf (array 'DAY_OF_WEEK_UNSPECIFIED' 'MONDAY' 'TUESDAY' 'WEDNESDAY' 'THURSDAY' 'FRIDAY' 'SATURDAY' 'SUNDAY')}}\",\n \"dayOffset\": {{faker 'number.int' max=99999}},\n \"weekOrdinal\": {{faker 'number.int' max=99999}}\n }\n },\n \"nextExecuteTime\": \"\",\n \"startTime\": \"\",\n \"timeOfDay\": {\n \"hours\": {{faker 'number.int' max=99999}},\n \"minutes\": {{faker 'number.int' max=99999}},\n \"nanos\": {{faker 'number.int' max=99999}},\n \"seconds\": {{faker 'number.int' max=99999}}\n },\n \"timeZone\": {\n \"id\": \"\",\n \"version\": \"\"\n },\n \"weekly\": {\n \"dayOfWeek\": \"{{oneOf (array 'DAY_OF_WEEK_UNSPECIFIED' 'MONDAY' 'TUESDAY' 'WEDNESDAY' 'THURSDAY' 'FRIDAY' 'SATURDAY' 'SUNDAY')}}\"\n }\n },\n \"rollout\": {\n \"disruptionBudget\": {\n \"fixed\": {{faker 'number.int' max=99999}},\n \"percent\": {{faker 'number.int' max=99999}}\n },\n \"mode\": \"{{oneOf (array 'MODE_UNSPECIFIED' 'ZONE_BY_ZONE' 'CONCURRENT_ZONES')}}\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'PAUSED')}}\",\n \"updateTime\": \"\"\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": "813c254b-2674-4d66-b1f3-78bbbc1931f4", "documentation": "Create an OS Config patch deployment.", "method": "post", "endpoint": "v1beta/:parent/patchDeployments", "responses": [ { "uuid": "7e6694d9-64bc-4402-8ebe-595cfae67b7a", "body": "{\n \"createTime\": \"\",\n \"description\": \"\",\n \"duration\": \"\",\n \"instanceFilter\": {\n \"all\": {{faker 'datatype.boolean'}},\n \"groupLabels\": [\n {\n \"labels\": {}\n }\n ],\n \"instanceNamePrefixes\": [\n \"\"\n ],\n \"instances\": [\n \"\"\n ],\n \"zones\": [\n \"\"\n ]\n },\n \"lastExecuteTime\": \"\",\n \"name\": \"\",\n \"oneTimeSchedule\": {\n \"executeTime\": \"\"\n },\n \"patchConfig\": {\n \"apt\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DIST' 'UPGRADE')}}\"\n },\n \"goo\": {},\n \"migInstancesAllowed\": {{faker 'datatype.boolean'}},\n \"postStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"preStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"rebootConfig\": \"{{oneOf (array 'REBOOT_CONFIG_UNSPECIFIED' 'DEFAULT' 'ALWAYS' 'NEVER')}}\",\n \"windowsUpdate\": {\n \"classifications\": [\n \"{{oneOf (array 'CLASSIFICATION_UNSPECIFIED' 'CRITICAL' 'SECURITY' 'DEFINITION' 'DRIVER' 'FEATURE_PACK' 'SERVICE_PACK' 'TOOL' 'UPDATE_ROLLUP' 'UPDATE')}}\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ]\n },\n \"yum\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"minimal\": {{faker 'datatype.boolean'}},\n \"security\": {{faker 'datatype.boolean'}}\n },\n \"zypper\": {\n \"categories\": [\n \"\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ],\n \"severities\": [\n \"\"\n ],\n \"withOptional\": {{faker 'datatype.boolean'}},\n \"withUpdate\": {{faker 'datatype.boolean'}}\n }\n },\n \"recurringSchedule\": {\n \"endTime\": \"\",\n \"frequency\": \"{{oneOf (array 'FREQUENCY_UNSPECIFIED' 'WEEKLY' 'MONTHLY' 'DAILY')}}\",\n \"lastExecuteTime\": \"\",\n \"monthly\": {\n \"monthDay\": {{faker 'number.int' max=99999}},\n \"weekDayOfMonth\": {\n \"dayOfWeek\": \"{{oneOf (array 'DAY_OF_WEEK_UNSPECIFIED' 'MONDAY' 'TUESDAY' 'WEDNESDAY' 'THURSDAY' 'FRIDAY' 'SATURDAY' 'SUNDAY')}}\",\n \"dayOffset\": {{faker 'number.int' max=99999}},\n \"weekOrdinal\": {{faker 'number.int' max=99999}}\n }\n },\n \"nextExecuteTime\": \"\",\n \"startTime\": \"\",\n \"timeOfDay\": {\n \"hours\": {{faker 'number.int' max=99999}},\n \"minutes\": {{faker 'number.int' max=99999}},\n \"nanos\": {{faker 'number.int' max=99999}},\n \"seconds\": {{faker 'number.int' max=99999}}\n },\n \"timeZone\": {\n \"id\": \"\",\n \"version\": \"\"\n },\n \"weekly\": {\n \"dayOfWeek\": \"{{oneOf (array 'DAY_OF_WEEK_UNSPECIFIED' 'MONDAY' 'TUESDAY' 'WEDNESDAY' 'THURSDAY' 'FRIDAY' 'SATURDAY' 'SUNDAY')}}\"\n }\n },\n \"rollout\": {\n \"disruptionBudget\": {\n \"fixed\": {{faker 'number.int' max=99999}},\n \"percent\": {{faker 'number.int' max=99999}}\n },\n \"mode\": \"{{oneOf (array 'MODE_UNSPECIFIED' 'ZONE_BY_ZONE' 'CONCURRENT_ZONES')}}\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'PAUSED')}}\",\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": "cb8980c6-1b52-48cb-ab11-ffb262e31762", "documentation": "Get a list of patch jobs.", "method": "get", "endpoint": "v1beta/:parent/patchJobs", "responses": [ { "uuid": "6ec972c1-ae5a-43ff-b56d-c0733941fea2", "body": "{\n \"nextPageToken\": \"\",\n \"patchJobs\": [\n {\n \"createTime\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"dryRun\": {{faker 'datatype.boolean'}},\n \"duration\": \"\",\n \"errorMessage\": \"\",\n \"instanceDetailsSummary\": {\n \"ackedInstanceCount\": \"\",\n \"applyingPatchesInstanceCount\": \"\",\n \"downloadingPatchesInstanceCount\": \"\",\n \"failedInstanceCount\": \"\",\n \"inactiveInstanceCount\": \"\",\n \"noAgentDetectedInstanceCount\": \"\",\n \"notifiedInstanceCount\": \"\",\n \"pendingInstanceCount\": \"\",\n \"postPatchStepInstanceCount\": \"\",\n \"prePatchStepInstanceCount\": \"\",\n \"rebootingInstanceCount\": \"\",\n \"startedInstanceCount\": \"\",\n \"succeededInstanceCount\": \"\",\n \"succeededRebootRequiredInstanceCount\": \"\",\n \"timedOutInstanceCount\": \"\"\n },\n \"instanceFilter\": {\n \"all\": {{faker 'datatype.boolean'}},\n \"groupLabels\": [\n {\n \"labels\": {}\n }\n ],\n \"instanceNamePrefixes\": [\n \"\"\n ],\n \"instances\": [\n \"\"\n ],\n \"zones\": [\n \"\"\n ]\n },\n \"name\": \"\",\n \"patchConfig\": {\n \"apt\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DIST' 'UPGRADE')}}\"\n },\n \"goo\": {},\n \"migInstancesAllowed\": {{faker 'datatype.boolean'}},\n \"postStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"preStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"rebootConfig\": \"{{oneOf (array 'REBOOT_CONFIG_UNSPECIFIED' 'DEFAULT' 'ALWAYS' 'NEVER')}}\",\n \"windowsUpdate\": {\n \"classifications\": [\n \"{{oneOf (array 'CLASSIFICATION_UNSPECIFIED' 'CRITICAL' 'SECURITY' 'DEFINITION' 'DRIVER' 'FEATURE_PACK' 'SERVICE_PACK' 'TOOL' 'UPDATE_ROLLUP' 'UPDATE')}}\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ]\n },\n \"yum\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"minimal\": {{faker 'datatype.boolean'}},\n \"security\": {{faker 'datatype.boolean'}}\n },\n \"zypper\": {\n \"categories\": [\n \"\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ],\n \"severities\": [\n \"\"\n ],\n \"withOptional\": {{faker 'datatype.boolean'}},\n \"withUpdate\": {{faker 'datatype.boolean'}}\n }\n },\n \"patchDeployment\": \"\",\n \"percentComplete\": {{faker 'number.float'}},\n \"rollout\": {\n \"disruptionBudget\": {\n \"fixed\": {{faker 'number.int' max=99999}},\n \"percent\": {{faker 'number.int' max=99999}}\n },\n \"mode\": \"{{oneOf (array 'MODE_UNSPECIFIED' 'ZONE_BY_ZONE' 'CONCURRENT_ZONES')}}\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'STARTED' 'INSTANCE_LOOKUP' 'PATCHING' 'SUCCEEDED' 'COMPLETED_WITH_ERRORS' 'CANCELED' 'TIMED_OUT')}}\",\n \"updateTime\": \"\"\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": "a2222646-91d2-400a-81fc-3d9c22de7161", "documentation": "Patch VM instances by creating and running a patch job.", "method": "post", "endpoint": "v1beta/:parent/patchJobs:execute", "responses": [ { "uuid": "d000f413-a210-4a5c-9104-acf337f82ecd", "body": "{\n \"createTime\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"dryRun\": {{faker 'datatype.boolean'}},\n \"duration\": \"\",\n \"errorMessage\": \"\",\n \"instanceDetailsSummary\": {\n \"ackedInstanceCount\": \"\",\n \"applyingPatchesInstanceCount\": \"\",\n \"downloadingPatchesInstanceCount\": \"\",\n \"failedInstanceCount\": \"\",\n \"inactiveInstanceCount\": \"\",\n \"noAgentDetectedInstanceCount\": \"\",\n \"notifiedInstanceCount\": \"\",\n \"pendingInstanceCount\": \"\",\n \"postPatchStepInstanceCount\": \"\",\n \"prePatchStepInstanceCount\": \"\",\n \"rebootingInstanceCount\": \"\",\n \"startedInstanceCount\": \"\",\n \"succeededInstanceCount\": \"\",\n \"succeededRebootRequiredInstanceCount\": \"\",\n \"timedOutInstanceCount\": \"\"\n },\n \"instanceFilter\": {\n \"all\": {{faker 'datatype.boolean'}},\n \"groupLabels\": [\n {\n \"labels\": {}\n }\n ],\n \"instanceNamePrefixes\": [\n \"\"\n ],\n \"instances\": [\n \"\"\n ],\n \"zones\": [\n \"\"\n ]\n },\n \"name\": \"\",\n \"patchConfig\": {\n \"apt\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'DIST' 'UPGRADE')}}\"\n },\n \"goo\": {},\n \"migInstancesAllowed\": {{faker 'datatype.boolean'}},\n \"postStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"preStep\": {\n \"linuxExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n },\n \"windowsExecStepConfig\": {\n \"allowedSuccessCodes\": [\n {{faker 'number.int' max=99999}}\n ],\n \"gcsObject\": {\n \"bucket\": \"\",\n \"generationNumber\": \"\",\n \"object\": \"\"\n },\n \"interpreter\": \"{{oneOf (array 'INTERPRETER_UNSPECIFIED' 'NONE' 'SHELL' 'POWERSHELL')}}\",\n \"localPath\": \"\"\n }\n },\n \"rebootConfig\": \"{{oneOf (array 'REBOOT_CONFIG_UNSPECIFIED' 'DEFAULT' 'ALWAYS' 'NEVER')}}\",\n \"windowsUpdate\": {\n \"classifications\": [\n \"{{oneOf (array 'CLASSIFICATION_UNSPECIFIED' 'CRITICAL' 'SECURITY' 'DEFINITION' 'DRIVER' 'FEATURE_PACK' 'SERVICE_PACK' 'TOOL' 'UPDATE_ROLLUP' 'UPDATE')}}\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ]\n },\n \"yum\": {\n \"excludes\": [\n \"\"\n ],\n \"exclusivePackages\": [\n \"\"\n ],\n \"minimal\": {{faker 'datatype.boolean'}},\n \"security\": {{faker 'datatype.boolean'}}\n },\n \"zypper\": {\n \"categories\": [\n \"\"\n ],\n \"excludes\": [\n \"\"\n ],\n \"exclusivePatches\": [\n \"\"\n ],\n \"severities\": [\n \"\"\n ],\n \"withOptional\": {{faker 'datatype.boolean'}},\n \"withUpdate\": {{faker 'datatype.boolean'}}\n }\n },\n \"patchDeployment\": \"\",\n \"percentComplete\": {{faker 'number.float'}},\n \"rollout\": {\n \"disruptionBudget\": {\n \"fixed\": {{faker 'number.int' max=99999}},\n \"percent\": {{faker 'number.int' max=99999}}\n },\n \"mode\": \"{{oneOf (array 'MODE_UNSPECIFIED' 'ZONE_BY_ZONE' 'CONCURRENT_ZONES')}}\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'STARTED' 'INSTANCE_LOOKUP' 'PATCHING' 'SUCCEEDED' 'COMPLETED_WITH_ERRORS' 'CANCELED' 'TIMED_OUT')}}\",\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" } ], "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": "2092e95b-cd61-4e97-9635-c891af3cadaa" }, { "type": "route", "uuid": "862d587b-280a-42f3-8bc6-de2a8466f6f5" }, { "type": "route", "uuid": "5d0c763d-39bf-4f47-9c89-64bf1ee6ee3b" }, { "type": "route", "uuid": "d21d0397-f166-4ed7-a11f-8deabc3c447f" }, { "type": "route", "uuid": "4ca8f0fe-5117-4d00-952f-4d9052863ed2" }, { "type": "route", "uuid": "ea1edc36-0021-46c0-a065-0962f87c597e" }, { "type": "route", "uuid": "2afff2ef-be53-4ad6-b099-f3cabfc0f27f" }, { "type": "route", "uuid": "5751634e-148b-4757-a92a-b8e1e36f3b11" }, { "type": "route", "uuid": "69ccbb23-69e6-4f48-98a4-89be5c063783" }, { "type": "route", "uuid": "a5a9ef95-28b8-42be-b401-c051b0bf5995" }, { "type": "route", "uuid": "4da9df95-3bb7-479f-91f9-912ec9a25b3b" }, { "type": "route", "uuid": "813c254b-2674-4d66-b1f3-78bbbc1931f4" }, { "type": "route", "uuid": "cb8980c6-1b52-48cb-ab11-ffb262e31762" }, { "type": "route", "uuid": "a2222646-91d2-400a-81fc-3d9c22de7161" } ] }