Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceCitation
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceCitation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Source attributions for content.
Instance Attribute Summary collapse
-
#end_index ⇒ Fixnum
End index into the content.
-
#license ⇒ String
License of the attribution.
-
#publication_date ⇒ Google::Apis::AiplatformV1::GoogleTypeDate
Represents a whole or partial calendar date, such as a birthday.
-
#start_index ⇒ Fixnum
Start index into the content.
-
#title ⇒ String
Title of the attribution.
-
#uri ⇒ String
Url reference of the attribution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiNlLlmProtoServiceCitation
constructor
A new instance of CloudAiNlLlmProtoServiceCitation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiNlLlmProtoServiceCitation
Returns a new instance of CloudAiNlLlmProtoServiceCitation.
532 533 534 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 532 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_index ⇒ Fixnum
End index into the content.
Corresponds to the JSON property endIndex
498 499 500 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 498 def end_index @end_index end |
#license ⇒ String
License of the attribution.
Corresponds to the JSON property license
503 504 505 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 503 def license @license end |
#publication_date ⇒ Google::Apis::AiplatformV1::GoogleTypeDate
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: * A full date, with non-zero year, month, and day values. * A month
and day, with a zero year (for example, an anniversary). * A year on its own,
with a zero month and a zero day. * A year and month, with a zero day (for
example, a credit card expiration date). Related types: * google.type.
TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
Corresponds to the JSON property publicationDate
515 516 517 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 515 def publication_date @publication_date end |
#start_index ⇒ Fixnum
Start index into the content.
Corresponds to the JSON property startIndex
520 521 522 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 520 def start_index @start_index end |
#title ⇒ String
Title of the attribution.
Corresponds to the JSON property title
525 526 527 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 525 def title @title end |
#uri ⇒ String
Url reference of the attribution.
Corresponds to the JSON property uri
530 531 532 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 530 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
537 538 539 540 541 542 543 544 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 537 def update!(**args) @end_index = args[:end_index] if args.key?(:end_index) @license = args[:license] if args.key?(:license) @publication_date = args[:publication_date] if args.key?(:publication_date) @start_index = args[:start_index] if args.key?(:start_index) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |