Interface OSPolicy.Resource.ExecResourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OSPolicy.Resource.ExecResource, OSPolicy.Resource.ExecResource.Builder
Enclosing class:
OSPolicy.Resource

public static interface OSPolicy.Resource.ExecResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • 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

       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

       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

       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

       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;