Class: Google::Apis::AdmobV1::ReportWarning

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/admob_v1/classes.rb,
generated/google/apis/admob_v1/representations.rb,
generated/google/apis/admob_v1/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.



790
791
792
# File 'generated/google/apis/admob_v1/classes.rb', line 790

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)


783
784
785
# File 'generated/google/apis/admob_v1/classes.rb', line 783

def description
  @description
end

#typeString

Type of the warning. Corresponds to the JSON property type

Returns:

  • (String)


788
789
790
# File 'generated/google/apis/admob_v1/classes.rb', line 788

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



795
796
797
798
# File 'generated/google/apis/admob_v1/classes.rb', line 795

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