Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class BinaryAuthorizationConfig.
BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature.
Generated from protobuf message google.cloud.gkehub.v1.BinaryAuthorizationConfig
Namespace
Google \ Cloud \ GkeHub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ evaluation_mode |
int
Optional. Mode of operation for binauthz policy evaluation. |
↳ policy_bindings |
array<BinaryAuthorizationConfig\PolicyBinding>
Optional. Binauthz policies that apply to this cluster. |
getEvaluationMode
Optional. Mode of operation for binauthz policy evaluation.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type EvaluationMode. |
setEvaluationMode
Optional. Mode of operation for binauthz policy evaluation.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type EvaluationMode. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPolicyBindings
Optional. Binauthz policies that apply to this cluster.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setPolicyBindings
Optional. Binauthz policies that apply to this cluster.
| Parameter | |
|---|---|
| Name | Description |
var |
array<BinaryAuthorizationConfig\PolicyBinding>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|