Class: Google::Apis::AdmobV1::ReportWarning
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1::ReportWarning
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admob_v1/classes.rb,
lib/google/apis/admob_v1/representations.rb,
lib/google/apis/admob_v1/representations.rb
Overview
Warnings associated with generation of the report.
Instance Attribute Summary collapse
-
#description ⇒ String
Describes the details of the warning message, in English.
-
#type ⇒ String
Type of the warning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportWarning
constructor
A new instance of ReportWarning.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportWarning
Returns a new instance of ReportWarning.
1012 1013 1014 |
# File 'lib/google/apis/admob_v1/classes.rb', line 1012 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Describes the details of the warning message, in English.
Corresponds to the JSON property description
1005 1006 1007 |
# File 'lib/google/apis/admob_v1/classes.rb', line 1005 def description @description end |
#type ⇒ String
Type of the warning.
Corresponds to the JSON property type
1010 1011 1012 |
# File 'lib/google/apis/admob_v1/classes.rb', line 1010 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1017 1018 1019 1020 |
# File 'lib/google/apis/admob_v1/classes.rb', line 1017 def update!(**args) @description = args[:description] if args.key?(:description) @type = args[:type] if args.key?(:type) end |