Skip to content

Commit a13f1d9

Browse files
1 parent 35adcf6 commit a13f1d9

23 files changed

Lines changed: 981 additions & 76 deletions

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

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

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,146 @@ public Delete set(String parameterName, Object value) {
13071307
return (Delete) super.set(parameterName, value);
13081308
}
13091309
}
1310+
/**
1311+
* Fetches Toolspec Override for a connection for the given list of tools. Returns results from the
1312+
* db if the tool is already present.
1313+
*
1314+
* Create a request for the method "connections.fetchToolspecOverride".
1315+
*
1316+
* This request holds the parameters needed by the connectors server. After setting any optional
1317+
* parameters, call the {@link FetchToolspecOverride#execute()} method to invoke the remote
1318+
* operation.
1319+
*
1320+
* @param name Required. Resource name format: projects/{project}/locations/{location}/connections/{connection}
1321+
* @param content the {@link com.google.api.services.connectors.v1.model.FetchConnectionToolspecOverrideRequest}
1322+
* @return the request
1323+
*/
1324+
public FetchToolspecOverride fetchToolspecOverride(java.lang.String name, com.google.api.services.connectors.v1.model.FetchConnectionToolspecOverrideRequest content) throws java.io.IOException {
1325+
FetchToolspecOverride result = new FetchToolspecOverride(name, content);
1326+
initialize(result);
1327+
return result;
1328+
}
1329+
1330+
public class FetchToolspecOverride extends ConnectorsRequest<com.google.api.services.connectors.v1.model.FetchConnectionToolspecOverrideResponse> {
1331+
1332+
private static final String REST_PATH = "v1/{+name}:fetchToolspecOverride";
1333+
1334+
private final java.util.regex.Pattern NAME_PATTERN =
1335+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/connections/[^/]+$");
1336+
1337+
/**
1338+
* Fetches Toolspec Override for a connection for the given list of tools. Returns results from
1339+
* the db if the tool is already present.
1340+
*
1341+
* Create a request for the method "connections.fetchToolspecOverride".
1342+
*
1343+
* This request holds the parameters needed by the the connectors server. After setting any
1344+
* optional parameters, call the {@link FetchToolspecOverride#execute()} method to invoke the
1345+
* remote operation. <p> {@link FetchToolspecOverride#initialize(com.google.api.client.googleapis.
1346+
* services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
1347+
* after invoking the constructor. </p>
1348+
*
1349+
* @param name Required. Resource name format: projects/{project}/locations/{location}/connections/{connection}
1350+
* @param content the {@link com.google.api.services.connectors.v1.model.FetchConnectionToolspecOverrideRequest}
1351+
* @since 1.13
1352+
*/
1353+
protected FetchToolspecOverride(java.lang.String name, com.google.api.services.connectors.v1.model.FetchConnectionToolspecOverrideRequest content) {
1354+
super(Connectors.this, "POST", REST_PATH, content, com.google.api.services.connectors.v1.model.FetchConnectionToolspecOverrideResponse.class);
1355+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
1356+
if (!getSuppressPatternChecks()) {
1357+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
1358+
"Parameter name must conform to the pattern " +
1359+
"^projects/[^/]+/locations/[^/]+/connections/[^/]+$");
1360+
}
1361+
}
1362+
1363+
@Override
1364+
public FetchToolspecOverride set$Xgafv(java.lang.String $Xgafv) {
1365+
return (FetchToolspecOverride) super.set$Xgafv($Xgafv);
1366+
}
1367+
1368+
@Override
1369+
public FetchToolspecOverride setAccessToken(java.lang.String accessToken) {
1370+
return (FetchToolspecOverride) super.setAccessToken(accessToken);
1371+
}
1372+
1373+
@Override
1374+
public FetchToolspecOverride setAlt(java.lang.String alt) {
1375+
return (FetchToolspecOverride) super.setAlt(alt);
1376+
}
1377+
1378+
@Override
1379+
public FetchToolspecOverride setCallback(java.lang.String callback) {
1380+
return (FetchToolspecOverride) super.setCallback(callback);
1381+
}
1382+
1383+
@Override
1384+
public FetchToolspecOverride setFields(java.lang.String fields) {
1385+
return (FetchToolspecOverride) super.setFields(fields);
1386+
}
1387+
1388+
@Override
1389+
public FetchToolspecOverride setKey(java.lang.String key) {
1390+
return (FetchToolspecOverride) super.setKey(key);
1391+
}
1392+
1393+
@Override
1394+
public FetchToolspecOverride setOauthToken(java.lang.String oauthToken) {
1395+
return (FetchToolspecOverride) super.setOauthToken(oauthToken);
1396+
}
1397+
1398+
@Override
1399+
public FetchToolspecOverride setPrettyPrint(java.lang.Boolean prettyPrint) {
1400+
return (FetchToolspecOverride) super.setPrettyPrint(prettyPrint);
1401+
}
1402+
1403+
@Override
1404+
public FetchToolspecOverride setQuotaUser(java.lang.String quotaUser) {
1405+
return (FetchToolspecOverride) super.setQuotaUser(quotaUser);
1406+
}
1407+
1408+
@Override
1409+
public FetchToolspecOverride setUploadType(java.lang.String uploadType) {
1410+
return (FetchToolspecOverride) super.setUploadType(uploadType);
1411+
}
1412+
1413+
@Override
1414+
public FetchToolspecOverride setUploadProtocol(java.lang.String uploadProtocol) {
1415+
return (FetchToolspecOverride) super.setUploadProtocol(uploadProtocol);
1416+
}
1417+
1418+
/**
1419+
* Required. Resource name format:
1420+
* projects/{project}/locations/{location}/connections/{connection}
1421+
*/
1422+
@com.google.api.client.util.Key
1423+
private java.lang.String name;
1424+
1425+
/** Required. Resource name format: projects/{project}/locations/{location}/connections/{connection}
1426+
*/
1427+
public java.lang.String getName() {
1428+
return name;
1429+
}
1430+
1431+
/**
1432+
* Required. Resource name format:
1433+
* projects/{project}/locations/{location}/connections/{connection}
1434+
*/
1435+
public FetchToolspecOverride setName(java.lang.String name) {
1436+
if (!getSuppressPatternChecks()) {
1437+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
1438+
"Parameter name must conform to the pattern " +
1439+
"^projects/[^/]+/locations/[^/]+/connections/[^/]+$");
1440+
}
1441+
this.name = name;
1442+
return this;
1443+
}
1444+
1445+
@Override
1446+
public FetchToolspecOverride set(String parameterName, Object value) {
1447+
return (FetchToolspecOverride) super.set(parameterName, value);
1448+
}
1449+
}
13101450
/**
13111451
* Generates Toolspec Override for a connection for the given list of entityTypes and operations.
13121452
* Returns results from the db if the entityType and operation are already present.

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,21 @@
3030
public final class ConfigVariable extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Value is a bool.
33+
* Optional. Value is a bool.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
3737
private java.lang.Boolean boolValue;
3838

3939
/**
40-
* Value is a Encryption Key.
40+
* Optional. Value is a Encryption Key.
4141
* The value may be {@code null}.
4242
*/
4343
@com.google.api.client.util.Key
4444
private EncryptionKey encryptionKeyValue;
4545

