Skip to content

Commit 1be9cd9

Browse files
chore: regenerate cloudfunctions client
1 parent 38c1764 commit 1be9cd9

18 files changed

Lines changed: 253 additions & 44 deletions

File tree

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

clients/google-api-services-cloudfunctions/v1/2.0.0/com/google/api/services/cloudfunctions/v1/CloudFunctions.java

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class CloudFunctions extends com.google.api.client.googleapis.services.js
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -544,7 +544,10 @@ public Locations locations() {
544544
public class Locations {
545545

546546
/**
547-
* Lists information about the supported locations for this service.
547+
* Lists information about the supported locations for this service. This method can be called in
548+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
549+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
550+
* public locations as well as private or other locations specifically visible to the project.
548551
*
549552
* Create a request for the method "locations.list".
550553
*
@@ -568,7 +571,10 @@ public class List extends CloudFunctionsRequest<com.google.api.services.cloudfun
568571
java.util.regex.Pattern.compile("^projects/[^/]+$");
569572

570573
/**
571-
* Lists information about the supported locations for this service.
574+
* Lists information about the supported locations for this service. This method can be called in
575+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
576+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
577+
* public locations as well as private or other locations specifically visible to the project.
572578
*
573579
* Create a request for the method "locations.list".
574580
*
@@ -2561,8 +2567,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
25612567
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
25622568
* <li>Android: {@code newCompatibleTransport} from
25632569
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
2564-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
2565-
* </li>
2570+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
25662571
* </ul>
25672572
* @param jsonFactory JSON factory, which may be:
25682573
* <ul>

clients/google-api-services-cloudfunctions/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-cloudfunctions</artifactId>
11-
<version>v1-rev20251204-2.0.0</version>
12-
<name>Cloud Functions API v1-rev20251204-2.0.0</name>
11+
<version>v1-rev20260129-2.0.0</version>
12+
<name>Cloud Functions API v1-rev20260129-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

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

clients/google-api-services-cloudfunctions/v2/2.0.0/com/google/api/services/cloudfunctions/v2/CloudFunctions.java

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class CloudFunctions extends com.google.api.client.googleapis.services.js
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -174,7 +174,10 @@ public Locations locations() {
174174
public class Locations {
175175

176176
/**
177-
* Lists information about the supported locations for this service.
177+
* Lists information about the supported locations for this service. This method can be called in
178+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
179+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
180+
* public locations as well as private or other locations specifically visible to the project.
178181
*
179182
* Create a request for the method "locations.list".
180183
*
@@ -198,7 +201,10 @@ public class List extends CloudFunctionsRequest<com.google.api.services.cloudfun
198201
java.util.regex.Pattern.compile("^projects/[^/]+$");
199202

200203
/**
201-
* Lists information about the supported locations for this service.
204+
* Lists information about the supported locations for this service. This method can be called in
205+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
206+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
207+
* public locations as well as private or other locations specifically visible to the project.
202208
*
203209
* Create a request for the method "locations.list".
204210
*
@@ -3694,8 +3700,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
36943700
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
36953701
* <li>Android: {@code newCompatibleTransport} from
36963702
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
3697-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
3698-
* </li>
3703+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
36993704
* </ul>
37003705
* @param jsonFactory JSON factory, which may be:
37013706
* <ul>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
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.cloudfunctions.v2.model;
18+
19+
/**
20+
* The Direct VPC network interface. This is mutually exclusive with VPC Connector.
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 Cloud Functions 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 DirectVpcNetworkInterface extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The name of the VPC network to which the function will be connected. Specify either a
34+
* VPC network or a subnet, or both. If you specify only a network, the subnet uses the same name
35+
* as the network.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String network;
40+
41+
/**
42+
* Optional. The name of the VPC subnetwork that the Cloud Function resource will get IPs from.
43+
* Specify either a VPC network or a subnet, or both. If both network and subnetwork are
44+
* specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not
45+
* specified, the subnetwork with the same name with the network will be used.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String subnetwork;
50+
51+
/**
52+
* Optional. Network tags applied to this Cloud Function resource.
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private java.util.List<java.lang.String> tags;
57+
58+
/**
59+
* Optional. The name of the VPC network to which the function will be connected. Specify either a
60+
* VPC network or a subnet, or both. If you specify only a network, the subnet uses the same name
61+
* as the network.
62+
* @return value or {@code null} for none
63+
*/
64+
public java.lang.String getNetwork() {
65+
return network;
66+
}
67+
68+
/**
69+
* Optional. The name of the VPC network to which the function will be connected. Specify either a
70+
* VPC network or a subnet, or both. If you specify only a network, the subnet uses the same name
71+
* as the network.
72+
* @param network network or {@code null} for none
73+
*/
74+
public DirectVpcNetworkInterface setNetwork(java.lang.String network) {
75+
this.network = network;
76+
return this;
77+
}
78+
79+
/**
80+
* Optional. The name of the VPC subnetwork that the Cloud Function resource will get IPs from.
81+
* Specify either a VPC network or a subnet, or both. If both network and subnetwork are
82+
* specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not
83+
* specified, the subnetwork with the same name with the network will be used.
84+
* @return value or {@code null} for none
85+
*/
86+
public java.lang.String getSubnetwork() {
87+
return subnetwork;
88+
}
89+
90+
/**
91+
* Optional. The name of the VPC subnetwork that the Cloud Function resource will get IPs from.
92+
* Specify either a VPC network or a subnet, or both. If both network and subnetwork are
93+
* specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not
94+
* specified, the subnetwork with the same name with the network will be used.
95+
* @param subnetwork subnetwork or {@code null} for none
96+
*/
97+
public DirectVpcNetworkInterface setSubnetwork(java.lang.String subnetwork) {
98+
this.subnetwork = subnetwork;
99+
return this;
100+
}
101+
102+
/**
103+
* Optional. Network tags applied to this Cloud Function resource.
104+
* @return value or {@code null} for none
105+
*/
106+
public java.util.List<java.lang.String> getTags() {
107+
return tags;
108+
}
109+
110+
/**
111+
* Optional. Network tags applied to this Cloud Function resource.
112+
* @param tags tags or {@code null} for none
113+
*/
114+
public DirectVpcNetworkInterface setTags(java.util.List<java.lang.String> tags) {
115+
this.tags = tags;
116+
return this;
117+
}
118+
119+
@Override
120+
public DirectVpcNetworkInterface set(String fieldName, Object value) {
121+
return (DirectVpcNetworkInterface) super.set(fieldName, value);
122+
}
123+
124+
@Override
125+
public DirectVpcNetworkInterface clone() {
126+
return (DirectVpcNetworkInterface) super.clone();
127+
}
128+
129+
}

clients/google-api-services-cloudfunctions/v2/2.0.0/com/google/api/services/cloudfunctions/v2/model/ServiceConfig.java

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,28 @@ public final class ServiceConfig extends com.google.api.client.json.GenericJson
6666
@com.google.api.client.util.Key
6767
private java.lang.String binaryAuthorizationPolicy;
6868

69+
/**
70+
* Optional. Egress settings for direct VPC. If not provided, it defaults to
71+
* VPC_EGRESS_PRIVATE_RANGES_ONLY.
72+
* The value may be {@code null}.
73+
*/
74+
@com.google.api.client.util.Key
75+
private java.lang.String directVpcEgress;
76+
77+
/**
78+
* Optional. The Direct VPC network interface for the Cloud Function. Currently only a single
79+
* Direct VPC is supported.
80+
* The value may be {@code null}.
81+
*/
82+
@com.google.api.client.util.Key
83+
private java.util.List<DirectVpcNetworkInterface> directVpcNetworkInterface;
84+
85+
static {
86+
// hack to force ProGuard to consider DirectVpcNetworkInterface used, since otherwise it would be stripped out
87+
// see https://github.com/google/google-api-java-client/issues/543
88+
com.google.api.client.util.Data.nullOf(DirectVpcNetworkInterface.class);
89+
}
90+
6991
/**
7092
* Environment variables that shall be available during function execution.
7193
* The value may be {@code null}.
@@ -285,6 +307,44 @@ public ServiceConfig setBinaryAuthorizationPolicy(java.lang.String binaryAuthori
285307
return this;
286308
}
287309

310+
/**
311+
* Optional. Egress settings for direct VPC. If not provided, it defaults to
312+
* VPC_EGRESS_PRIVATE_RANGES_ONLY.
313+
* @return value or {@code null} for none
314+
*/
315+
public java.lang.String getDirectVpcEgress() {
316+
return directVpcEgress;
317+
}
318+
319+
/**
320+
* Optional. Egress settings for direct VPC. If not provided, it defaults to
321+
* VPC_EGRESS_PRIVATE_RANGES_ONLY.
322+
* @param directVpcEgress directVpcEgress or {@code null} for none
323+
*/
324+
public ServiceConfig setDirectVpcEgress(java.lang.String directVpcEgress) {
325+
this.directVpcEgress = directVpcEgress;
326+
return this;
327+
}
328+
329+
/**
330+
* Optional. The Direct VPC network interface for the Cloud Function. Currently only a single
331+
* Direct VPC is supported.
332+
* @return value or {@code null} for none
333+
*/
334+
public java.util.List<DirectVpcNetworkInterface> getDirectVpcNetworkInterface() {
335+
return directVpcNetworkInterface;
336+
}
337+
338+
/**
339+
* Optional. The Direct VPC network interface for the Cloud Function. Currently only a single
340+
* Direct VPC is supported.
341+
* @param directVpcNetworkInterface directVpcNetworkInterface or {@code null} for none
342+
*/
343+
public ServiceConfig setDirectVpcNetworkInterface(java.util.List<DirectVpcNetworkInterface> directVpcNetworkInterface) {
344+
this.directVpcNetworkInterface = directVpcNetworkInterface;
345+
return this;
346+
}
347+
288348
/**
289349
* Environment variables that shall be available during function execution.
290350
* @return value or {@code null} for none

clients/google-api-services-cloudfunctions/v2/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-cloudfunctions</artifactId>
11-
<version>v2-rev20260101-2.0.0</version>
12-
<name>Cloud Functions API v2-rev20260101-2.0.0</name>
11+
<version>v2-rev20260205-2.0.0</version>
12+
<name>Cloud Functions API v2-rev20260205-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)