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 GooglePrivacyDlpV2Action extends \Google\Model 21{ 22 protected $jobNotificationEmailsType = GooglePrivacyDlpV2JobNotificationEmails::class; 23 protected $jobNotificationEmailsDataType = ''; 24 protected $pubSubType = GooglePrivacyDlpV2PublishToPubSub::class; 25 protected $pubSubDataType = ''; 26 protected $publishFindingsToCloudDataCatalogType = GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog::class; 27 protected $publishFindingsToCloudDataCatalogDataType = ''; 28 protected $publishSummaryToCsccType = GooglePrivacyDlpV2PublishSummaryToCscc::class; 29 protected $publishSummaryToCsccDataType = ''; 30 protected $publishToStackdriverType = GooglePrivacyDlpV2PublishToStackdriver::class; 31 protected $publishToStackdriverDataType = ''; 32 protected $saveFindingsType = GooglePrivacyDlpV2SaveFindings::class; 33 protected $saveFindingsDataType = ''; 34 35 /** 36 * @param GooglePrivacyDlpV2JobNotificationEmails 37 */ 38 public function setJobNotificationEmails(GooglePrivacyDlpV2JobNotificationEmails $jobNotificationEmails) 39 { 40 $this->jobNotificationEmails = $jobNotificationEmails; 41 } 42 /** 43 * @return GooglePrivacyDlpV2JobNotificationEmails 44 */ 45 public function getJobNotificationEmails() 46 { 47 return $this->jobNotificationEmails; 48 } 49 /** 50 * @param GooglePrivacyDlpV2PublishToPubSub 51 */ 52 public function setPubSub(GooglePrivacyDlpV2PublishToPubSub $pubSub) 53 { 54 $this->pubSub = $pubSub; 55 } 56 /** 57 * @return GooglePrivacyDlpV2PublishToPubSub 58 */ 59 public function getPubSub() 60 { 61 return $this->pubSub; 62 } 63 /** 64 * @param GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog 65 */ 66 public function setPublishFindingsToCloudDataCatalog(GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog $publishFindingsToCloudDataCatalog) 67 { 68 $this->publishFindingsToCloudDataCatalog = $publishFindingsToCloudDataCatalog; 69 } 70 /** 71 * @return GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog 72 */ 73 public function getPublishFindingsToCloudDataCatalog() 74 { 75 return $this->publishFindingsToCloudDataCatalog; 76 } 77 /** 78 * @param GooglePrivacyDlpV2PublishSummaryToCscc 79 */ 80 public function setPublishSummaryToCscc(GooglePrivacyDlpV2PublishSummaryToCscc $publishSummaryToCscc) 81 { 82 $this->publishSummaryToCscc = $publishSummaryToCscc; 83 } 84 /** 85 * @return GooglePrivacyDlpV2PublishSummaryToCscc 86 */ 87 public function getPublishSummaryToCscc() 88 { 89 return $this->publishSummaryToCscc; 90 } 91 /** 92 * @param GooglePrivacyDlpV2PublishToStackdriver 93 */ 94 public function setPublishToStackdriver(GooglePrivacyDlpV2PublishToStackdriver $publishToStackdriver) 95 { 96 $this->publishToStackdriver = $publishToStackdriver; 97 } 98 /** 99 * @return GooglePrivacyDlpV2PublishToStackdriver 100 */ 101 public function getPublishToStackdriver() 102 { 103 return $this->publishToStackdriver; 104 } 105 /** 106 * @param GooglePrivacyDlpV2SaveFindings 107 */ 108 public function setSaveFindings(GooglePrivacyDlpV2SaveFindings $saveFindings) 109 { 110 $this->saveFindings = $saveFindings; 111 } 112 /** 113 * @return GooglePrivacyDlpV2SaveFindings 114 */ 115 public function getSaveFindings() 116 { 117 return $this->saveFindings; 118 } 119} 120 121// Adding a class alias for backwards compatibility with the previous class name. 122class_alias(GooglePrivacyDlpV2Action::class, 'Google_Service_DLP_GooglePrivacyDlpV2Action'); 123