Class: Google::Apis::GkehubV2::RbacRoleBindingActuationRbacRoleBindingState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v2/classes.rb,
lib/google/apis/gkehub_v2/representations.rb,
lib/google/apis/gkehub_v2/representations.rb

Overview

RBACRoleBindingState is the status of an RBACRoleBinding which exists on a membership.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RbacRoleBindingActuationRbacRoleBindingState

Returns a new instance of RbacRoleBindingActuationRbacRoleBindingState.



3149
3150
3151
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3149

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

The reason for the failure. Corresponds to the JSON property description

Returns:

  • (String)


3137
3138
3139
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3137

def description
  @description
end

#stateString

Output only. The state of the RBACRoleBinding. Corresponds to the JSON property state

Returns:

  • (String)


3142
3143
3144
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3142

def state
  @state
end

#update_timeString

The time the RBACRoleBinding status was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


3147
3148
3149
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3147

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3154
3155
3156
3157
3158
# File 'lib/google/apis/gkehub_v2/classes.rb', line 3154

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end