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

class ExportDicomDataRequest extends \Google\Model
{
  protected $bigqueryDestinationType = GoogleCloudHealthcareV1DicomBigQueryDestination::class;
  protected $bigqueryDestinationDataType = '';
  protected $gcsDestinationType = GoogleCloudHealthcareV1DicomGcsDestination::class;
  protected $gcsDestinationDataType = '';

  /**
   * The BigQuery output destination. You can only export to a BigQuery dataset
   * that's in the same project as the DICOM store you're exporting from. The
   * Cloud Healthcare Service Agent requires two IAM roles on the BigQuery
   * location: `roles/bigquery.dataEditor` and `roles/bigquery.jobUser`.
   *
   * @param GoogleCloudHealthcareV1DicomBigQueryDestination $bigqueryDestination
   */
  public function setBigqueryDestination(GoogleCloudHealthcareV1DicomBigQueryDestination $bigqueryDestination)
  {
    $this->bigqueryDestination = $bigqueryDestination;
  }
  /**
   * @return GoogleCloudHealthcareV1DicomBigQueryDestination
   */
  public function getBigqueryDestination()
  {
    return $this->bigqueryDestination;
  }
  /**
   * The Cloud Storage output destination. The Cloud Healthcare Service Agent
   * requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud
   * Storage location.
   *
   * @param GoogleCloudHealthcareV1DicomGcsDestination $gcsDestination
   */
  public function setGcsDestination(GoogleCloudHealthcareV1DicomGcsDestination $gcsDestination)
  {
    $this->gcsDestination = $gcsDestination;
  }
  /**
   * @return GoogleCloudHealthcareV1DicomGcsDestination
   */
  public function getGcsDestination()
  {
    return $this->gcsDestination;
  }
}

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