Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerCitationSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerCitationSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Citation source.
Instance Attribute Summary collapse
-
#reference_id ⇒ String
ID of the citation source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerCitationSource
constructor
A new instance of GoogleCloudDiscoveryengineV1AnswerCitationSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerCitationSource
Returns a new instance of GoogleCloudDiscoveryengineV1AnswerCitationSource.
471 472 473 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 471 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reference_id ⇒ String
ID of the citation source.
Corresponds to the JSON property referenceId
469 470 471 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 469 def reference_id @reference_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
476 477 478 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 476 def update!(**args) @reference_id = args[:reference_id] if args.key?(:reference_id) end |