# BigQuery Migration V2 API - Class Google::Cloud::Bigquery::Migration::V2::Literal (v0.21.0)

0.21.0 (latest) 0.20.0 0.19.0 0.18.0 0.17.1 0.16.0 0.15.1 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the BigQuery Migration V2 API class Google::Cloud::Bigquery::Migration::V2::Literal.

Literal data.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #literal_bytes

    def literal_bytes() -> ::String

**Returns**

- (::String) --- Literal byte data.

  Note: The following fields are mutually exclusive: `literal_bytes`, `literal_string`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #literal_bytes=

    def literal_bytes=(value) -> ::String

**Parameter**

- **value** (::String) --- Literal byte data.


  Note: The following fields are mutually exclusive: `literal_bytes`, `literal_string`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- Literal byte data.

  Note: The following fields are mutually exclusive: `literal_bytes`, `literal_string`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #literal_string

    def literal_string() -> ::String

**Returns**

- (::String) --- Literal string data.

  Note: The following fields are mutually exclusive: `literal_string`, `literal_bytes`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #literal_string=

    def literal_string=(value) -> ::String

**Parameter**

- **value** (::String) --- Literal string data.


  Note: The following fields are mutually exclusive: `literal_string`, `literal_bytes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- Literal string data.

  Note: The following fields are mutually exclusive: `literal_string`, `literal_bytes`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #relative_path

    def relative_path() -> ::String

**Returns**

- (::String) --- Required. The identifier of the literal entry.

### #relative_path=

    def relative_path=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The identifier of the literal entry.
**Returns**

- (::String) --- Required. The identifier of the literal entry.