Class: Google::Apis::GkehubV2alpha::RbacRoleBindingActuationRbacRoleBindingState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v2alpha/classes.rb,
lib/google/apis/gkehub_v2alpha/representations.rb,
lib/google/apis/gkehub_v2alpha/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.



3119
3120
3121
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3119

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


3107
3108
3109
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3107

def description
  @description
end

#stateString

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

Returns:

  • (String)


3112
3113
3114
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3112

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


3117
3118
3119
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3117

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3124
3125
3126
3127
3128
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 3124

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