Class: Google::Apis::FirebasemlV2beta::CitationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::CitationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb
Overview
A collection of source attributions for a piece of content.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ CitationMetadata
constructor
A new instance of CitationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CitationMetadata
Returns a new instance of CitationMetadata.
177 178 179 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 177 def initialize(**args) update!(**args) end |
Instance Attribute Details
#citations ⇒ Array<Google::Apis::FirebasemlV2beta::Citation>
Output only. List of citations.
Corresponds to the JSON property citations
175 176 177 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 175 def citations @citations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
182 183 184 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 182 def update!(**args) @citations = args[:citations] if args.key?(:citations) end |