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.



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

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


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

def description
  @description
end

#stateString

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

Returns:

  • (String)


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

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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