Interface OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance, OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.Builder
Enclosing class:
OSPolicyAssignmentReport.OSPolicyCompliance

public static interface OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceComplianceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getOsPolicyResourceId

      String getOsPolicyResourceId()
       The ID of the OS policy resource.
       
      string os_policy_resource_id = 1;
      Returns:
      The osPolicyResourceId.
    • getOsPolicyResourceIdBytes

      com.google.protobuf.ByteString getOsPolicyResourceIdBytes()
       The ID of the OS policy resource.
       
      string os_policy_resource_id = 1;
      Returns:
      The bytes for osPolicyResourceId.
    • getConfigStepsList

       Ordered list of configuration completed by the agent for the OS policy
       resource.
       
      repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
    • getConfigSteps

       Ordered list of configuration completed by the agent for the OS policy
       resource.
       
      repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
    • getConfigStepsCount

      int getConfigStepsCount()
       Ordered list of configuration completed by the agent for the OS policy
       resource.
       
      repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
    • getConfigStepsOrBuilderList

       Ordered list of configuration completed by the agent for the OS policy
       resource.
       
      repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
    • getConfigStepsOrBuilder

       Ordered list of configuration completed by the agent for the OS policy
       resource.
       
      repeated .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep config_steps = 2;
    • getComplianceStateValue

      int getComplianceStateValue()
       The compliance state of the resource.
       
      .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3;
      Returns:
      The enum numeric value on the wire for complianceState.
    • getComplianceState

       The compliance state of the resource.
       
      .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ComplianceState compliance_state = 3;
      Returns:
      The complianceState.
    • getComplianceStateReason

      String getComplianceStateReason()
       A reason for the resource to be in the given compliance state.
       This field is always populated when `compliance_state` is `UNKNOWN`.
      
       The following values are supported when `compliance_state == UNKNOWN`
      
       * `execution-errors`: Errors were encountered by the agent while
       executing the resource and the compliance state couldn't be
       determined.
       * `execution-skipped-by-agent`: Resource execution was skipped by the
       agent because errors were encountered while executing prior resources
       in the OS policy.
       * `os-policy-execution-attempt-failed`: The execution of the OS policy
       containing this resource failed and the compliance state couldn't be
       determined.
       
      string compliance_state_reason = 4;
      Returns:
      The complianceStateReason.
    • getComplianceStateReasonBytes

      com.google.protobuf.ByteString getComplianceStateReasonBytes()
       A reason for the resource to be in the given compliance state.
       This field is always populated when `compliance_state` is `UNKNOWN`.
      
       The following values are supported when `compliance_state == UNKNOWN`
      
       * `execution-errors`: Errors were encountered by the agent while
       executing the resource and the compliance state couldn't be
       determined.
       * `execution-skipped-by-agent`: Resource execution was skipped by the
       agent because errors were encountered while executing prior resources
       in the OS policy.
       * `os-policy-execution-attempt-failed`: The execution of the OS policy
       containing this resource failed and the compliance state couldn't be
       determined.
       
      string compliance_state_reason = 4;
      Returns:
      The bytes for complianceStateReason.
    • hasExecResourceOutput

      boolean hasExecResourceOutput()
       ExecResource specific output.
       
      .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5;
      Returns:
      Whether the execResourceOutput field is set.
    • getExecResourceOutput

       ExecResource specific output.
       
      .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5;
      Returns:
      The execResourceOutput.
    • getExecResourceOutputOrBuilder

       ExecResource specific output.
       
      .google.cloud.osconfig.v1alpha.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.ExecResourceOutput exec_resource_output = 5;
    • getOutputCase