Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
- 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::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
Document metadata.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference.
8407 8408 8409 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8407 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
8395 8396 8397 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8395 def code_snippet @code_snippet end |
#content ⇒ String
Referenced text content.
Corresponds to the JSON property content
8400 8401 8402 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8400 def content @content end |
#document_metadata ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
Document metadata.
Corresponds to the JSON property documentMetadata
8405 8406 8407 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8405 def @document_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8412 8413 8414 8415 8416 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8412 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 |