Class: Google::Apis::AdsenseV2::SavedReport
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV2::SavedReport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adsense_v2/classes.rb,
lib/google/apis/adsense_v2/representations.rb,
lib/google/apis/adsense_v2/representations.rb
Overview
Representation of a saved report.
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#title ⇒ String
Report title as specified by publisher.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SavedReport
constructor
A new instance of SavedReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SavedReport
Returns a new instance of SavedReport.
1164 1165 1166 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 1164 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. Resource name of the report. Format: accounts/account
/reports/
report
Corresponds to the JSON property name
1157 1158 1159 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 1157 def name @name end |
#title ⇒ String
Report title as specified by publisher.
Corresponds to the JSON property title
1162 1163 1164 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 1162 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1169 1170 1171 1172 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 1169 def update!(**args) @name = args[:name] if args.key?(:name) @title = args[:title] if args.key?(:title) end |