JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "GoogleCloudRetailV2BigQuerySource.php"

Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/CloudRetail/GoogleCloudRetailV2BigQuerySource.php
File size: 5.78 KB
MIME-type: text/x-php
Charset: utf-8

<?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\CloudRetail;

class GoogleCloudRetailV2BigQuerySource extends \Google\Model
{
  /**
   * The schema to use when parsing the data from the source. Supported values
   * for product imports: * `product` (default): One JSON Product per line. Each
   * product must have a valid Product.id. * `product_merchant_center`: See
   * [Importing catalog data from Merchant
   * Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-
   * catalog#mc). Supported values for user events imports: * `user_event`
   * (default): One JSON UserEvent per line. * `user_event_ga360`: The schema is
   * available here: https://support.google.com/analytics/answer/3437719. *
   * `user_event_ga4`: The schema is available here:
   * https://support.google.com/analytics/answer/7029846. Supported values for
   * autocomplete imports: * `suggestions` (default): One JSON completion
   * suggestion per line. * `denylist`: One JSON deny suggestion per line. *
   * `allowlist`: One JSON allow suggestion per line.
   *
   * @var string
   */
  public $dataSchema;
  /**
   * Required. The BigQuery data set to copy the data from with a length limit
   * of 1,024 characters.
   *
   * @var string
   */
  public $datasetId;
  /**
   * Intermediate Cloud Storage directory used for the import with a length
   * limit of 2,000 characters. Can be specified if one wants to have the
   * BigQuery export to a specific Cloud Storage directory.
   *
   * @var string
   */
  public $gcsStagingDir;
  protected $partitionDateType = GoogleTypeDate::class;
  protected $partitionDateDataType = '';
  /**
   * The project ID (can be project # or ID) that the BigQuery source is in with
   * a length limit of 128 characters. If not specified, inherits the project ID
   * from the parent request.
   *
   * @var string
   */
  public $projectId;
  /**
   * Required. The BigQuery table to copy the data from with a length limit of
   * 1,024 characters.
   *
   * @var string
   */
  public $tableId;

  /**
   * The schema to use when parsing the data from the source. Supported values
   * for product imports: * `product` (default): One JSON Product per line. Each
   * product must have a valid Product.id. * `product_merchant_center`: See
   * [Importing catalog data from Merchant
   * Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-
   * catalog#mc). Supported values for user events imports: * `user_event`
   * (default): One JSON UserEvent per line. * `user_event_ga360`: The schema is
   * available here: https://support.google.com/analytics/answer/3437719. *
   * `user_event_ga4`: The schema is available here:
   * https://support.google.com/analytics/answer/7029846. Supported values for
   * autocomplete imports: * `suggestions` (default): One JSON completion
   * suggestion per line. * `denylist`: One JSON deny suggestion per line. *
   * `allowlist`: One JSON allow suggestion per line.
   *
   * @param string $dataSchema
   */
  public function setDataSchema($dataSchema)
  {
    $this->dataSchema = $dataSchema;
  }
  /**
   * @return string
   */
  public function getDataSchema()
  {
    return $this->dataSchema;
  }
  /**
   * Required. The BigQuery data set to copy the data from with a length limit
   * of 1,024 characters.
   *
   * @param string $datasetId
   */
  public function setDatasetId($datasetId)
  {
    $this->datasetId = $datasetId;
  }
  /**
   * @return string
   */
  public function getDatasetId()
  {
    return $this->datasetId;
  }
  /**
   * Intermediate Cloud Storage directory used for the import with a length
   * limit of 2,000 characters. Can be specified if one wants to have the
   * BigQuery export to a specific Cloud Storage directory.
   *
   * @param string $gcsStagingDir
   */
  public function setGcsStagingDir($gcsStagingDir)
  {
    $this->gcsStagingDir = $gcsStagingDir;
  }
  /**
   * @return string
   */
  public function getGcsStagingDir()
  {
    return $this->gcsStagingDir;
  }
  /**
   * BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
   *
   * @param GoogleTypeDate $partitionDate
   */
  public function setPartitionDate(GoogleTypeDate $partitionDate)
  {
    $this->partitionDate = $partitionDate;
  }
  /**
   * @return GoogleTypeDate
   */
  public function getPartitionDate()
  {
    return $this->partitionDate;
  }
  /**
   * The project ID (can be project # or ID) that the BigQuery source is in with
   * a length limit of 128 characters. If not specified, inherits the project ID
   * from the parent request.
   *
   * @param string $projectId
   */
  public function setProjectId($projectId)
  {
    $this->projectId = $projectId;
  }
  /**
   * @return string
   */
  public function getProjectId()
  {
    return $this->projectId;
  }
  /**
   * Required. The BigQuery table to copy the data from with a length limit of
   * 1,024 characters.
   *
   * @param string $tableId
   */
  public function setTableId($tableId)
  {
    $this->tableId = $tableId;
  }
  /**
   * @return string
   */
  public function getTableId()
  {
    return $this->tableId;
  }
}

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