Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::PatchDeployment (v1.6.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::PatchDeployment.
Patch deployments are configurations that individual patch jobs use to complete a patch. These configurations include instance filter, package repository settings, and a schedule. For more information about creating and managing patch deployments, see Scheduling patch jobs.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
defcreate_time()->::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Time the patch deployment was created. Timestamp is in RFC3339 text format.
#description
defdescription()->::String- (::String) — Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
#description=
defdescription=(value)->::String- value (::String) — Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
- (::String) — Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
#duration
defduration()->::Google::Protobuf::Duration- (::Google::Protobuf::Duration) — Optional. Duration of the patch. After the duration ends, the patch times out.
#duration=
defduration=(value)->::Google::Protobuf::Duration- value (::Google::Protobuf::Duration) — Optional. Duration of the patch. After the duration ends, the patch times out.
- (::Google::Protobuf::Duration) — Optional. Duration of the patch. After the duration ends, the patch times out.
#instance_filter
definstance_filter()->::Google::Cloud::OsConfig::V1::PatchInstanceFilter- (::Google::Cloud::OsConfig::V1::PatchInstanceFilter) — Required. VM instances to patch.
#instance_filter=
definstance_filter=(value)->::Google::Cloud::OsConfig::V1::PatchInstanceFilter- value (::Google::Cloud::OsConfig::V1::PatchInstanceFilter) — Required. VM instances to patch.
- (::Google::Cloud::OsConfig::V1::PatchInstanceFilter) — Required. VM instances to patch.
#last_execute_time
deflast_execute_time()->::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The last time a patch job was started by this deployment. Timestamp is in RFC3339 text format.
#name
defname()->::String-
(::String) — Unique name for the patch deployment resource in a project. The patch
deployment name is in the form:
projects/{project_id}/patchDeployments/{patch_deployment_id}. This field is ignored when you create a new patch deployment.
#name=
defname=(value)->::String-
value (::String) — Unique name for the patch deployment resource in a project. The patch
deployment name is in the form:
projects/{project_id}/patchDeployments/{patch_deployment_id}. This field is ignored when you create a new patch deployment.
-
(::String) — Unique name for the patch deployment resource in a project. The patch
deployment name is in the form:
projects/{project_id}/patchDeployments/{patch_deployment_id}. This field is ignored when you create a new patch deployment.
#one_time_schedule
defone_time_schedule()->::Google::Cloud::OsConfig::V1::OneTimeSchedule-
(::Google::Cloud::OsConfig::V1::OneTimeSchedule) — Required. Schedule a one-time execution.
Note: The following fields are mutually exclusive:
one_time_schedule,recurring_schedule. If a field in that set is populated, all other fields in the set will automatically be cleared.
#one_time_schedule=
defone_time_schedule=(value)->::Google::Cloud::OsConfig::V1::OneTimeSchedule-
value (::Google::Cloud::OsConfig::V1::OneTimeSchedule) — Required. Schedule a one-time execution.
Note: The following fields are mutually exclusive:
one_time_schedule,recurring_schedule. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::OneTimeSchedule) — Required. Schedule a one-time execution.
Note: The following fields are mutually exclusive:
one_time_schedule,recurring_schedule. If a field in that set is populated, all other fields in the set will automatically be cleared.
#patch_config
defpatch_config()->::Google::Cloud::OsConfig::V1::PatchConfig- (::Google::Cloud::OsConfig::V1::PatchConfig) — Optional. Patch configuration that is applied.
#patch_config=
defpatch_config=(value)->::Google::Cloud::OsConfig::V1::PatchConfig- value (::Google::Cloud::OsConfig::V1::PatchConfig) — Optional. Patch configuration that is applied.
- (::Google::Cloud::OsConfig::V1::PatchConfig) — Optional. Patch configuration that is applied.
#recurring_schedule
defrecurring_schedule()->::Google::Cloud::OsConfig::V1::RecurringSchedule-
(::Google::Cloud::OsConfig::V1::RecurringSchedule) — Required. Schedule recurring executions.
Note: The following fields are mutually exclusive:
recurring_schedule,one_time_schedule. If a field in that set is populated, all other fields in the set will automatically be cleared.
#recurring_schedule=
defrecurring_schedule=(value)->::Google::Cloud::OsConfig::V1::RecurringSchedule-
value (::Google::Cloud::OsConfig::V1::RecurringSchedule) — Required. Schedule recurring executions.
Note: The following fields are mutually exclusive:
recurring_schedule,one_time_schedule. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::RecurringSchedule) — Required. Schedule recurring executions.
Note: The following fields are mutually exclusive:
recurring_schedule,one_time_schedule. If a field in that set is populated, all other fields in the set will automatically be cleared.
#rollout
defrollout()->::Google::Cloud::OsConfig::V1::PatchRollout- (::Google::Cloud::OsConfig::V1::PatchRollout) — Optional. Rollout strategy of the patch job.
#rollout=
defrollout=(value)->::Google::Cloud::OsConfig::V1::PatchRollout- value (::Google::Cloud::OsConfig::V1::PatchRollout) — Optional. Rollout strategy of the patch job.
- (::Google::Cloud::OsConfig::V1::PatchRollout) — Optional. Rollout strategy of the patch job.
#state
defstate()->::Google::Cloud::OsConfig::V1::PatchDeployment::State- (::Google::Cloud::OsConfig::V1::PatchDeployment::State) — Output only. Current state of the patch deployment.
#update_time
defupdate_time()->::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Time the patch deployment was last updated. Timestamp is in RFC3339 text format.