Class: Google::Apis::AbusiveexperiencereportV1::ViolatingSitesResponse

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 ListViolatingSites.

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) ⇒ ViolatingSitesResponse

Returns a new instance of ViolatingSitesResponse



90
91
92
# File 'generated/google/apis/abusiveexperiencereport_v1/classes.rb', line 90

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

Instance Attribute Details

#violating_sitesArray<Google::Apis::AbusiveexperiencereportV1::SiteSummaryResponse>

A list of summaries of violating sites. Corresponds to the JSON property violatingSites



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

def violating_sites
  @violating_sites
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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