Class RBACRoleBinding (1.21.0)

RBACRoleBinding(mapping=None, *, ignore_unknown_fields=False, **kwargs)

RBACRoleBinding represents a rbacrolebinding across the Fleet

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
user str
user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld". This field is a member of oneof_ principal.
group str
group is the group, as seen by the kubernetes cluster. This field is a member of oneof_ principal.
name str
The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding} or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
uid str
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.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. When the rbacrolebinding was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. When the rbacrolebinding was last updated.
delete_time google.protobuf.timestamp_pb2.Timestamp
Output only. When the rbacrolebinding was deleted.
state google.cloud.gkehub_v1.types.RBACRoleBindingLifecycleState
Output only. State of the rbacrolebinding resource.
role google.cloud.gkehub_v1.types.RBACRoleBinding.Role
Required. Role to bind to the principal
labels MutableMapping[str, str]
Optional. Labels for this RBACRolebinding.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Role

Role(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Role is the type for Kubernetes roles