Class: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimImageSearchResponseResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/factchecktools_v1alpha1/classes.rb,
lib/google/apis/factchecktools_v1alpha1/representations.rb,
lib/google/apis/factchecktools_v1alpha1/representations.rb

Overview

A claim and its associated information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimImageSearchResponseResult

Returns a new instance of GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimImageSearchResponseResult.



393
394
395
# File 'lib/google/apis/factchecktools_v1alpha1/classes.rb', line 393

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

Instance Attribute Details

#claimGoogle::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Claim

Information about the claim. Corresponds to the JSON property claim



391
392
393
# File 'lib/google/apis/factchecktools_v1alpha1/classes.rb', line 391

def claim
  @claim
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



398
399
400
# File 'lib/google/apis/factchecktools_v1alpha1/classes.rb', line 398

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