Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::PatchJobInstanceDetails.
Patch details for a VM instance. For more information about reviewing VM instance details, see Listing all VM instance details for a specific patch job.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attempt_count
def attempt_count() -> ::Integer
Returns
- (::Integer) — The number of times the agent that the agent attempts to apply the patch.
#attempt_count=
def attempt_count=(value) -> ::Integer
Parameter
- value (::Integer) — The number of times the agent that the agent attempts to apply the patch.
Returns
- (::Integer) — The number of times the agent that the agent attempts to apply the patch.
#failure_reason
def failure_reason() -> ::String
Returns
- (::String) — If the patch fails, this field provides the reason.
#failure_reason=
def failure_reason=(value) -> ::String
Parameter
- value (::String) — If the patch fails, this field provides the reason.
Returns
- (::String) — If the patch fails, this field provides the reason.
#instance_system_id
def instance_system_id() -> ::String
Returns
- (::String) — The unique identifier for the instance. This identifier is defined by the server.
#instance_system_id=
def instance_system_id=(value) -> ::String
Parameter
- value (::String) — The unique identifier for the instance. This identifier is defined by the server.
Returns
- (::String) — The unique identifier for the instance. This identifier is defined by the server.
#name
def name() -> ::String
Returns
-
(::String) — The instance name in the form
projects/*/zones/*/instances/*
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — The instance name in the form
projects/*/zones/*/instances/*
Returns
-
(::String) — The instance name in the form
projects/*/zones/*/instances/*
#state
def state() -> ::Google::Cloud::OsConfig::V1::Instance::PatchState
Returns
- (::Google::Cloud::OsConfig::V1::Instance::PatchState) — Current state of instance patch.
#state=
def state=(value) -> ::Google::Cloud::OsConfig::V1::Instance::PatchState
Parameter
- value (::Google::Cloud::OsConfig::V1::Instance::PatchState) — Current state of instance patch.
Returns
- (::Google::Cloud::OsConfig::V1::Instance::PatchState) — Current state of instance patch.