Skip to content

Commit 8295878

Browse files
1 parent 082ed7f commit 8295878

9 files changed

Lines changed: 152 additions & 96 deletions

src/DLP/GooglePrivacyDlpV2RedactImageRequest.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ class GooglePrivacyDlpV2RedactImageRequest extends \Google\Collection
2222
protected $collection_key = 'imageRedactionConfigs';
2323
protected $byteItemType = GooglePrivacyDlpV2ByteContentItem::class;
2424
protected $byteItemDataType = '';
25+
/**
26+
* @var string
27+
*/
28+
public $deidentifyTemplate;
2529
protected $imageRedactionConfigsType = GooglePrivacyDlpV2ImageRedactionConfig::class;
2630
protected $imageRedactionConfigsDataType = 'array';
2731
/**
@@ -30,6 +34,10 @@ class GooglePrivacyDlpV2RedactImageRequest extends \Google\Collection
3034
public $includeFindings;
3135
protected $inspectConfigType = GooglePrivacyDlpV2InspectConfig::class;
3236
protected $inspectConfigDataType = '';
37+
/**
38+
* @var string
39+
*/
40+
public $inspectTemplate;
3341
/**
3442
* @var string
3543
*/
@@ -49,6 +57,20 @@ public function getByteItem()
4957
{
5058
return $this->byteItem;
5159
}
60+
/**
61+
* @param string
62+
*/
63+
public function setDeidentifyTemplate($deidentifyTemplate)
64+
{
65+
$this->deidentifyTemplate = $deidentifyTemplate;
66+
}
67+
/**
68+
* @return string
69+
*/
70+
public function getDeidentifyTemplate()
71+
{
72+
return $this->deidentifyTemplate;
73+
}
5274
/**
5375
* @param GooglePrivacyDlpV2ImageRedactionConfig[]
5476
*/
@@ -91,6 +113,20 @@ public function getInspectConfig()
91113
{
92114
return $this->inspectConfig;
93115
}
116+
/**
117+
* @param string
118+
*/
119+
public function setInspectTemplate($inspectTemplate)
120+
{
121+
$this->inspectTemplate = $inspectTemplate;
122+
}
123+
/**
124+
* @return string
125+
*/
126+
public function getInspectTemplate()
127+
{
128+
return $this->inspectTemplate;
129+
}
94130
/**
95131
* @param string
96132
*/

src/DLP/Resource/OrganizationsLocationsColumnDataProfiles.php

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,21 @@ public function get($name, $optParams = [])
5858
* expressions are made up of one or more restrictions. * Restrictions can be
5959
* combined by `AND` or `OR` logical operators. A sequence of restrictions
6060
* implicitly uses `AND`. * A restriction has the form of `{field} {operator}
61-
* {value}`. * Supported fields/values: - `table_data_profile_name` - The name
62-
* of the related table data profile. - `project_id` - The Google Cloud project
63-
* ID. (REQUIRED) - `dataset_id` - The BigQuery dataset ID. (REQUIRED) -
64-
* `table_id` - The BigQuery table ID. (REQUIRED) - `field_id` - The ID of the
65-
* BigQuery field. - `info_type` - The infotype detected in the resource. -
66-
* `sensitivity_level` - HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is
67-
* associated with this data. - `status_code` - an RPC status code as defined in
68-
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto *
69-
* The operator must be `=` for project_id, dataset_id, and table_id. Other
70-
* filters also support `!=`. Examples: * project_id = 12345 AND status_code = 1
71-
* * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND
72-
* info_type = STREET_ADDRESS The length of this field should be no more than
73-
* 500 characters.
61+
* {value}`. * Supported fields: - `table_data_profile_name`: The name of the
62+
* related table data profile - `project_id`: The Google Cloud project ID
63+
* (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`:
64+
* The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field -
65+
* `info_type`: The infotype detected in the resource - `sensitivity_level`:
66+
* HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this
67+
* data - `status_code`: An RPC status code as defined in
68+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto -
69+
* `profile_last_generated`: Date and time the profile was last generated * The
70+
* operator must be `=` for project_id, dataset_id, and table_id. Other filters
71+
* also support `!=`. The `profile_last_generated` filter also supports `<` and
72+
* `>`. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345
73+
* AND sensitivity_level = HIGH * project_id = 12345 AND info_type =
74+
* STREET_ADDRESS * profile_last_generated < "2025-01-01T00:00:00.000Z" The
75+
* length of this field should be no more than 500 characters.
7476
* @opt_param string orderBy Comma-separated list of fields to order by,
7577
* followed by `asc` or `desc` postfix. This list is case insensitive. The
7678
* default sorting order is ascending. Redundant space characters are

