Google Cloud Container V1 Client - Class RBACBindingConfig (2.2.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class RBACBindingConfig.

RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.

Generated from protobuf message google.container.v1.RBACBindingConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enable_insecure_binding_system_unauthenticated bool

Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjets system:anonymous or system:unauthenticated.

↳ enable_insecure_binding_system_authenticated bool

Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated.

getEnableInsecureBindingSystemUnauthenticated

Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjets system:anonymous or system:unauthenticated.

Returns
Type Description
bool

hasEnableInsecureBindingSystemUnauthenticated

clearEnableInsecureBindingSystemUnauthenticated

setEnableInsecureBindingSystemUnauthenticated

Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjets system:anonymous or system:unauthenticated.

Parameter
Name Description
var bool
Returns
Type Description
$this

getEnableInsecureBindingSystemAuthenticated

Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated.

Returns
Type Description
bool

hasEnableInsecureBindingSystemAuthenticated

clearEnableInsecureBindingSystemAuthenticated

setEnableInsecureBindingSystemAuthenticated

Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated.

Parameter
Name Description
var bool
Returns
Type Description
$this