Skip to content

Commit

Permalink
Regenerate dlp client (#6326)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Mar 6, 2025
1 parent 52c187c commit 198cdcd
Show file tree
Hide file tree
Showing 6 changed files with 314 additions and 0 deletions.
164 changes: 164 additions & 0 deletions src/DLP/GooglePrivacyDlpV2DataProfileFinding.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
<?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\DLP;

class GooglePrivacyDlpV2DataProfileFinding extends \Google\Model
{
/**
* @var string
*/
public $dataProfileResourceName;
/**
* @var string
*/
public $findingId;
protected $infotypeType = GooglePrivacyDlpV2InfoType::class;
protected $infotypeDataType = '';
protected $locationType = GooglePrivacyDlpV2DataProfileFindingLocation::class;
protected $locationDataType = '';
/**
* @var string
*/
public $quote;
protected $quoteInfoType = GooglePrivacyDlpV2QuoteInfo::class;
protected $quoteInfoDataType = '';
/**
* @var string
*/
public $resourceVisibility;
/**
* @var string
*/
public $timestamp;

/**
* @param string
*/
public function setDataProfileResourceName($dataProfileResourceName)
{
$this->dataProfileResourceName = $dataProfileResourceName;
}
/**
* @return string
*/
public function getDataProfileResourceName()
{
return $this->dataProfileResourceName;
}
/**
* @param string
*/
public function setFindingId($findingId)
{
$this->findingId = $findingId;
}
/**
* @return string
*/
public function getFindingId()
{
return $this->findingId;
}
/**
* @param GooglePrivacyDlpV2InfoType
*/
public function setInfotype(GooglePrivacyDlpV2InfoType $infotype)
{
$this->infotype = $infotype;
}
/**
* @return GooglePrivacyDlpV2InfoType
*/
public function getInfotype()
{
return $this->infotype;
}
/**
* @param GooglePrivacyDlpV2DataProfileFindingLocation
*/
public function setLocation(GooglePrivacyDlpV2DataProfileFindingLocation $location)
{
$this->location = $location;
}
/**
* @return GooglePrivacyDlpV2DataProfileFindingLocation
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setQuote($quote)
{
$this->quote = $quote;
}
/**
* @return string
*/
public function getQuote()
{
return $this->quote;
}
/**
* @param GooglePrivacyDlpV2QuoteInfo
*/
public function setQuoteInfo(GooglePrivacyDlpV2QuoteInfo $quoteInfo)
{
$this->quoteInfo = $quoteInfo;
}
/**
* @return GooglePrivacyDlpV2QuoteInfo
*/
public function getQuoteInfo()
{
return $this->quoteInfo;
}
/**
* @param string
*/
public function setResourceVisibility($resourceVisibility)
{
$this->resourceVisibility = $resourceVisibility;
}
/**
* @return string
*/
public function getResourceVisibility()
{
return $this->resourceVisibility;
}
/**
* @param string
*/
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
/**
* @return string
*/
public function getTimestamp()
{
return $this->timestamp;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2DataProfileFinding::class, 'Google_Service_DLP_GooglePrivacyDlpV2DataProfileFinding');
60 changes: 60 additions & 0 deletions src/DLP/GooglePrivacyDlpV2DataProfileFindingLocation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?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\DLP;

class GooglePrivacyDlpV2DataProfileFindingLocation extends \Google\Model
{
/**
* @var string
*/
public $containerName;
protected $dataProfileFindingRecordLocationType = GooglePrivacyDlpV2DataProfileFindingRecordLocation::class;
protected $dataProfileFindingRecordLocationDataType = '';

/**
* @param string
*/
public function setContainerName($containerName)
{
$this->containerName = $containerName;
}
/**
* @return string
*/
public function getContainerName()
{
return $this->containerName;
}
/**
* @param GooglePrivacyDlpV2DataProfileFindingRecordLocation
*/
public function setDataProfileFindingRecordLocation(GooglePrivacyDlpV2DataProfileFindingRecordLocation $dataProfileFindingRecordLocation)
{
$this->dataProfileFindingRecordLocation = $dataProfileFindingRecordLocation;
}
/**
* @return GooglePrivacyDlpV2DataProfileFindingRecordLocation
*/
public function getDataProfileFindingRecordLocation()
{
return $this->dataProfileFindingRecordLocation;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2DataProfileFindingLocation::class, 'Google_Service_DLP_GooglePrivacyDlpV2DataProfileFindingLocation');
42 changes: 42 additions & 0 deletions src/DLP/GooglePrivacyDlpV2DataProfileFindingRecordLocation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?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\DLP;

class GooglePrivacyDlpV2DataProfileFindingRecordLocation extends \Google\Model
{
protected $fieldType = GooglePrivacyDlpV2FieldId::class;
protected $fieldDataType = '';

/**
* @param GooglePrivacyDlpV2FieldId
*/
public function setField(GooglePrivacyDlpV2FieldId $field)
{
$this->field = $field;
}
/**
* @return GooglePrivacyDlpV2FieldId
*/
public function getField()
{
return $this->field;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2DataProfileFindingRecordLocation::class, 'Google_Service_DLP_GooglePrivacyDlpV2DataProfileFindingRecordLocation');
16 changes: 16 additions & 0 deletions src/DLP/GooglePrivacyDlpV2Export.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class GooglePrivacyDlpV2Export extends \Google\Model
{
protected $profileTableType = GooglePrivacyDlpV2BigQueryTable::class;
protected $profileTableDataType = '';
protected $sampleFindingsTableType = GooglePrivacyDlpV2BigQueryTable::class;
protected $sampleFindingsTableDataType = '';

/**
* @param GooglePrivacyDlpV2BigQueryTable
Expand All @@ -36,6 +38,20 @@ public function getProfileTable()
{
return $this->profileTable;
}
/**
* @param GooglePrivacyDlpV2BigQueryTable
*/
public function setSampleFindingsTable(GooglePrivacyDlpV2BigQueryTable $sampleFindingsTable)
{
$this->sampleFindingsTable = $sampleFindingsTable;
}
/**
* @return GooglePrivacyDlpV2BigQueryTable
*/
public function getSampleFindingsTable()
{
return $this->sampleFindingsTable;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
Expand Down
16 changes: 16 additions & 0 deletions src/DLP/GooglePrivacyDlpV2FileStoreDataProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ class GooglePrivacyDlpV2FileStoreDataProfile extends \Google\Collection
* @var string
*/
public $resourceVisibility;
protected $sampleFindingsTableType = GooglePrivacyDlpV2BigQueryTable::class;
protected $sampleFindingsTableDataType = '';
protected $sensitivityScoreType = GooglePrivacyDlpV2SensitivityScore::class;
protected $sensitivityScoreDataType = '';
/**
Expand Down Expand Up @@ -407,6 +409,20 @@ public function getResourceVisibility()
{
return $this->resourceVisibility;
}
/**
* @param GooglePrivacyDlpV2BigQueryTable
*/
public function setSampleFindingsTable(GooglePrivacyDlpV2BigQueryTable $sampleFindingsTable)
{
$this->sampleFindingsTable = $sampleFindingsTable;
}
/**
* @return GooglePrivacyDlpV2BigQueryTable
*/
public function getSampleFindingsTable()
{
return $this->sampleFindingsTable;
}
/**
* @param GooglePrivacyDlpV2SensitivityScore
*/
Expand Down
16 changes: 16 additions & 0 deletions src/DLP/GooglePrivacyDlpV2TableDataProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ class GooglePrivacyDlpV2TableDataProfile extends \Google\Collection
* @var string
*/
public $rowCount;
protected $sampleFindingsTableType = GooglePrivacyDlpV2BigQueryTable::class;
protected $sampleFindingsTableDataType = '';
/**
* @var string
*/
Expand Down Expand Up @@ -421,6 +423,20 @@ public function getRowCount()
{
return $this->rowCount;
}
/**
* @param GooglePrivacyDlpV2BigQueryTable
*/
public function setSampleFindingsTable(GooglePrivacyDlpV2BigQueryTable $sampleFindingsTable)
{
$this->sampleFindingsTable = $sampleFindingsTable;
}
/**
* @return GooglePrivacyDlpV2BigQueryTable
*/
public function getSampleFindingsTable()
{
return $this->sampleFindingsTable;
}
/**
* @param string
*/
Expand Down

0 comments on commit 198cdcd

Please sign in to comment.