src/DLP/Resource/OrganizationsLocationsFileStoreDataProfiles.php

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,22 @@ public function get($name, $optParams = [])
7575
* Filter expressions are made up of one or more restrictions. * Restrictions
7676
* can be combined by `AND` or `OR` logical operators. A sequence of
7777
* restrictions implicitly uses `AND`. * A restriction has the form of `{field}
78-
* {operator} {value}`. * Supported fields/values: - `project_id` - The Google
79-
* Cloud project ID. - `account_id` - The AWS account ID. - `file_store_path` -
80-
* The path like "gs://bucket". - `data_source_type` - The profile's data source
81-
* type, like "google/storage/bucket". - `data_storage_location` - The location
82-
* where the file store's data is stored, like "us-central1". -
83-
* `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` -
84-
* HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`
85-
* - an RPC status code as defined in
86-
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto *
87-
* The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND
88-
* status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` *
89-
* `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path =
90-
* "gs://mybucket"` The length of this field should be no more than 500
91-
* characters.
78+
* {operator} {value}`. * Supported fields: - `project_id`: The Google Cloud
79+
* project ID - `account_id`: The AWS account ID - `file_store_path`: The path
80+
* like "gs://bucket" - `data_source_type`: The profile's data source type, like
81+
* "google/storage/bucket" - `data_storage_location`: The location where the
82+
* file store's data is stored, like "us-central1" - `sensitivity_level`:
83+
* HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW -
84+
* `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code
85+
* as defined in
86+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto -
87+
* `profile_last_generated`: Date and time the profile was last generated * The
88+
* operator must be `=` or `!=`. The `profile_last_generated` filter also
89+
* supports `<` and `>`. Examples: * `project_id = 12345 AND status_code = 1` *
90+
* `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
91+
* resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` *
92+
* `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this
93+
* field should be no more than 500 characters.
9294
* @opt_param string orderBy Optional. Comma-separated list of fields to order
9395
* by, followed by `asc` or `desc` postfix. This list is case insensitive. The
9496
* default sorting order is ascending. Redundant space characters are

src/DLP/Resource/OrganizationsLocationsProjectDataProfiles.php

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,25 @@ public function get($name, $optParams = [])
5656
* expressions are made up of one or more restrictions. * Restrictions can be
5757
* combined by `AND` or `OR` logical operators. A sequence of restrictions
5858
* implicitly uses `AND`. * A restriction has the form of `{field} {operator}
59-
* {value}`. * Supported fields/values: - `sensitivity_level` -
60-
* HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `status_code` -
61-
* an RPC status code as defined in
62-
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto *
63-
* The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND
64-
* status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` The
65-
* length of this field should be no more than 500 characters.
59+
* {value}`. * Supported fields: - `project_id`: the Google Cloud project ID -
60+
* `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW
61+
* - `status_code`: an RPC status code as defined in
62+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto -
63+
* `profile_last_generated`: Date and time the profile was last generated * The
64+
* operator must be `=` or `!=`. The `profile_last_generated` filter also
65+
* supports `<` and `>`. Examples: * `project_id = 12345 AND status_code = 1` *
66+
* `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated <
67+
* "2025-01-01T00:00:00.000Z"` The length of this field should be no more than
68+
* 500 characters.
6669
* @opt_param string orderBy Comma-separated list of fields to order by,
6770
* followed by `asc` or `desc` postfix. This list is case insensitive. The
6871
* default sorting order is ascending. Redundant space characters are
6972
* insignificant. Only one order field at a time is allowed. Examples: *
70-
* `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`:
73+
* `project_id` * `sensitivity_level desc` Supported fields: - `project_id`:
7174
* Google Cloud project ID - `sensitivity_level`: How sensitive the data in a
72-
* project is, at most. - `data_risk_level`: How much risk is associated with
73-
* this data. - `profile_last_generated`: When the profile was last updated in
74-
* epoch seconds.
75+
* project is, at most - `data_risk_level`: How much risk is associated with
76+
* this data - `profile_last_generated`: Date and time (in epoch seconds) the
77+
* profile was last generated
7578
* @opt_param int pageSize Size of the page. This value can be limited by the
7679
* server. If zero, server returns a page of max size 100.
7780
* @opt_param string pageToken Page token to continue retrieval.

