com.pulumi.googlenative.remotebuildexecution.v1alpha.enums.GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.googlenative.remotebuildexecution.v1alpha.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* The policy of the feature.
*
*/
@EnumType
public enum GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy {
/**
* Default value, if not explicitly set. Equivalent to FORBIDDEN, unless otherwise documented on a specific Feature.
*
*/
PolicyUnspecified("POLICY_UNSPECIFIED"),
/**
* Feature is explicitly allowed.
*
*/
Allowed("ALLOWED"),
/**
* Feature is forbidden. Requests attempting to leverage it will get an FailedPrecondition error, with a message like: "Feature forbidden by FeaturePolicy: Feature on instance "
*
*/
Forbidden("FORBIDDEN"),
/**
* Only the values specified in the `allowed_values` are allowed.
*
*/
Restricted("RESTRICTED");
private final String value;
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public String toString() {
return new StringJoiner(", ", "GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy