Class: Google::Apis::AdminReportsV1::UsageReports::Warning
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::UsageReports::Warning
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_reports_v1/classes.rb,
generated/google/apis/admin_reports_v1/representations.rb,
generated/google/apis/admin_reports_v1/representations.rb
Defined Under Namespace
Classes: Datum
Instance Attribute Summary collapse
-
#code ⇒ String
Machine readable code / warning type.
-
#data ⇒ Array<Google::Apis::AdminReportsV1::UsageReports::Warning::Datum>
Key-Value pairs to give detailed information on the warning.
-
#message ⇒ String
Human readable message for the warning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Warning
constructor
A new instance of Warning.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Warning
Returns a new instance of Warning
548 549 550 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 548 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Machine readable code / warning type.
Corresponds to the JSON property code
536 537 538 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 536 def code @code end |
#data ⇒ Array<Google::Apis::AdminReportsV1::UsageReports::Warning::Datum>
Key-Value pairs to give detailed information on the warning.
Corresponds to the JSON property data
541 542 543 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 541 def data @data end |
#message ⇒ String
Human readable message for the warning.
Corresponds to the JSON property message
546 547 548 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 546 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
553 554 555 556 557 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 553 def update!(**args) @code = args[:code] if args.key?(:code) @data = args[:data] if args.key?(:data) @message = args[:message] if args.key?(:message) end |