diff --git a/Dlp/metadata/V2/Dlp.php b/Dlp/metadata/V2/Dlp.php index cef4c57832e4..8fb9e61c9f86 100644 Binary files a/Dlp/metadata/V2/Dlp.php and b/Dlp/metadata/V2/Dlp.php differ diff --git a/Dlp/src/V2/FileStoreCollection.php b/Dlp/src/V2/FileStoreCollection.php index 68352641d24a..5ab9bde7b30e 100644 --- a/Dlp/src/V2/FileStoreCollection.php +++ b/Dlp/src/V2/FileStoreCollection.php @@ -9,7 +9,7 @@ use Google\Protobuf\Internal\GPBUtil; /** - * Match file stores (e.g. buckets) using regex filters. + * Match file stores (e.g. buckets) using filters. * * Generated from protobuf message google.privacy.dlp.v2.FileStoreCollection */ diff --git a/Dlp/src/V2/SaveToGcsFindingsOutput.php b/Dlp/src/V2/SaveToGcsFindingsOutput.php new file mode 100644 index 000000000000..590f8d557ecd --- /dev/null +++ b/Dlp/src/V2/SaveToGcsFindingsOutput.php @@ -0,0 +1,69 @@ +google.privacy.dlp.v2.SaveToGcsFindingsOutput + */ +class SaveToGcsFindingsOutput extends \Google\Protobuf\Internal\Message +{ + /** + * List of findings. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.Finding findings = 1; + */ + private $findings; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Cloud\Dlp\V2\Finding>|\Google\Protobuf\Internal\RepeatedField $findings + * List of findings. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * List of findings. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.Finding findings = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getFindings() + { + return $this->findings; + } + + /** + * List of findings. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.Finding findings = 1; + * @param array<\Google\Cloud\Dlp\V2\Finding>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setFindings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\Finding::class); + $this->findings = $arr; + + return $this; + } + +} +