osconfig.projects.patch Deployments.create
POST {{baseUrl}}/v1/:parent/patchDeployments?patchDeploymentId=<string>&$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>"aUser=<string>&upload_protocol=<string>&uploadType=<string>
Create an OS Config patch deployment.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
patchDeploymentId | string | Required. A name for the patch deployment in the project. When creating a name the following rules apply: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project. | |
$.xgafv | string | V1 error format. | |
access_token | string | OAuth access token. | |
alt | string | Data format for response. | |
callback | string | JSONP | |
fields | string | Selector specifying which fields to include in a partial response. | |
key | string | API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | |
oauth_token | string | OAuth 2.0 token for the current user. | |
prettyPrint | string | Returns response with indentations and line breaks. | |
quotaUser | string | Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | |
upload_protocol | string | Upload protocol for media (e.g. "raw", "multipart"). | |
uploadType | string | Legacy upload protocol for media (e.g. "media", "multipart"). |
Request Body
{"description"=>"<string>", "duration"=>"<string>", "instanceFilter"=>{"all"=>true, "instanceNamePrefixes"=>["fugiat est mollit et", "dolore"], "instances"=>["Ut adipisicing nisi", "quis aliqua Ut nisi"], "zones"=>["minim pariatur eu", "est Ut"]}, "name"=>"<string>", "oneTimeSchedule"=>{"executeTime"=>"cillum eu cupidatat Excepteur"}, "patchConfig"=>{"apt"=>{"excludes"=>["aliquip laboris in", "consectetur Duis"], "exclusivePackages"=>["incididunt", "mini"], "type"=>"UPGRADE"}, "postStep"=>{"linuxExecStepConfig"=>{"allowedSuccessCodes"=>[20902829, -28458903], "gcsObject"=>{"bucket"=>"Duis nisi amet Excepteur", "generationNumber"=>"fugiat quis", "object"=>"ut Lorem dolor min"}, "interpreter"=>"SHELL", "localPath"=>"irure"}, "windowsExecStepConfig"=>{"allowedSuccessCodes"=>[-5192759, 90112857], "gcsObject"=>{"bucket"=>"culpa nostrud ea", "generationNumber"=>"culpa laborum nisi", "object"=>"exercitation proident incididunt aliqua"}, "interpreter"=>"POWERSHELL", "localPath"=>"do cupidatat"}}, "preStep"=>{"linuxExecStepConfig"=>{"allowedSuccessCodes"=>[30748288, -57969730], "gcsObject"=>{"bucket"=>"sunt sed deserunt laboris", "generationNumber"=>"ad culpa", "object"=>"ipsum ea mollit cupidatat"}, "interpreter"=>"SHELL", "localPath"=>"do exercitation aute mollit"}, "windowsExecStepConfig"=>{"allowedSuccessCodes"=>[-59994360, 77225946], "gcsObject"=>{"bucket"=>"irure ad proident enim incididunt", "generationNumber"=>"Duis exercitation", "object"=>"elit cillum tempor"}, "interpreter"=>"POWERSHELL", "localPath"=>"consequat"}}, "rebootConfig"=>"NEVER", "windowsUpdate"=>{"classifications"=>["SERVICE_PACK", "SERVICE_PACK"], "excludes"=>["adipisicing magna sit", "laboris velit irure fugiat enim"], "exclusivePatches"=>["labore quis proident", "sunt Lor"]}, "yum"=>{"excludes"=>["Ut", "do consectetur tempor"], "exclusivePackages"=>["et sint esse eu", "enim do deserunt"], "minimal"=>true, "security"=>false}, "zypper"=>{"categories"=>["cillum velit", "enim cupidatat id culpa"], "excludes"=>["ipsu", "mollit velit dolore"], "exclusivePatches"=>["in labore cons", "pariatur Ut"], "severities"=>["ipsum laborum", "et ad nisi anim velit"], "withOptional"=>false, "withUpdate"=>false}}, "recurringSchedule"=>{"endTime"=>"dol", "frequency"=>"WEEKLY", "lastExecuteTime"=>"eu laborum", "monthly"=>{"monthDay"=>85098024, "weekDayOfMonth"=>{"dayOfWeek"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "weekOrdinal"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "nextExecuteTime"=>"id m", "startTime"=>"sunt dolore magna", "timeOfDay"=>{"hours"=>-38782299, "minutes"=>48987946, "nanos"=>-11037407, "seconds"=>-93093561}, "timeZone"=>{"id"=>"irure veniam", "version"=>"incididunt esse aliqua quis des"}, "weekly"=>{"dayOfWeek"=>"TUESDAY"}}, "rollout"=>{"disruptionBudget"=>{"fixed"=>-30877087, "percent"=>28790512}, "mode"=>"MODE_UNSPECIFIED"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"createTime":"anim sint ex amet","description":"\u003cstring\u003e","duration":"\u003cstring\u003e","instanceFilter":{"all":false,"groupLabels":[{"labels":{}},{"labels":{}}],"instanceNamePrefixes":["sit labore ullamco id","ex ad"],"instances":["laboris ullamco enim ut","consectetur non pariatur"],"zones":["dolore sint nulla Ut consequat","ut consequat dolore in"]},"lastExecuteTime":"sint nisi adipisicing tempor","name":"\u003cstring\u003e","oneTimeSchedule":{"executeTime":"mollit proident ut id"},"patchConfig":{"apt":{"excludes":["deserunt","ipsum et qui aliqua culpa"],"exclusivePackages":["eu anim laboris sit eiusmod","ut mollit Excepteur velit"],"type":"UPGRADE"},"goo":{},"postStep":{"linuxExecStepConfig":{"allowedSuccessCodes":[-69069666,-73122303],"gcsObject":{"bucket":"Excepteur sint","generationNumber":"ullamco magna pariatur","object":"non et in irur"},"interpreter":"POWERSHELL","localPath":"in cupidatat ut"},"windowsExecStepConfig":{"allowedSuccessCodes":[86975044,-65181552],"gcsObject":{"bucket":"commodo dolore et","generationNumber":"fugiat deserunt","object":"in velit ut"},"interpreter":"INTERPRETER_UNSPECIFIED","localPath":"esse sed et in"}},"preStep":{"linuxExecStepConfig":{"allowedSuccessCodes":[-95405964,57327385],"gcsObject":{"bucket":"quis nulla est","generationNumber":"sunt","object":"consequat"},"interpreter":"INTERPRETER_UNSPECIFIED","localPath":"irure"},"windowsExecStepConfig":{"allowedSuccessCodes":[85588872,57510541],"gcsObject":{"bucket":"eiusmod velit nisi sed","generationNumber":"cillum ad ipsum","object":"ut consequat enim deserunt"},"interpreter":"POWERSHELL","localPath":"veniam dolor irure laboris"}},"rebootConfig":"ALWAYS","windowsUpdate":{"classifications":["DEFINITION","SERVICE_PACK"],"excludes":["adip","ea non ut"],"exclusivePatches":["ex non cupidatat","esse deserunt"]},"yum":{"excludes":["sit tempor","qui non voluptate velit Lorem"],"exclusivePackages":["labore proident Lorem laborum","amet sit"],"minimal":false,"security":false},"zypper":{"categories":["dolor ipsum Lor","nulla quis dolore"],"excludes":["ut enim consequat deserunt","Lorem i"],"exclusivePatches":["non","ut in enim Excepteur non"],"severities":["do ut","sunt"],"withOptional":false,"withUpdate":true}},"recurringSchedule":{"endTime":"repre","frequency":"MONTHLY","lastExecuteTime":"dolor","monthly":{"monthDay":-41831857,"weekDayOfMonth":{"dayOfWeek":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"weekOrdinal":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"nextExecuteTime":"labore cupidatat","startTime":"dolore cillum ut","timeOfDay":{"hours":-26850915,"minutes":-33653582,"nanos":-87996546,"seconds":-81281418},"timeZone":{"id":"ut anim","version":"do"},"weekly":{"dayOfWeek":"TUESDAY"}},"rollout":{"disruptionBudget":{"fixed":88012934,"percent":67410904},"mode":"ZONE_BY_ZONE"},"updateTime":"sed quis ut do et"}