Class: Google::Apis::SecuritycenterV1::Status
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::Status
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#code ⇒ Fixnum
Corresponds to the JSON property
code. -
#details ⇒ Array<Hash<String,Object>>
Corresponds to the JSON property
details. -
#message ⇒ String
Corresponds to the JSON property
message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Status
constructor
A new instance of Status.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Status
Returns a new instance of Status.
13201 13202 13203 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ Fixnum
Corresponds to the JSON property code
13189 13190 13191 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13189 def code @code end |
#details ⇒ Array<Hash<String,Object>>
Corresponds to the JSON property details
13194 13195 13196 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13194 def details @details end |
#message ⇒ String
Corresponds to the JSON property message
13199 13200 13201 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13199 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13206 13207 13208 13209 13210 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13206 def update!(**args) @code = args[:code] if args.key?(:code) @details = args[:details] if args.key?(:details) @message = args[:message] if args.key?(:message) end |