Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerCitationSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerCitationSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Citation source.
Instance Attribute Summary collapse
-
#reference_id ⇒ String
ID of the citation source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerCitationSource
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerCitationSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerCitationSource
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerCitationSource.
2771 2772 2773 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2771 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reference_id ⇒ String
ID of the citation source.
Corresponds to the JSON property referenceId
2769 2770 2771 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2769 def reference_id @reference_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2776 2777 2778 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2776 def update!(**args) @reference_id = args[:reference_id] if args.key?(:reference_id) end |