class Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage
Holds one or more instances of `ClaimReview` markup for a webpage.
Attributes
A list of individual claim reviews for this page. Each item in the list corresponds to one `ClaimReview` element. Corresponds to the JSON property `claimReviewMarkups` @return [Array<Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup>]
The name of this `ClaimReview` markup page resource, in the form of `pages/` page_id“. Except for update requests, this field is output-only and should not be set by the user. Corresponds to the JSON property `name` @return [String]
The URL of the page associated with this `ClaimReview` markup. While every individual `ClaimReview` has its own URL field, semantically this is a page- level field, and each `ClaimReview` on this page will use this value unless individually overridden. Corresponds to `ClaimReview.url` Corresponds to the JSON property `pageUrl` @return [String]
The date when the fact check was published. Similar to the URL, semantically this is a page-level field, and each `ClaimReview` on this page will contain the same value. Corresponds to `ClaimReview.datePublished` Corresponds to the JSON property `publishDate` @return [String]
The version ID for this markup. Except for update requests, this field is output-only and should not be set by the user. Corresponds to the JSON property `versionId` @return [String]
Public Class Methods
# File lib/google/apis/factchecktools_v1alpha1/classes.rb, line 343 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/factchecktools_v1alpha1/classes.rb, line 348 def update!(**args) @claim_review_author = args[:claim_review_author] if args.key?(:claim_review_author) @claim_review_markups = args[:claim_review_markups] if args.key?(:claim_review_markups) @name = args[:name] if args.key?(:name) @page_url = args[:page_url] if args.key?(:page_url) @publish_date = args[:publish_date] if args.key?(:publish_date) @version_id = args[:version_id] if args.key?(:version_id) end