Skip to content

Commit

Permalink
Regenerate dlp client (#5609)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Sep 22, 2024
1 parent d7753f5 commit 60803ab
Show file tree
Hide file tree
Showing 20 changed files with 906 additions and 14 deletions.
60 changes: 60 additions & 0 deletions src/DLP/GooglePrivacyDlpV2AmazonS3Bucket.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 GooglePrivacyDlpV2AmazonS3Bucket extends \Google\Model
{
protected $awsAccountType = GooglePrivacyDlpV2AwsAccount::class;
protected $awsAccountDataType = '';
/**
* @var string
*/
public $bucketName;

/**
* @param GooglePrivacyDlpV2AwsAccount
*/
public function setAwsAccount(GooglePrivacyDlpV2AwsAccount $awsAccount)
{
$this->awsAccount = $awsAccount;
}
/**
* @return GooglePrivacyDlpV2AwsAccount
*/
public function getAwsAccount()
{
return $this->awsAccount;
}
/**
* @param string
*/
public function setBucketName($bucketName)
{
$this->bucketName = $bucketName;
}
/**
* @return string
*/
public function getBucketName()
{
return $this->bucketName;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2AmazonS3Bucket::class, 'Google_Service_DLP_GooglePrivacyDlpV2AmazonS3Bucket');
63 changes: 63 additions & 0 deletions src/DLP/GooglePrivacyDlpV2AmazonS3BucketConditions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?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 GooglePrivacyDlpV2AmazonS3BucketConditions extends \Google\Collection
{
protected $collection_key = 'objectStorageClasses';
/**
* @var string[]
*/
public $bucketTypes;
/**
* @var string[]
*/
public $objectStorageClasses;

/**
* @param string[]
*/
public function setBucketTypes($bucketTypes)
{
$this->bucketTypes = $bucketTypes;
}
/**
* @return string[]
*/
public function getBucketTypes()
{
return $this->bucketTypes;
}
/**
* @param string[]
*/
public function setObjectStorageClasses($objectStorageClasses)
{
$this->objectStorageClasses = $objectStorageClasses;
}
/**
* @return string[]
*/
public function getObjectStorageClasses()
{
return $this->objectStorageClasses;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2AmazonS3BucketConditions::class, 'Google_Service_DLP_GooglePrivacyDlpV2AmazonS3BucketConditions');
60 changes: 60 additions & 0 deletions src/DLP/GooglePrivacyDlpV2AmazonS3BucketRegex.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 GooglePrivacyDlpV2AmazonS3BucketRegex extends \Google\Model
{
protected $awsAccountRegexType = GooglePrivacyDlpV2AwsAccountRegex::class;
protected $awsAccountRegexDataType = '';
/**
* @var string
*/
public $bucketNameRegex;

/**
* @param GooglePrivacyDlpV2AwsAccountRegex
*/
public function setAwsAccountRegex(GooglePrivacyDlpV2AwsAccountRegex $awsAccountRegex)
{
$this->awsAccountRegex = $awsAccountRegex;
}
/**
* @return GooglePrivacyDlpV2AwsAccountRegex
*/
public function getAwsAccountRegex()
{
return $this->awsAccountRegex;
}
/**
* @param string
*/
public function setBucketNameRegex($bucketNameRegex)
{
$this->bucketNameRegex = $bucketNameRegex;
}
/**
* @return string
*/
public function getBucketNameRegex()
{
return $this->bucketNameRegex;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2AmazonS3BucketRegex::class, 'Google_Service_DLP_GooglePrivacyDlpV2AmazonS3BucketRegex');
44 changes: 44 additions & 0 deletions src/DLP/GooglePrivacyDlpV2AwsAccount.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?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 GooglePrivacyDlpV2AwsAccount extends \Google\Model
{
/**
* @var string
*/
public $accountId;

/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2AwsAccount::class, 'Google_Service_DLP_GooglePrivacyDlpV2AwsAccount');
44 changes: 44 additions & 0 deletions src/DLP/GooglePrivacyDlpV2AwsAccountRegex.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?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 GooglePrivacyDlpV2AwsAccountRegex extends \Google\Model
{
/**
* @var string
*/
public $accountIdRegex;

/**
* @param string
*/
public function setAccountIdRegex($accountIdRegex)
{
$this->accountIdRegex = $accountIdRegex;
}
/**
* @return string
*/
public function getAccountIdRegex()
{
return $this->accountIdRegex;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2AwsAccountRegex::class, 'Google_Service_DLP_GooglePrivacyDlpV2AwsAccountRegex');
62 changes: 62 additions & 0 deletions src/DLP/GooglePrivacyDlpV2AwsDiscoveryStartingLocation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?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 GooglePrivacyDlpV2AwsDiscoveryStartingLocation extends \Google\Model
{
/**
* @var string
*/
public $accountId;
/**
* @var bool
*/
public $allAssetInventoryAssets;

/**
* @param string
*/
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
/**
* @return string
*/
public function getAccountId()
{
return $this->accountId;
}
/**
* @param bool
*/
public function setAllAssetInventoryAssets($allAssetInventoryAssets)
{
$this->allAssetInventoryAssets = $allAssetInventoryAssets;
}
/**
* @return bool
*/
public function getAllAssetInventoryAssets()
{
return $this->allAssetInventoryAssets;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2AwsDiscoveryStartingLocation::class, 'Google_Service_DLP_GooglePrivacyDlpV2AwsDiscoveryStartingLocation');
16 changes: 16 additions & 0 deletions src/DLP/GooglePrivacyDlpV2DataProfileJobConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class GooglePrivacyDlpV2DataProfileJobConfig extends \Google\Collection
public $inspectTemplates;
protected $locationType = GooglePrivacyDlpV2DataProfileLocation::class;
protected $locationDataType = '';
protected $otherCloudStartingLocationType = GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation::class;
protected $otherCloudStartingLocationDataType = '';
/**
* @var string
*/
Expand Down Expand Up @@ -75,6 +77,20 @@ public function getLocation()
{
return $this->location;
}
/**
* @param GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation
*/
public function setOtherCloudStartingLocation(GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation $otherCloudStartingLocation)
{
$this->otherCloudStartingLocation = $otherCloudStartingLocation;
}
/**
* @return GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation
*/
public function getOtherCloudStartingLocation()
{
return $this->otherCloudStartingLocation;
}
/**
* @param string
*/
Expand Down
16 changes: 16 additions & 0 deletions src/DLP/GooglePrivacyDlpV2DiscoveryConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class GooglePrivacyDlpV2DiscoveryConfig extends \Google\Collection
public $name;
protected $orgConfigType = GooglePrivacyDlpV2OrgConfig::class;
protected $orgConfigDataType = '';
protected $otherCloudStartingLocationType = GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation::class;
protected $otherCloudStartingLocationDataType = '';
/**
* @var string
*/
Expand Down Expand Up @@ -169,6 +171,20 @@ public function getOrgConfig()
{
return $this->orgConfig;
}
/**
* @param GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation
*/
public function setOtherCloudStartingLocation(GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation $otherCloudStartingLocation)
{
$this->otherCloudStartingLocation = $otherCloudStartingLocation;
}
/**
* @return GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation
*/
public function getOtherCloudStartingLocation()
{
return $this->otherCloudStartingLocation;
}
/**
* @param string
*/
Expand Down
Loading

0 comments on commit 60803ab

Please sign in to comment.