Skip to content

Commit 6c2e29e

Browse files
Regenerate dlp client (googleapis#6920)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-01-26 03:45:53,472 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py. On branch autosynth-dlp nothing to commit, working tree clean 2021-01-26 03:45:53,897 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git. DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git. 2021-01-26 03:45:54,286 synthtool [DEBUG] > Cleaning output directory. DEBUG:synthtool:Cleaning output directory. 2021-01-26 03:45:54,289 synthtool [DEBUG] > Installing dependencies. DEBUG:synthtool:Installing dependencies. 2021-01-26 03:45:55,958 synthtool [INFO] > Generating dlp v2. INFO:synthtool:Generating dlp v2. 2021-01-26 03:45:55,958 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 WARNING:root:object without properties GooglePrivacyDlpV2ActivateJobTriggerRequest: OrderedDict([(u'id', u'GooglePrivacyDlpV2ActivateJobTriggerRequest'), (u'properties', OrderedDict()), (u'description', u'Request message for ActivateJobTrigger.'), (u'type', u'object')]) WARNING:root:object without properties GooglePrivacyDlpV2CancelDlpJobRequest: OrderedDict([(u'properties', OrderedDict()), (u'type', u'object'), (u'description', u'The request message for canceling a DLP job.'), (u'id', u'GooglePrivacyDlpV2CancelDlpJobRequest')]) WARNING:root:object without properties GooglePrivacyDlpV2FinishDlpJobRequest: OrderedDict([(u'description', u'The request message for finishing a DLP hybrid job.'), (u'properties', OrderedDict()), (u'type', u'object'), (u'id', u'GooglePrivacyDlpV2FinishDlpJobRequest')]) WARNING:root:object without properties GooglePrivacyDlpV2HybridInspectResponse: OrderedDict([(u'id', u'GooglePrivacyDlpV2HybridInspectResponse'), (u'description', u'Quota exceeded errors will be thrown once quota has been met.'), (u'type', u'object'), (u'properties', OrderedDict())]) WARNING:root:object without properties GooglePrivacyDlpV2JobNotificationEmails: OrderedDict([(u'id', u'GooglePrivacyDlpV2JobNotificationEmails'), (u'description', u"Enable email notification to project owners and editors on jobs's completion/failure."), (u'type', u'object'), (u'properties', OrderedDict())]) WARNING:root:object without properties GooglePrivacyDlpV2LeaveUntransformed: OrderedDict([(u'type', u'object'), (u'properties', OrderedDict()), (u'id', u'GooglePrivacyDlpV2LeaveUntransformed'), (u'description', u'Skips the data without modifying it if the requested transformation would cause an error. For example, if a `DateShift` transformation were applied an an IP address, this mode would leave the IP address unchanged in the response.')]) WARNING:root:object without properties GooglePrivacyDlpV2Manual: OrderedDict([(u'description', u'Job trigger option for hybrid jobs. Jobs must be manually created and finished.'), (u'properties', OrderedDict()), (u'type', u'object'), (u'id', u'GooglePrivacyDlpV2Manual')]) WARNING:root:object without properties GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog: OrderedDict([(u'type', u'object'), (u'properties', OrderedDict()), (u'description', u'Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the results of the DlpJob will be applied to the entry for the resource scanned in Cloud Data Catalog. Any labels previously written by another DlpJob will be deleted. InfoType naming patterns are strictly enforced when using this feature. Note that the findings will be persisted in Cloud Data Catalog storage and are governed by Data Catalog service-specific policy, see https://cloud.google.com/terms/service-terms Only a single instance of this action can be specified and only allowed if all resources being scanned are BigQuery tables. Compatible with: Inspect'), (u'id', u'GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog')]) WARNING:root:object without properties GooglePrivacyDlpV2PublishSummaryToCscc: OrderedDict([(u'description', u'Publish the result summary of a DlpJob to the Cloud Security Command Center (CSCC Alpha). This action is only available for projects which are parts of an organization and whitelisted for the alpha Cloud Security Command Center. The action will publish count of finding instances and their info types. The summary of findings will be persisted in CSCC and are governed by CSCC service-specific policy, see https://cloud.google.com/terms/service-terms Only a single instance of this action can be specified. Compatible with: Inspect'), (u'id', u'GooglePrivacyDlpV2PublishSummaryToCscc'), (u'properties', OrderedDict()), (u'type', u'object')]) WARNING:root:object without properties GooglePrivacyDlpV2PublishToStackdriver: OrderedDict([(u'type', u'object'), (u'properties', OrderedDict()), (u'id', u'GooglePrivacyDlpV2PublishToStackdriver'), (u'description', u"Enable Stackdriver metric dlp.googleapis.com/finding_count. This will publish a metric to stack driver on each infotype requested and how many findings were found for it. CustomDetectors will be bucketed as 'Custom' under the Stackdriver label 'info_type'.")]) WARNING:root:object without properties GooglePrivacyDlpV2RedactConfig: OrderedDict([(u'id', u'GooglePrivacyDlpV2RedactConfig'), (u'properties', OrderedDict()), (u'description', u"Redact a given value. For example, if used with an `InfoTypeTransformation` transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the output would be 'My phone number is '."), (u'type', u'object')]) WARNING:root:object without properties GooglePrivacyDlpV2ReplaceWithInfoTypeConfig: OrderedDict([(u'type', u'object'), (u'properties', OrderedDict()), (u'description', u'Replace each matching finding with the name of the info_type.'), (u'id', u'GooglePrivacyDlpV2ReplaceWithInfoTypeConfig')]) WARNING:root:object without properties GooglePrivacyDlpV2SurrogateType: OrderedDict([(u'properties', OrderedDict()), (u'description', u'Message for detecting output from deidentification transformations such as [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). These types of transformations are those that perform pseudonymization, thereby producing a "surrogate" as output. This should be used in conjunction with a field on the transformation such as `surrogate_info_type`. This CustomInfoType does not support the use of `detection_rules`.'), (u'type', u'object'), (u'id', u'GooglePrivacyDlpV2SurrogateType')]) WARNING:root:object without properties GooglePrivacyDlpV2ThrowError: OrderedDict([(u'id', u'GooglePrivacyDlpV2ThrowError'), (u'description', u'Throw an error and fail the request when a transformation error occurs.'), (u'properties', OrderedDict()), (u'type', u'object')]) WARNING:root:object without properties GoogleProtobufEmpty: OrderedDict([(u'properties', OrderedDict()), (u'id', u'GoogleProtobufEmpty'), (u'description', u'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.'), (u'type', u'object')]) Writing json metadata to clients/google-api-services-dlp/v2.metadata.json 2021-01-26 03:45:58,544 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-dlp/synth.metadata. DEBUG:synthtool:Wrote metadata to clients/google-api-services-dlp/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/1a42608d-cd17-42ae-9390-c3421c65638c/targets - [ ] To automatically regenerate this PR, check this box.
1 parent c2a820b commit 6c2e29e

File tree

11 files changed

+6149
-12864
lines changed

11 files changed

+6149
-12864
lines changed

clients/google-api-services-dlp/v2.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-dlp",
5-
"version": "v2-rev20201231-1.31.0"
5+
"version": "v2-rev20210124-1.31.0"
66
}
77
}

