Cloud OS Config V1alpha API - Class Google::Cloud::OsConfig::V1alpha::OSPolicyAssignmentReport (v0.6.0)

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
Returns
  • (::String) — The Compute Engine VM instance name.

#instance=

def instance=(value) -> ::String
Parameter
  • value (::String) — The Compute Engine VM instance name.
Returns
  • (::String) — The Compute Engine VM instance name.

#last_run_id

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

Returns
  • (::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
Returns
  • (::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
Parameter
  • value (::String) — The OSPolicyAssignmentReport API resource name.

    Format: projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report

Returns
  • (::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
Returns
  • (::String) — Reference to the OSPolicyAssignment API resource that the OSPolicy belongs to.

    Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}

#os_policy_assignment=

def os_policy_assignment=(value) -> ::String
Parameter
  • value (::String) — Reference to the OSPolicyAssignment API resource that the OSPolicy belongs to.

    Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}

Returns
  • (::String) — Reference to the OSPolicyAssignment API resource that the OSPolicy 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>
Returns

#os_policy_compliances=

def os_policy_compliances=(value) -> ::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignmentReport::OSPolicyCompliance>
Parameter
Returns

#update_time

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

#update_time=

def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns