GKE Hub V1 API - Class Google::Cloud::GkeHub::V1::RBACRoleBinding::Role (v2.5.0)

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

#predefined_role=

def predefined_role=(value) -> ::Google::Cloud::GkeHub::V1::RBACRoleBinding::Role::PredefinedRoles
Parameter
Returns