class Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview
Information about a claim review.
Attributes
The language this review was written in. For instance, “en” or “de”. Corresponds to the JSON property `languageCode` @return [String]
Information about the publisher. Corresponds to the JSON property `publisher` @return [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Publisher]
The date the claim was reviewed. Corresponds to the JSON property `reviewDate` @return [String]
Textual rating. For instance, “Mostly false”. Corresponds to the JSON property `textualRating` @return [String]
The title of this claim review, if it can be determined. Corresponds to the JSON property `title` @return [String]
The URL of this claim review. Corresponds to the JSON property `url` @return [String]
Public Class Methods
# File lib/google/apis/factchecktools_v1alpha1/classes.rb, line 187 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/factchecktools_v1alpha1/classes.rb, line 192 def update!(**args) @language_code = args[:language_code] if args.key?(:language_code) @publisher = args[:publisher] if args.key?(:publisher) @review_date = args[:review_date] if args.key?(:review_date) @textual_rating = args[:textual_rating] if args.key?(:textual_rating) @title = args[:title] if args.key?(:title) @url = args[:url] if args.key?(:url) end