Class: Google::Apis::AdexperiencereportV1::SiteSummaryResponse

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

Overview

Response message for GetSiteSummary.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SiteSummaryResponse

Returns a new instance of SiteSummaryResponse.



107
108
109
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 107

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

Instance Attribute Details

#desktop_summaryGoogle::Apis::AdexperiencereportV1::PlatformSummary

A site's Ad Experience Report summary on a single platform. Corresponds to the JSON property desktopSummary



95
96
97
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 95

def desktop_summary
  @desktop_summary
end

#mobile_summaryGoogle::Apis::AdexperiencereportV1::PlatformSummary

A site's Ad Experience Report summary on a single platform. Corresponds to the JSON property mobileSummary



100
101
102
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 100

def mobile_summary
  @mobile_summary
end

#reviewed_siteString

The name of the reviewed site, e.g. google.com. Corresponds to the JSON property reviewedSite

Returns:

  • (String)


105
106
107
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 105

def reviewed_site
  @reviewed_site
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



112
113
114
115
116
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 112

def update!(**args)
  @desktop_summary = args[:desktop_summary] if args.key?(:desktop_summary)
  @mobile_summary = args[:mobile_summary] if args.key?(:mobile_summary)
  @reviewed_site = args[:reviewed_site] if args.key?(:reviewed_site)
end