Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::OSPolicyAssignmentReport.
A report of the OS policy assignment status for a given instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instance
def instance() -> ::String
- (::String) — The Compute Engine VM instance name.
#instance=
def instance=(value) -> ::String
- value (::String) — The Compute Engine VM instance name.
- (::String) — The Compute Engine VM instance name.
#last_run_id
def last_run_id() -> ::String
-
(::String) — Unique identifier of the last attempted run to apply the OS policies
associated with this assignment on the VM.
This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
#last_run_id=
def last_run_id=(value) -> ::String
-
value (::String) — Unique identifier of the last attempted run to apply the OS policies
associated with this assignment on the VM.
This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
-
(::String) — Unique identifier of the last attempted run to apply the OS policies
associated with this assignment on the VM.
This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
#name
def name() -> ::String
-
(::String) — The
OSPolicyAssignmentReport
API resource name.Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
#name=
def name=(value) -> ::String
-
value (::String) — The
OSPolicyAssignmentReport
API resource name.Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
-
(::String) — The
OSPolicyAssignmentReport
API resource name.Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
#os_policy_assignment
def os_policy_assignment() -> ::String
-
(::String) — Reference to the
OSPolicyAssignment
API resource that theOSPolicy
belongs to.Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
#os_policy_assignment=
def os_policy_assignment=(value) -> ::String
-
value (::String) — Reference to the
OSPolicyAssignment
API resource that theOSPolicy
belongs to.Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
-
(::String) — Reference to the
OSPolicyAssignment
API resource that theOSPolicy
belongs to.Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
#os_policy_compliances
def os_policy_compliances() -> ::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignmentReport::OSPolicyCompliance>
-
(::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignmentReport::OSPolicyCompliance>) — Compliance data for each
OSPolicy
that is applied to the VM.
#os_policy_compliances=
def os_policy_compliances=(value) -> ::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignmentReport::OSPolicyCompliance>
-
value (::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignmentReport::OSPolicyCompliance>) — Compliance data for each
OSPolicy
that is applied to the VM.
-
(::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignmentReport::OSPolicyCompliance>) — Compliance data for each
OSPolicy
that is applied to the VM.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Timestamp for when the report was last generated.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Timestamp for when the report was last generated.
- (::Google::Protobuf::Timestamp) — Timestamp for when the report was last generated.