4646
/**
47-
* Value is an integer
47+
* Optional. Value is an integer
4848
* The value may be {@code null}.
4949
*/
5050
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
@@ -58,29 +58,29 @@ public final class ConfigVariable extends com.google.api.client.json.GenericJson
5858
private java.lang.String key;
5959

6060
/**
61-
* Value is a secret.
61+
* Optional. Value is a secret.
6262
* The value may be {@code null}.
6363
*/
6464
@com.google.api.client.util.Key
6565
private Secret secretValue;
6666

6767
/**
68-
* Value is a string.
68+
* Optional. Value is a string.
6969
* The value may be {@code null}.
7070
*/
7171
@com.google.api.client.util.Key
7272
private java.lang.String stringValue;
7373

7474
/**
75-
* Value is a bool.
75+
* Optional. Value is a bool.
7676
* @return value or {@code null} for none
7777
*/
7878
public java.lang.Boolean getBoolValue() {
7979
return boolValue;
8080
}
8181

8282
/**
83-
* Value is a bool.
83+
* Optional. Value is a bool.
8484
* @param boolValue boolValue or {@code null} for none
8585
*/
8686
public ConfigVariable setBoolValue(java.lang.Boolean boolValue) {
@@ -89,15 +89,15 @@ public ConfigVariable setBoolValue(java.lang.Boolean boolValue) {
8989
}
9090

9191
/**
92-
* Value is a Encryption Key.
92+
* Optional. Value is a Encryption Key.
9393
* @return value or {@code null} for none
9494
*/
9595
public EncryptionKey getEncryptionKeyValue() {
9696
return encryptionKeyValue;
9797
}
9898

9999
/**
100-
* Value is a Encryption Key.
100+
* Optional. Value is a Encryption Key.
101101
* @param encryptionKeyValue encryptionKeyValue or {@code null} for none
102102
*/
103103
public ConfigVariable setEncryptionKeyValue(EncryptionKey encryptionKeyValue) {
@@ -106,15 +106,15 @@ public ConfigVariable setEncryptionKeyValue(EncryptionKey encryptionKeyValue) {
106106
}
107107

108108
/**
109-
* Value is an integer
109+
* Optional. Value is an integer
110110
* @return value or {@code null} for none
111111
*/
112112
public java.lang.Long getIntValue() {
113113
return intValue;
114114
}
115115

116116
/**
117-
* Value is an integer
117+
* Optional. Value is an integer
118118
* @param intValue intValue or {@code null} for none
119119
*/
120120
public ConfigVariable setIntValue(java.lang.Long intValue) {
@@ -140,15 +140,15 @@ public ConfigVariable setKey(java.lang.String key) {
140140
}
141141

142142
/**
143-
* Value is a secret.
143+
* Optional. Value is a secret.
144144
* @return value or {@code null} for none
145145
*/
146146
public Secret getSecretValue() {
147147
return secretValue;
148148
}
149149

150150
/**
151-
* Value is a secret.
151+
* Optional. Value is a secret.
152152
* @param secretValue secretValue or {@code null} for none
153153
*/
154154
public ConfigVariable setSecretValue(Secret secretValue) {
@@ -157,15 +157,15 @@ public ConfigVariable setSecretValue(Secret secretValue) {
157157
}
158158

159159
/**
160-
* Value is a string.
160+
* Optional. Value is a string.
161161
* @return value or {@code null} for none
162162
*/
163163
public java.lang.String getStringValue() {
164164
return stringValue;
165165
}
166166

167167
/**
168-
* Value is a string.
168+
* Optional. Value is a string.
169169
* @param stringValue stringValue or {@code null} for none
170170
*/
171171
public ConfigVariable setStringValue(java.lang.String stringValue) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public final class Destination extends com.google.api.client.json.GenericJson {
3737
private java.lang.String host;
3838

3939
/**
40-
* The port is the target port number that is accepted by the destination.
40+
* Optional. The port is the target port number that is accepted by the destination.
4141
* The value may be {@code null}.
4242
*/
4343
@com.google.api.client.util.Key
@@ -68,15 +68,15 @@ public Destination setHost(java.lang.String host) {
6868
}
6969

7070
/**
71-
* The port is the target port number that is accepted by the destination.
71+
* Optional. The port is the target port number that is accepted by the destination.
7272
* @return value or {@code null} for none
7373
*/
7474
public java.lang.Integer getPort() {
7575
return port;
7676
}
7777

7878
/**
79-
* The port is the target port number that is accepted by the destination.
79+
* Optional. The port is the target port number that is accepted by the destination.
8080
* @param port port or {@code null} for none
8181
*/
8282
public Destination setPort(java.lang.Integer port) {

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
public final class DestinationConfig extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* The destinations for the key.
33+
* Optional. The destinations for the key.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
@@ -43,22 +43,22 @@ public final class DestinationConfig extends com.google.api.client.json.GenericJ
4343
}
4444

4545
/**
46-
* The key is the destination identifier that is supported by the Connector.
46+
* Optional. The key is the destination identifier that is supported by the Connector.
4747
* The value may be {@code null}.
4848
*/
4949
@com.google.api.client.util.Key
5050
private java.lang.String key;
5151

5252
/**
53-
* The destinations for the key.
53+
* Optional. The destinations for the key.
5454
* @return value or {@code null} for none
5555
*/
5656
public java.util.List<Destination> getDestinations() {
5757
return destinations;
5858
}
5959

6060
/**
61-
* The destinations for the key.
61+
* Optional. The destinations for the key.
6262
* @param destinations destinations or {@code null} for none
6363
*/
6464
public DestinationConfig setDestinations(java.util.List<Destination> destinations) {
@@ -67,15 +67,15 @@ public DestinationConfig setDestinations(java.util.List<Destination> destination
6767
}
6868

6969
/**
70-
* The key is the destination identifier that is supported by the Connector.
70+
* Optional. The key is the destination identifier that is supported by the Connector.
7171
* @return value or {@code null} for none
7272
*/
7373
public java.lang.String getKey() {
7474
return key;
7575
}
7676

7777
/**
78-
* The key is the destination identifier that is supported by the Connector.
78+
* Optional. The key is the destination identifier that is supported by the Connector.
7979
* @param key key or {@code null} for none
8080
*/
8181
public DestinationConfig setKey(java.lang.String key) {

0 commit comments

Comments
 (0)