Class: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse
- Inherits:
-
Object
- Object
- Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/factchecktools_v1alpha1/classes.rb,
generated/google/apis/factchecktools_v1alpha1/representations.rb,
generated/google/apis/factchecktools_v1alpha1/representations.rb
Overview
Response from searching fact-checked claims.
Instance Attribute Summary collapse
-
#claims ⇒ Array<Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Claim>
The list of claims and all of their associated information.
-
#next_page_token ⇒ String
The next pagination token in the Search response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse
constructor
A new instance of GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse
Returns a new instance of GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse.
373 374 375 |
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 373 def initialize(**args) update!(**args) end |
Instance Attribute Details
#claims ⇒ Array<Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Claim>
The list of claims and all of their associated information.
Corresponds to the JSON property claims
365 366 367 |
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 365 def claims @claims end |
#next_page_token ⇒ String
The next pagination token in the Search response. It should be used as the
page_token
for the following request. An empty value means no more results.
Corresponds to the JSON property nextPageToken
371 372 373 |
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 371 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
378 379 380 381 |
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 378 def update!(**args) @claims = args[:claims] if args.key?(:claims) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |