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

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



1004
1005
1006
# File 'generated/google/apis/admob_v1beta/classes.rb', line 1004

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)


997
998
999
# File 'generated/google/apis/admob_v1beta/classes.rb', line 997

def description
  @description
end

#typeString

Type of the warning. Corresponds to the JSON property type

Returns:

  • (String)


1002
1003
1004
# File 'generated/google/apis/admob_v1beta/classes.rb', line 1002

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1009
1010
1011
1012
# File 'generated/google/apis/admob_v1beta/classes.rb', line 1009

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