Skip to content

Commit 1831f37

Browse files
1 parent 954b502 commit 1831f37

File tree

8 files changed

+442
-6
lines changed

8 files changed

+442
-6
lines changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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.bigquerydatatransfer.v1.model;
18+
19+
/**
20+
* Options customizing EventDriven transfers schedule.
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 BigQuery Data Transfer API. 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 EventDrivenSchedule extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Pub/Sub subscription name used to receive events. Only Google Cloud Storage data source support
35+
* this option. Format: projects/{project}/subscriptions/{subscription}
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String pubsubSubscription;
40+
41+
/**
42+
* Pub/Sub subscription name used to receive events. Only Google Cloud Storage data source support
43+
* this option. Format: projects/{project}/subscriptions/{subscription}
44+
* @return value or {@code null} for none
45+
*/
46+
public java.lang.String getPubsubSubscription() {
47+
return pubsubSubscription;
48+
}
49+
50+
/**
51+
* Pub/Sub subscription name used to receive events. Only Google Cloud Storage data source support
52+
* this option. Format: projects/{project}/subscriptions/{subscription}
53+
* @param pubsubSubscription pubsubSubscription or {@code null} for none
54+
*/
55+
public EventDrivenSchedule setPubsubSubscription(java.lang.String pubsubSubscription) {
56+
this.pubsubSubscription = pubsubSubscription;
57+
return this;
58+
}
59+
60+
@Override
61+
public EventDrivenSchedule set(String fieldName, Object value) {
62+
return (EventDrivenSchedule) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public EventDrivenSchedule clone() {
67+
return (EventDrivenSchedule) super.clone();
68+
}
69+
70+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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.bigquerydatatransfer.v1.model;
18+
19+
/**
20+
* Options customizing manual transfers schedule.
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 BigQuery Data Transfer API. 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 ManualSchedule extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public ManualSchedule set(String fieldName, Object value) {
35+
return (ManualSchedule) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public ManualSchedule clone() {
40+
return (ManualSchedule) super.clone();
41+
}
42+
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
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.bigquerydatatransfer.v1.model;
18+
19+
/**
20+
* V2 options customizing different types of data transfer schedule. This field supports existing
21+
* time-based and manual transfer schedule. Also supports Event-Driven transfer schedule.
22+
* ScheduleOptionsV2 cannot be used together with ScheduleOptions/Schedule.
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the BigQuery Data Transfer API. For a detailed
26+
* explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class ScheduleOptionsV2 extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* Event driven transfer schedule options. If set, the transfer will be scheduled upon events
37+
* arrial.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private EventDrivenSchedule eventDrivenSchedule;
42+
43+
/**
44+
* Manual transfer schedule. If set, the transfer run will not be auto-scheduled by the system,
45+
* unless the client invokes StartManualTransferRuns. This is equivalent to
46+
* disable_auto_scheduling = true.
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private ManualSchedule manualSchedule;
51+
52+
/**
53+
* Time based transfer schedule options. This is the default schedule option.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private TimeBasedSchedule timeBasedSchedule;
58+
59+
/**
60+
* Event driven transfer schedule options. If set, the transfer will be scheduled upon events
61+
* arrial.
62+
* @return value or {@code null} for none
63+
*/
64+
public EventDrivenSchedule getEventDrivenSchedule() {
65+
return eventDrivenSchedule;
66+
}
67+
68+
/**
69+
* Event driven transfer schedule options. If set, the transfer will be scheduled upon events
70+
* arrial.
71+
* @param eventDrivenSchedule eventDrivenSchedule or {@code null} for none
72+
*/
73+
public ScheduleOptionsV2 setEventDrivenSchedule(EventDrivenSchedule eventDrivenSchedule) {
74+
this.eventDrivenSchedule = eventDrivenSchedule;
75+
return this;
76+
}
77+
78+
/**
79+
* Manual transfer schedule. If set, the transfer run will not be auto-scheduled by the system,
80+
* unless the client invokes StartManualTransferRuns. This is equivalent to
81+
* disable_auto_scheduling = true.
82+
* @return value or {@code null} for none
83+
*/
84+
public ManualSchedule getManualSchedule() {
85+
return manualSchedule;
86+
}
87+
88+
/**
89+
* Manual transfer schedule. If set, the transfer run will not be auto-scheduled by the system,
90+
* unless the client invokes StartManualTransferRuns. This is equivalent to
91+
* disable_auto_scheduling = true.
92+
* @param manualSchedule manualSchedule or {@code null} for none
93+
*/
94+
public ScheduleOptionsV2 setManualSchedule(ManualSchedule manualSchedule) {
95+
this.manualSchedule = manualSchedule;
96+
return this;
97+
}
98+
99+
/**
100+
* Time based transfer schedule options. This is the default schedule option.
101+
* @return value or {@code null} for none
102+
*/
103+
public TimeBasedSchedule getTimeBasedSchedule() {
104+
return timeBasedSchedule;
105+
}
106+
107+
/**
108+
* Time based transfer schedule options. This is the default schedule option.
109+
* @param timeBasedSchedule timeBasedSchedule or {@code null} for none
110+
*/
111+
public ScheduleOptionsV2 setTimeBasedSchedule(TimeBasedSchedule timeBasedSchedule) {
112+
this.timeBasedSchedule = timeBasedSchedule;
113+
return this;
114+
}
115+
116+
@Override
117+
public ScheduleOptionsV2 set(String fieldName, Object value) {
118+
return (ScheduleOptionsV2) super.set(fieldName, value);
119+
}
120+
121+
@Override
122+
public ScheduleOptionsV2 clone() {
123+
return (ScheduleOptionsV2) super.clone();
124+
}
125+
126+
}

0 commit comments

Comments
 (0)