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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SiteSummaryResponse

Returns a new instance of SiteSummaryResponse



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

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

Instance Attribute Details

#desktop_summaryGoogle::Apis::AdexperiencereportV1::PlatformSummary

Summary of the ad experience rating of a site for a specific platform. Corresponds to the JSON property desktopSummary



88
89
90
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 88

def desktop_summary
  @desktop_summary
end

#mobile_summaryGoogle::Apis::AdexperiencereportV1::PlatformSummary

Summary of the ad experience rating of a site for a specific platform. Corresponds to the JSON property mobileSummary



93
94
95
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 93

def mobile_summary
  @mobile_summary
end

#reviewed_siteString

The name of the site reviewed. Corresponds to the JSON property reviewedSite

Returns:

  • (String)


98
99
100
# File 'generated/google/apis/adexperiencereport_v1/classes.rb', line 98

def reviewed_site
  @reviewed_site
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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