Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::V1::RBACRoleBinding.
RBACRoleBinding represents a rbacrolebinding across the Fleet
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. When the rbacrolebinding was created.
#delete_time
def delete_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. When the rbacrolebinding was deleted.
#group
def group() -> ::String-
(::String) — group is the group, as seen by the kubernetes cluster.
Note: The following fields are mutually exclusive:
group,user. If a field in that set is populated, all other fields in the set will automatically be cleared.
#group=
def group=(value) -> ::String-
value (::String) — group is the group, as seen by the kubernetes cluster.
Note: The following fields are mutually exclusive:
group,user. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — group is the group, as seen by the kubernetes cluster.
Note: The following fields are mutually exclusive:
group,user. If a field in that set is populated, all other fields in the set will automatically be cleared.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels for this RBACRolebinding.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels for this RBACRolebinding.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels for this RBACRolebinding.
#name
def name() -> ::String-
(::String) — The resource name for the rbacrolebinding
projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
#name=
def name=(value) -> ::String-
value (::String) — The resource name for the rbacrolebinding
projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
-
(::String) — The resource name for the rbacrolebinding
projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}orprojects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
#role
def role() -> ::Google::Cloud::GkeHub::V1::RBACRoleBinding::Role- (::Google::Cloud::GkeHub::V1::RBACRoleBinding::Role) — Required. Role to bind to the principal
#role=
def role=(value) -> ::Google::Cloud::GkeHub::V1::RBACRoleBinding::Role- value (::Google::Cloud::GkeHub::V1::RBACRoleBinding::Role) — Required. Role to bind to the principal
- (::Google::Cloud::GkeHub::V1::RBACRoleBinding::Role) — Required. Role to bind to the principal
#state
def state() -> ::Google::Cloud::GkeHub::V1::RBACRoleBindingLifecycleState- (::Google::Cloud::GkeHub::V1::RBACRoleBindingLifecycleState) — Output only. State of the rbacrolebinding resource.
#uid
def uid() -> ::String- (::String) — Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. When the rbacrolebinding was last updated.
#user
def user() -> ::String-
(::String) — user is the name of the user as seen by the kubernetes cluster, example
"alice" or "alice@domain.tld"
Note: The following fields are mutually exclusive:
user,group. If a field in that set is populated, all other fields in the set will automatically be cleared.
#user=
def user=(value) -> ::String-
value (::String) — user is the name of the user as seen by the kubernetes cluster, example
"alice" or "alice@domain.tld"
Note: The following fields are mutually exclusive:
user,group. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — user is the name of the user as seen by the kubernetes cluster, example
"alice" or "alice@domain.tld"
Note: The following fields are mutually exclusive:
user,group. If a field in that set is populated, all other fields in the set will automatically be cleared.