Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerCitationSource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerCitationSource

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerCitationSource.



8961
8962
8963
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8961

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

Instance Attribute Details

#reference_idString

ID of the citation source. Corresponds to the JSON property referenceId

Returns:

  • (String)


8959
8960
8961
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8959

def reference_id
  @reference_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8966
8967
8968
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8966

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