Skip to content

Commit aba8c19

Browse files
1 parent 4a783e4 commit aba8c19

File tree

6 files changed

+222
-6
lines changed

6 files changed

+222
-6
lines changed

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

clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/EventSubscriptionDestination.java

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

39+
/**
40+
* OPTION 3: Write the event to Pub/Sub topic.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private PubSub pubsub;
45+
3946
/**
4047
* Service account needed for runtime plane to trigger IP workflow.
4148
* The value may be {@code null}.
@@ -67,6 +74,23 @@ public EventSubscriptionDestination setEndpoint(EndPoint endpoint) {
6774
return this;
6875
}
6976

77+
/**
78+
* OPTION 3: Write the event to Pub/Sub topic.
79+
* @return value or {@code null} for none
80+
*/
81+
public PubSub getPubsub() {
82+
return pubsub;
83+
}
84+
85+
/**
86+
* OPTION 3: Write the event to Pub/Sub topic.
87+
* @param pubsub pubsub or {@code null} for none
88+
*/
89+
public EventSubscriptionDestination setPubsub(PubSub pubsub) {
90+
this.pubsub = pubsub;
91+
return this;
92+
}
93+
7094
/**
7195
* Service account needed for runtime plane to trigger IP workflow.
7296
* @return value or {@code null} for none

clients/google-api-services-connectors/v1/2.0.0/com/google/api/services/connectors/v1/model/PartnerMetadata.java

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,27 @@ public final class PartnerMetadata extends com.google.api.client.json.GenericJso
6363
@com.google.api.client.util.Key
6464
private java.lang.String demoUri;
6565

66+
/**
67+
* Output only. Has dynamic open api spec uri.
68+
* The value may be {@code null}.
69+
*/
70+
@com.google.api.client.util.Key
71+
private java.lang.Boolean hasDynamicSpecUri;
72+
6673
/**
6774
* Required. Integration example templates for the custom connector.
6875
* The value may be {@code null}.
6976
*/
7077
@com.google.api.client.util.Key
7178
private java.lang.String integrationTemplates;
7279

