Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
feat: add ability to change the state of a patch deployment (#163)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 427050266

Source-Link: googleapis/googleapis@010716c

Source-Link: googleapis/googleapis-gen@95161e2
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTUxNjFlMjFhMDMzMzQ1YzVmZTEzNTQyYmI4YTgyZDRiMWQwODY5MCJ9

docs: add autogenerated code snippets
  • Loading branch information
gcf-owl-bot[bot] committed Feb 8, 2022
1 parent e7f8549 commit fbf55b5
Show file tree
Hide file tree
Showing 92 changed files with 9,550 additions and 8 deletions.
10 changes: 10 additions & 0 deletions google/cloud/osconfig/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,14 @@
from google.cloud.osconfig_v1.types.patch_deployments import MonthlySchedule
from google.cloud.osconfig_v1.types.patch_deployments import OneTimeSchedule
from google.cloud.osconfig_v1.types.patch_deployments import PatchDeployment
from google.cloud.osconfig_v1.types.patch_deployments import PausePatchDeploymentRequest
from google.cloud.osconfig_v1.types.patch_deployments import RecurringSchedule
from google.cloud.osconfig_v1.types.patch_deployments import (
ResumePatchDeploymentRequest,
)
from google.cloud.osconfig_v1.types.patch_deployments import (
UpdatePatchDeploymentRequest,
)
from google.cloud.osconfig_v1.types.patch_deployments import WeekDayOfMonth
from google.cloud.osconfig_v1.types.patch_deployments import WeeklySchedule
from google.cloud.osconfig_v1.types.patch_jobs import AptSettings
Expand Down Expand Up @@ -156,7 +163,10 @@
"MonthlySchedule",
"OneTimeSchedule",
"PatchDeployment",
"PausePatchDeploymentRequest",
"RecurringSchedule",
"ResumePatchDeploymentRequest",
"UpdatePatchDeploymentRequest",
"WeekDayOfMonth",
"WeeklySchedule",
"AptSettings",
Expand Down
6 changes: 6 additions & 0 deletions google/cloud/osconfig_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
from .types.patch_deployments import MonthlySchedule
from .types.patch_deployments import OneTimeSchedule
from .types.patch_deployments import PatchDeployment
from .types.patch_deployments import PausePatchDeploymentRequest
from .types.patch_deployments import RecurringSchedule
from .types.patch_deployments import ResumePatchDeploymentRequest
from .types.patch_deployments import UpdatePatchDeploymentRequest
from .types.patch_deployments import WeekDayOfMonth
from .types.patch_deployments import WeeklySchedule
from .types.patch_jobs import AptSettings
Expand Down Expand Up @@ -133,8 +136,11 @@
"PatchJob",
"PatchJobInstanceDetails",
"PatchRollout",
"PausePatchDeploymentRequest",
"RecurringSchedule",
"ResumePatchDeploymentRequest",
"UpdateOSPolicyAssignmentRequest",
"UpdatePatchDeploymentRequest",
"VulnerabilityReport",
"WeekDayOfMonth",
"WeeklySchedule",
Expand Down
30 changes: 30 additions & 0 deletions google/cloud/osconfig_v1/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,21 @@
"methods": [
"list_patch_jobs"
]
},
"PausePatchDeployment": {
"methods": [
"pause_patch_deployment"
]
},
"ResumePatchDeployment": {
"methods": [
"resume_patch_deployment"
]
},
"UpdatePatchDeployment": {
"methods": [
"update_patch_deployment"
]
}
}
},
Expand Down Expand Up @@ -104,6 +119,21 @@
"methods": [
"list_patch_jobs"
]
},
"PausePatchDeployment": {
"methods": [
"pause_patch_deployment"
]
},
"ResumePatchDeployment": {
"methods": [
"resume_patch_deployment"
]
},
"UpdatePatchDeployment": {
"methods": [
"update_patch_deployment"
]
}
}
}
Expand Down
Loading

0 comments on commit fbf55b5

Please sign in to comment.