Class: Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse

Inherits:
Object
  • Object
show all
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

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



65
66
67
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 65

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

Instance Attribute Details

#abusive_statusString

The status of the site reviewed for the abusive experiences. Corresponds to the JSON property abusiveStatus

Returns:

  • (String)


32
33
34
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 32

def abusive_status
  @abusive_status
end

#enforcement_timeString

The date on which enforcement begins. Corresponds to the JSON property enforcementTime

Returns:

  • (String)


37
38
39
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 37

def enforcement_time
  @enforcement_time
end

#filter_statusString

The abusive experience enforcement status of the site. Corresponds to the JSON property filterStatus

Returns:

  • (String)


42
43
44
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 42

def filter_status
  @filter_status
end

#last_change_timeString

The last time that the site changed status. Corresponds to the JSON property lastChangeTime

Returns:

  • (String)


47
48
49
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 47

def last_change_time
  @last_change_time
end

#report_urlString

A link that leads to a full abusive experience report. Corresponds to the JSON property reportUrl

Returns:

  • (String)


52
53
54
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 52

def report_url
  @report_url
end

#reviewed_siteString

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

Returns:

  • (String)


57
58
59
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 57

def reviewed_site
  @reviewed_site
end

#under_reviewBoolean Also known as: under_review?

Whether the site is currently under review. Corresponds to the JSON property underReview

Returns:

  • (Boolean)


62
63
64
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 62

def under_review
  @under_review
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



70
71
72
73
74
75
76
77
78
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 70

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