Class: Google::Apis::GkehubV2alpha::AppDevExperienceStatus

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

Status specifies state for the subcomponent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppDevExperienceStatus

Returns a new instance of AppDevExperienceStatus.



58
59
60
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 58

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

Instance Attribute Details

#codeString

Code specifies AppDevExperienceFeature's subcomponent ready state. Corresponds to the JSON property code

Returns:

  • (String)


51
52
53
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 51

def code
  @code
end

#descriptionString

Description is populated if Code is Failed, explaining why it has failed. Corresponds to the JSON property description

Returns:

  • (String)


56
57
58
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 56

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



63
64
65
66
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 63

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