class Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Publisher

Information about the publisher.

Attributes

name[RW]

The name of this publisher. For instance, “Awesome Fact Checks”. Corresponds to the JSON property `name` @return [String]

site[RW]

Host-level site name, without the protocol or “www” prefix. For instance, “ awesomefactchecks.com”. This value of this field is based purely on the claim review URL. Corresponds to the JSON property `site` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/factchecktools_v1alpha1/classes.rb, line 426
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/factchecktools_v1alpha1/classes.rb, line 431
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @site = args[:site] if args.key?(:site)
end