Skip to content

Commit 6f3b657

Browse files
1 parent 38faa8b commit 6f3b657

File tree

8 files changed

+707
-6
lines changed

8 files changed

+707
-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-rev20250807-2.0.0</version>
25+
<version>v2-rev20250813-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-rev20250807-2.0.0'
38+
implementation 'com.google.apis:google-api-services-connectors:v2-rev20250813-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: 341 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3028,6 +3028,347 @@ public UpdateEntitiesWithConditions set(String parameterName, Object value) {
30283028

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

0 commit comments

Comments
 (0)