# Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::Reference (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::SearchResponse::Summary::Reference.

Document reference.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #chunk_contents

    def chunk_contents() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::Reference::ChunkContent>

**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::Reference::ChunkContent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-SearchResponse-Summary-Reference-ChunkContent)\>) --- List of cited chunk contents derived from document content.

### #chunk_contents=

    def chunk_contents=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::Reference::ChunkContent>

**Parameter**

- **value** (::Array\<[::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::Reference::ChunkContent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-SearchResponse-Summary-Reference-ChunkContent)\>) --- List of cited chunk contents derived from document content.
**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1::SearchResponse::Summary::Reference::ChunkContent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-SearchResponse-Summary-Reference-ChunkContent)\>) --- List of cited chunk contents derived from document content.

### #document

    def document() -> ::String

**Returns**

- (::String) --- Required. [Document.name](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-Document#Google__Cloud__DiscoveryEngine__V1__Document_name_instance_ "Google::Cloud::DiscoveryEngine::V1::Document#name (method)") of the document. Full resource name of the referenced document, in the format `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.

### #document=

    def document=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. [Document.name](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-Document#Google__Cloud__DiscoveryEngine__V1__Document_name_instance_ "Google::Cloud::DiscoveryEngine::V1::Document#name (method)") of the document. Full resource name of the referenced document, in the format `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.
**Returns**

- (::String) --- Required. [Document.name](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-Document#Google__Cloud__DiscoveryEngine__V1__Document_name_instance_ "Google::Cloud::DiscoveryEngine::V1::Document#name (method)") of the document. Full resource name of the referenced document, in the format `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.

### #title

    def title() -> ::String

**Returns**

- (::String) --- Title of the document.

### #title=

    def title=(value) -> ::String

**Parameter**

- **value** (::String) --- Title of the document.
**Returns**

- (::String) --- Title of the document.

### #uri

    def uri() -> ::String

**Returns**

- (::String) --- Cloud Storage or HTTP uri for the document.

### #uri=

    def uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Cloud Storage or HTTP uri for the document.
**Returns**

- (::String) --- Cloud Storage or HTTP uri for the document.