Class: Google::Apis::ContainerV1::RbacBindingConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::RbacBindingConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.
Instance Attribute Summary collapse
-
#enable_insecure_binding_system_authenticated ⇒ Boolean
(also: #enable_insecure_binding_system_authenticated?)
Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated.
-
#enable_insecure_binding_system_unauthenticated ⇒ Boolean
(also: #enable_insecure_binding_system_unauthenticated?)
Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjets system:anonymous or system:unauthenticated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RbacBindingConfig
constructor
A new instance of RbacBindingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RbacBindingConfig
Returns a new instance of RbacBindingConfig.
5569 5570 5571 |
# File 'lib/google/apis/container_v1/classes.rb', line 5569 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_insecure_binding_system_authenticated ⇒ Boolean Also known as: enable_insecure_binding_system_authenticated?
Setting this to true will allow any ClusterRoleBinding and RoleBinding with
subjects system:authenticated.
Corresponds to the JSON property enableInsecureBindingSystemAuthenticated
5559 5560 5561 |
# File 'lib/google/apis/container_v1/classes.rb', line 5559 def enable_insecure_binding_system_authenticated @enable_insecure_binding_system_authenticated end |
#enable_insecure_binding_system_unauthenticated ⇒ Boolean Also known as: enable_insecure_binding_system_unauthenticated?
Setting this to true will allow any ClusterRoleBinding and RoleBinding with
subjets system:anonymous or system:unauthenticated.
Corresponds to the JSON property enableInsecureBindingSystemUnauthenticated
5566 5567 5568 |
# File 'lib/google/apis/container_v1/classes.rb', line 5566 def enable_insecure_binding_system_unauthenticated @enable_insecure_binding_system_unauthenticated end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5574 5575 5576 5577 |
# File 'lib/google/apis/container_v1/classes.rb', line 5574 def update!(**args) @enable_insecure_binding_system_authenticated = args[:enable_insecure_binding_system_authenticated] if args.key?(:enable_insecure_binding_system_authenticated) @enable_insecure_binding_system_unauthenticated = args[:enable_insecure_binding_system_unauthenticated] if args.key?(:enable_insecure_binding_system_unauthenticated) end |