src/DLP/Resource/OrganizationsLocationsTableDataProfiles.php

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,19 @@ public function get($name, $optParams = [])
7575
* expressions are made up of one or more restrictions. * Restrictions can be
7676
* combined by `AND` or `OR` logical operators. A sequence of restrictions
7777
* implicitly uses `AND`. * A restriction has the form of `{field} {operator}
78-
* {value}`. * Supported fields/values: - `project_id` - The Google Cloud
79-
* project ID. - `dataset_id` - The BigQuery dataset ID. - `table_id` - The ID
80-
* of the BigQuery table. - `sensitivity_level` - HIGH|MODERATE|LOW -
81-
* `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`:
82-
* PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in
83-
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto *
84-
* The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND
85-
* status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` *
86-
* `project_id = 12345 AND resource_visibility = PUBLIC` The length of this
87-
* field should be no more than 500 characters.
78+
* {value}`. * Supported fields: - `project_id`: The Google Cloud project ID -
79+
* `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery
80+
* table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`:
81+
* HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`:
82+
* an RPC status code as defined in
83+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto -
84+
* `profile_last_generated`: Date and time the profile was last generated * The
85+
* operator must be `=` or `!=`. The `profile_last_generated` filter also
86+
* supports `<` and `>`. Examples: * `project_id = 12345 AND status_code = 1` *
87+
* `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
88+
* resource_visibility = PUBLIC` * `profile_last_generated <
89+
* "2025-01-01T00:00:00.000Z"` The length of this field should be no more than
90+
* 500 characters.
8891
* @opt_param string orderBy Comma-separated list of fields to order by,
8992
* followed by `asc` or `desc` postfix. This list is case insensitive. The
9093
* default sorting order is ascending. Redundant space characters are

src/DLP/Resource/ProjectsLocationsColumnDataProfiles.php

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,21 @@ public function get($name, $optParams = [])
5858
* expressions are made up of one or more restrictions. * Restrictions can be
5959
* combined by `AND` or `OR` logical operators. A sequence of restrictions
6060
* implicitly uses `AND`. * A restriction has the form of `{field} {operator}
61-
* {value}`. * Supported fields/values: - `table_data_profile_name` - The name
62-
* of the related table data profile. - `project_id` - The Google Cloud project
63-
* ID. (REQUIRED) - `dataset_id` - The BigQuery dataset ID. (REQUIRED) -
64-
* `table_id` - The BigQuery table ID. (REQUIRED) - `field_id` - The ID of the
65-
* BigQuery field. - `info_type` - The infotype detected in the resource. -
66-
* `sensitivity_level` - HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is
67-
* associated with this data. - `status_code` - an RPC status code as defined in
68-
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto *
69-
* The operator must be `=` for project_id, dataset_id, and table_id. Other
70-
* filters also support `!=`. Examples: * project_id = 12345 AND status_code = 1
71-
* * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND
72-
* info_type = STREET_ADDRESS The length of this field should be no more than
73-
* 500 characters.
61+
* {value}`. * Supported fields: - `table_data_profile_name`: The name of the
62+
* related table data profile - `project_id`: The Google Cloud project ID
63+
* (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`:
64+
* The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field -
65+
* `info_type`: The infotype detected in the resource - `sensitivity_level`:
66+
* HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this
67+
* data - `status_code`: An RPC status code as defined in
68+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto -
69+
* `profile_last_generated`: Date and time the profile was last generated * The
70+
* operator must be `=` for project_id, dataset_id, and table_id. Other filters
71+
* also support `!=`. The `profile_last_generated` filter also supports `<` and
72+
* `>`. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345
73+
* AND sensitivity_level = HIGH * project_id = 12345 AND info_type =
74+
* STREET_ADDRESS * profile_last_generated < "2025-01-01T00:00:00.000Z" The
75+
* length of this field should be no more than 500 characters.
7476
* @opt_param string orderBy Comma-separated list of fields to order by,
7577
* followed by `asc` or `desc` postfix. This list is case insensitive. The
7678
* default sorting order is ascending. Redundant space characters are

src/DLP/Resource/ProjectsLocationsFileStoreDataProfiles.php

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,22 @@ public function get($name, $optParams = [])
7575
* Filter expressions are made up of one or more restrictions. * Restrictions
7676
* can be combined by `AND` or `OR` logical operators. A sequence of
7777
* restrictions implicitly uses `AND`. * A restriction has the form of `{field}
78-
* {operator} {value}`. * Supported fields/values: - `project_id` - The Google
79-
* Cloud project ID. - `account_id` - The AWS account ID. - `file_store_path` -
80-
* The path like "gs://bucket". - `data_source_type` - The profile's data source
81-
* type, like "google/storage/bucket". - `data_storage_location` - The location
82-
* where the file store's data is stored, like "us-central1". -
83-
* `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` -
84-
* HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`
85-
* - an RPC status code as defined in
86-
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto *
87-
* The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND
88-
* status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` *
89-
* `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path =
90-
* "gs://mybucket"` The length of this field should be no more than 500
91-
* characters.
78+
* {operator} {value}`. * Supported fields: - `project_id`: The Google Cloud
79+
* project ID - `account_id`: The AWS account ID - `file_store_path`: The path
80+
* like "gs://bucket" - `data_source_type`: The profile's data source type, like
81+
* "google/storage/bucket" - `data_storage_location`: The location where the
82+
* file store's data is stored, like "us-central1" - `sensitivity_level`:
83+
* HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW -
84+
* `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code
85+
* as defined in
86+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto -
87+
* `profile_last_generated`: Date and time the profile was last generated * The
88+
* operator must be `=` or `!=`. The `profile_last_generated` filter also
89+
* supports `<` and `>`. Examples: * `project_id = 12345 AND status_code = 1` *
90+
* `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
91+
* resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` *
92+
* `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this
93+
* field should be no more than 500 characters.
9294
* @opt_param string orderBy Optional. Comma-separated list of fields to order
9395
* by, followed by `asc` or `desc` postfix. This list is case insensitive. The
9496
* default sorting order is ascending. Redundant space characters are

src/DLP/Resource/ProjectsLocationsProjectDataProfiles.php

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,25 @@ public function get($name, $optParams = [])
5656
* expressions are made up of one or more restrictions. * Restrictions can be
5757
* combined by `AND` or `OR` logical operators. A sequence of restrictions
5858
* implicitly uses `AND`. * A restriction has the form of `{field} {operator}
59-
* {value}`. * Supported fields/values: - `sensitivity_level` -
60-
* HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `status_code` -
61-
* an RPC status code as defined in
62-
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto *
63-
* The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND
64-
* status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` The
65-
* length of this field should be no more than 500 characters.
59+
* {value}`. * Supported fields: - `project_id`: the Google Cloud project ID -
60+
* `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW
61+
* - `status_code`: an RPC status code as defined in
62+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto -
63+
* `profile_last_generated`: Date and time the profile was last generated * The
64+
* operator must be `=` or `!=`. The `profile_last_generated` filter also
65+
* supports `<` and `>`. Examples: * `project_id = 12345 AND status_code = 1` *
66+
* `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated <
67+
* "2025-01-01T00:00:00.000Z"` The length of this field should be no more than
68+
* 500 characters.
6669
* @opt_param string orderBy Comma-separated list of fields to order by,
6770
* followed by `asc` or `desc` postfix. This list is case insensitive. The
6871
* default sorting order is ascending. Redundant space characters are
6972
* insignificant. Only one order field at a time is allowed. Examples: *
70-
* `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`:
73+
* `project_id` * `sensitivity_level desc` Supported fields: - `project_id`:
7174
* Google Cloud project ID - `sensitivity_level`: How sensitive the data in a
72-
* project is, at most. - `data_risk_level`: How much risk is associated with
73-
* this data. - `profile_last_generated`: When the profile was last updated in
74-
* epoch seconds.
75+
* project is, at most - `data_risk_level`: How much risk is associated with
76+
* this data - `profile_last_generated`: Date and time (in epoch seconds) the
77+
* profile was last generated
7578
* @opt_param int pageSize Size of the page. This value can be limited by the
7679
* server. If zero, server returns a page of max size 100.
7780
* @opt_param string pageToken Page token to continue retrieval.

0 commit comments

Comments
 (0)