diff --git a/Dlp/metadata/V2/Dlp.php b/Dlp/metadata/V2/Dlp.php index 237116b315a8..3ed2683588ef 100644 Binary files a/Dlp/metadata/V2/Dlp.php and b/Dlp/metadata/V2/Dlp.php differ diff --git a/Dlp/src/V2/BigQueryTableType.php b/Dlp/src/V2/BigQueryTableType.php index 476495f15848..92406d4bd856 100644 --- a/Dlp/src/V2/BigQueryTableType.php +++ b/Dlp/src/V2/BigQueryTableType.php @@ -7,8 +7,8 @@ use UnexpectedValueException; /** - * Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, - * SNAPSHOT, and non-BigLake external tables are not supported. + * Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and + * non-BigLake external tables are not supported. * * Protobuf type google.privacy.dlp.v2.BigQueryTableType */ @@ -32,11 +32,18 @@ class BigQueryTableType * Generated from protobuf enum BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2; */ const BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2; + /** + * A snapshot of a BigQuery table. + * + * Generated from protobuf enum BIG_QUERY_TABLE_TYPE_SNAPSHOT = 3; + */ + const BIG_QUERY_TABLE_TYPE_SNAPSHOT = 3; private static $valueToName = [ self::BIG_QUERY_TABLE_TYPE_UNSPECIFIED => 'BIG_QUERY_TABLE_TYPE_UNSPECIFIED', self::BIG_QUERY_TABLE_TYPE_TABLE => 'BIG_QUERY_TABLE_TYPE_TABLE', self::BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE => 'BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE', + self::BIG_QUERY_TABLE_TYPE_SNAPSHOT => 'BIG_QUERY_TABLE_TYPE_SNAPSHOT', ]; public static function name($value) diff --git a/Dlp/src/V2/BigQueryTableTypeCollection.php b/Dlp/src/V2/BigQueryTableTypeCollection.php index b6e5441108ea..28c960f7cf56 100644 --- a/Dlp/src/V2/BigQueryTableTypeCollection.php +++ b/Dlp/src/V2/BigQueryTableTypeCollection.php @@ -7,8 +7,8 @@ use UnexpectedValueException; /** - * Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, - * and SNAPSHOT are not supported. + * Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and + * non-BigLake external tables are not supported. * * Protobuf type google.privacy.dlp.v2.BigQueryTableTypeCollection */ diff --git a/Dlp/src/V2/Client/DlpServiceClient.php b/Dlp/src/V2/Client/DlpServiceClient.php index 2791f5142e59..f90d8b555805 100644 --- a/Dlp/src/V2/Client/DlpServiceClient.php +++ b/Dlp/src/V2/Client/DlpServiceClient.php @@ -108,13 +108,9 @@ use GuzzleHttp\Promise\PromiseInterface; /** - * Service Description: The Cloud Data Loss Prevention (DLP) API is a service that allows clients - * to detect the presence of Personally Identifiable Information (PII) and other - * privacy-sensitive data in user-supplied, unstructured data streams, like text - * blocks or images. - * The service also includes methods for sensitive data redaction and - * scheduling of data scans on Google Cloud Platform based data sets. - * + * Service Description: Sensitive Data Protection provides access to a powerful sensitive data + * inspection, classification, and de-identification platform that works + * on text, images, and Google Cloud storage repositories. * To learn more about concepts and find how-to guides see * https://cloud.google.com/sensitive-data-protection/docs/. * diff --git a/Dlp/src/V2/ColumnDataProfile.php b/Dlp/src/V2/ColumnDataProfile.php index 6afebd01c479..31666dd0d547 100644 --- a/Dlp/src/V2/ColumnDataProfile.php +++ b/Dlp/src/V2/ColumnDataProfile.php @@ -59,21 +59,21 @@ class ColumnDataProfile extends \Google\Protobuf\Internal\Message */ protected $dataset_project_id = ''; /** - * The BigQuery location where the dataset's data is stored. + * If supported, the location where the dataset's data is stored. * See https://cloud.google.com/bigquery/docs/locations for supported - * locations. + * BigQuery locations. * * Generated from protobuf field string dataset_location = 20; */ protected $dataset_location = ''; /** - * The BigQuery dataset ID. + * The BigQuery dataset ID, if the resource profiled is a BigQuery table. * * Generated from protobuf field string dataset_id = 21; */ protected $dataset_id = ''; /** - * The BigQuery table ID. + * The table ID. * * Generated from protobuf field string table_id = 22; */ @@ -166,13 +166,13 @@ class ColumnDataProfile extends \Google\Protobuf\Internal\Message * @type string $dataset_project_id * The Google Cloud project ID that owns the profiled resource. * @type string $dataset_location - * The BigQuery location where the dataset's data is stored. + * If supported, the location where the dataset's data is stored. * See https://cloud.google.com/bigquery/docs/locations for supported - * locations. + * BigQuery locations. * @type string $dataset_id - * The BigQuery dataset ID. + * The BigQuery dataset ID, if the resource profiled is a BigQuery table. * @type string $table_id - * The BigQuery table ID. + * The table ID. * @type string $column * The name of the column. * @type \Google\Cloud\Dlp\V2\SensitivityScore $sensitivity_score @@ -410,9 +410,9 @@ public function setDatasetProjectId($var) } /** - * The BigQuery location where the dataset's data is stored. + * If supported, the location where the dataset's data is stored. * See https://cloud.google.com/bigquery/docs/locations for supported - * locations. + * BigQuery locations. * * Generated from protobuf field string dataset_location = 20; * @return string @@ -423,9 +423,9 @@ public function getDatasetLocation() } /** - * The BigQuery location where the dataset's data is stored. + * If supported, the location where the dataset's data is stored. * See https://cloud.google.com/bigquery/docs/locations for supported - * locations. + * BigQuery locations. * * Generated from protobuf field string dataset_location = 20; * @param string $var @@ -440,7 +440,7 @@ public function setDatasetLocation($var) } /** - * The BigQuery dataset ID. + * The BigQuery dataset ID, if the resource profiled is a BigQuery table. * * Generated from protobuf field string dataset_id = 21; * @return string @@ -451,7 +451,7 @@ public function getDatasetId() } /** - * The BigQuery dataset ID. + * The BigQuery dataset ID, if the resource profiled is a BigQuery table. * * Generated from protobuf field string dataset_id = 21; * @param string $var @@ -466,7 +466,7 @@ public function setDatasetId($var) } /** - * The BigQuery table ID. + * The table ID. * * Generated from protobuf field string table_id = 22; * @return string @@ -477,7 +477,7 @@ public function getTableId() } /** - * The BigQuery table ID. + * The table ID. * * Generated from protobuf field string table_id = 22; * @param string $var diff --git a/Dlp/src/V2/TableDataProfile.php b/Dlp/src/V2/TableDataProfile.php index 504ea9e5786a..d7f617c0c325 100644 --- a/Dlp/src/V2/TableDataProfile.php +++ b/Dlp/src/V2/TableDataProfile.php @@ -48,19 +48,20 @@ class TableDataProfile extends \Google\Protobuf\Internal\Message */ protected $dataset_location = ''; /** - * If the resource is BigQuery, the dataset ID. + * If the resource is BigQuery, the dataset ID. * * Generated from protobuf field string dataset_id = 25; */ protected $dataset_id = ''; /** - * If the resource is BigQuery, the BigQuery table ID. + * The table ID. * * Generated from protobuf field string table_id = 26; */ protected $table_id = ''; /** - * The resource name of the resource profiled. + * The Cloud Asset Inventory resource that was profiled in order to generate + * this TableDataProfile. * https://cloud.google.com/apis/design/resource_names#full_resource_name * * Generated from protobuf field string full_resource = 3; @@ -196,11 +197,12 @@ class TableDataProfile extends \Google\Protobuf\Internal\Message * See https://cloud.google.com/bigquery/docs/locations for supported * locations. * @type string $dataset_id - * If the resource is BigQuery, the dataset ID. + * If the resource is BigQuery, the dataset ID. * @type string $table_id - * If the resource is BigQuery, the BigQuery table ID. + * The table ID. * @type string $full_resource - * The resource name of the resource profiled. + * The Cloud Asset Inventory resource that was profiled in order to generate + * this TableDataProfile. * https://cloud.google.com/apis/design/resource_names#full_resource_name * @type \Google\Cloud\Dlp\V2\ProfileStatus $profile_status * Success or error status from the most recent profile generation attempt. @@ -392,7 +394,7 @@ public function setDatasetLocation($var) } /** - * If the resource is BigQuery, the dataset ID. + * If the resource is BigQuery, the dataset ID. * * Generated from protobuf field string dataset_id = 25; * @return string @@ -403,7 +405,7 @@ public function getDatasetId() } /** - * If the resource is BigQuery, the dataset ID. + * If the resource is BigQuery, the dataset ID. * * Generated from protobuf field string dataset_id = 25; * @param string $var @@ -418,7 +420,7 @@ public function setDatasetId($var) } /** - * If the resource is BigQuery, the BigQuery table ID. + * The table ID. * * Generated from protobuf field string table_id = 26; * @return string @@ -429,7 +431,7 @@ public function getTableId() } /** - * If the resource is BigQuery, the BigQuery table ID. + * The table ID. * * Generated from protobuf field string table_id = 26; * @param string $var @@ -444,7 +446,8 @@ public function setTableId($var) } /** - * The resource name of the resource profiled. + * The Cloud Asset Inventory resource that was profiled in order to generate + * this TableDataProfile. * https://cloud.google.com/apis/design/resource_names#full_resource_name * * Generated from protobuf field string full_resource = 3; @@ -456,7 +459,8 @@ public function getFullResource() } /** - * The resource name of the resource profiled. + * The Cloud Asset Inventory resource that was profiled in order to generate + * this TableDataProfile. * https://cloud.google.com/apis/design/resource_names#full_resource_name * * Generated from protobuf field string full_resource = 3;