Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerCitationSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerCitationSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Citation source.
Instance Attribute Summary collapse
-
#reference_id ⇒ String
ID of the citation source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerCitationSource
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerCitationSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerCitationSource
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerCitationSource.
19221 19222 19223 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19221 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reference_id ⇒ String
ID of the citation source.
Corresponds to the JSON property referenceId
19219 19220 19221 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19219 def reference_id @reference_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19226 19227 19228 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19226 def update!(**args) @reference_id = args[:reference_id] if args.key?(:reference_id) end |