Skip to content

Commit f344db2

Browse files
1 parent 40d9d9a commit f344db2

File tree

9 files changed

+861
-6
lines changed

9 files changed

+861
-6
lines changed

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

clients/google-api-services-developerconnect/v1/2.0.0/com/google/api/services/developerconnect/v1/DeveloperConnect.java

Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,214 @@ public Delete set(String parameterName, Object value) {
10181018
return (Delete) super.set(parameterName, value);
10191019
}
10201020
}
1021+
/**
1022+
* FetchUserRepositories returns a list of UserRepos that are available for an account connector
1023+
* resource.
1024+
*
1025+
* Create a request for the method "accountConnectors.fetchUserRepositories".
1026+
*
1027+
* This request holds the parameters needed by the developerconnect server. After setting any
1028+
* optional parameters, call the {@link FetchUserRepositories#execute()} method to invoke the remote
1029+
* operation.
1030+
*
1031+
* @param accountConnector Required. The name of the Account Connector resource in the format:
1032+
* `projects/locations/accountConnectors`.
1033+
* @return the request
1034+
*/
1035+
public FetchUserRepositories fetchUserRepositories(java.lang.String accountConnector) throws java.io.IOException {
1036+
FetchUserRepositories result = new FetchUserRepositories(accountConnector);
1037+
initialize(result);
1038+
return result;
1039+
}
1040+
1041+
public class FetchUserRepositories extends DeveloperConnectRequest<com.google.api.services.developerconnect.v1.model.FetchUserRepositoriesResponse> {
1042+
1043+
private static final String REST_PATH = "v1/{+accountConnector}:fetchUserRepositories";
1044+
1045+
private final java.util.regex.Pattern ACCOUNT_CONNECTOR_PATTERN =
1046+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/accountConnectors/[^/]+$");
1047+
1048+
/**
1049+
* FetchUserRepositories returns a list of UserRepos that are available for an account connector
1050+
* resource.
1051+
*
1052+
* Create a request for the method "accountConnectors.fetchUserRepositories".
1053+
*
1054+
* This request holds the parameters needed by the the developerconnect server. After setting any
1055+
* optional parameters, call the {@link FetchUserRepositories#execute()} method to invoke the
1056+
* remote operation. <p> {@link FetchUserRepositories#initialize(com.google.api.client.googleapis.
1057+
* services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
1058+
* after invoking the constructor. </p>
1059+
*
1060+
* @param accountConnector Required. The name of the Account Connector resource in the format:
1061+
* `projects/locations/accountConnectors`.
1062+
* @since 1.13
1063+
*/
1064+
protected FetchUserRepositories(java.lang.String accountConnector) {
1065+
super(DeveloperConnect.this, "GET", REST_PATH, null, com.google.api.services.developerconnect.v1.model.FetchUserRepositoriesResponse.class);
1066+
this.accountConnector = com.google.api.client.util.Preconditions.checkNotNull(accountConnector, "Required parameter accountConnector must be specified.");
1067+
if (!getSuppressPatternChecks()) {
1068+
com.google.api.client.util.Preconditions.checkArgument(ACCOUNT_CONNECTOR_PATTERN.matcher(accountConnector).matches(),
1069+
"Parameter accountConnector must conform to the pattern " +
1070+
"^projects/[^/]+/locations/[^/]+/accountConnectors/[^/]+$");
1071+
}
1072+
}
1073+
1074+
@Override
1075+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
1076+
return super.executeUsingHead();
1077+
}
1078+
1079+
@Override
1080+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
1081+
return super.buildHttpRequestUsingHead();
1082+
}
1083+
1084+
@Override
1085+
public FetchUserRepositories set$Xgafv(java.lang.String $Xgafv) {
1086+
return (FetchUserRepositories) super.set$Xgafv($Xgafv);
1087+
}
1088+
1089+
@Override
1090+
public FetchUserRepositories setAccessToken(java.lang.String accessToken) {
1091+
return (FetchUserRepositories) super.setAccessToken(accessToken);
1092+
}
1093+
1094+
@Override
1095+
public FetchUserRepositories setAlt(java.lang.String alt) {
1096+
return (FetchUserRepositories) super.setAlt(alt);
1097+
}
1098+
1099+
@Override
1100+
public FetchUserRepositories setCallback(java.lang.String callback) {
1101+
return (FetchUserRepositories) super.setCallback(callback);
1102+
}
1103+
1104+
@Override
1105+
public FetchUserRepositories setFields(java.lang.String fields) {
1106+
return (FetchUserRepositories) super.setFields(fields);
1107+
}
1108+
1109+
@Override
1110+
public FetchUserRepositories setKey(java.lang.String key) {
1111+
return (FetchUserRepositories) super.setKey(key);
1112+
}
1113+
1114+
@Override
1115+
public FetchUserRepositories setOauthToken(java.lang.String oauthToken) {
1116+
return (FetchUserRepositories) super.setOauthToken(oauthToken);
1117+
}
1118+
1119+
@Override
1120+
public FetchUserRepositories setPrettyPrint(java.lang.Boolean prettyPrint) {
1121+
return (FetchUserRepositories) super.setPrettyPrint(prettyPrint);
1122+
}
1123+
1124+
@Override
1125+
public FetchUserRepositories setQuotaUser(java.lang.String quotaUser) {
1126+
return (FetchUserRepositories) super.setQuotaUser(quotaUser);
1127+
}
1128+
1129+
@Override
1130+
public FetchUserRepositories setUploadType(java.lang.String uploadType) {
1131+
return (FetchUserRepositories) super.setUploadType(uploadType);
1132+
}
1133+
1134+
@Override
1135+
public FetchUserRepositories setUploadProtocol(java.lang.String uploadProtocol) {
1136+
return (FetchUserRepositories) super.setUploadProtocol(uploadProtocol);
1137+
}
1138+
1139+
/**
1140+
* Required. The name of the Account Connector resource in the format:
1141+
* `projects/locations/accountConnectors`.
1142+
*/
1143+
@com.google.api.client.util.Key
1144+
private java.lang.String accountConnector;
1145+
1146+
/** Required. The name of the Account Connector resource in the format:
1147+
`projects/locations/accountConnectors`.
1148+
*/
1149+
public java.lang.String getAccountConnector() {
1150+
return accountConnector;
1151+
}
1152+
1153+
/**
1154+
* Required. The name of the Account Connector resource in the format:
1155+
* `projects/locations/accountConnectors`.
1156+
*/
1157+
public FetchUserRepositories setAccountConnector(java.lang.String accountConnector) {
1158+
if (!getSuppressPatternChecks()) {
1159+
com.google.api.client.util.Preconditions.checkArgument(ACCOUNT_CONNECTOR_PATTERN.matcher(accountConnector).matches(),
1160+
"Parameter accountConnector must conform to the pattern " +
1161+
"^projects/[^/]+/locations/[^/]+/accountConnectors/[^/]+$");
1162+
}
1163+
this.accountConnector = accountConnector;
1164+
return this;
1165+
}
1166+
1167+
/** Optional. Number of results to return in the list. Defaults to 20. */
1168+
@com.google.api.client.util.Key
1169+
private java.lang.Integer pageSize;
1170+
1171+
/** Optional. Number of results to return in the list. Defaults to 20.
1172+
*/
1173+
public java.lang.Integer getPageSize() {
1174+
return pageSize;
1175+
}
1176+
1177+
/** Optional. Number of results to return in the list. Defaults to 20. */
1178+
public FetchUserRepositories setPageSize(java.lang.Integer pageSize) {
1179+
this.pageSize = pageSize;
1180+
return this;
1181+
}
1182+
1183+
/** Optional. Page start. */
1184+
@com.google.api.client.util.Key
1185+
private java.lang.String pageToken;
1186+
1187+
/** Optional. Page start.
1188+
*/
1189+
public java.lang.String getPageToken() {
1190+
return pageToken;
1191+
}
1192+
1193+
/** Optional. Page start. */
1194+
public FetchUserRepositories setPageToken(java.lang.String pageToken) {
1195+
this.pageToken = pageToken;
1196+
return this;
1197+
}
1198+
1199+
/**
1200+
* Optional. The name of the repository. When specified, only the UserRepository with this
1201+
* name will be returned if the repository is accessible under this Account Connector for
1202+
* the calling user.
1203+
*/
1204+
@com.google.api.client.util.Key
1205+
private java.lang.String repository;
1206+
1207+
/** Optional. The name of the repository. When specified, only the UserRepository with this name will
1208+
be returned if the repository is accessible under this Account Connector for the calling user.
1209+
*/
1210+
public java.lang.String getRepository() {
1211+
return repository;
1212+
}
1213+
1214+
/**
1215+
* Optional. The name of the repository. When specified, only the UserRepository with this
1216+
* name will be returned if the repository is accessible under this Account Connector for
1217+
* the calling user.
1218+
*/
1219+
public FetchUserRepositories setRepository(java.lang.String repository) {
1220+
this.repository = repository;
1221+
return this;
1222+
}
1223+
1224+
@Override
1225+
public FetchUserRepositories set(String parameterName, Object value) {
1226+
return (FetchUserRepositories) super.set(parameterName, value);
1227+
}
1228+
}
10211229
/**
10221230
* Gets details of a single AccountConnector.
10231231
*

clients/google-api-services-developerconnect/v1/2.0.0/com/google/api/services/developerconnect/v1/model/AccountConnector.java

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ public final class AccountConnector extends com.google.api.client.json.GenericJs
4646
@com.google.api.client.util.Key
4747
private String createTime;
4848

49+
/**
50+
* Custom OAuth config.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private CustomOAuthConfig customOauthConfig;
55+
4956
/**
5057
* Optional. This checksum is computed by the server based on the value of other fields, and may
5158
* be sent on update and delete requests to ensure the client has an up-to-date value before
@@ -84,6 +91,13 @@ public final class AccountConnector extends com.google.api.client.json.GenericJs
8491
@com.google.api.client.util.Key
8592
private ProviderOAuthConfig providerOauthConfig;
8693

94+
/**
95+
* Optional. Configuration for the http and git proxy features.
96+
* The value may be {@code null}.
97+
*/
98+
@com.google.api.client.util.Key
99+
private ProxyConfig proxyConfig;
100+
87101
/**
88102
* Output only. The timestamp when the accountConnector was updated.
89103
* The value may be {@code null}.
@@ -125,6 +139,23 @@ public AccountConnector setCreateTime(String createTime) {
125139
return this;
126140
}
127141

142+
/**
143+
* Custom OAuth config.
144+
* @return value or {@code null} for none
145+
*/
146+
public CustomOAuthConfig getCustomOauthConfig() {
147+
return customOauthConfig;
148+
}
149+
150+
/**
151+
* Custom OAuth config.
152+
* @param customOauthConfig customOauthConfig or {@code null} for none
153+
*/
154+
public AccountConnector setCustomOauthConfig(CustomOAuthConfig customOauthConfig) {
155+
this.customOauthConfig = customOauthConfig;
156+
return this;
157+
}
158+
128159
/**
129160
* Optional. This checksum is computed by the server based on the value of other fields, and may
130161
* be sent on update and delete requests to ensure the client has an up-to-date value before
@@ -216,6 +247,23 @@ public AccountConnector setProviderOauthConfig(ProviderOAuthConfig providerOauth
216247
return this;
217248
}
218249

250+
/**
251+
* Optional. Configuration for the http and git proxy features.
252+
* @return value or {@code null} for none
253+
*/
254+
public ProxyConfig getProxyConfig() {
255+
return proxyConfig;
256+
}
257+
258+
/**
259+
* Optional. Configuration for the http and git proxy features.
260+
* @param proxyConfig proxyConfig or {@code null} for none
261+
*/
262+
public AccountConnector setProxyConfig(ProxyConfig proxyConfig) {
263+
this.proxyConfig = proxyConfig;
264+
return this;
265+
}
266+
219267
/**
220268
* Output only. The timestamp when the accountConnector was updated.
221269
* @return value or {@code null} for none

0 commit comments

Comments
 (0)