1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18namespace Google\Service\DLP; 19 20class GooglePrivacyDlpV2StorageConfig extends \Google\Model 21{ 22 protected $bigQueryOptionsType = GooglePrivacyDlpV2BigQueryOptions::class; 23 protected $bigQueryOptionsDataType = ''; 24 protected $cloudStorageOptionsType = GooglePrivacyDlpV2CloudStorageOptions::class; 25 protected $cloudStorageOptionsDataType = ''; 26 protected $datastoreOptionsType = GooglePrivacyDlpV2DatastoreOptions::class; 27 protected $datastoreOptionsDataType = ''; 28 protected $hybridOptionsType = GooglePrivacyDlpV2HybridOptions::class; 29 protected $hybridOptionsDataType = ''; 30 protected $timespanConfigType = GooglePrivacyDlpV2TimespanConfig::class; 31 protected $timespanConfigDataType = ''; 32 33 /** 34 * @param GooglePrivacyDlpV2BigQueryOptions 35 */ 36 public function setBigQueryOptions(GooglePrivacyDlpV2BigQueryOptions $bigQueryOptions) 37 { 38 $this->bigQueryOptions = $bigQueryOptions; 39 } 40 /** 41 * @return GooglePrivacyDlpV2BigQueryOptions 42 */ 43 public function getBigQueryOptions() 44 { 45 return $this->bigQueryOptions; 46 } 47 /** 48 * @param GooglePrivacyDlpV2CloudStorageOptions 49 */ 50 public function setCloudStorageOptions(GooglePrivacyDlpV2CloudStorageOptions $cloudStorageOptions) 51 { 52 $this->cloudStorageOptions = $cloudStorageOptions; 53 } 54 /** 55 * @return GooglePrivacyDlpV2CloudStorageOptions 56 */ 57 public function getCloudStorageOptions() 58 { 59 return $this->cloudStorageOptions; 60 } 61 /** 62 * @param GooglePrivacyDlpV2DatastoreOptions 63 */ 64 public function setDatastoreOptions(GooglePrivacyDlpV2DatastoreOptions $datastoreOptions) 65 { 66 $this->datastoreOptions = $datastoreOptions; 67 } 68 /** 69 * @return GooglePrivacyDlpV2DatastoreOptions 70 */ 71 public function getDatastoreOptions() 72 { 73 return $this->datastoreOptions; 74 } 75 /** 76 * @param GooglePrivacyDlpV2HybridOptions 77 */ 78 public function setHybridOptions(GooglePrivacyDlpV2HybridOptions $hybridOptions) 79 { 80 $this->hybridOptions = $hybridOptions; 81 } 82 /** 83 * @return GooglePrivacyDlpV2HybridOptions 84 */ 85 public function getHybridOptions() 86 { 87 return $this->hybridOptions; 88 } 89 /** 90 * @param GooglePrivacyDlpV2TimespanConfig 91 */ 92 public function setTimespanConfig(GooglePrivacyDlpV2TimespanConfig $timespanConfig) 93 { 94 $this->timespanConfig = $timespanConfig; 95 } 96 /** 97 * @return GooglePrivacyDlpV2TimespanConfig 98 */ 99 public function getTimespanConfig() 100 { 101 return $this->timespanConfig; 102 } 103} 104 105// Adding a class alias for backwards compatibility with the previous class name. 106class_alias(GooglePrivacyDlpV2StorageConfig::class, 'Google_Service_DLP_GooglePrivacyDlpV2StorageConfig'); 107