Class: Google::Apis::AdmobV1beta::ReportWarning

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admob_v1beta/classes.rb,
lib/google/apis/admob_v1beta/representations.rb,
lib/google/apis/admob_v1beta/representations.rb

Overview

Warnings associated with generation of the report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportWarning

Returns a new instance of ReportWarning.



1794
1795
1796
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1794

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

Describes the details of the warning message, in English. Corresponds to the JSON property description

Returns:

  • (String)


1787
1788
1789
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1787

def description
  @description
end

#typeString

Type of the warning. Corresponds to the JSON property type

Returns:

  • (String)


1792
1793
1794
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1792

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1799
1800
1801
1802
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1799

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @type = args[:type] if args.key?(:type)
end