Skip to content

Commit

Permalink
Regenerate dlp client (#5305)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Jun 28, 2024
1 parent 55bd20f commit c501621
Show file tree
Hide file tree
Showing 13 changed files with 1,205 additions and 0 deletions.
114 changes: 114 additions & 0 deletions src/DLP.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class DLP extends \Google\Service
public $organizations_locations_deidentifyTemplates;
public $organizations_locations_discoveryConfigs;
public $organizations_locations_dlpJobs;
public $organizations_locations_fileStoreDataProfiles;
public $organizations_locations_inspectTemplates;
public $organizations_locations_jobTriggers;
public $organizations_locations_projectDataProfiles;
Expand All @@ -66,6 +67,7 @@ class DLP extends \Google\Service
public $projects_locations_deidentifyTemplates;
public $projects_locations_discoveryConfigs;
public $projects_locations_dlpJobs;
public $projects_locations_fileStoreDataProfiles;
public $projects_locations_image;
public $projects_locations_inspectTemplates;
public $projects_locations_jobTriggers;
Expand Down Expand Up @@ -617,6 +619,62 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
]
]
);
$this->organizations_locations_fileStoreDataProfiles = new DLP\Resource\OrganizationsLocationsFileStoreDataProfiles(
$this,
$this->serviceName,
'fileStoreDataProfiles',
[
'methods' => [
'delete' => [
'path' => 'v2/{+name}',
'httpMethod' => 'DELETE',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'get' => [
'path' => 'v2/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'list' => [
'path' => 'v2/{+parent}/fileStoreDataProfiles',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'filter' => [
'location' => 'query',
'type' => 'string',
],
'orderBy' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
$this->organizations_locations_inspectTemplates = new DLP\Resource\OrganizationsLocationsInspectTemplates(
$this,
$this->serviceName,
Expand Down Expand Up @@ -1853,6 +1911,62 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
]
]
);
$this->projects_locations_fileStoreDataProfiles = new DLP\Resource\ProjectsLocationsFileStoreDataProfiles(
$this,
$this->serviceName,
'fileStoreDataProfiles',
[
'methods' => [
'delete' => [
'path' => 'v2/{+name}',
'httpMethod' => 'DELETE',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'get' => [
'path' => 'v2/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'list' => [
'path' => 'v2/{+parent}/fileStoreDataProfiles',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'filter' => [
'location' => 'query',
'type' => 'string',
],
'orderBy' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
$this->projects_locations_image = new DLP\Resource\ProjectsLocationsImage(
$this,
$this->serviceName,
Expand Down
16 changes: 16 additions & 0 deletions src/DLP/GooglePrivacyDlpV2DataProfileBigQueryRowSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class GooglePrivacyDlpV2DataProfileBigQueryRowSchema extends \Google\Model
{
protected $columnProfileType = GooglePrivacyDlpV2ColumnDataProfile::class;
protected $columnProfileDataType = '';
protected $fileStoreProfileType = GooglePrivacyDlpV2FileStoreDataProfile::class;
protected $fileStoreProfileDataType = '';
protected $tableProfileType = GooglePrivacyDlpV2TableDataProfile::class;
protected $tableProfileDataType = '';

Expand All @@ -38,6 +40,20 @@ public function getColumnProfile()
{
return $this->columnProfile;
}
/**
* @param GooglePrivacyDlpV2FileStoreDataProfile
*/
public function setFileStoreProfile(GooglePrivacyDlpV2FileStoreDataProfile $fileStoreProfile)
{
$this->fileStoreProfile = $fileStoreProfile;
}
/**
* @return GooglePrivacyDlpV2FileStoreDataProfile
*/
public function getFileStoreProfile()
{
return $this->fileStoreProfile;
}
/**
* @param GooglePrivacyDlpV2TableDataProfile
*/
Expand Down
16 changes: 16 additions & 0 deletions src/DLP/GooglePrivacyDlpV2DataProfilePubSubMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class GooglePrivacyDlpV2DataProfilePubSubMessage extends \Google\Model
* @var string
*/
public $event;
protected $fileStoreProfileType = GooglePrivacyDlpV2FileStoreDataProfile::class;
protected $fileStoreProfileDataType = '';
protected $profileType = GooglePrivacyDlpV2TableDataProfile::class;
protected $profileDataType = '';

Expand All @@ -40,6 +42,20 @@ public function getEvent()
{
return $this->event;
}
/**
* @param GooglePrivacyDlpV2FileStoreDataProfile
*/
public function setFileStoreProfile(GooglePrivacyDlpV2FileStoreDataProfile $fileStoreProfile)
{
$this->fileStoreProfile = $fileStoreProfile;
}
/**
* @return GooglePrivacyDlpV2FileStoreDataProfile
*/
public function getFileStoreProfile()
{
return $this->fileStoreProfile;
}
/**
* @param GooglePrivacyDlpV2TableDataProfile
*/
Expand Down
18 changes: 18 additions & 0 deletions src/DLP/GooglePrivacyDlpV2Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class GooglePrivacyDlpV2Error extends \Google\Collection
protected $collection_key = 'timestamps';
protected $detailsType = GoogleRpcStatus::class;
protected $detailsDataType = '';
/**
* @var string
*/
public $extraInfo;
/**
* @var string[]
*/
Expand All @@ -41,6 +45,20 @@ public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setExtraInfo($extraInfo)
{
$this->extraInfo = $extraInfo;
}
/**
* @return string
*/
public function getExtraInfo()
{
return $this->extraInfo;
}
/**
* @param string[]
*/
Expand Down
157 changes: 157 additions & 0 deletions src/DLP/GooglePrivacyDlpV2FileClusterSummary.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
<?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 GooglePrivacyDlpV2FileClusterSummary extends \Google\Collection
{
protected $collection_key = 'fileStoreInfoTypeSummaries';
protected $dataRiskLevelType = GooglePrivacyDlpV2DataRiskLevel::class;
protected $dataRiskLevelDataType = '';
protected $errorsType = GooglePrivacyDlpV2Error::class;
protected $errorsDataType = 'array';
protected $fileClusterTypeType = GooglePrivacyDlpV2FileClusterType::class;
protected $fileClusterTypeDataType = '';
protected $fileExtensionsScannedType = GooglePrivacyDlpV2FileExtensionInfo::class;
protected $fileExtensionsScannedDataType = 'array';
protected $fileExtensionsSeenType = GooglePrivacyDlpV2FileExtensionInfo::class;
protected $fileExtensionsSeenDataType = 'array';
protected $fileStoreInfoTypeSummariesType = GooglePrivacyDlpV2FileStoreInfoTypeSummary::class;
protected $fileStoreInfoTypeSummariesDataType = 'array';
/**
* @var bool
*/
public $noFilesExist;
protected $sensitivityScoreType = GooglePrivacyDlpV2SensitivityScore::class;
protected $sensitivityScoreDataType = '';

/**
* @param GooglePrivacyDlpV2DataRiskLevel
*/
public function setDataRiskLevel(GooglePrivacyDlpV2DataRiskLevel $dataRiskLevel)
{
$this->dataRiskLevel = $dataRiskLevel;
}
/**
* @return GooglePrivacyDlpV2DataRiskLevel
*/
public function getDataRiskLevel()
{
return $this->dataRiskLevel;
}
/**
* @param GooglePrivacyDlpV2Error[]
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return GooglePrivacyDlpV2Error[]
*/
public function getErrors()
{
return $this->errors;
}
/**
* @param GooglePrivacyDlpV2FileClusterType
*/
public function setFileClusterType(GooglePrivacyDlpV2FileClusterType $fileClusterType)
{
$this->fileClusterType = $fileClusterType;
}
/**
* @return GooglePrivacyDlpV2FileClusterType
*/
public function getFileClusterType()
{
return $this->fileClusterType;
}
/**
* @param GooglePrivacyDlpV2FileExtensionInfo[]
*/
public function setFileExtensionsScanned($fileExtensionsScanned)
{
$this->fileExtensionsScanned = $fileExtensionsScanned;
}
/**
* @return GooglePrivacyDlpV2FileExtensionInfo[]
*/
public function getFileExtensionsScanned()
{
return $this->fileExtensionsScanned;
}
/**
* @param GooglePrivacyDlpV2FileExtensionInfo[]
*/
public function setFileExtensionsSeen($fileExtensionsSeen)
{
$this->fileExtensionsSeen = $fileExtensionsSeen;
}
/**
* @return GooglePrivacyDlpV2FileExtensionInfo[]
*/
public function getFileExtensionsSeen()
{
return $this->fileExtensionsSeen;
}
/**
* @param GooglePrivacyDlpV2FileStoreInfoTypeSummary[]
*/
public function setFileStoreInfoTypeSummaries($fileStoreInfoTypeSummaries)
{
$this->fileStoreInfoTypeSummaries = $fileStoreInfoTypeSummaries;
}
/**
* @return GooglePrivacyDlpV2FileStoreInfoTypeSummary[]
*/
public function getFileStoreInfoTypeSummaries()
{
return $this->fileStoreInfoTypeSummaries;
}
/**
* @param bool
*/
public function setNoFilesExist($noFilesExist)
{
$this->noFilesExist = $noFilesExist;
}
/**
* @return bool
*/
public function getNoFilesExist()
{
return $this->noFilesExist;
}
/**
* @param GooglePrivacyDlpV2SensitivityScore
*/
public function setSensitivityScore(GooglePrivacyDlpV2SensitivityScore $sensitivityScore)
{
$this->sensitivityScore = $sensitivityScore;
}
/**
* @return GooglePrivacyDlpV2SensitivityScore
*/
public function getSensitivityScore()
{
return $this->sensitivityScore;
}
}

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

0 comments on commit c501621

Please sign in to comment.