Interface OSPolicyAssignmentReportOrBuilder (2.53.0)

public interface OSPolicyAssignmentReportOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract String getInstance()

The Compute Engine VM instance name.

string instance = 2;

Returns
Type Description
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

The Compute Engine VM instance name.

string instance = 2;

Returns
Type Description
ByteString

The bytes for instance.

getLastRunId()

public abstract String getLastRunId()

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 last_run_id = 6;

Returns
Type Description
String

The lastRunId.

getLastRunIdBytes()

public abstract ByteString getLastRunIdBytes()

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 last_run_id = 6;

Returns
Type Description
ByteString

The bytes for lastRunId.

getName()

public abstract String getName()

The OSPolicyAssignmentReport API resource name.

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

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The OSPolicyAssignmentReport API resource name.

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

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getOsPolicyAssignment()

public abstract String getOsPolicyAssignment()

Reference to the OSPolicyAssignment API resource that the OSPolicy belongs to.

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

string os_policy_assignment = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The osPolicyAssignment.

getOsPolicyAssignmentBytes()

public abstract ByteString getOsPolicyAssignmentBytes()

Reference to the OSPolicyAssignment API resource that the OSPolicy belongs to.

Format: projects/{project_number}/locations