Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerCitationSource

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerCitationSource

Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerCitationSource.



19190
19191
19192
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19190

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

Instance Attribute Details

#reference_idString

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

Returns:

  • (String)


19188
19189
19190
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19188

def reference_id
  @reference_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19195
19196
19197
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19195

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