Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudfunctions</artifactId>
<version>v1-rev20251204-2.0.0</version>
<version>v1-rev20260129-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-cloudfunctions:v1-rev20251204-2.0.0'
implementation 'com.google.apis:google-api-services-cloudfunctions:v1-rev20260129-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class CloudFunctions extends com.google.api.client.googleapis.services.js
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -544,7 +544,10 @@ public Locations locations() {
public class Locations {

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

/**
* Lists information about the supported locations for this service.
* Lists information about the supported locations for this service. This method can be called in
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
* public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
Expand Down Expand Up @@ -2561,8 +2567,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-cloudfunctions/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudfunctions</artifactId>
<version>v1-rev20251204-2.0.0</version>
<name>Cloud Functions API v1-rev20251204-2.0.0</name>
<version>v1-rev20260129-2.0.0</version>
<name>Cloud Functions API v1-rev20260129-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-cloudfunctions/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudfunctions</artifactId>
<version>v1-rev20251204-2.0.0</version>
<version>v1-rev20260129-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-cloudfunctions:v1-rev20251204-2.0.0'
implementation 'com.google.apis:google-api-services-cloudfunctions:v1-rev20260129-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudfunctions</artifactId>
<version>v2-rev20260101-2.0.0</version>
<version>v2-rev20260212-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-cloudfunctions:v2-rev20260101-2.0.0'
implementation 'com.google.apis:google-api-services-cloudfunctions:v2-rev20260212-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public class CloudFunctions extends com.google.api.client.googleapis.services.js
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </li>
* </ul>
* @param jsonFactory JSON factory, which may be:
Expand Down Expand Up @@ -174,7 +174,10 @@ public Locations locations() {
public class Locations {

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

/**
* Lists information about the supported locations for this service.
* Lists information about the supported locations for this service. This method can be called in
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
* public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
Expand Down Expand Up @@ -3694,8 +3700,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
* <li>Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
* </li>
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
* </ul>
* @param jsonFactory JSON factory, which may be:
* <ul>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.cloudfunctions.v2.model;

/**
* The Direct VPC network interface. This is mutually exclusive with VPC Connector.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Functions API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class DirectVpcNetworkInterface extends com.google.api.client.json.GenericJson {

/**
* Optional. The name of the VPC network to which the function will be connected. Specify either a
* VPC network or a subnet, or both. If you specify only a network, the subnet uses the same name
* as the network.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String network;

/**
* Optional. The name of the VPC subnetwork that the Cloud Function resource will get IPs from.
* Specify either a VPC network or a subnet, or both. If both network and subnetwork are
* specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not
* specified, the subnetwork with the same name with the network will be used.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String subnetwork;

/**
* Optional. Network tags applied to this Cloud Function resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> tags;

/**
* Optional. The name of the VPC network to which the function will be connected. Specify either a
* VPC network or a subnet, or both. If you specify only a network, the subnet uses the same name
* as the network.
* @return value or {@code null} for none
*/
public java.lang.String getNetwork() {
return network;
}

/**
* Optional. The name of the VPC network to which the function will be connected. Specify either a
* VPC network or a subnet, or both. If you specify only a network, the subnet uses the same name
* as the network.
* @param network network or {@code null} for none
*/
public DirectVpcNetworkInterface setNetwork(java.lang.String network) {
this.network = network;
return this;
}

/**
* Optional. The name of the VPC subnetwork that the Cloud Function resource will get IPs from.
* Specify either a VPC network or a subnet, or both. If both network and subnetwork are
* specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not
* specified, the subnetwork with the same name with the network will be used.
* @return value or {@code null} for none
*/
public java.lang.String getSubnetwork() {
return subnetwork;
}

/**
* Optional. The name of the VPC subnetwork that the Cloud Function resource will get IPs from.
* Specify either a VPC network or a subnet, or both. If both network and subnetwork are
* specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not
* specified, the subnetwork with the same name with the network will be used.
* @param subnetwork subnetwork or {@code null} for none
*/
public DirectVpcNetworkInterface setSubnetwork(java.lang.String subnetwork) {
this.subnetwork = subnetwork;
return this;
}

/**
* Optional. Network tags applied to this Cloud Function resource.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getTags() {
return tags;
}

/**
* Optional. Network tags applied to this Cloud Function resource.
* @param tags tags or {@code null} for none
*/
public DirectVpcNetworkInterface setTags(java.util.List<java.lang.String> tags) {
this.tags = tags;
return this;
}

@Override
public DirectVpcNetworkInterface set(String fieldName, Object value) {
return (DirectVpcNetworkInterface) super.set(fieldName, value);
}

@Override
public DirectVpcNetworkInterface clone() {
return (DirectVpcNetworkInterface) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,28 @@ public final class ServiceConfig extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.lang.String binaryAuthorizationPolicy;

/**
* Optional. Egress settings for direct VPC. If not provided, it defaults to
* VPC_EGRESS_PRIVATE_RANGES_ONLY.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String directVpcEgress;

/**
* Optional. The Direct VPC network interface for the Cloud Function. Currently only a single
* Direct VPC is supported.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<DirectVpcNetworkInterface> directVpcNetworkInterface;

static {
// hack to force ProGuard to consider DirectVpcNetworkInterface used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(DirectVpcNetworkInterface.class);
}

/**
* Environment variables that shall be available during function execution.
* The value may be {@code null}.
Expand Down Expand Up @@ -285,6 +307,44 @@ public ServiceConfig setBinaryAuthorizationPolicy(java.lang.String binaryAuthori
return this;
}

/**
* Optional. Egress settings for direct VPC. If not provided, it defaults to
* VPC_EGRESS_PRIVATE_RANGES_ONLY.
* @return value or {@code null} for none
*/
public java.lang.String getDirectVpcEgress() {
return directVpcEgress;
}

/**
* Optional. Egress settings for direct VPC. If not provided, it defaults to
* VPC_EGRESS_PRIVATE_RANGES_ONLY.
* @param directVpcEgress directVpcEgress or {@code null} for none
*/
public ServiceConfig setDirectVpcEgress(java.lang.String directVpcEgress) {
this.directVpcEgress = directVpcEgress;
return this;
}

/**
* Optional. The Direct VPC network interface for the Cloud Function. Currently only a single
* Direct VPC is supported.
* @return value or {@code null} for none
*/
public java.util.List<DirectVpcNetworkInterface> getDirectVpcNetworkInterface() {
return directVpcNetworkInterface;
}

/**
* Optional. The Direct VPC network interface for the Cloud Function. Currently only a single
* Direct VPC is supported.
* @param directVpcNetworkInterface directVpcNetworkInterface or {@code null} for none
*/
public ServiceConfig setDirectVpcNetworkInterface(java.util.List<DirectVpcNetworkInterface> directVpcNetworkInterface) {
this.directVpcNetworkInterface = directVpcNetworkInterface;
return this;
}

/**
* Environment variables that shall be available during function execution.
* @return value or {@code null} for none
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-cloudfunctions/v2/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudfunctions</artifactId>
<version>v2-rev20260101-2.0.0</version>
<name>Cloud Functions API v2-rev20260101-2.0.0</name>
<version>v2-rev20260212-2.0.0</version>
<name>Cloud Functions API v2-rev20260212-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-cloudfunctions/v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudfunctions</artifactId>
<version>v2-rev20260101-2.0.0</version>
<version>v2-rev20260212-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-cloudfunctions:v2-rev20260101-2.0.0'
implementation 'com.google.apis:google-api-services-cloudfunctions:v2-rev20260212-2.0.0'
}
```

Expand Down
Loading