containerDetails = $containerDetails; } /** * @return GooglePrivacyDlpV2Container */ public function getContainerDetails() { return $this->containerDetails; } /** * Offset in bytes of the line, from the beginning of the file, where the * finding is located. Populate if the item being scanned is only part of a * bigger item, such as a shard of a file and you want to track the absolute * position of the finding. * * @param string $fileOffset */ public function setFileOffset($fileOffset) { $this->fileOffset = $fileOffset; } /** * @return string */ public function getFileOffset() { return $this->fileOffset; } /** * Labels to represent user provided metadata about the data being inspected. * If configured by the job, some key values may be required. The labels * associated with `Finding`'s produced by hybrid inspection. Label keys must * be between 1 and 63 characters long and must conform to the following * regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. Label values must be * between 0 and 63 characters long and must conform to the regular expression * `([a-z]([-a-z0-9]*[a-z0-9])?)?`. No more than 10 labels can be associated * with a given finding. Examples: * `"environment" : "production"` * * `"pipeline" : "etl"` * * @param string[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * Offset of the row for tables. Populate if the row(s) being scanned are part * of a bigger dataset and you want to keep track of their absolute position. * * @param string $rowOffset */ public function setRowOffset($rowOffset) { $this->rowOffset = $rowOffset; } /** * @return string */ public function getRowOffset() { return $this->rowOffset; } /** * If the container is a table, additional information to make findings * meaningful such as the columns that are primary keys. If not known ahead of * time, can also be set within each inspect hybrid call and the two will be * merged. Note that identifying_fields will only be stored to BigQuery, and * only if the BigQuery action has been included. * * @param GooglePrivacyDlpV2TableOptions $tableOptions */ public function setTableOptions(GooglePrivacyDlpV2TableOptions $tableOptions) { $this->tableOptions = $tableOptions; } /** * @return GooglePrivacyDlpV2TableOptions */ public function getTableOptions() { return $this->tableOptions; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GooglePrivacyDlpV2HybridFindingDetails::class, 'Google_Service_DLP_GooglePrivacyDlpV2HybridFindingDetails');