-
Notifications
You must be signed in to change notification settings - Fork 34
/
patch_deployment_beta_yaml_embed.go
executable file
·23 lines (20 loc) · 43 KB
/
patch_deployment_beta_yaml_embed.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2022 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// GENERATED BY gen_go_data.go
// gen_go_data -package beta -var YAML_patch_deployment blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/osconfig/beta/patch_deployment.yaml
package beta
// blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/osconfig/beta/patch_deployment.yaml
var YAML_patch_deployment = []byte("info:\n title: OSConfig/PatchDeployment\n description: Patch deployments are configurations that individual patch jobs use\n to complete a patch. These configurations include instance filter, package repository\n settings, and a schedule.\n x-dcl-struct-name: PatchDeployment\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API documentation\n url: https://cloud.google.com/compute/docs/osconfig/rest\n x-dcl-guides:\n - text: Official Documentation\n url: https://cloud.google.com/compute/docs/os-patch-management\npaths:\n get:\n description: The function used to get information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n apply:\n description: The function used to apply information about a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n delete:\n description: The function used to delete a PatchDeployment\n parameters:\n - name: PatchDeployment\n required: true\n description: A full instance of a PatchDeployment\n deleteAll:\n description: The function used to delete all PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many PatchDeployment\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n PatchDeployment:\n title: PatchDeployment\n x-dcl-id: projects/{{project}}/patchDeployments/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - name\n - instanceFilter\n - project\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. Time the patch deployment was created. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the patch deployment. Length of the\n description is limited to 1024 characters.\n duration:\n type: string\n x-dcl-go-name: Duration\n description: Optional. Duration of the patch. After the duration ends, the\n patch times out.\n instanceFilter:\n type: object\n x-dcl-go-name: InstanceFilter\n x-dcl-go-type: PatchDeploymentInstanceFilter\n description: Required. VM instances to patch.\n properties:\n all:\n type: boolean\n x-dcl-go-name: All\n description: Target all VM instances in the project. If true, no other\n criteria is permitted.\n x-dcl-conflicts:\n - instanceNamePrefixes\n groupLabels:\n type: array\n x-dcl-go-name: GroupLabels\n description: Targets VM instances matching ANY of these GroupLabels.\n This allows targeting of disparate groups of VM instances.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: PatchDeploymentInstanceFilterGroupLabels\n properties:\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Compute Engine instance labels that must be present\n for a VM instance to be targeted by this filter.\n instanceNamePrefixes:\n type: array\n x-dcl-go-name: InstanceNamePrefixes\n description: Targets VMs whose name starts with one of these prefixes.\n Similar to labels, this is another way to group VMs when targeting\n configs, for example prefix=\"prod-\".\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n instances:\n type: array\n x-dcl-go-name: Instances\n description: Targets any of the VM instances specified. Instances are\n specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,\n `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or\n `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n x-dcl-references:\n - resource: Compute/Instance\n field: name\n zones:\n type: array\n x-dcl-go-name: Zones\n description: Targets VM instances in ANY of these zones. Leave empty\n to target VM instances in any zone.\n x-dcl-conflicts:\n - all\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The last time a patch job was started by this\n deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n text format.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Unique name for the patch deployment resource in a project.\n The patch deployment name is in the form: `projects/{project_id}/patchDeployments/{patch_deployment_id}`.\n This field is ignored when you create a new patch deployment.'\n x-kubernetes-immutable: true\n oneTimeSchedule:\n type: object\n x-dcl-go-name: OneTimeSchedule\n x-dcl-go-type: PatchDeploymentOneTimeSchedule\n description: Required. Schedule a one-time execution.\n x-dcl-conflicts:\n - recurringSchedule\n required:\n - executeTime\n properties:\n executeTime:\n type: string\n format: date-time\n x-dcl-go-name: ExecuteTime\n description: Required. The desired patch job execution time.\n patchConfig:\n type: object\n x-dcl-go-name: PatchConfig\n x-dcl-go-type: PatchDeploymentPatchConfig\n description: Optional. Patch configuration that is applied.\n properties:\n apt:\n type: object\n x-dcl-go-name: Apt\n x-dcl-go-type: PatchDeploymentPatchConfigApt\n description: Apt update settings. Use this setting to override the default\n `apt` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n will be excluded\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field cannot be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: PatchDeploymentPatchConfigAptTypeEnum\n description: 'By changing the type to DIST, the patching is performed\n using `apt-get dist-upgrade` instead. Possible values: TYPE_UNSPECIFIED,\n DIST, UPGRADE'\n enum:\n - TYPE_UNSPECIFIED\n - DIST\n - UPGRADE\n goo:\n type: object\n x-dcl-go-name: Goo\n x-dcl-go-type: PatchDeploymentPatchConfigGoo\n description: Goo update settings. Use this setting to override the default\n `goo` patch rules.\n postStep:\n type: object\n x-dcl-go-name: PostStep\n x-dcl-go-type: PatchDeploymentPatchConfigPostStep\n description: The `ExecStep` to run after the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPostStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n preStep:\n type: object\n x-dcl-go-name: PreStep\n x-dcl-go-type: PatchDeploymentPatchConfigPreStep\n description: The `ExecStep` to run before the patch update.\n properties:\n linuxExecStepConfig:\n type: object\n x-dcl-go-name: LinuxExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfig\n description: The ExecStepConfig for all Linux VMs targeted by the\n PatchJob.\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepLinuxExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n windowsExecStepConfig:\n type: object\n x-dcl-go-name: WindowsExecStepConfig\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfig\n description: The ExecStepConfig for all Windows VMs targeted by\n the PatchJob.\n required:\n - interpreter\n properties:\n allowedSuccessCodes:\n type: array\n x-dcl-go-name: AllowedSuccessCodes\n description: Defaults to [0]. A list of possible return values\n that the execution can return to indicate a success.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: integer\n format: int64\n x-dcl-go-type: int64\n gcsObject:\n type: object\n x-dcl-go-name: GcsObject\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject\n description: A Cloud Storage object containing the executable.\n x-dcl-conflicts:\n - localPath\n required:\n - bucket\n - object\n - generationNumber\n properties:\n bucket:\n type: string\n x-dcl-go-name: Bucket\n description: Required. Bucket of the Cloud Storage object.\n generationNumber:\n type: integer\n format: int64\n x-dcl-go-name: GenerationNumber\n description: Required. Generation number of the Cloud Storage\n object. This is used to ensure that the ExecStep specified\n by this PatchJob does not change.\n object:\n type: string\n x-dcl-go-name: Object\n description: Required. Name of the Cloud Storage object.\n interpreter:\n type: string\n x-dcl-go-name: Interpreter\n x-dcl-go-type: PatchDeploymentPatchConfigPreStepWindowsExecStepConfigInterpreterEnum\n description: 'The script interpreter to use to run the script.\n If no interpreter is specified the script will be executed\n directly, which will likely only succeed for scripts with\n [shebang lines] (https://en.wikipedia.org/wiki/Shebang_(Unix)).\n Possible values: INTERPRETER_UNSPECIFIED, NONE, SHELL, POWERSHELL'\n enum:\n - INTERPRETER_UNSPECIFIED\n - NONE\n - SHELL\n - POWERSHELL\n localPath:\n type: string\n x-dcl-go-name: LocalPath\n description: An absolute path to the executable on the VM.\n x-dcl-conflicts:\n - gcsObject\n rebootConfig:\n type: string\n x-dcl-go-name: RebootConfig\n x-dcl-go-type: PatchDeploymentPatchConfigRebootConfigEnum\n description: 'Post-patch reboot settings. Possible values: REBOOT_CONFIG_UNSPECIFIED,\n DEFAULT, ALWAYS, NEVER'\n enum:\n - REBOOT_CONFIG_UNSPECIFIED\n - DEFAULT\n - ALWAYS\n - NEVER\n windowsUpdate:\n type: object\n x-dcl-go-name: WindowsUpdate\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdate\n description: Windows update settings. Use this override the default\n windows patch rules.\n properties:\n classifications:\n type: array\n x-dcl-go-name: Classifications\n description: Only apply updates of these windows update classifications.\n If empty, all updates are applied.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: PatchDeploymentPatchConfigWindowsUpdateClassificationsEnum\n enum:\n - CLASSIFICATION_UNSPECIFIED\n - CRITICAL\n - SECURITY\n - DEFINITION\n - DRIVER\n - FEATURE_PACK\n - SERVICE_PACK\n - TOOL\n - UPDATE_ROLLUP\n - UPDATE\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of KBs to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of kbs to be updated. These are the\n only patches that will be updated. This field must not be used\n with other patch configurations.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n yum:\n type: object\n x-dcl-go-name: Yum\n x-dcl-go-type: PatchDeploymentPatchConfigYum\n description: Yum update settings. Use this setting to override the default\n `yum` patch rules.\n properties:\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of packages to exclude from update. These packages\n are excluded by using the yum `--exclude` flag.\n x-dcl-conflicts:\n - exclusivePackages\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePackages:\n type: array\n x-dcl-go-name: ExclusivePackages\n description: An exclusive list of packages to be updated. These\n are the only packages that will be updated. If these packages\n are not installed, they will be ignored. This field must not be\n specified with any other patch configuration fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n minimal:\n type: boolean\n x-dcl-go-name: Minimal\n description: Will cause patch to run `yum update-minimal` instead.\n security:\n type: boolean\n x-dcl-go-name: Security\n description: Adds the `--security` flag to `yum update`. Not supported\n on all platforms.\n zypper:\n type: object\n x-dcl-go-name: Zypper\n x-dcl-go-type: PatchDeploymentPatchConfigZypper\n description: Zypper update settings. Use this setting to override the\n default `zypper` patch rules.\n properties:\n categories:\n type: array\n x-dcl-go-name: Categories\n description: Install only patches with these categories. Common\n categories include security, recommended, and feature.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n excludes:\n type: array\n x-dcl-go-name: Excludes\n description: List of patches to exclude from update.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n exclusivePatches:\n type: array\n x-dcl-go-name: ExclusivePatches\n description: An exclusive list of patches to be updated. These are\n the only patches that will be installed using 'zypper patch patch:'\n command. This field must not be used with any other patch configuration\n fields.\n x-dcl-conflicts:\n - excludes\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n severities:\n type: array\n x-dcl-go-name: Severities\n description: Install only patches with these severities. Common\n severities include critical, important, moderate, and low.\n x-dcl-conflicts:\n - exclusivePatches\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n withOptional:\n type: boolean\n x-dcl-go-name: WithOptional\n description: Adds the `--with-optional` flag to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n withUpdate:\n type: boolean\n x-dcl-go-name: WithUpdate\n description: Adds the `--with-update` flag, to `zypper patch`.\n x-dcl-conflicts:\n - exclusivePatches\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n recurringSchedule:\n type: object\n x-dcl-go-name: RecurringSchedule\n x-dcl-go-type: PatchDeploymentRecurringSchedule\n description: Required. Schedule recurring executions.\n x-dcl-conflicts:\n - oneTimeSchedule\n required:\n - timeZone\n - timeOfDay\n - frequency\n properties:\n endTime:\n type: string\n format: date-time\n x-dcl-go-name: EndTime\n description: Optional. The end time at which a recurring patch deployment\n schedule is no longer active.\n frequency:\n type: string\n x-dcl-go-name: Frequency\n x-dcl-go-type: PatchDeploymentRecurringScheduleFrequencyEnum\n description: 'Required. The frequency unit of this recurring schedule.\n Possible values: FREQUENCY_UNSPECIFIED, WEEKLY, MONTHLY, DAILY'\n enum:\n - FREQUENCY_UNSPECIFIED\n - WEEKLY\n - MONTHLY\n - DAILY\n lastExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: LastExecuteTime\n readOnly: true\n description: Output only. The time the last patch job ran successfully.\n monthly:\n type: object\n x-dcl-go-name: Monthly\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthly\n description: Required. Schedule with monthly executions.\n x-dcl-conflicts:\n - weekly\n properties:\n monthDay:\n type: integer\n format: int64\n x-dcl-go-name: MonthDay\n description: Required. One day of the month. 1-31 indicates the\n 1st to the 31st day. -1 indicates the last day of the month. Months\n without the target day will be skipped. For example, a schedule\n to run \"every month on the 31st\" will not run in February, April,\n June, etc.\n x-dcl-conflicts:\n - weekDayOfMonth\n weekDayOfMonth:\n type: object\n x-dcl-go-name: WeekDayOfMonth\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth\n description: Required. Week day in a month.\n x-dcl-conflicts:\n - monthDay\n required:\n - weekOrdinal\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthDayOfWeekEnum\n description: 'Required. A day of the week. Possible values:\n DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY,\n FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n weekOrdinal:\n type: integer\n format: int64\n x-dcl-go-name: WeekOrdinal\n description: Required. Week number in a month. 1-4 indicates\n the 1st to 4th week of the month. -1 indicates the last week\n of the month.\n nextExecuteTime:\n type: string\n format: date-time\n x-dcl-go-name: NextExecuteTime\n readOnly: true\n description: Output only. The time the next patch job is scheduled to\n run.\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: Optional. The time that the recurring schedule becomes\n effective. Defaults to `create_time` of the patch deployment.\n timeOfDay:\n type: object\n x-dcl-go-name: TimeOfDay\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeOfDay\n description: Required. Time of the day to run a recurring deployment.\n x-dcl-send-empty: true\n properties:\n hours:\n type: integer\n format: int64\n x-dcl-go-name: Hours\n description: Hours of day in 24 hour format. Should be from 0 to\n 23. An API may choose to allow the value \"24:00:00\" for scenarios\n like business closing time.\n minutes:\n type: integer\n format: int64\n x-dcl-go-name: Minutes\n description: Minutes of hour of day. Must be from 0 to 59.\n nanos:\n type: integer\n format: int64\n x-dcl-go-name: Nanos\n description: Fractions of seconds in nanoseconds. Must be from 0\n to 999,999,999.\n seconds:\n type: integer\n format: int64\n x-dcl-go-name: Seconds\n description: Seconds of minutes of the time. Must normally be from\n 0 to 59. An API may allow the value 60 if it allows leap-seconds.\n timeZone:\n type: object\n x-dcl-go-name: TimeZone\n x-dcl-go-type: PatchDeploymentRecurringScheduleTimeZone\n description: Required. Defines the time zone that `time_of_day` is relative\n to. The rules for daylight saving time are determined by the chosen\n time zone.\n properties:\n id:\n type: string\n x-dcl-go-name: Id\n description: IANA Time Zone Database time zone, e.g. \"America/New_York\".\n version:\n type: string\n x-dcl-go-name: Version\n description: Optional. IANA Time Zone Database version number, e.g.\n \"2019a\".\n weekly:\n type: object\n x-dcl-go-name: Weekly\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeekly\n description: Required. Schedule with weekly executions.\n x-dcl-conflicts:\n - monthly\n required:\n - dayOfWeek\n properties:\n dayOfWeek:\n type: string\n x-dcl-go-name: DayOfWeek\n x-dcl-go-type: PatchDeploymentRecurringScheduleWeeklyDayOfWeekEnum\n description: 'Required. Day of the week. Possible values: DAY_OF_WEEK_UNSPECIFIED,\n MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY'\n enum:\n - DAY_OF_WEEK_UNSPECIFIED\n - MONDAY\n - TUESDAY\n - WEDNESDAY\n - THURSDAY\n - FRIDAY\n - SATURDAY\n - SUNDAY\n rollout:\n type: object\n x-dcl-go-name: Rollout\n x-dcl-go-type: PatchDeploymentRollout\n description: Optional. Rollout strategy of the patch job.\n required:\n - mode\n - disruptionBudget\n properties:\n disruptionBudget:\n type: object\n x-dcl-go-name: DisruptionBudget\n x-dcl-go-type: PatchDeploymentRolloutDisruptionBudget\n description: The maximum number (or percentage) of VMs per zone to disrupt\n at any given moment. The number of VMs calculated from multiplying\n the percentage by the total number of VMs in a zone is rounded up.\n During patching, a VM is considered disrupted from the time the agent\n is notified to begin until patching has completed. This disruption\n time includes the time to complete reboot and any post-patch steps.\n A VM contributes to the disruption budget if its patching operation\n fails either when applying the patches, running pre or post patch\n steps, or if it fails to respond with a success notification before\n timing out. VMs that are not running or do not have an active agent\n do not count toward this disruption budget. For zone-by-zone rollouts,\n if the disruption budget in a zone is exceeded, the patch job stops,\n because continuing to the next zone requires completion of the patch\n process in the previous zone. For example, if the disruption budget\n has a fixed value of `10`, and 8 VMs fail to patch in the current\n zone, the patch job continues to patch 2 VMs at a time until the zone\n is completed. When that zone is completed successfully, patching begins\n with 10 VMs at a time in the next zone. If 10 VMs in the next zone\n fail to patch, the patch job stops.\n properties:\n fixed:\n type: integer\n format: int64\n x-dcl-go-name: Fixed\n description: Specifies a fixed value.\n x-dcl-conflicts:\n - percent\n percent:\n type: integer\n format: int64\n x-dcl-go-name: Percent\n description: Specifies the relative value defined as a percentage,\n which will be multiplied by a reference value.\n x-dcl-conflicts:\n - fixed\n mode:\n type: string\n x-dcl-go-name: Mode\n x-dcl-go-type: PatchDeploymentRolloutModeEnum\n description: 'Mode of the patch rollout. Possible values: MODE_UNSPECIFIED,\n VALIDATION, ENFORCEMENT'\n enum:\n - MODE_UNSPECIFIED\n - VALIDATION\n - ENFORCEMENT\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. Time the patch deployment was last updated. Timestamp\n is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.\n x-kubernetes-immutable: true\n")
// 42042 bytes
// MD5: 40b245b23bfce921af64d45ec82cf8a4