Interface InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceOSPoliciesCompliance.OSPolicyCompliance,InstanceOSPoliciesCompliance.OSPolicyCompliance.Builder
- Enclosing class:
- InstanceOSPoliciesCompliance
@Deprecated
public static interface InstanceOSPoliciesCompliance.OSPolicyComplianceOrBuilder
extends com.google.protobuf.MessageOrBuilder
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.com.google.protobuf.ByteStringDeprecated.Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to.Deprecated.The OS policy idcom.google.protobuf.ByteStringDeprecated.The OS policy idgetOsPolicyResourceCompliances(int index) Deprecated.Compliance data for each `OSPolicyResource` that is applied to the VM.intDeprecated.Compliance data for each `OSPolicyResource` that is applied to the VM.Deprecated.Compliance data for each `OSPolicyResource` that is applied to the VM.getOsPolicyResourceCompliancesOrBuilder(int index) Deprecated.Compliance data for each `OSPolicyResource` that is applied to the VM.List<? extends OSPolicyResourceComplianceOrBuilder>Deprecated.Compliance data for each `OSPolicyResource` that is applied to the VM.getState()Deprecated.Compliance state of the OS policy.intDeprecated.Compliance state of the OS policy.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getOsPolicyId
String getOsPolicyId()Deprecated.The OS policy id
string os_policy_id = 1;- Returns:
- The osPolicyId.
-
getOsPolicyIdBytes
com.google.protobuf.ByteString getOsPolicyIdBytes()Deprecated.The OS policy id
string os_policy_id = 1;- Returns:
- The bytes for osPolicyId.
-
getOsPolicyAssignment
String getOsPolicyAssignment()Deprecated.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 = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The osPolicyAssignment.
-
getOsPolicyAssignmentBytes
com.google.protobuf.ByteString getOsPolicyAssignmentBytes()Deprecated.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 = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for osPolicyAssignment.
-
getStateValue
int getStateValue()Deprecated.Compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4;- Returns:
- The enum numeric value on the wire for state.
-
getState
OSPolicyComplianceState getState()Deprecated.Compliance state of the OS policy.
.google.cloud.osconfig.v1alpha.OSPolicyComplianceState state = 4;- Returns:
- The state.
-
getOsPolicyResourceCompliancesList
List<OSPolicyResourceCompliance> getOsPolicyResourceCompliancesList()Deprecated.Compliance data for each `OSPolicyResource` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; -
getOsPolicyResourceCompliances
Deprecated.Compliance data for each `OSPolicyResource` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; -
getOsPolicyResourceCompliancesCount
int getOsPolicyResourceCompliancesCount()Deprecated.Compliance data for each `OSPolicyResource` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; -
getOsPolicyResourceCompliancesOrBuilderList
List<? extends OSPolicyResourceComplianceOrBuilder> getOsPolicyResourceCompliancesOrBuilderList()Deprecated.Compliance data for each `OSPolicyResource` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5; -
getOsPolicyResourceCompliancesOrBuilder
Deprecated.Compliance data for each `OSPolicyResource` that is applied to the VM.
repeated .google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance os_policy_resource_compliances = 5;
-