80+
/**
81+
* Output only. Local spec path. Required if has_dynamic_spec_uri is true.
82+
* The value may be {@code null}.
83+
*/
84+
@com.google.api.client.util.Key
85+
private java.lang.String localSpecPath;
86+
7387
/**
7488
* Optional. Marketplace product name.
7589
* The value may be {@code null}.
@@ -216,6 +230,23 @@ public PartnerMetadata setDemoUri(java.lang.String demoUri) {
216230
return this;
217231
}
218232

233+
/**
234+
* Output only. Has dynamic open api spec uri.
235+
* @return value or {@code null} for none
236+
*/
237+
public java.lang.Boolean getHasDynamicSpecUri() {
238+
return hasDynamicSpecUri;
239+
}
240+
241+
/**
242+
* Output only. Has dynamic open api spec uri.
243+
* @param hasDynamicSpecUri hasDynamicSpecUri or {@code null} for none
244+
*/
245+
public PartnerMetadata setHasDynamicSpecUri(java.lang.Boolean hasDynamicSpecUri) {
246+
this.hasDynamicSpecUri = hasDynamicSpecUri;
247+
return this;
248+
}
249+
219250
/**
220251
* Required. Integration example templates for the custom connector.
221252
* @return value or {@code null} for none
@@ -233,6 +264,23 @@ public PartnerMetadata setIntegrationTemplates(java.lang.String integrationTempl
233264
return this;
234265
}
235266

267+
/**
268+
* Output only. Local spec path. Required if has_dynamic_spec_uri is true.
269+
* @return value or {@code null} for none
270+
*/
271+
public java.lang.String getLocalSpecPath() {
272+
return localSpecPath;
273+
}
274+
275+
/**
276+
* Output only. Local spec path. Required if has_dynamic_spec_uri is true.
277+
* @param localSpecPath localSpecPath or {@code null} for none
278+
*/
279+
public PartnerMetadata setLocalSpecPath(java.lang.String localSpecPath) {
280+
this.localSpecPath = localSpecPath;
281+
return this;
282+
}
283+
236284
/**
237285
* Optional. Marketplace product name.
238286
* @return value or {@code null} for none
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
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.connectors.v1.model;
18+
19+
/**
20+
* Pub/Sub message includes details of the Destination Pub/Sub topic.
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 Connectors 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 PubSub extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Pub/Sub message attributes to be added to the Pub/Sub message.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.Map<String, java.lang.String> attributes;
38+
39+
/**
40+
* Optional. Configuration for configuring the trigger
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<ConfigVariable> configVariables;
45+
46+
static {
47+
// hack to force ProGuard to consider ConfigVariable used, since otherwise it would be stripped out
48+
// see https://github.com/google/google-api-java-client/issues/543
49+
com.google.api.client.util.Data.nullOf(ConfigVariable.class);
50+
}
51+
52+
/**
53+
* Required. The project id which has the Pub/Sub topic.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.lang.String projectId;
58+
59+
/**
60+
* Required. The topic id of the Pub/Sub topic.
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private java.lang.String topicId;
65+
66+
/**
67+
* Optional. Pub/Sub message attributes to be added to the Pub/Sub message.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.util.Map<String, java.lang.String> getAttributes() {
71+
return attributes;
72+
}
73+
74+
/**
75+
* Optional. Pub/Sub message attributes to be added to the Pub/Sub message.
76+
* @param attributes attributes or {@code null} for none
77+
*/
78+
public PubSub setAttributes(java.util.Map<String, java.lang.String> attributes) {
79+
this.attributes = attributes;
80+
return this;
81+
}
82+
83+
/**
84+
* Optional. Configuration for configuring the trigger
85+
* @return value or {@code null} for none
86+
*/
87+
public java.util.List<ConfigVariable> getConfigVariables() {
88+
return configVariables;
89+
}
90+
91+
/**
92+
* Optional. Configuration for configuring the trigger
93+
* @param configVariables configVariables or {@code null} for none
94+
*/
95+
public PubSub setConfigVariables(java.util.List<ConfigVariable> configVariables) {
96+
this.configVariables = configVariables;
97+
return this;
98+
}
99+
100+
/**
101+
* Required. The project id which has the Pub/Sub topic.
102+
* @return value or {@code null} for none
103+
*/
104+
public java.lang.String getProjectId() {
105+
return projectId;
106+
}
107+
108+
/**
109+
* Required. The project id which has the Pub/Sub topic.
110+
* @param projectId projectId or {@code null} for none
111+
*/
112+
public PubSub setProjectId(java.lang.String projectId) {
113+
this.projectId = projectId;
114+
return this;
115+
}
116+
117+
/**
118+
* Required. The topic id of the Pub/Sub topic.
119+
* @return value or {@code null} for none
120+
*/
121+
public java.lang.String getTopicId() {
122+
return topicId;
123+
}
124+
125+
/**
126+
* Required. The topic id of the Pub/Sub topic.
127+
* @param topicId topicId or {@code null} for none
128+
*/
129+
public PubSub setTopicId(java.lang.String topicId) {
130+
this.topicId = topicId;
131+
return this;
132+
}
133+
134+
@Override
135+
public PubSub set(String fieldName, Object value) {
136+
return (PubSub) super.set(fieldName, value);
137+
}
138+
139+
@Override
140+
public PubSub clone() {
141+
return (PubSub) super.clone();
142+
}
143+
144+
}

clients/google-api-services-connectors/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-connectors</artifactId>
11-
<version>v1-rev20250101-2.0.0</version>
12-
<name>Connectors API v1-rev20250101-2.0.0</name>
11+
<version>v1-rev20250128-2.0.0</version>
12+
<name>Connectors API v1-rev20250128-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)