Skip to content

Commit 7079d39

Browse files
1 parent fb18bcc commit 7079d39

File tree

5 files changed

+105
-6
lines changed

5 files changed

+105
-6
lines changed

clients/google-api-services-dataplex/v1/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-dataplex</artifactId>
25-
<version>v1-rev20251109-2.0.0</version>
25+
<version>v1-rev20251113-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-dataplex:v1-rev20251109-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dataplex:v1-rev20251113-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-dataplex/v1/2.0.0/com/google/api/services/dataplex/v1/model/GoogleCloudDataplexV1Trigger.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class GoogleCloudDataplexV1Trigger extends com.google.api.client.js
3636
@com.google.api.client.util.Key
3737
private GoogleCloudDataplexV1TriggerOnDemand onDemand;
3838

39+
/**
40+
* The scan runs once, and does not create an associated ScanJob child resource.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudDataplexV1TriggerOneTime oneTime;
45+
3946
/**
4047
* The scan is scheduled to run periodically.
4148
* The value may be {@code null}.
@@ -60,6 +67,23 @@ public GoogleCloudDataplexV1Trigger setOnDemand(GoogleCloudDataplexV1TriggerOnDe
6067
return this;
6168
}
6269

70+
/**
71+
* The scan runs once, and does not create an associated ScanJob child resource.
72+
* @return value or {@code null} for none
73+
*/
74+
public GoogleCloudDataplexV1TriggerOneTime getOneTime() {
75+
return oneTime;
76+
}
77+
78+
/**
79+
* The scan runs once, and does not create an associated ScanJob child resource.
80+
* @param oneTime oneTime or {@code null} for none
81+
*/
82+
public GoogleCloudDataplexV1Trigger setOneTime(GoogleCloudDataplexV1TriggerOneTime oneTime) {
83+
this.oneTime = oneTime;
84+
return this;
85+
}
86+
6387
/**
6488
* The scan is scheduled to run periodically.
6589
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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.dataplex.v1.model;
18+
19+
/**
20+
* The scan runs once using create API.
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 Cloud Dataplex API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudDataplexV1TriggerOneTime extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Time to live for OneTime scans. default value is 24 hours, minimum value is 0
34+
* seconds, and maximum value is 365 days. The time is calculated from the data scan job
35+
* completion time. If value is set as 0 seconds, the scan will be immediately deleted upon job
36+
* completion, regardless of whether the job succeeded or failed.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private String ttlAfterScanCompletion;
41+
42+
/**
43+
* Optional. Time to live for OneTime scans. default value is 24 hours, minimum value is 0
44+
* seconds, and maximum value is 365 days. The time is calculated from the data scan job
45+
* completion time. If value is set as 0 seconds, the scan will be immediately deleted upon job
46+
* completion, regardless of whether the job succeeded or failed.
47+
* @return value or {@code null} for none
48+
*/
49+
public String getTtlAfterScanCompletion() {
50+
return ttlAfterScanCompletion;
51+
}
52+
53+
/**
54+
* Optional. Time to live for OneTime scans. default value is 24 hours, minimum value is 0
55+
* seconds, and maximum value is 365 days. The time is calculated from the data scan job
56+
* completion time. If value is set as 0 seconds, the scan will be immediately deleted upon job
57+
* completion, regardless of whether the job succeeded or failed.
58+
* @param ttlAfterScanCompletion ttlAfterScanCompletion or {@code null} for none
59+
*/
60+
public GoogleCloudDataplexV1TriggerOneTime setTtlAfterScanCompletion(String ttlAfterScanCompletion) {
61+
this.ttlAfterScanCompletion = ttlAfterScanCompletion;
62+
return this;
63+
}
64+
65+
@Override
66+
public GoogleCloudDataplexV1TriggerOneTime set(String fieldName, Object value) {
67+
return (GoogleCloudDataplexV1TriggerOneTime) super.set(fieldName, value);
68+
}
69+
70+
@Override
71+
public GoogleCloudDataplexV1TriggerOneTime clone() {
72+
return (GoogleCloudDataplexV1TriggerOneTime) super.clone();
73+
}
74+
75+
}

clients/google-api-services-dataplex/v1/2.0.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-dataplex</artifactId>
11-
<version>v1-rev20251109-2.0.0</version>
12-
<name>Cloud Dataplex API v1-rev20251109-2.0.0</name>
11+
<version>v1-rev20251113-2.0.0</version>
12+
<name>Cloud Dataplex API v1-rev20251113-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-dataplex/v1/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-dataplex</artifactId>
25-
<version>v1-rev20251109-2.0.0</version>
25+
<version>v1-rev20251113-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-dataplex:v1-rev20251109-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dataplex:v1-rev20251113-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)