Skip to content

Commit

Permalink
fix(dlp): update the API
Browse files Browse the repository at this point in the history
#### dlp:v2
The following keys were changed:
- schemas.GooglePrivacyDlpV2TimespanConfig.properties.endTime.description
- schemas.GooglePrivacyDlpV2TimespanConfig.properties.startTime.description
- schemas.GooglePrivacyDlpV2TimespanConfig.properties.timestampField.description
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 20, 2020
1 parent bead2da commit 22b1a56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions discovery/dlp-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3136,7 +3136,7 @@
}
}
},
"revision": "20200919",
"revision": "20201009",
"rootUrl": "https://dlp.googleapis.com/",
"schemas": {
"GooglePrivacyDlpV2Action": {
Expand Down Expand Up @@ -6931,18 +6931,18 @@
"type": "boolean"
},
"endTime": {
"description": "Exclude files or rows newer than this value. If set to zero, no upper time limit is applied.",
"description": "Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.",
"format": "google-datetime",
"type": "string"
},
"startTime": {
"description": "Exclude files or rows older than this value.",
"description": "Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.",
"format": "google-datetime",
"type": "string"
},
"timestampField": {
"$ref": "GooglePrivacyDlpV2FieldId",
"description": "Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp field are: `INTEGER`, `DATE`, `TIMESTAMP`, or `DATETIME` BigQuery column. For Datastore. Valid data types of the timestamp field are: `TIMESTAMP`. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid."
"description": "Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. For BigQuery: If this value is not specified and the table was modified between the given start and end times, the entire table will be scanned. If this value is specified, then rows are filtered based on the given start and end times. Rows with a `NULL` value in the provided BigQuery column are skipped. Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`, `TIMESTAMP`, and `DATETIME`. For Datastore: If this value is specified, then entities are filtered based on the given start and end times. If an entity does not contain the provided timestamp property or contains empty or invalid values, then it is included. Valid data types of the provided timestamp property are: `TIMESTAMP`."
}
},
"type": "object"
Expand Down
6 changes: 3 additions & 3 deletions src/apis/dlp/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2868,15 +2868,15 @@ export namespace dlp_v2 {
*/
enableAutoPopulationOfTimespanConfig?: boolean | null;
/**
* Exclude files or rows newer than this value. If set to zero, no upper time limit is applied.
* Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.
*/
endTime?: string | null;
/**
* Exclude files or rows older than this value.
* Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.
*/
startTime?: string | null;
/**
* Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. For BigQuery: Required to filter out rows based on the given start and end times. If not specified and the table was modified between the given start and end times, the entire table will be scanned. The valid data types of the timestamp field are: `INTEGER`, `DATE`, `TIMESTAMP`, or `DATETIME` BigQuery column. For Datastore. Valid data types of the timestamp field are: `TIMESTAMP`. Datastore entity will be scanned if the timestamp property does not exist or its value is empty or invalid.
* Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. For BigQuery: If this value is not specified and the table was modified between the given start and end times, the entire table will be scanned. If this value is specified, then rows are filtered based on the given start and end times. Rows with a `NULL` value in the provided BigQuery column are skipped. Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`, `TIMESTAMP`, and `DATETIME`. For Datastore: If this value is specified, then entities are filtered based on the given start and end times. If an entity does not contain the provided timestamp property or contains empty or invalid values, then it is included. Valid data types of the provided timestamp property are: `TIMESTAMP`.
*/
timestampField?: Schema$GooglePrivacyDlpV2FieldId;
}
Expand Down

0 comments on commit 22b1a56

Please sign in to comment.