Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::V1::RBACRoleBinding::Role.
Role is the type for Kubernetes roles
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#custom_role
def custom_role() -> ::String
Returns
- (::String) — Optional. custom_role is the name of a custom KubernetesClusterRole to use.
#custom_role=
def custom_role=(value) -> ::String
Parameter
- value (::String) — Optional. custom_role is the name of a custom KubernetesClusterRole to use.
Returns
- (::String) — Optional. custom_role is the name of a custom KubernetesClusterRole to use.
#predefined_role
def predefined_role() -> ::Google::Cloud::GkeHub::V1::RBACRoleBinding::Role::PredefinedRoles
Returns
- (::Google::Cloud::GkeHub::V1::RBACRoleBinding::Role::PredefinedRoles) — predefined_role is the Kubernetes default role to use
#predefined_role=
def predefined_role=(value) -> ::Google::Cloud::GkeHub::V1::RBACRoleBinding::Role::PredefinedRoles
Parameter
- value (::Google::Cloud::GkeHub::V1::RBACRoleBinding::Role::PredefinedRoles) — predefined_role is the Kubernetes default role to use
Returns
- (::Google::Cloud::GkeHub::V1::RBACRoleBinding::Role::PredefinedRoles) — predefined_role is the Kubernetes default role to use