Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::PatchDeployment (v0.10.0)

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

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.
Returns
  • (::String) — Optional. Description of the patch deployment. Length of the description is limited to 1024 characters.

#duration

def duration() -> ::Google::Protobuf::Duration
Returns

#duration=

def duration=(value) -> ::Google::Protobuf::Duration
Parameter
Returns

#instance_filter

def instance_filter() -> ::Google::Cloud::OsConfig::V1::PatchInstanceFilter
Returns

#instance_filter=

def instance_filter=(value) -> ::Google::Cloud::OsConfig::V1::PatchInstanceFilter
Parameter
Returns

#last_execute_time

def last_execute_time() -> ::Google::Protobuf::Timestamp
Returns

#name

def name() -> ::String
Returns
  • (::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=

def name=(value) -> ::String
Parameter
  • 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.
Returns
  • (::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

def one_time_schedule() -> ::Google::Cloud::OsConfig::V1::OneTimeSchedule
Returns

#one_time_schedule=

def one_time_schedule=(value) -> ::Google::Cloud::OsConfig::V1::OneTimeSchedule
Parameter
Returns

#patch_config

def patch_config() -> ::Google::Cloud::OsConfig::V1::PatchConfig
Returns

#patch_config=

def patch_config=(value) -> ::Google::Cloud::OsConfig::V1::PatchConfig
Parameter
Returns

#recurring_schedule

def recurring_schedule() -> ::Google::Cloud::OsConfig::V1::RecurringSchedule
Returns

#recurring_schedule=

def recurring_schedule=(value) -> ::Google::Cloud::OsConfig::V1::RecurringSchedule
Parameter
Returns

#rollout

def rollout() -> ::Google::Cloud::OsConfig::V1::PatchRollout
Returns

#rollout=

def rollout=(value) -> ::Google::Cloud::OsConfig::V1::PatchRollout
Parameter
Returns

#state

def state() -> ::Google::Cloud::OsConfig::V1::PatchDeployment::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns