Skip to content

Commit 1f9752c

Browse files
1 parent b77e409 commit 1f9752c

File tree

9 files changed

+820
-6
lines changed

9 files changed

+820
-6
lines changed

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

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

Lines changed: 348 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3028,6 +3028,354 @@ public UpdateEntitiesWithConditions set(String parameterName, Object value) {
30283028

30293029
}
30303030
}
3031+
/**
3032+
* An accessor for creating requests from the Resources collection.
3033+
*
3034+
* <p>The typical use is:</p>
3035+
* <pre>
3036+
* {@code Connectors connectors = new Connectors(...);}
3037+
* {@code Connectors.Resources.List request = connectors.resources().list(parameters ...)}
3038+
* </pre>
3039+
*
3040+
* @return the resource collection
3041+
*/
3042+
public Resources resources() {
3043+
return new Resources();
3044+
}
3045+
3046+
/**
3047+
* The "resources" collection of methods.
3048+
*/
3049+
public class Resources {
3050+
3051+
/**
3052+
* Gets a specific resource.
3053+
*
3054+
* Create a request for the method "resources.get".
3055+
*
3056+
* This request holds the parameters needed by the connectors server. After setting any optional
3057+
* parameters, call the {@link Get#execute()} method to invoke the remote operation.
3058+
*
3059+
* @param name Required. Resource name of the Resource. Format:
3060+
* projects/{project}/locations/{location}/connections/{connection}/resources/{resource}
3061+
* @return the request
3062+
*/
3063+
public Get get(java.lang.String name) throws java.io.IOException {
3064+
Get result = new Get(name);
3065+
initialize(result);
3066+
return result;
3067+
}
3068+
3069+
public class Get extends ConnectorsRequest<com.google.api.services.connectors.v2.model.GetResourceResponse> {
3070+
3071+
private static final String REST_PATH = "v2/{+name}";
3072+
3073+
private final java.util.regex.Pattern NAME_PATTERN =
3074+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/connections/[^/]+/resources/[^/]+$");
3075+
3076+
/**
3077+
* Gets a specific resource.
3078+
*
3079+
* Create a request for the method "resources.get".
3080+
*
3081+
* This request holds the parameters needed by the the connectors server. After setting any
3082+
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
3083+
* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
3084+
* must be called to initialize this instance immediately after invoking the constructor. </p>
3085+
*
3086+
* @param name Required. Resource name of the Resource. Format:
3087+
* projects/{project}/locations/{location}/connections/{connection}/resources/{resource}
3088+
* @since 1.13
3089+
*/
3090+
protected Get(java.lang.String name) {
3091+
super(Connectors.this, "GET", REST_PATH, null, com.google.api.services.connectors.v2.model.GetResourceResponse.class);
3092+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
3093+
if (!getSuppressPatternChecks()) {
3094+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
3095+
"Parameter name must conform to the pattern " +
3096+
"^projects/[^/]+/locations/[^/]+/connections/[^/]+/resources/[^/]+$");
3097+
}
3098+
}
3099+
3100+
@Override
3101+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
3102+
return super.executeUsingHead();
3103+
}
3104+
3105+
@Override
3106+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
3107+
return super.buildHttpRequestUsingHead();
3108+
}
3109+
3110+
@Override
3111+
public Get set$Xgafv(java.lang.String $Xgafv) {
3112+
return (Get) super.set$Xgafv($Xgafv);
3113+
}
3114+
3115+
@Override
3116+
public Get setAccessToken(java.lang.String accessToken) {
3117+
return (Get) super.setAccessToken(accessToken);
3118+
}
3119+
3120+
@Override
3121+
public Get setAlt(java.lang.String alt) {
3122+
return (Get) super.setAlt(alt);
3123+
}
3124+
3125+
@Override
3126+
public Get setCallback(java.lang.String callback) {
3127+
return (Get) super.setCallback(callback);
3128+
}
3129+
3130+
@Override
3131+
public Get setFields(java.lang.String fields) {
3132+
return (Get) super.setFields(fields);
3133+
}
3134+
3135+
@Override
3136+
public Get setKey(java.lang.String key) {
3137+
return (Get) super.setKey(key);
3138+
}
3139+
3140+
@Override
3141+
public Get setOauthToken(java.lang.String oauthToken) {
3142+
return (Get) super.setOauthToken(oauthToken);
3143+
}
3144+
3145+
@Override
3146+
public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
3147+
return (Get) super.setPrettyPrint(prettyPrint);
3148+
}
3149+
3150+
@Override
3151+
public Get setQuotaUser(java.lang.String quotaUser) {
3152+
return (Get) super.setQuotaUser(quotaUser);
3153+
}
3154+
3155+
@Override
3156+
public Get setUploadType(java.lang.String uploadType) {
3157+
return (Get) super.setUploadType(uploadType);
3158+
}
3159+
3160+
@Override
3161+
public Get setUploadProtocol(java.lang.String uploadProtocol) {
3162+
return (Get) super.setUploadProtocol(uploadProtocol);
3163+
}
3164+
3165+
/**
3166+
* Required. Resource name of the Resource. Format:
3167+
* projects/{project}/locations/{location}/connections/{connection}/resources/{resource}
3168+
*/
3169+
@com.google.api.client.util.Key
3170+
private java.lang.String name;
3171+
3172+
/** Required. Resource name of the Resource. Format:
3173+
projects/{project}/locations/{location}/connections/{connection}/resources/{resource}
3174+
*/
3175+
public java.lang.String getName() {
3176+
return name;
3177+
}
3178+
3179+
/**
3180+
* Required. Resource name of the Resource. Format:
3181+
* projects/{project}/locations/{location}/connections/{connection}/resources/{resource}
3182+
*/
3183+
public Get setName(java.lang.String name) {
3184+
if (!getSuppressPatternChecks()) {
3185+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
3186+
"Parameter name must conform to the pattern " +
3187+
"^projects/[^/]+/locations/[^/]+/connections/[^/]+/resources/[^/]+$");
3188+
}
3189+
this.name = name;
3190+
return this;
3191+
}
3192+
3193+
@Override
3194+
public Get set(String parameterName, Object value) {
3195+
return (Get) super.set(parameterName, value);
3196+
}
3197+
}
3198+
/**
3199+
* Lists all available resources.
3200+
*
3201+
* Create a request for the method "resources.list".
3202+
*
3203+
* This request holds the parameters needed by the connectors server. After setting any optional
3204+
* parameters, call the {@link List#execute()} method to invoke the remote operation.
3205+
*
3206+
* @param parent Required. Resource name of the connection. Format:
3207+
* projects/{project}/locations/{location}/connections/{connection}
3208+
* @return the request
3209+
*/
3210+
public List list(java.lang.String parent) throws java.io.IOException {
3211+
List result = new List(parent);
3212+
initialize(result);
3213+
return result;
3214+
}
3215+
3216+
public class List extends ConnectorsRequest<com.google.api.services.connectors.v2.model.ListResourcesResponse> {
3217+
3218+
private static final String REST_PATH = "v2/{+parent}/resources";
3219+
3220+
private final java.util.regex.Pattern PARENT_PATTERN =
3221+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/connections/[^/]+$");
3222+
3223+
/**
3224+
* Lists all available resources.
3225+
*
3226+
* Create a request for the method "resources.list".
3227+
*
3228+
* This request holds the parameters needed by the the connectors server. After setting any
3229+
* optional parameters, call the {@link List#execute()} method to invoke the remote operation. <p>
3230+
* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
3231+
* must be called to initialize this instance immediately after invoking the constructor. </p>
3232+
*
3233+
* @param parent Required. Resource name of the connection. Format:
3234+
* projects/{project}/locations/{location}/connections/{connection}
3235+
* @since 1.13
3236+
*/
3237+
protected List(java.lang.String parent) {
3238+
super(Connectors.this, "GET", REST_PATH, null, com.google.api.services.connectors.v2.model.ListResourcesResponse.class);
3239+
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
3240+
if (!getSuppressPatternChecks()) {
3241+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
3242+
"Parameter parent must conform to the pattern " +
3243+
"^projects/[^/]+/locations/[^/]+/connections/[^/]+$");
3244+
}
3245+
}
3246+
3247+
@Override
3248+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
3249+
return super.executeUsingHead();
3250+
}
3251+
3252+
@Override
3253+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
3254+
return super.buildHttpRequestUsingHead();
3255+
}
3256+
3257+
@Override
3258+
public List set$Xgafv(java.lang.String $Xgafv) {
3259+
return (List) super.set$Xgafv($Xgafv);
3260+
}
3261+
3262+
@Override
3263+
public List setAccessToken(java.lang.String accessToken) {
3264+
return (List) super.setAccessToken(accessToken);
3265+
}
3266+
3267+
@Override
3268+
public List setAlt(java.lang.String alt) {
3269+
return (List) super.setAlt(alt);
3270+
}
3271+
3272+
@Override
3273+
public List setCallback(java.lang.String callback) {
3274+
return (List) super.setCallback(callback);
3275+
}
3276+
3277+
@Override
3278+
public List setFields(java.lang.String fields) {
3279+
return (List) super.setFields(fields);
3280+
}
3281+
3282+
@Override
3283+
public List setKey(java.lang.String key) {
3284+
return (List) super.setKey(key);
3285+
}
3286+
3287+
@Override
3288+
public List setOauthToken(java.lang.String oauthToken) {
3289+
return (List) super.setOauthToken(oauthToken);
3290+
}
3291+
3292+
@Override
3293+
public List setPrettyPrint(java.lang.Boolean prettyPrint) {
3294+
return (List) super.setPrettyPrint(prettyPrint);
3295+
}
3296+
3297+
@Override
3298+
public List setQuotaUser(java.lang.String quotaUser) {
3299+
return (List) super.setQuotaUser(quotaUser);
3300+
}
3301+
3302+
@Override
3303+
public List setUploadType(java.lang.String uploadType) {
3304+
return (List) super.setUploadType(uploadType);
3305+
}
3306+
3307+
@Override
3308+
public List setUploadProtocol(java.lang.String uploadProtocol) {
3309+
return (List) super.setUploadProtocol(uploadProtocol);
3310+
}
3311+
3312+
/**
3313+
* Required. Resource name of the connection. Format:
3314+
* projects/{project}/locations/{location}/connections/{connection}
3315+
*/
3316+
@com.google.api.client.util.Key
3317+
private java.lang.String parent;
3318+
3319+
/** Required. Resource name of the connection. Format:
3320+
projects/{project}/locations/{location}/connections/{connection}
3321+
*/
3322+
public java.lang.String getParent() {
3323+
return parent;
3324+
}
3325+
3326+
/**
3327+
* Required. Resource name of the connection. Format:
3328+
* projects/{project}/locations/{location}/connections/{connection}
3329+
*/
3330+
public List setParent(java.lang.String parent) {
3331+
if (!getSuppressPatternChecks()) {
3332+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
3333+
"Parameter parent must conform to the pattern " +
3334+
"^projects/[^/]+/locations/[^/]+/connections/[^/]+$");
3335+
}
3336+
this.parent = parent;
3337+
return this;
3338+
}
3339+
3340+
/** Optional. Page size for the request. */
3341+
@com.google.api.client.util.Key
3342+
private java.lang.Integer pageSize;
3343+
3344+
/** Optional. Page size for the request.
3345+
*/
3346+
public java.lang.Integer getPageSize() {
3347+
return pageSize;
3348+
}
3349+
3350+
/** Optional. Page size for the request. */
3351+
public List setPageSize(java.lang.Integer pageSize) {
3352+
this.pageSize = pageSize;
3353+
return this;
3354+
}
3355+
3356+
/** Optional. Page token for the request. */
3357+
@com.google.api.client.util.Key
3358+
private java.lang.String pageToken;
3359+
3360+
/** Optional. Page token for the request.
3361+
*/
3362+
public java.lang.String getPageToken() {
3363+
return pageToken;
3364+
}
3365+
3366+
/** Optional. Page token for the request. */
3367+
public List setPageToken(java.lang.String pageToken) {
3368+
this.pageToken = pageToken;
3369+
return this;
3370+
}
3371+
3372+
@Override
3373+
public List set(String parameterName, Object value) {
3374+
return (List) super.set(parameterName, value);
3375+
}
3376+
}
3377+
3378+
}
30313379
/**
30323380
* An accessor for creating requests from the Tools collection.
30333381
*

0 commit comments

Comments
 (0)