Class: Google::Apis::SecuritycenterV1beta1::Status
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::Status
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/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.
12361 12362 12363 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12361 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ Fixnum
Corresponds to the JSON property code
12349 12350 12351 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12349 def code @code end |
#details ⇒ Array<Hash<String,Object>>
Corresponds to the JSON property details
12354 12355 12356 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12354 def details @details end |
#message ⇒ String
Corresponds to the JSON property message
12359 12360 12361 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12359 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12366 12367 12368 12369 12370 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12366 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 |