Class: Google::Apis::ServiceuserV1::Step
- Inherits:
-
Object
- Object
- Google::Apis::ServiceuserV1::Step
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/serviceuser_v1/classes.rb,
generated/google/apis/serviceuser_v1/representations.rb,
generated/google/apis/serviceuser_v1/representations.rb
Overview
Represents the status of one operation step.
Instance Attribute Summary collapse
-
#description ⇒ String
The short description of the step.
-
#status ⇒ String
The status code.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Step
constructor
A new instance of Step.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Step
Returns a new instance of Step
185 186 187 |
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 185 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The short description of the step.
Corresponds to the JSON property description
183 184 185 |
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 183 def description @description end |
#status ⇒ String
The status code.
Corresponds to the JSON property status
178 179 180 |
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 178 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
190 191 192 193 |
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 190 def update!(**args) @status = args[:status] if args.key?(:status) @description = args[:description] if args.key?(:description) end |