Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::OSPolicyAssignmentReport (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::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
definstance()->::String- (::String) — The Compute Engine VM instance name.
#instance=
definstance=(value)->::String- value (::String) — The Compute Engine VM instance name.
- (::String) — The Compute Engine VM instance name.
#last_run_id
deflast_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=
deflast_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
defname()->::String-
(::String) — The
OSPolicyAssignmentReportAPI resource name.Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
#name=
defname=(value)->::String-
value (::String) — The
OSPolicyAssignmentReportAPI resource name.Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
-
(::String) — The
OSPolicyAssignmentReportAPI resource name.Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
#os_policy_assignment
defos_policy_assignment()->::String-
(::String) — Reference to the
OSPolicyAssignmentAPI resource that theOSPolicybelongs to.Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
#os_policy_assignment=
defos_policy_assignment=(value)->::String-
value (::String) — Reference to the
OSPolicyAssignmentAPI resource that theOSPolicybelongs to.Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
-
(::String) — Reference to the
OSPolicyAssignmentAPI resource that theOSPolicybelongs to.Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
#os_policy_compliances
defos_policy_compliances()->::Array<::Google::Cloud::OsConfig::V1::OSPolicyAssignmentReport::OSPolicyCompliance>-
(::Array<::Google::Cloud::OsConfig::V1::OSPolicyAssignmentReport::OSPolicyCompliance>) — Compliance data for each
OSPolicythat is applied to the VM.
#os_policy_compliances=
defos_policy_compliances=(value)->::Array<::Google::Cloud::OsConfig::V1::OSPolicyAssignmentReport::OSPolicyCompliance>-
value (::Array<::Google::Cloud::OsConfig::V1::OSPolicyAssignmentReport::OSPolicyCompliance>) — Compliance data for each
OSPolicythat is applied to the VM.
-
(::Array<::Google::Cloud::OsConfig::V1::OSPolicyAssignmentReport::OSPolicyCompliance>) — Compliance data for each
OSPolicythat is applied to the VM.
#update_time
defupdate_time()->::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Timestamp for when the report was last generated.
#update_time=
defupdate_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.