Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class RBACRoleBinding.
RBACRoleBinding represents a rbacrolebinding across the Fleet
Generated from protobuf message google.cloud.gkehub.v1.RBACRoleBinding
Namespace
Google \ Cloud \ GkeHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ user
string
user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
↳ group
string
group is the group, as seen by the kubernetes cluster.
↳ name
string
The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}
or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
↳ uid
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.
↳ create_time
↳ update_time
↳ delete_time
↳ state
↳ role
↳ labels
getUser
user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
string
hasUser
setUser
user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
var
string
$this
getGroup
group is the group, as seen by the kubernetes cluster.
string
hasGroup
setGroup
group is the group, as seen by the kubernetes cluster.
var
string
$this
getName
The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}
or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
string
setName
The resource name for the rbacrolebinding projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}
or projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}
var
string
$this
getUid
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.
string
setUid
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.
var
string
$this
getCreateTime
Output only. When the rbacrolebinding was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. When the rbacrolebinding was created.
$this
getUpdateTime
Output only. When the rbacrolebinding was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. When the rbacrolebinding was last updated.
$this
getDeleteTime
Output only. When the rbacrolebinding was deleted.
hasDeleteTime
clearDeleteTime
setDeleteTime
Output only. When the rbacrolebinding was deleted.
$this
getState
Output only. State of the rbacrolebinding resource.
hasState
clearState
setState
Output only. State of the rbacrolebinding resource.
$this
getRole
Required. Role to bind to the principal
hasRole
clearRole
setRole
Required. Role to bind to the principal
$this
getLabels
Optional. Labels for this RBACRolebinding.
setLabels
Optional. Labels for this RBACRolebinding.
$this
getPrincipal
string

