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

Detailed panel information associated with a user event.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- The display name of the panel.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The display name of the panel.
**Returns**

- (::String) --- The display name of the panel.

### #documents

    def documents() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::DocumentInfo>

**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1::DocumentInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-DocumentInfo)\>) --- Optional. The document IDs associated with this panel.

### #documents=

    def documents=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::DocumentInfo>

**Parameter**

- **value** (::Array\<[::Google::Cloud::DiscoveryEngine::V1::DocumentInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-DocumentInfo)\>) --- Optional. The document IDs associated with this panel.
**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1::DocumentInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-DocumentInfo)\>) --- Optional. The document IDs associated with this panel.

### #panel_id

    def panel_id() -> ::String

**Returns**

- (::String) --- Required. The panel ID.

### #panel_id=

    def panel_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The panel ID.
**Returns**

- (::String) --- Required. The panel ID.

### #panel_position

    def panel_position() -> ::Integer

**Returns**

- (::Integer) --- The ordered position of the panel, if shown to the user with other panels. If set, then [total_panels](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-PanelInfo#Google__Cloud__DiscoveryEngine__V1__PanelInfo_total_panels_instance_ "Google::Cloud::DiscoveryEngine::V1::PanelInfo#total_panels (method)") must also be set.

### #panel_position=

    def panel_position=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The ordered position of the panel, if shown to the user with other panels. If set, then [total_panels](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-PanelInfo#Google__Cloud__DiscoveryEngine__V1__PanelInfo_total_panels_instance_ "Google::Cloud::DiscoveryEngine::V1::PanelInfo#total_panels (method)") must also be set.
**Returns**

- (::Integer) --- The ordered position of the panel, if shown to the user with other panels. If set, then [total_panels](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-PanelInfo#Google__Cloud__DiscoveryEngine__V1__PanelInfo_total_panels_instance_ "Google::Cloud::DiscoveryEngine::V1::PanelInfo#total_panels (method)") must also be set.

### #total_panels

    def total_panels() -> ::Integer

**Returns**

- (::Integer) --- The total number of panels, including this one, shown to the user. Must be set if [panel_position](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-PanelInfo#Google__Cloud__DiscoveryEngine__V1__PanelInfo_panel_position_instance_ "Google::Cloud::DiscoveryEngine::V1::PanelInfo#panel_position (method)") is set.

### #total_panels=

    def total_panels=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The total number of panels, including this one, shown to the user. Must be set if [panel_position](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-PanelInfo#Google__Cloud__DiscoveryEngine__V1__PanelInfo_panel_position_instance_ "Google::Cloud::DiscoveryEngine::V1::PanelInfo#panel_position (method)") is set.
**Returns**

- (::Integer) --- The total number of panels, including this one, shown to the user. Must be set if [panel_position](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1/latest/Google-Cloud-DiscoveryEngine-V1-PanelInfo#Google__Cloud__DiscoveryEngine__V1__PanelInfo_panel_position_instance_ "Google::Cloud::DiscoveryEngine::V1::PanelInfo#panel_position (method)") is set.