Package com.google.cloud.osconfig.v1
Interface OSPolicyAssignmentReportOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OSPolicyAssignmentReport
,OSPolicyAssignmentReport.Builder
public interface OSPolicyAssignmentReportOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getInstance()
The Compute Engine VM instance name.com.google.protobuf.ByteString
getInstanceBytes()
The Compute Engine VM instance name.String
getLastRunId()
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.com.google.protobuf.ByteString
getLastRunIdBytes()
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM.String
getName()
The `OSPolicyAssignmentReport` API resource name.com.google.protobuf.ByteString
getNameBytes()
The `OSPolicyAssignmentReport` API resource name.String
getOsPolicyAssignment()
Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.com.google.protobuf.ByteString
getOsPolicyAssignmentBytes()
Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.OSPolicyAssignmentReport.OSPolicyCompliance
getOsPolicyCompliances(int index)
Compliance data for each `OSPolicy` that is applied to the VM.int
getOsPolicyCompliancesCount()
Compliance data for each `OSPolicy` that is applied to the VM.List<OSPolicyAssignmentReport.OSPolicyCompliance>
getOsPolicyCompliancesList()
Compliance data for each `OSPolicy` that is applied to the VM.OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder
getOsPolicyCompliancesOrBuilder(int index)
Compliance data for each `OSPolicy` that is applied to the VM.List<? extends OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder>
getOsPolicyCompliancesOrBuilderList()
Compliance data for each `OSPolicy` that is applied to the VM.com.google.protobuf.Timestamp
getUpdateTime()
Timestamp for when the report was last generated.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Timestamp for when the report was last generated.boolean
hasUpdateTime()
Timestamp for when the report was last generated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getInstance
String getInstance()
The Compute Engine VM instance name.
string instance = 2;
- Returns:
- The instance.
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()
The Compute Engine VM instance name.
string instance = 2;
- Returns:
- The bytes for instance.
-
getOsPolicyAssignment
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:
- The osPolicyAssignment.
-
getOsPolicyAssignmentBytes
com.google.protobuf.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:
- The bytes for osPolicyAssignment.
-
getOsPolicyCompliancesList
List<OSPolicyAssignmentReport.OSPolicyCompliance> getOsPolicyCompliancesList()
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
getOsPolicyCompliances
OSPolicyAssignmentReport.OSPolicyCompliance getOsPolicyCompliances(int index)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
getOsPolicyCompliancesCount
int getOsPolicyCompliancesCount()
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
getOsPolicyCompliancesOrBuilderList
List<? extends OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder> getOsPolicyCompliancesOrBuilderList()
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
getOsPolicyCompliancesOrBuilder
OSPolicyAssignmentReport.OSPolicyComplianceOrBuilder getOsPolicyCompliancesOrBuilder(int index)
Compliance data for each `OSPolicy` that is applied to the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance os_policy_compliances = 4;
-
hasUpdateTime
boolean hasUpdateTime()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Timestamp for when the report was last generated.
.google.protobuf.Timestamp update_time = 5;
-
getLastRunId
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:
- The lastRunId.
-
getLastRunIdBytes
com.google.protobuf.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:
- The bytes for lastRunId.
-
-