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
-
(::String) — The base URI for all files to be read in as sources for translation.
Note: The following fields are mutually exclusive:
base_uri
,literal
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#base_uri=
def base_uri=(value) -> ::String
-
value (::String) — The base URI for all files to be read in as sources for translation.
Note: The following fields are mutually exclusive:
base_uri
,literal
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The base URI for all files to be read in as sources for translation.
Note: The following fields are mutually exclusive:
base_uri
,literal
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#encoding
def encoding() -> ::String
- (::String) — Optional. The optional field to specify the encoding of the sql bytes.
#encoding=
def encoding=(value) -> ::String
- value (::String) — Optional. The optional field to specify the encoding of the sql bytes.
- (::String) — Optional. The optional field to specify the encoding of the sql bytes.
#literal
def literal() -> ::Google::Cloud::Bigquery::Migration::V2::Literal
-
(::Google::Cloud::Bigquery::Migration::V2::Literal) — Source literal.
Note: The following fields are mutually exclusive:
literal
,base_uri
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#literal=
def literal=(value) -> ::Google::Cloud::Bigquery::Migration::V2::Literal
-
value (::Google::Cloud::Bigquery::Migration::V2::Literal) — Source literal.
Note: The following fields are mutually exclusive:
literal
,base_uri
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Bigquery::Migration::V2::Literal) — Source literal.
Note: The following fields are mutually exclusive:
literal
,base_uri
. If a field in that set is populated, all other fields in the set will automatically be cleared.