# Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::FactChunk (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.2 2.5.0 2.4.0 2.3.1 2.2.0 2.1.1 2.0.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::FactChunk.

Fact Chunk.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #chunk_text

    def chunk_text() -> ::String

**Returns**

- (::String) --- Text content of the fact chunk. Can be at most 10K characters long.

### #chunk_text=

    def chunk_text=(value) -> ::String

**Parameter**

- **value** (::String) --- Text content of the fact chunk. Can be at most 10K characters long.
**Returns**

- (::String) --- Text content of the fact chunk. Can be at most 10K characters long.

### #domain

    def domain() -> ::String

**Returns**

- (::String) --- The domain of the source.

### #domain=

    def domain=(value) -> ::String

**Parameter**

- **value** (::String) --- The domain of the source.
**Returns**

- (::String) --- The domain of the source.

### #index

    def index() -> ::Integer

**Returns**

- (::Integer) --- The index of this chunk. Currently, only used for the streaming mode.

### #index=

    def index=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The index of this chunk. Currently, only used for the streaming mode.
**Returns**

- (::Integer) --- The index of this chunk. Currently, only used for the streaming mode.

### #source

    def source() -> ::String

**Returns**

- (::String) --- Source from which this fact chunk was retrieved. If it was retrieved from the GroundingFacts provided in the request then this field will contain the index of the specific fact from which this chunk was retrieved.

### #source=

    def source=(value) -> ::String

**Parameter**

- **value** (::String) --- Source from which this fact chunk was retrieved. If it was retrieved from the GroundingFacts provided in the request then this field will contain the index of the specific fact from which this chunk was retrieved.
**Returns**

- (::String) --- Source from which this fact chunk was retrieved. If it was retrieved from the GroundingFacts provided in the request then this field will contain the index of the specific fact from which this chunk was retrieved.

### #source_metadata

    def source_metadata() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- More fine-grained information for the source reference.

### #source_metadata=

    def source_metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- More fine-grained information for the source reference.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- More fine-grained information for the source reference.

### #title

    def title() -> ::String

**Returns**

- (::String) --- The title of the source.

### #title=

    def title=(value) -> ::String

**Parameter**

- **value** (::String) --- The title of the source.
**Returns**

- (::String) --- The title of the source.

### #uri

    def uri() -> ::String

**Returns**

- (::String) --- The URI of the source.

### #uri=

    def uri=(value) -> ::String

**Parameter**

- **value** (::String) --- The URI of the source.
**Returns**

- (::String) --- The URI of the source.