Reference documentation and code samples for the BigQuery Migration V2 API class Google::Cloud::Bigquery::Migration::V2::SourceSpec.
Represents one path to the location that holds source data.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#base_uri
def base_uri() -> ::String
Returns
- (::String) — The base URI for all files to be read in as sources for translation.
#base_uri=
def base_uri=(value) -> ::String
Parameter
- value (::String) — The base URI for all files to be read in as sources for translation.
Returns
- (::String) — The base URI for all files to be read in as sources for translation.
#encoding
def encoding() -> ::String
Returns
- (::String) — Optional. The optional field to specify the encoding of the sql bytes.
#encoding=
def encoding=(value) -> ::String
Parameter
- value (::String) — Optional. The optional field to specify the encoding of the sql bytes.
Returns
- (::String) — Optional. The optional field to specify the encoding of the sql bytes.
#literal
def literal() -> ::Google::Cloud::Bigquery::Migration::V2::Literal
Returns
- (::Google::Cloud::Bigquery::Migration::V2::Literal) — Source literal.
#literal=
def literal=(value) -> ::Google::Cloud::Bigquery::Migration::V2::Literal
Parameter
- value (::Google::Cloud::Bigquery::Migration::V2::Literal) — Source literal.
Returns
- (::Google::Cloud::Bigquery::Migration::V2::Literal) — Source literal.