Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
- 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
Referenced content and related document metadata.
Instance Attribute Summary collapse
-
#code_snippet ⇒ String
Chunk of code snippet from the referenced document.
-
#content ⇒ String
Referenced text content.
-
#document_metadata ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
Document metadata.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
Returns a new instance of GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference.
21444 21445 21446 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code_snippet ⇒ String
Chunk of code snippet from the referenced document.
Corresponds to the JSON property codeSnippet
21432 21433 21434 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21432 def code_snippet @code_snippet end |
#content ⇒ String
Referenced text content.
Corresponds to the JSON property content
21437 21438 21439 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21437 def content @content end |
#document_metadata ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
Document metadata.
Corresponds to the JSON property documentMetadata
21442 21443 21444 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21442 def @document_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21449 21450 21451 21452 21453 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21449 def update!(**args) @code_snippet = args[:code_snippet] if args.key?(:code_snippet) @content = args[:content] if args.key?(:content) @document_metadata = args[:document_metadata] if args.key?(:document_metadata) end |