Package com.google.cloud.osconfig.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OSPolicy.Resource.ExecResource.Exec
getEnforce()
What to run to bring this resource into the desired state.OSPolicy.Resource.ExecResource.ExecOrBuilder
getEnforceOrBuilder()
What to run to bring this resource into the desired state.OSPolicy.Resource.ExecResource.Exec
getValidate()
Required.OSPolicy.Resource.ExecResource.ExecOrBuilder
getValidateOrBuilder()
Required.boolean
hasEnforce()
What to run to bring this resource into the desired state.boolean
hasValidate()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;
-
-