class Google::Apis::BigqueryV2::JobConfigurationExtract
Attributes
- Optional
-
The compression type to use for exported files. Possible values
include GZIP and NONE. The default value is NONE. Corresponds to the JSON property `compression` @return [String]
- Optional
-
The exported file format. Possible values include CSV,
NEWLINE_DELIMITED_JSON and AVRO. The default value is CSV. Tables with nested or repeated fields cannot be exported as CSV. Corresponds to the JSON property `destinationFormat` @return [String]
- Pick one
-
DEPRECATED: Use destinationUris instead, passing only one URI as
necessary. The fully-qualified Google Cloud Storage URI where the extracted table should be written. Corresponds to the JSON property `destinationUri` @return [String]
- Pick one
-
A list of fully-qualified Google Cloud Storage URIs where the
extracted table should be written. Corresponds to the JSON property `destinationUris` @return [Array<String>]
- Optional
-
Delimiter to use between fields in the exported data. Default is ','
Corresponds to the JSON property `fieldDelimiter` @return [String]
- Optional
-
Whether to print out a header row in the results. Default is true.
Corresponds to the JSON property `printHeader` @return [Boolean]
- Optional
-
Whether to print out a header row in the results. Default is true.
Corresponds to the JSON property `printHeader` @return [Boolean]
- Required
-
A reference to the table being exported.
Corresponds to the JSON property `sourceTable` @return [Google::Apis::BigqueryV2::TableReference]
Public Class Methods
# File generated/google/apis/bigquery_v2/classes.rb, line 1094 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/bigquery_v2/classes.rb, line 1099 def update!(**args) @compression = args[:compression] if args.key?(:compression) @destination_format = args[:destination_format] if args.key?(:destination_format) @destination_uri = args[:destination_uri] if args.key?(:destination_uri) @destination_uris = args[:destination_uris] if args.key?(:destination_uris) @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter) @print_header = args[:print_header] if args.key?(:print_header) @source_table = args[:source_table] if args.key?(:source_table) end