class_docstr: Copy data from Microsoft SQL Server to Google Cloud Storage in JSON, CSV or Parquet format.
  
  :param bit_fields: Sequence of fields names of MSSQL "BIT" data type,
      to be interpreted in the schema as "BOOLEAN". "BIT" fields that won't
      be included in this sequence, will be interpreted as "INTEGER" by
      default.
  :param mssql_conn_id: Reference to a specific MSSQL hook.
  
  **Example**:
      The following operator will export data from the Customers table
      within the given MSSQL Database and then upload it to the
      'mssql-export' GCS bucket (along with a schema file). ::
  
          export_customers = MSSQLToGCSOperator(
              task_id="export_customers",
              sql="SELECT * FROM dbo.Customers;",
              bit_fields=["some_bit_field", "another_bit_field"],
              bucket="mssql-export",
              filename="data/customers/export.json",
              schema_filename="schemas/export.json",
              mssql_conn_id="mssql_default",
              gcp_conn_id="google_cloud_default",
              dag=dag,
          )
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:MSSQLToGCSOperator`
class_docstr_tok: ["Copy","data","from","Microsoft","SQL","Server","to","Google","Cloud","Storage","in","JSON",",","CSV","or","Parquet","format",".",":","param","bit_fields",":","Sequence","of","fields","names","of","MSSQL","``","BIT","''","data","type",",","to","be","interpreted","in","the","schema","as","``","BOOLEAN","''",".","``","BIT","''","fields","that","won't","be","included","in","this","sequence",",","will","be","interpreted","as","``","INTEGER","''","by","default",".",":","param","mssql_conn_id",":","Reference","to","a","specific","MSSQL","hook",".","*","*","Example","*","*",":","The","following","operator","will","export","data","from","the","Customers","table","within","the","given","MSSQL","Database","and","then","upload","it","to","the","'mssql-export","'","GCS","bucket","(","along","with","a","schema","file",")",".",":",":","export_customers","=","MSSQLToGCSOperator","(","task_id=","''","export_customers","''",",","sql=","''","SELECT","*","FROM","dbo.Customers",";","''",",","bit_fields=","[","``","some_bit_field","''",",","``","another_bit_field","''","]",",","bucket=","''","mssql-export","''",",","filename=","''","data\/customers\/export.json","''",",","schema_filename=","''","schemas\/export.json","''",",","mssql_conn_id=","''","mssql_default","''",",","gcp_conn_id=","''","google_cloud_default","''",",","dag=dag",",",")","..","seealso",":",":","For","more","information","on","how","to","use","this","operator",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/operator",":","MSSQLToGCSOperator","`"]
code: def __init__(
      self,
      *,
      bit_fields: Sequence[str] | None = None,
      mssql_conn_id="mssql_default",
      **kwargs,
  ):
      super().__init__(**kwargs)
      self.mssql_conn_id = mssql_conn_id
      self.bit_fields = bit_fields or []
  
file_path: airflow/airflow/providers/google/cloud/transfers/mssql_to_gcs.py
imports: from __future__ import annotations
  import datetime
  import decimal
  from typing import Sequence
  from airflow.providers.google.cloud.transfers.sql_to_gcs import BaseSQLToGCSOperator
  from airflow.providers.microsoft.mssql.hooks.mssql import MsSqlHook
label_desc: Use image node_id 1 to create a new MSSQLToGCSOperator object from inherited base classes: BaseSQLToGCSOperator with example: obj = MSSQLToGCSOperator()