Interface OSPolicyAssignmentReportOrBuilder (2.20.0)

public interface OSPolicyAssignmentReportOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstance()

public abstract String getInstance()

The Compute Engine VM instance name.

string instance = 2;

Returns
TypeDescription
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

The Compute Engine VM instance name.

string instance = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The osPolicyAssignment.

getOsPolicyAssignmentBytes()

public abstract ByteString getOsPolicyAssignmentBytes()

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
TypeDescription
ByteString

The bytes for osPolicyAssignment.

getOsPolicyCompliances(int index)

public abstract OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index)

Compliance data for each OSPolicy that is applied to the VM.

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyAssignmentReport.OSPolicyCompliance

getOsPolicyCompliancesCount()

public abstract int getOsPolicyCompliancesCount()

Compliance data for each OSPolicy that is applied to the VM.

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;

Returns
TypeDescription
int

getOsPolicyCompliancesList()

public abstract List<OSPolicyAssignmentReport.OSPolicyCompliance> getOsPolicyCompliancesList()

Compliance data for each OSPolicy that is applied to the VM.

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;

Returns
TypeDescription
List<OSPolicyCompliance>

getOsPolicyCompliancesOrBuilder(int index)

public abstract OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder(int index)

Compliance data for each OSPolicy that is applied to the VM.

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder

getOsPolicyCompliancesOrBuilderList()

public abstract List<? extends OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList()

Compliance data for each OSPolicy that is applied to the VM.

repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder>

getUpdateTime()

public abstract Timestamp getUpdateTime()

Timestamp for when the report was last generated.

.google.protobuf.Timestamp update_time = 5;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Timestamp for when the report was last generated.

.google.protobuf.Timestamp update_time = 5;

Returns
TypeDescription
TimestampOrBuilder

hasUpdateTime()

public abstract boolean hasUpdateTime()

Timestamp for when the report was last generated.

.google.protobuf.Timestamp update_time = 5;

Returns
TypeDescription
boolean

Whether the updateTime field is set.