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

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
Returns

#delete_time

def delete_time() -> ::Google::Protobuf::Timestamp
Returns

#group

def group() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels for this RBACRolebinding.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels for this RBACRolebinding.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels for this RBACRolebinding.

#name

def name() -> ::String
Returns
  • (::String) — The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
Returns
  • (::String) — The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}

#role

def role() -> ::Google::Cloud::GkeHub::V1::RBACRoleBinding::Role
Returns

#role=

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

#state

def state() -> ::Google::Cloud::GkeHub::V1::RBACRoleBindingLifecycleState
Returns

#uid

def uid() -> ::String
Returns
  • (::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
Returns

#user

def user() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.