<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\CloudAlloyDBAdmin;

class CsvExportOptions extends \Google\Model
{
  /**
   * Optional. Specifies the character that should appear before a data
   * character that needs to be escaped. The default is the same as quote
   * character. The value of this argument has to be a character in Hex ASCII
   * Code.
   *
   * @var string
   */
  public $escapeCharacter;
  /**
   * Optional. Specifies the character that separates columns within each row
   * (line) of the file. The default is comma. The value of this argument has to
   * be a character in Hex ASCII Code.
   *
   * @var string
   */
  public $fieldDelimiter;
  /**
   * Optional. Specifies the quoting character to be used when a data value is
   * quoted. The default is double-quote. The value of this argument has to be a
   * character in Hex ASCII Code.
   *
   * @var string
   */
  public $quoteCharacter;
  /**
   * Required. The SELECT query used to extract the data.
   *
   * @var string
   */
  public $selectQuery;

  /**
   * Optional. Specifies the character that should appear before a data
   * character that needs to be escaped. The default is the same as quote
   * character. The value of this argument has to be a character in Hex ASCII
   * Code.
   *
   * @param string $escapeCharacter
   */
  public function setEscapeCharacter($escapeCharacter)
  {
    $this->escapeCharacter = $escapeCharacter;
  }
  /**
   * @return string
   */
  public function getEscapeCharacter()
  {
    return $this->escapeCharacter;
  }
  /**
   * Optional. Specifies the character that separates columns within each row
   * (line) of the file. The default is comma. The value of this argument has to
   * be a character in Hex ASCII Code.
   *
   * @param string $fieldDelimiter
   */
  public function setFieldDelimiter($fieldDelimiter)
  {
    $this->fieldDelimiter = $fieldDelimiter;
  }
  /**
   * @return string
   */
  public function getFieldDelimiter()
  {
    return $this->fieldDelimiter;
  }
  /**
   * Optional. Specifies the quoting character to be used when a data value is
   * quoted. The default is double-quote. The value of this argument has to be a
   * character in Hex ASCII Code.
   *
   * @param string $quoteCharacter
   */
  public function setQuoteCharacter($quoteCharacter)
  {
    $this->quoteCharacter = $quoteCharacter;
  }
  /**
   * @return string
   */
  public function getQuoteCharacter()
  {
    return $this->quoteCharacter;
  }
  /**
   * Required. The SELECT query used to extract the data.
   *
   * @param string $selectQuery
   */
  public function setSelectQuery($selectQuery)
  {
    $this->selectQuery = $selectQuery;
  }
  /**
   * @return string
   */
  public function getSelectQuery()
  {
    return $this->selectQuery;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CsvExportOptions::class, 'Google_Service_CloudAlloyDBAdmin_CsvExportOptions');
