Interface OSPolicy.Resource.ExecResourceOrBuilder

    • Method Detail

      • hasValidate

        boolean hasValidate()
         Required. What to run to validate this resource is in the desired state.
         An exit code of 100 indicates "in desired state", and exit code of 101
         indicates "not in desired state". Any other exit code indicates a
         failure running validate.
         
        .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the validate field is set.
      • getValidate

        OSPolicy.Resource.ExecResource.Exec getValidate()
         Required. What to run to validate this resource is in the desired state.
         An exit code of 100 indicates "in desired state", and exit code of 101
         indicates "not in desired state". Any other exit code indicates a
         failure running validate.
         
        .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The validate.
      • getValidateOrBuilder

        OSPolicy.Resource.ExecResource.ExecOrBuilder getValidateOrBuilder()
         Required. What to run to validate this resource is in the desired state.
         An exit code of 100 indicates "in desired state", and exit code of 101
         indicates "not in desired state". Any other exit code indicates a
         failure running validate.
         
        .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED];
      • hasEnforce

        boolean hasEnforce()
         What to run to bring this resource into the desired state.
         An exit code of 100 indicates "success", any other exit code indicates
         a failure running enforce.
         
        .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2;
        Returns:
        Whether the enforce field is set.
      • getEnforce

        OSPolicy.Resource.ExecResource.Exec getEnforce()
         What to run to bring this resource into the desired state.
         An exit code of 100 indicates "success", any other exit code indicates
         a failure running enforce.
         
        .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2;
        Returns:
        The enforce.
      • getEnforceOrBuilder

        OSPolicy.Resource.ExecResource.ExecOrBuilder getEnforceOrBuilder()
         What to run to bring this resource into the desired state.
         An exit code of 100 indicates "success", any other exit code indicates
         a failure running enforce.
         
        .google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec enforce = 2;