clients/google-api-services-dlp/v2/1.31.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-dlp</artifactId>
25-
<version>v2-rev20201231-1.31.0</version>
25+
<version>v2-rev20210124-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-dlp:v2-rev20201231-1.31.0'
38+
compile 'com.google.apis:google-api-services-dlp:v2-rev20210124-1.31.0'
3939
}
4040
```
4141

clients/google-api-services-dlp/v2/1.31.0/com/google/api/services/dlp/v2/DLP.java

Lines changed: 1331 additions & 7105 deletions
Large diffs are not rendered by default.

clients/google-api-services-dlp/v2/1.31.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2CloudStorageOptions.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public final class GooglePrivacyDlpV2CloudStorageOptions extends com.google.api.
3333
/**
3434
* Max number of bytes to scan from a file. If a scanned file's size is bigger than this value
3535
* then the rest of the bytes are omitted. Only one of bytes_limit_per_file and
36-
* bytes_limit_per_file_percent can be specified.
36+
* bytes_limit_per_file_percent can be specified. Cannot be set if de-identification is requested.
3737
* The value may be {@code null}.
3838
*/
3939
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
@@ -43,7 +43,7 @@ public final class GooglePrivacyDlpV2CloudStorageOptions extends com.google.api.
4343
* Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned
4444
* is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
4545
* Defaults to 0. Only one of bytes_limit_per_file and bytes_limit_per_file_percent can be
46-
* specified.
46+
* specified. Cannot be set if de-identification is requested.
4747
* The value may be {@code null}.
4848
*/
4949
@com.google.api.client.util.Key
@@ -85,7 +85,7 @@ public final class GooglePrivacyDlpV2CloudStorageOptions extends com.google.api.
8585
/**
8686
* Max number of bytes to scan from a file. If a scanned file's size is bigger than this value
8787
* then the rest of the bytes are omitted. Only one of bytes_limit_per_file and
88-
* bytes_limit_per_file_percent can be specified.
88+
* bytes_limit_per_file_percent can be specified. Cannot be set if de-identification is requested.
8989
* @return value or {@code null} for none
9090
*/
9191
public java.lang.Long getBytesLimitPerFile() {
@@ -95,7 +95,7 @@ public java.lang.Long getBytesLimitPerFile() {
9595
/**
9696
* Max number of bytes to scan from a file. If a scanned file's size is bigger than this value
9797
* then the rest of the bytes are omitted. Only one of bytes_limit_per_file and
98-
* bytes_limit_per_file_percent can be specified.
98+
* bytes_limit_per_file_percent can be specified. Cannot be set if de-identification is requested.
9999
* @param bytesLimitPerFile bytesLimitPerFile or {@code null} for none
100100
*/
101101
public GooglePrivacyDlpV2CloudStorageOptions setBytesLimitPerFile(java.lang.Long bytesLimitPerFile) {
@@ -107,7 +107,7 @@ public GooglePrivacyDlpV2CloudStorageOptions setBytesLimitPerFile(java.lang.Long
107107
* Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned
108108
* is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
109109
* Defaults to 0. Only one of bytes_limit_per_file and bytes_limit_per_file_percent can be
110-
* specified.
110+
* specified. Cannot be set if de-identification is requested.
111111
* @return value or {@code null} for none
112112
*/
113113
public java.lang.Integer getBytesLimitPerFilePercent() {
@@ -118,7 +118,7 @@ public java.lang.Integer getBytesLimitPerFilePercent() {
118118
* Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned
119119
* is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit.
120120
* Defaults to 0. Only one of bytes_limit_per_file and bytes_limit_per_file_percent can be
121-
* specified.
121+
* specified. Cannot be set if de-identification is requested.
122122
* @param bytesLimitPerFilePercent bytesLimitPerFilePercent or {@code null} for none
123123
*/
124124
public GooglePrivacyDlpV2CloudStorageOptions setBytesLimitPerFilePercent(java.lang.Integer bytesLimitPerFilePercent) {

clients/google-api-services-dlp/v2/1.31.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2DeidentifyTemplate.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ public final class GooglePrivacyDlpV2DeidentifyTemplate extends com.google.api.c
6161

6262
/**
6363
* Output only. The template name. The template will have one of the following formats:
64-
* `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR
65-
* `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
64+
* `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID`.
6665
* The value may be {@code null}.
6766
*/
6867
@com.google.api.client.util.Key
@@ -145,8 +144,7 @@ public GooglePrivacyDlpV2DeidentifyTemplate setDisplayName(java.lang.String disp
145144

146145
/**
147146
* Output only. The template name. The template will have one of the following formats:
148-
* `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR
149-
* `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
147+
* `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID`.
150148
* @return value or {@code null} for none
151149
*/
152150
public java.lang.String getName() {
@@ -155,8 +153,7 @@ public java.lang.String getName() {
155153

156154
/**
157155
* Output only. The template name. The template will have one of the following formats:
158-
* `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR
159-
* `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
156+
* `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID`.
160157
* @param name name or {@code null} for none
161158
*/
162159
public GooglePrivacyDlpV2DeidentifyTemplate setName(java.lang.String name) {

clients/google-api-services-dlp/v2/1.31.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2FindingLimits.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
package com.google.api.services.dlp.v2.model;
1818

1919
/**
20-
* Configuration to control the number of findings returned.
20+
* Configuration to control the number of findings returned. Cannot be set if de-identification is
21+
* requested.
2122
*
2223
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2324
* transmitted over HTTP when working with the Cloud Data Loss Prevention (DLP) API. For a detailed

clients/google-api-services-dlp/v2/1.31.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2InspectTemplate.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ public final class GooglePrivacyDlpV2InspectTemplate extends com.google.api.clie
6262

6363
/**
6464
* Output only. The template name. The template will have one of the following formats:
65-
* `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR
66-
* `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
65+
* `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID`
6766
* The value may be {@code null}.
6867
*/
6968
@com.google.api.client.util.Key
@@ -146,8 +145,7 @@ public GooglePrivacyDlpV2InspectTemplate setInspectConfig(GooglePrivacyDlpV2Insp
146145

147146
/**
148147
* Output only. The template name. The template will have one of the following formats:
149-
* `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR
150-
* `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
148+
* `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID`
151149
* @return value or {@code null} for none
152150
*/
153151
public java.lang.String getName() {
@@ -156,8 +154,7 @@ public java.lang.String getName() {
156154

157155
/**
158156
* Output only. The template name. The template will have one of the following formats:
159-
* `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR
160-
* `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
157+
* `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID`
161158
* @param name name or {@code null} for none
162159
*/
163160
public GooglePrivacyDlpV2InspectTemplate setName(java.lang.String name) {

clients/google-api-services-dlp/v2/1.31.0/com/google/api/services/dlp/v2/model/GooglePrivacyDlpV2Schedule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.dlp.v2.model;
1818

1919
/**
20-
* Schedule for triggeredJobs.
20+
* Schedule for inspect job triggers.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Cloud Data Loss Prevention (DLP) API. For a detailed

clients/google-api-services-dlp/v2/1.31.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-dlp</artifactId>
11-
<version>v2-rev20201231-1.31.0</version>
12-
<name>Cloud Data Loss Prevention (DLP) API v2-rev20201231-1.31.0</name>
11+
<version>v2-rev20210124-1.31.0</version>
12+
<name>Cloud Data Loss Prevention (DLP) API v2-rev20210124-1.31.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)