Class: Google::Apis::GkehubV1::RbacRoleBinding
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GkehubV1::RbacRoleBinding
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb 
Overview
RBACRoleBinding represents a rbacrolebinding across the Fleet
Instance Attribute Summary collapse
- 
  
    
      #create_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #delete_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #group  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
group is the group, as seen by the kubernetes cluster.
 - 
  
    
      #labels  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The resource name for the rbacrolebinding
projects/project/locations/location/scopes/scope/rbacrolebindings/rbacrolebindingor `projects/` project`/locations/`location`/memberships/`membership`/rbacrolebindings/` rbacrolebindingCorresponds to the JSON propertyname. - 
  
    
      #role  ⇒ Google::Apis::GkehubV1::Role 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Role is the type for Kubernetes roles Corresponds to the JSON property
role. - 
  
    
      #state  ⇒ Google::Apis::GkehubV1::RbacRoleBindingLifecycleState 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource.
 - 
  
    
      #uid  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #update_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #user  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld" Corresponds to the JSON property
user. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RbacRoleBinding 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of RbacRoleBinding.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ RbacRoleBinding
Returns a new instance of RbacRoleBinding.
      5090 5091 5092  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 5090 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#create_time ⇒ String
Output only. When the rbacrolebinding was created.
Corresponds to the JSON property createTime
      5036 5037 5038  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 5036 def create_time @create_time end  | 
  
#delete_time ⇒ String
Output only. When the rbacrolebinding was deleted.
Corresponds to the JSON property deleteTime
      5041 5042 5043  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 5041 def delete_time @delete_time end  | 
  
#group ⇒ String
group is the group, as seen by the kubernetes cluster.
Corresponds to the JSON property group
      5046 5047 5048  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 5046 def group @group end  | 
  
#labels ⇒ Hash<String,String>
Optional. Labels for this RBACRolebinding.
Corresponds to the JSON property labels
      5051 5052 5053  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 5051 def labels @labels end  | 
  
#name ⇒ String
The resource name for the rbacrolebinding projects/project/locations/
location/scopes/scope/rbacrolebindings/rbacrolebindingor `projects/`
project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
rbacrolebinding
Corresponds to the JSON property name
      5059 5060 5061  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 5059 def name @name end  | 
  
#role ⇒ Google::Apis::GkehubV1::Role
Role is the type for Kubernetes roles
Corresponds to the JSON property role
      5064 5065 5066  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 5064 def role @role end  | 
  
#state ⇒ Google::Apis::GkehubV1::RbacRoleBindingLifecycleState
RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding
resource.
Corresponds to the JSON property state
      5070 5071 5072  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 5070 def state @state end  | 
  
#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.
Corresponds to the JSON property uid
      5077 5078 5079  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 5077 def uid @uid end  | 
  
#update_time ⇒ String
Output only. When the rbacrolebinding was last updated.
Corresponds to the JSON property updateTime
      5082 5083 5084  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 5082 def update_time @update_time end  | 
  
#user ⇒ String
user is the name of the user as seen by the kubernetes cluster, example "alice"
or "alice@domain.tld"
Corresponds to the JSON property user
      5088 5089 5090  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 5088 def user @user end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 5095 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @delete_time = args[:delete_time] if args.key?(:delete_time) @group = args[:group] if args.key?(:group) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @role = args[:role] if args.key?(:role) @state = args[:state] if args.key?(:state) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) @user = args[:user] if args.key?(:user) end  |