Skip to content

Commit 3d3d93d

Browse files
1 parent 10219f1 commit 3d3d93d

23 files changed

+1502
-59
lines changed

clients/google-api-services-dlp/v2/2.0.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-rev20240901-2.0.0</version>
25+
<version>v2-rev20240916-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-dlp:v2-rev20240901-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dlp:v2-rev20240916-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 42 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6545,12 +6545,12 @@ public List setParent(java.lang.String parent) {
65456545
* or more restrictions. * Restrictions can be combined by `AND` or `OR` logical
65466546
* operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the
65476547
* form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The
6548-
* Google Cloud project ID. - `file_store_path` - The path like "gs://bucket". -
6549-
* `data_source_type` - The profile's data source type, like "google/storage/bucket". -
6550-
* `data_storage_location` - The location where the file store's data is stored, like "us-
6551-
* central1". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` -
6552-
* HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC
6553-
* status code as defined in
6548+
* Google Cloud project ID. - `account_id` - The AWS account ID. - `file_store_path` - The
6549+
* path like "gs://bucket". - `data_source_type` - The profile's data source type, like
6550+
* "google/storage/bucket". - `data_storage_location` - The location where the file
6551+
* store's data is stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW -
6552+
* `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED -
6553+
* `status_code` - an RPC status code as defined in
65546554
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The
65556555
* operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` *
65566556
* `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
@@ -6563,14 +6563,15 @@ public List setParent(java.lang.String parent) {
65636563
/** Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more
65646564
restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of
65656565
restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. *
6566-
Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The
6567-
path like "gs://bucket". - `data_source_type` - The profile's data source type, like
6568-
"google/storage/bucket". - `data_storage_location` - The location where the file store's data is
6569-
stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` -
6570-
HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code
6571-
as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The
6572-
operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id =
6573-
12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` *
6566+
Supported fields/values: - `project_id` - The Google Cloud project ID. - `account_id` - The AWS
6567+
account ID. - `file_store_path` - The path like "gs://bucket". - `data_source_type` - The profile's
6568+
data source type, like "google/storage/bucket". - `data_storage_location` - The location where the
6569+
file store's data is stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW -
6570+
`data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` -
6571+
an RPC status code as defined in
6572+
https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be
6573+
`=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND
6574+
sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` *
65746575
`file_store_path = "gs://mybucket"` The length of this field should be no more than 500 characters.
65756576
*/
65766577
public java.lang.String getFilter() {
@@ -6582,12 +6583,12 @@ public java.lang.String getFilter() {
65826583
* or more restrictions. * Restrictions can be combined by `AND` or `OR` logical
65836584
* operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the
65846585
* form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The
6585-
* Google Cloud project ID. - `file_store_path` - The path like "gs://bucket". -
6586-
* `data_source_type` - The profile's data source type, like "google/storage/bucket". -
6587-
* `data_storage_location` - The location where the file store's data is stored, like "us-
6588-
* central1". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` -
6589-
* HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC
6590-
* status code as defined in
6586+
* Google Cloud project ID. - `account_id` - The AWS account ID. - `file_store_path` - The
6587+
* path like "gs://bucket". - `data_source_type` - The profile's data source type, like
6588+
* "google/storage/bucket". - `data_storage_location` - The location where the file
6589+
* store's data is stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW -
6590+
* `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED -
6591+
* `status_code` - an RPC status code as defined in
65916592
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The
65926593
* operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` *
65936594
* `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
@@ -21618,12 +21619,12 @@ public List setParent(java.lang.String parent) {
2161821619
* or more restrictions. * Restrictions can be combined by `AND` or `OR` logical
2161921620
* operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the
2162021621
* form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The
21621-
* Google Cloud project ID. - `file_store_path` - The path like "gs://bucket". -
21622-
* `data_source_type` - The profile's data source type, like "google/storage/bucket". -
21623-
* `data_storage_location` - The location where the file store's data is stored, like "us-
21624-
* central1". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` -
21625-
* HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC
21626-
* status code as defined in
21622+
* Google Cloud project ID. - `account_id` - The AWS account ID. - `file_store_path` - The
21623+
* path like "gs://bucket". - `data_source_type` - The profile's data source type, like
21624+
* "google/storage/bucket". - `data_storage_location` - The location where the file
21625+
* store's data is stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW -
21626+
* `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED -
21627+
* `status_code` - an RPC status code as defined in
2162721628
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The
2162821629
* operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` *
2162921630
* `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
@@ -21636,14 +21637,15 @@ public List setParent(java.lang.String parent) {
2163621637
/** Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more
2163721638
restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of
2163821639
restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. *
21639-
Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The
21640-
path like "gs://bucket". - `data_source_type` - The profile's data source type, like
21641-
"google/storage/bucket". - `data_storage_location` - The location where the file store's data is
21642-
stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` -
21643-
HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code
21644-
as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The
21645-
operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id =
21646-
12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` *
21640+
Supported fields/values: - `project_id` - The Google Cloud project ID. - `account_id` - The AWS
21641+
account ID. - `file_store_path` - The path like "gs://bucket". - `data_source_type` - The profile's
21642+
data source type, like "google/storage/bucket". - `data_storage_location` - The location where the
21643+
file store's data is stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW -
21644+
`data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` -
21645+
an RPC status code as defined in
21646+
https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be
21647+
`=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND
21648+
sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` *
2164721649
`file_store_path = "gs://mybucket"` The length of this field should be no more than 500 characters.
2164821650
*/
2164921651
public java.lang.String getFilter() {
@@ -21655,12 +21657,12 @@ public java.lang.String getFilter() {
2165521657
* or more restrictions. * Restrictions can be combined by `AND` or `OR` logical
2165621658
* operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the
2165721659
* form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The
21658-
* Google Cloud project ID. - `file_store_path` - The path like "gs://bucket". -
21659-
* `data_source_type` - The profile's data source type, like "google/storage/bucket". -
21660-
* `data_storage_location` - The location where the file store's data is stored, like "us-
21661-
* central1". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` -
21662-
* HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC
21663-
* status code as defined in
21660+
* Google Cloud project ID. - `account_id` - The AWS account ID. - `file_store_path` - The
21661+
* path like "gs://bucket". - `data_source_type` - The profile's data source type, like
21662+
* "google/storage/bucket". - `data_storage_location` - The location where the file
21663+
* store's data is stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW -
21664+
* `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED -
21665+
* `status_code` - an RPC status code as defined in
2166421666
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The
2166521667
* operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` *
2166621668
* `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.dlp.v2.model;
18+
19+
/**
20+
* Amazon S3 bucket.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Sensitive Data Protection (DLP). For a detailed
24+
* explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GooglePrivacyDlpV2AmazonS3Bucket extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The AWS account.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GooglePrivacyDlpV2AwsAccount awsAccount;
39+
40+
/**
41+
* Required. The bucket name.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String bucketName;
46+
47+
/**
48+
* The AWS account.
49+
* @return value or {@code null} for none
50+
*/
51+
public GooglePrivacyDlpV2AwsAccount getAwsAccount() {
52+
return awsAccount;
53+
}
54+
55+
/**
56+
* The AWS account.
57+
* @param awsAccount awsAccount or {@code null} for none
58+
*/
59+
public GooglePrivacyDlpV2AmazonS3Bucket setAwsAccount(GooglePrivacyDlpV2AwsAccount awsAccount) {
60+
this.awsAccount = awsAccount;
61+
return this;
62+
}
63+
64+
/**
65+
* Required. The bucket name.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getBucketName() {
69+
return bucketName;
70+
}
71+
72+
/**
73+
* Required. The bucket name.
74+
* @param bucketName bucketName or {@code null} for none
75+
*/
76+
public GooglePrivacyDlpV2AmazonS3Bucket setBucketName(java.lang.String bucketName) {
77+
this.bucketName = bucketName;
78+
return this;
79+
}
80+
81+
@Override
82+
public GooglePrivacyDlpV2AmazonS3Bucket set(String fieldName, Object value) {
83+
return (GooglePrivacyDlpV2AmazonS3Bucket) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public GooglePrivacyDlpV2AmazonS3Bucket clone() {
88+
return (GooglePrivacyDlpV2AmazonS3Bucket) super.clone();
89+
}
90+
91+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.dlp.v2.model;
18+
19+
/**
20+
* Amazon S3 bucket conditions.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Sensitive Data Protection (DLP). For a detailed
24+
* explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GooglePrivacyDlpV2AmazonS3BucketConditions extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Bucket types that should be profiled. Optional. Defaults to TYPE_ALL_SUPPORTED if
35+
* unspecified.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.List<java.lang.String> bucketTypes;
40+
41+
/**
42+
* Optional. Object classes that should be profiled. Optional. Defaults to ALL_SUPPORTED_CLASSES
43+
* if unspecified.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.util.List<java.lang.String> objectStorageClasses;
48+
49+
/**
50+
* Optional. Bucket types that should be profiled. Optional. Defaults to TYPE_ALL_SUPPORTED if
51+
* unspecified.
52+
* @return value or {@code null} for none
53+
*/
54+
public java.util.List<java.lang.String> getBucketTypes() {
55+
return bucketTypes;
56+
}
57+
58+
/**
59+
* Optional. Bucket types that should be profiled. Optional. Defaults to TYPE_ALL_SUPPORTED if
60+
* unspecified.
61+
* @param bucketTypes bucketTypes or {@code null} for none
62+
*/
63+
public GooglePrivacyDlpV2AmazonS3BucketConditions setBucketTypes(java.util.List<java.lang.String> bucketTypes) {
64+
this.bucketTypes = bucketTypes;
65+
return this;
66+
}
67+
68+
/**
69+
* Optional. Object classes that should be profiled. Optional. Defaults to ALL_SUPPORTED_CLASSES
70+
* if unspecified.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.util.List<java.lang.String> getObjectStorageClasses() {
74+
return objectStorageClasses;
75+
}
76+
77+
/**
78+
* Optional. Object classes that should be profiled. Optional. Defaults to ALL_SUPPORTED_CLASSES
79+
* if unspecified.
80+
* @param objectStorageClasses objectStorageClasses or {@code null} for none
81+
*/
82+
public GooglePrivacyDlpV2AmazonS3BucketConditions setObjectStorageClasses(java.util.List<java.lang.String> objectStorageClasses) {
83+
this.objectStorageClasses = objectStorageClasses;
84+
return this;
85+
}
86+
87+
@Override
88+
public GooglePrivacyDlpV2AmazonS3BucketConditions set(String fieldName, Object value) {
89+
return (GooglePrivacyDlpV2AmazonS3BucketConditions) super.set(fieldName, value);
90+
}
91+
92+
@Override
93+
public GooglePrivacyDlpV2AmazonS3BucketConditions clone() {
94+
return (GooglePrivacyDlpV2AmazonS3BucketConditions) super.clone();
95+
}
96+
97+
}

0 commit comments

Comments
 (0)