Class: Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse
- Inherits:
-
Object
- Object
- Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/abusiveexperiencereport_v1/classes.rb,
generated/google/apis/abusiveexperiencereport_v1/representations.rb,
generated/google/apis/abusiveexperiencereport_v1/representations.rb
Overview
Response message for GetSiteSummary.
Instance Attribute Summary collapse
-
#abusive_status ⇒ String
The site's Abusive Experience Report status.
-
#enforcement_time ⇒ String
The time at which enforcement against the site began or will begin.
-
#filter_status ⇒ String
The site's enforcement status.
-
#last_change_time ⇒ String
The time at which the site's status last changed.
-
#report_url ⇒ String
A link to the full Abusive Experience Report for the site.
-
#reviewed_site ⇒ String
The name of the reviewed site, e.g.
-
#under_review ⇒ Boolean
(also: #under_review?)
Whether the site is currently under review.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SiteSummaryResponse
constructor
A new instance of SiteSummaryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SiteSummaryResponse
Returns a new instance of SiteSummaryResponse.
71 72 73 |
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 71 def initialize(**args) update!(**args) end |
Instance Attribute Details
#abusive_status ⇒ String
The site's Abusive Experience Report status.
Corresponds to the JSON property abusiveStatus
32 33 34 |
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 32 def abusive_status @abusive_status end |
#enforcement_time ⇒ String
The time at which enforcement against the site began or will begin. Not set when the filter_status
is OFF.
Corresponds to the JSON property enforcementTime
39 40 41 |
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 39 def enforcement_time @enforcement_time end |
#filter_status ⇒ String
The site's enforcement status.
Corresponds to the JSON property filterStatus
45 46 47 |
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 45 def filter_status @filter_status end |
#last_change_time ⇒ String
The time at which the site's status last changed.
Corresponds to the JSON property lastChangeTime
50 51 52 |
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 50 def last_change_time @last_change_time end |
#report_url ⇒ String
A link to the full Abusive Experience Report for the site. Not set in
ViolatingSitesResponse. Note that you must complete the Search Console
verification process
for the site before you can access the full report.
Corresponds to the JSON property reportUrl
58 59 60 |
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 58 def report_url @report_url end |
#reviewed_site ⇒ String
The name of the reviewed site, e.g. google.com
.
Corresponds to the JSON property reviewedSite
63 64 65 |
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 63 def reviewed_site @reviewed_site end |
#under_review ⇒ Boolean Also known as: under_review?
Whether the site is currently under review.
Corresponds to the JSON property underReview
68 69 70 |
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 68 def under_review @under_review end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
76 77 78 79 80 81 82 83 84 |
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 76 def update!(**args) @abusive_status = args[:abusive_status] if args.key?(:abusive_status) @enforcement_time = args[:enforcement_time] if args.key?(:enforcement_time) @filter_status = args[:filter_status] if args.key?(:filter_status) @last_change_time = args[:last_change_time] if args.key?(:last_change_time) @report_url = args[:report_url] if args.key?(:report_url) @reviewed_site = args[:reviewed_site] if args.key?(:reviewed_site) @under_review = args[:under_review] if args.key?(:under_review) end |