public interface WorkloadPolicyConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAllowNetAdmin()
public abstract boolean getAllowNetAdmin()If true, workloads can use NET_ADMIN capability.
optional bool allow_net_admin = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The allowNetAdmin. |
getAutopilotCompatibilityAuditingEnabled()
public abstract boolean getAutopilotCompatibilityAuditingEnabled()If true, enables the GCW Auditor that audits workloads on standard clusters.
optional bool autopilot_compatibility_auditing_enabled = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The autopilotCompatibilityAuditingEnabled. |
hasAllowNetAdmin()
public abstract boolean hasAllowNetAdmin()If true, workloads can use NET_ADMIN capability.
optional bool allow_net_admin = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the allowNetAdmin field is set. |
hasAutopilotCompatibilityAuditingEnabled()
public abstract boolean hasAutopilotCompatibilityAuditingEnabled()If true, enables the GCW Auditor that audits workloads on standard clusters.
optional bool autopilot_compatibility_auditing_enabled = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the autopilotCompatibilityAuditingEnabled field is set. |