Class: Google::Apis::DeveloperknowledgeV1alpha::CitationSource
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperknowledgeV1alpha::CitationSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/developerknowledge_v1alpha/classes.rb,
lib/google/apis/developerknowledge_v1alpha/representations.rb,
lib/google/apis/developerknowledge_v1alpha/representations.rb
Overview
Citation source.
Instance Attribute Summary collapse
-
#reference_index ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CitationSource
constructor
A new instance of CitationSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CitationSource
Returns a new instance of CitationSource.
177 178 179 |
# File 'lib/google/apis/developerknowledge_v1alpha/classes.rb', line 177 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reference_index ⇒ Fixnum
Output only. Contains the index of the Answer.AnswerReference in the
references repeated field.
Corresponds to the JSON property referenceIndex
175 176 177 |
# File 'lib/google/apis/developerknowledge_v1alpha/classes.rb', line 175 def reference_index @reference_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
182 183 184 |
# File 'lib/google/apis/developerknowledge_v1alpha/classes.rb', line 182 def update!(**args) @reference_index = args[:reference_index] if args.key?(:reference_index) end |