Class: Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#citations ⇒ Array<Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadataCitation>
Corresponds to the JSON property
citations. -
#grounding_cancelled ⇒ Boolean
(also: #grounding_cancelled?)
True if grounding is cancelled, for example, no facts being retrieved.
-
#search_queries ⇒ Array<String>
Corresponds to the JSON property
searchQueries.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootGroundingMetadata
constructor
A new instance of LearningGenaiRootGroundingMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootGroundingMetadata
Returns a new instance of LearningGenaiRootGroundingMetadata.
31497 31498 31499 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31497 def initialize(**args) update!(**args) end |
Instance Attribute Details
#citations ⇒ Array<Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadataCitation>
Corresponds to the JSON property citations
31484 31485 31486 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31484 def citations @citations end |
#grounding_cancelled ⇒ Boolean Also known as: grounding_cancelled?
True if grounding is cancelled, for example, no facts being retrieved.
Corresponds to the JSON property groundingCancelled
31489 31490 31491 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31489 def grounding_cancelled @grounding_cancelled end |
#search_queries ⇒ Array<String>
Corresponds to the JSON property searchQueries
31495 31496 31497 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31495 def search_queries @search_queries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31502 31503 31504 31505 31506 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31502 def update!(**args) @citations = args[:citations] if args.key?(:citations) @grounding_cancelled = args[:grounding_cancelled] if args.key?(:grounding_cancelled) @search_queries = args[:search_queries] if args.key?(:search_queries) end |