diff --git a/clients/google-api-services-pubsub/v1/2.0.0/README.md b/clients/google-api-services-pubsub/v1/2.0.0/README.md
index a981b69099c..674c71f1cc7 100644
--- a/clients/google-api-services-pubsub/v1/2.0.0/README.md
+++ b/clients/google-api-services-pubsub/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-pubsub
- v1-rev20251212-2.0.0
+ v1-rev20260116-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-pubsub:v1-rev20251212-2.0.0'
+ implementation 'com.google.apis:google-api-services-pubsub:v1-rev20260116-2.0.0'
}
```
diff --git a/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/Pubsub.java b/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/Pubsub.java
index 90f06c90044..a80197595d0 100644
--- a/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/Pubsub.java
+++ b/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/Pubsub.java
@@ -103,7 +103,7 @@ public class Pubsub extends com.google.api.client.googleapis.services.json.Abstr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}
*
Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}
- * Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
+ * Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
*
*
* @param jsonFactory JSON factory, which may be:
@@ -2280,8 +2280,8 @@ public class Snapshots {
* This request holds the parameters needed by the pubsub server. After setting any optional
* parameters, call the {@link Create#execute()} method to invoke the remote operation.
*
- * @param name Required. Identifier. User-provided name for this snapshot. If the name is not provided in the
- * request, the server will assign a random name for this snapshot on the same project as the
+ * @param name Required. User-provided name for this snapshot. If the name is not provided in the request, the
+ * server will assign a random name for this snapshot on the same project as the
* subscription. Note that for REST API requests, you must specify a name. See the [resource
* name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is
* `projects/{project}/snapshots/{snap}`.
@@ -2322,8 +2322,8 @@ public class Create extends PubsubRequest
*
- * @param name Required. Identifier. User-provided name for this snapshot. If the name is not provided in the
- * request, the server will assign a random name for this snapshot on the same project as the
+ * @param name Required. User-provided name for this snapshot. If the name is not provided in the request, the
+ * server will assign a random name for this snapshot on the same project as the
* subscription. Note that for REST API requests, you must specify a name. See the [resource
* name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is
* `projects/{project}/snapshots/{snap}`.
@@ -2396,18 +2396,18 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. Identifier. User-provided name for this snapshot. If the name is not provided
- * in the request, the server will assign a random name for this snapshot on the same
- * project as the subscription. Note that for REST API requests, you must specify a name.
- * See the [resource name rules](https://cloud.google.com/pubsub/docs/pubsub-
- * basics#resource_names). Format is `projects/{project}/snapshots/{snap}`.
+ * Required. User-provided name for this snapshot. If the name is not provided in the
+ * request, the server will assign a random name for this snapshot on the same project as
+ * the subscription. Note that for REST API requests, you must specify a name. See the
+ * [resource name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
+ * Format is `projects/{project}/snapshots/{snap}`.
*/
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. Identifier. User-provided name for this snapshot. If the name is not provided in the
- request, the server will assign a random name for this snapshot on the same project as the
- subscription. Note that for REST API requests, you must specify a name. See the [resource name
+ /** Required. User-provided name for this snapshot. If the name is not provided in the request, the
+ server will assign a random name for this snapshot on the same project as the subscription. Note
+ that for REST API requests, you must specify a name. See the [resource name
rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is
`projects/{project}/snapshots/{snap}`.
*/
@@ -2416,11 +2416,11 @@ public java.lang.String getName() {
}
/**
- * Required. Identifier. User-provided name for this snapshot. If the name is not provided
- * in the request, the server will assign a random name for this snapshot on the same
- * project as the subscription. Note that for REST API requests, you must specify a name.
- * See the [resource name rules](https://cloud.google.com/pubsub/docs/pubsub-
- * basics#resource_names). Format is `projects/{project}/snapshots/{snap}`.
+ * Required. User-provided name for this snapshot. If the name is not provided in the
+ * request, the server will assign a random name for this snapshot on the same project as
+ * the subscription. Note that for REST API requests, you must specify a name. See the
+ * [resource name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
+ * Format is `projects/{project}/snapshots/{snap}`.
*/
public Create setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
@@ -2451,8 +2451,7 @@ public Create set(String parameterName, Object value) {
* This request holds the parameters needed by the pubsub server. After setting any optional
* parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param snapshot Required. Identifier. The name of the snapshot to delete. Format is
- * `projects/{project}/snapshots/{snap}`.
+ * @param snapshot Required. The name of the snapshot to delete. Format is `projects/{project}/snapshots/{snap}`.
* @return the request
*/
public Delete delete(java.lang.String snapshot) throws java.io.IOException {
@@ -2484,8 +2483,7 @@ public class Delete extends PubsubRequest
*
- * @param snapshot Required. Identifier. The name of the snapshot to delete. Format is
- * `projects/{project}/snapshots/{snap}`.
+ * @param snapshot Required. The name of the snapshot to delete. Format is `projects/{project}/snapshots/{snap}`.
* @since 1.13
*/
protected Delete(java.lang.String snapshot) {
@@ -2554,21 +2552,20 @@ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. Identifier. The name of the snapshot to delete. Format is
+ * Required. The name of the snapshot to delete. Format is
* `projects/{project}/snapshots/{snap}`.
*/
@com.google.api.client.util.Key
private java.lang.String snapshot;
- /** Required. Identifier. The name of the snapshot to delete. Format is
- `projects/{project}/snapshots/{snap}`.
+ /** Required. The name of the snapshot to delete. Format is `projects/{project}/snapshots/{snap}`.
*/
public java.lang.String getSnapshot() {
return snapshot;
}
/**
- * Required. Identifier. The name of the snapshot to delete. Format is
+ * Required. The name of the snapshot to delete. Format is
* `projects/{project}/snapshots/{snap}`.
*/
public Delete setSnapshot(java.lang.String snapshot) {
@@ -2597,8 +2594,7 @@ public Delete set(String parameterName, Object value) {
* This request holds the parameters needed by the pubsub server. After setting any optional
* parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param snapshot Required. Identifier. The name of the snapshot to get. Format is
- * `projects/{project}/snapshots/{snap}`.
+ * @param snapshot Required. The name of the snapshot to get. Format is `projects/{project}/snapshots/{snap}`.
* @return the request
*/
public Get get(java.lang.String snapshot) throws java.io.IOException {
@@ -2627,8 +2623,7 @@ public class Get extends PubsubRequest
*
- * @param snapshot Required. Identifier. The name of the snapshot to get. Format is
- * `projects/{project}/snapshots/{snap}`.
+ * @param snapshot Required. The name of the snapshot to get. Format is `projects/{project}/snapshots/{snap}`.
* @since 1.13
*/
protected Get(java.lang.String snapshot) {
@@ -2707,21 +2702,20 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. Identifier. The name of the snapshot to get. Format is
+ * Required. The name of the snapshot to get. Format is
* `projects/{project}/snapshots/{snap}`.
*/
@com.google.api.client.util.Key
private java.lang.String snapshot;
- /** Required. Identifier. The name of the snapshot to get. Format is
- `projects/{project}/snapshots/{snap}`.
+ /** Required. The name of the snapshot to get. Format is `projects/{project}/snapshots/{snap}`.
*/
public java.lang.String getSnapshot() {
return snapshot;
}
/**
- * Required. Identifier. The name of the snapshot to get. Format is
+ * Required. The name of the snapshot to get. Format is
* `projects/{project}/snapshots/{snap}`.
*/
public Get setSnapshot(java.lang.String snapshot) {
@@ -2948,8 +2942,7 @@ public GetIamPolicy set(String parameterName, Object value) {
* This request holds the parameters needed by the pubsub server. After setting any optional
* parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param project Required. Identifier. The name of the project in which to list snapshots. Format is
- * `projects/{project-id}`.
+ * @param project Required. The name of the project in which to list snapshots. Format is `projects/{project-id}`.
* @return the request
*/
public List list(java.lang.String project) throws java.io.IOException {
@@ -2978,8 +2971,7 @@ public class List extends PubsubRequest
*
- * @param project Required. Identifier. The name of the project in which to list snapshots. Format is
- * `projects/{project-id}`.
+ * @param project Required. The name of the project in which to list snapshots. Format is `projects/{project-id}`.
* @since 1.13
*/
protected List(java.lang.String project) {
@@ -3058,21 +3050,20 @@ public List setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. Identifier. The name of the project in which to list snapshots. Format is
+ * Required. The name of the project in which to list snapshots. Format is
* `projects/{project-id}`.
*/
@com.google.api.client.util.Key
private java.lang.String project;
- /** Required. Identifier. The name of the project in which to list snapshots. Format is
- `projects/{project-id}`.
+ /** Required. The name of the project in which to list snapshots. Format is `projects/{project-id}`.
*/
public java.lang.String getProject() {
return project;
}
/**
- * Required. Identifier. The name of the project in which to list snapshots. Format is
+ * Required. The name of the project in which to list snapshots. Format is
* `projects/{project-id}`.
*/
public List setProject(java.lang.String project) {
@@ -3913,8 +3904,7 @@ public Create set(String parameterName, Object value) {
* This request holds the parameters needed by the pubsub server. After setting any optional
* parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param subscription Required. Identifier. The subscription to delete. Format is
- * `projects/{project}/subscriptions/{sub}`.
+ * @param subscription Required. The subscription to delete. Format is `projects/{project}/subscriptions/{sub}`.
* @return the request
*/
public Delete delete(java.lang.String subscription) throws java.io.IOException {
@@ -3943,8 +3933,7 @@ public class Delete extends PubsubRequest
*
- * @param subscription Required. Identifier. The subscription to delete. Format is
- * `projects/{project}/subscriptions/{sub}`.
+ * @param subscription Required. The subscription to delete. Format is `projects/{project}/subscriptions/{sub}`.
* @since 1.13
*/
protected Delete(java.lang.String subscription) {
@@ -4013,22 +4002,19 @@ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. Identifier. The subscription to delete. Format is
- * `projects/{project}/subscriptions/{sub}`.
+ * Required. The subscription to delete. Format is `projects/{project}/subscriptions/{sub}`.
*/
@com.google.api.client.util.Key
private java.lang.String subscription;
- /** Required. Identifier. The subscription to delete. Format is
- `projects/{project}/subscriptions/{sub}`.
+ /** Required. The subscription to delete. Format is `projects/{project}/subscriptions/{sub}`.
*/
public java.lang.String getSubscription() {
return subscription;
}
/**
- * Required. Identifier. The subscription to delete. Format is
- * `projects/{project}/subscriptions/{sub}`.
+ * Required. The subscription to delete. Format is `projects/{project}/subscriptions/{sub}`.
*/
public Delete setSubscription(java.lang.String subscription) {
if (!getSuppressPatternChecks()) {
@@ -4191,8 +4177,7 @@ public Detach set(String parameterName, Object value) {
* This request holds the parameters needed by the pubsub server. After setting any optional
* parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param subscription Required. Identifier. The name of the subscription to get. Format is
- * `projects/{project}/subscriptions/{sub}`.
+ * @param subscription Required. The name of the subscription to get. Format is `projects/{project}/subscriptions/{sub}`.
* @return the request
*/
public Get get(java.lang.String subscription) throws java.io.IOException {
@@ -4218,8 +4203,7 @@ public class Get extends PubsubRequest
*
- * @param subscription Required. Identifier. The name of the subscription to get. Format is
- * `projects/{project}/subscriptions/{sub}`.
+ * @param subscription Required. The name of the subscription to get. Format is `projects/{project}/subscriptions/{sub}`.
* @since 1.13
*/
protected Get(java.lang.String subscription) {
@@ -4298,21 +4282,20 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. Identifier. The name of the subscription to get. Format is
+ * Required. The name of the subscription to get. Format is
* `projects/{project}/subscriptions/{sub}`.
*/
@com.google.api.client.util.Key
private java.lang.String subscription;
- /** Required. Identifier. The name of the subscription to get. Format is
- `projects/{project}/subscriptions/{sub}`.
+ /** Required. The name of the subscription to get. Format is `projects/{project}/subscriptions/{sub}`.
*/
public java.lang.String getSubscription() {
return subscription;
}
/**
- * Required. Identifier. The name of the subscription to get. Format is
+ * Required. The name of the subscription to get. Format is
* `projects/{project}/subscriptions/{sub}`.
*/
public Get setSubscription(java.lang.String subscription) {
@@ -4536,8 +4519,7 @@ public GetIamPolicy set(String parameterName, Object value) {
* This request holds the parameters needed by the pubsub server. After setting any optional
* parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param project Required. Identifier. The name of the project in which to list subscriptions. Format is
- * `projects/{project-id}`.
+ * @param project Required. The name of the project in which to list subscriptions. Format is `projects/{project-id}`.
* @return the request
*/
public List list(java.lang.String project) throws java.io.IOException {
@@ -4563,8 +4545,7 @@ public class List extends PubsubRequest
*
- * @param project Required. Identifier. The name of the project in which to list subscriptions. Format is
- * `projects/{project-id}`.
+ * @param project Required. The name of the project in which to list subscriptions. Format is `projects/{project-id}`.
* @since 1.13
*/
protected List(java.lang.String project) {
@@ -4643,21 +4624,21 @@ public List setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. Identifier. The name of the project in which to list subscriptions. Format is
+ * Required. The name of the project in which to list subscriptions. Format is
* `projects/{project-id}`.
*/
@com.google.api.client.util.Key
private java.lang.String project;
- /** Required. Identifier. The name of the project in which to list subscriptions. Format is
- `projects/{project-id}`.
+ /** Required. The name of the project in which to list subscriptions. Format is `projects/{project-
+ id}`.
*/
public java.lang.String getProject() {
return project;
}
/**
- * Required. Identifier. The name of the project in which to list subscriptions. Format is
+ * Required. The name of the project in which to list subscriptions. Format is
* `projects/{project-id}`.
*/
public List setProject(java.lang.String project) {
@@ -5923,7 +5904,7 @@ public Create set(String parameterName, Object value) {
* This request holds the parameters needed by the pubsub server. After setting any optional
* parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param topic Required. Identifier. Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.
+ * @param topic Required. Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.
* @return the request
*/
public Delete delete(java.lang.String topic) throws java.io.IOException {
@@ -5952,7 +5933,7 @@ public class Delete extends PubsubRequest
*
- * @param topic Required. Identifier. Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.
+ * @param topic Required. Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.
* @since 1.13
*/
protected Delete(java.lang.String topic) {
@@ -6021,21 +6002,19 @@ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. Identifier. Name of the topic to delete. Format is
- * `projects/{project}/topics/{topic}`.
+ * Required. Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.
*/
@com.google.api.client.util.Key
private java.lang.String topic;
- /** Required. Identifier. Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.
+ /** Required. Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.
*/
public java.lang.String getTopic() {
return topic;
}
/**
- * Required. Identifier. Name of the topic to delete. Format is
- * `projects/{project}/topics/{topic}`.
+ * Required. Name of the topic to delete. Format is `projects/{project}/topics/{topic}`.
*/
public Delete setTopic(java.lang.String topic) {
if (!getSuppressPatternChecks()) {
@@ -6060,7 +6039,7 @@ public Delete set(String parameterName, Object value) {
* This request holds the parameters needed by the pubsub server. After setting any optional
* parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param topic Required. Identifier. The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
+ * @param topic Required. The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
* @return the request
*/
public Get get(java.lang.String topic) throws java.io.IOException {
@@ -6086,7 +6065,7 @@ public class Get extends PubsubRequest
*
- * @param topic Required. Identifier. The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
+ * @param topic Required. The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
* @since 1.13
*/
protected Get(java.lang.String topic) {
@@ -6165,21 +6144,19 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. Identifier. The name of the topic to get. Format is
- * `projects/{project}/topics/{topic}`.
+ * Required. The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
*/
@com.google.api.client.util.Key
private java.lang.String topic;
- /** Required. Identifier. The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
+ /** Required. The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
*/
public java.lang.String getTopic() {
return topic;
}
/**
- * Required. Identifier. The name of the topic to get. Format is
- * `projects/{project}/topics/{topic}`.
+ * Required. The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
*/
public Get setTopic(java.lang.String topic) {
if (!getSuppressPatternChecks()) {
@@ -6402,8 +6379,7 @@ public GetIamPolicy set(String parameterName, Object value) {
* This request holds the parameters needed by the pubsub server. After setting any optional
* parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param project Required. Identifier. The name of the project in which to list topics. Format is `projects/{project-
- * id}`.
+ * @param project Required. The name of the project in which to list topics. Format is `projects/{project-id}`.
* @return the request
*/
public List list(java.lang.String project) throws java.io.IOException {
@@ -6429,8 +6405,7 @@ public class List extends PubsubRequest
*
- * @param project Required. Identifier. The name of the project in which to list topics. Format is `projects/{project-
- * id}`.
+ * @param project Required. The name of the project in which to list topics. Format is `projects/{project-id}`.
* @since 1.13
*/
protected List(java.lang.String project) {
@@ -6509,22 +6484,21 @@ public List setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. Identifier. The name of the project in which to list topics. Format is
- * `projects/{project-id}`.
+ * Required. The name of the project in which to list topics. Format is `projects/{project-
+ * id}`.
*/
@com.google.api.client.util.Key
private java.lang.String project;
- /** Required. Identifier. The name of the project in which to list topics. Format is
- `projects/{project-id}`.
+ /** Required. The name of the project in which to list topics. Format is `projects/{project-id}`.
*/
public java.lang.String getProject() {
return project;
}
/**
- * Required. Identifier. The name of the project in which to list topics. Format is
- * `projects/{project-id}`.
+ * Required. The name of the project in which to list topics. Format is `projects/{project-
+ * id}`.
*/
public List setProject(java.lang.String project) {
if (!getSuppressPatternChecks()) {
@@ -6746,7 +6720,7 @@ public Patch set(String parameterName, Object value) {
* This request holds the parameters needed by the pubsub server. After setting any optional
* parameters, call the {@link Publish#execute()} method to invoke the remote operation.
*
- * @param topic Required. Identifier. The messages in the request will be published on this topic. Format is
+ * @param topic Required. The messages in the request will be published on this topic. Format is
* `projects/{project}/topics/{topic}`.
* @param content the {@link com.google.api.services.pubsub.model.PublishRequest}
* @return the request
@@ -6775,7 +6749,7 @@ public class Publish extends PubsubRequest
*
- * @param topic Required. Identifier. The messages in the request will be published on this topic. Format is
+ * @param topic Required. The messages in the request will be published on this topic. Format is
* `projects/{project}/topics/{topic}`.
* @param content the {@link com.google.api.services.pubsub.model.PublishRequest}
* @since 1.13
@@ -6846,13 +6820,13 @@ public Publish setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. Identifier. The messages in the request will be published on this topic. Format
- * is `projects/{project}/topics/{topic}`.
+ * Required. The messages in the request will be published on this topic. Format is
+ * `projects/{project}/topics/{topic}`.
*/
@com.google.api.client.util.Key
private java.lang.String topic;
- /** Required. Identifier. The messages in the request will be published on this topic. Format is
+ /** Required. The messages in the request will be published on this topic. Format is
`projects/{project}/topics/{topic}`.
*/
public java.lang.String getTopic() {
@@ -6860,8 +6834,8 @@ public java.lang.String getTopic() {
}
/**
- * Required. Identifier. The messages in the request will be published on this topic. Format
- * is `projects/{project}/topics/{topic}`.
+ * Required. The messages in the request will be published on this topic. Format is
+ * `projects/{project}/topics/{topic}`.
*/
public Publish setTopic(java.lang.String topic) {
if (!getSuppressPatternChecks()) {
@@ -7640,8 +7614,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}
* Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}
- * Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
- *
+ * Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
*
* @param jsonFactory JSON factory, which may be:
*
diff --git a/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/AIInference.java b/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/AIInference.java
new file mode 100644
index 00000000000..b24a6a15fab
--- /dev/null
+++ b/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/AIInference.java
@@ -0,0 +1,135 @@
+/*
+ * 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.pubsub.model;
+
+/**
+ * Configuration for making inference requests against Vertex AI models.
+ *
+ * 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 Pub/Sub API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class AIInference extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Required. An endpoint to a Vertex AI model of the form
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}` or
+ * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. Vertex AI API
+ * requests will be sent to this endpoint.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String endpoint;
+
+ /**
+ * Optional. The service account to use to make prediction requests against endpoints. The
+ * resource creator or updater that specifies this field must have `iam.serviceAccounts.actAs`
+ * permission on the service account. If not specified, the Pub/Sub [service
+ * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
+ * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String serviceAccountEmail;
+
+ /**
+ * Optional. Requests and responses can be any arbitrary JSON object.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private UnstructuredInference unstructuredInference;
+
+ /**
+ * Required. An endpoint to a Vertex AI model of the form
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}` or
+ * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. Vertex AI API
+ * requests will be sent to this endpoint.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getEndpoint() {
+ return endpoint;
+ }
+
+ /**
+ * Required. An endpoint to a Vertex AI model of the form
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}` or
+ * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}`. Vertex AI API
+ * requests will be sent to this endpoint.
+ * @param endpoint endpoint or {@code null} for none
+ */
+ public AIInference setEndpoint(java.lang.String endpoint) {
+ this.endpoint = endpoint;
+ return this;
+ }
+
+ /**
+ * Optional. The service account to use to make prediction requests against endpoints. The
+ * resource creator or updater that specifies this field must have `iam.serviceAccounts.actAs`
+ * permission on the service account. If not specified, the Pub/Sub [service
+ * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
+ * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getServiceAccountEmail() {
+ return serviceAccountEmail;
+ }
+
+ /**
+ * Optional. The service account to use to make prediction requests against endpoints. The
+ * resource creator or updater that specifies this field must have `iam.serviceAccounts.actAs`
+ * permission on the service account. If not specified, the Pub/Sub [service
+ * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents),
+ * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+ * @param serviceAccountEmail serviceAccountEmail or {@code null} for none
+ */
+ public AIInference setServiceAccountEmail(java.lang.String serviceAccountEmail) {
+ this.serviceAccountEmail = serviceAccountEmail;
+ return this;
+ }
+
+ /**
+ * Optional. Requests and responses can be any arbitrary JSON object.
+ * @return value or {@code null} for none
+ */
+ public UnstructuredInference getUnstructuredInference() {
+ return unstructuredInference;
+ }
+
+ /**
+ * Optional. Requests and responses can be any arbitrary JSON object.
+ * @param unstructuredInference unstructuredInference or {@code null} for none
+ */
+ public AIInference setUnstructuredInference(UnstructuredInference unstructuredInference) {
+ this.unstructuredInference = unstructuredInference;
+ return this;
+ }
+
+ @Override
+ public AIInference set(String fieldName, Object value) {
+ return (AIInference) super.set(fieldName, value);
+ }
+
+ @Override
+ public AIInference clone() {
+ return (AIInference) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/CreateSnapshotRequest.java b/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/CreateSnapshotRequest.java
index f3d40fa329b..f0a15ae26cd 100644
--- a/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/CreateSnapshotRequest.java
+++ b/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/CreateSnapshotRequest.java
@@ -37,12 +37,12 @@ public final class CreateSnapshotRequest extends com.google.api.client.json.Gene
private java.util.Map labels;
/**
- * Required. Identifier. The subscription whose backlog the snapshot retains. Specifically, the
- * created snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More
- * precisely, this is defined as the messages in the subscription's backlog that are
- * unacknowledged upon the successful completion of the `CreateSnapshot` request; as well as: (b)
- * Any messages published to the subscription's topic following the successful completion of the
- * CreateSnapshot request. Format is `projects/{project}/subscriptions/{sub}`.
+ * Required. The subscription whose backlog the snapshot retains. Specifically, the created
+ * snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More precisely,
+ * this is defined as the messages in the subscription's backlog that are unacknowledged upon the
+ * successful completion of the `CreateSnapshot` request; as well as: (b) Any messages published
+ * to the subscription's topic following the successful completion of the CreateSnapshot request.
+ * Format is `projects/{project}/subscriptions/{sub}`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -74,12 +74,12 @@ public CreateSnapshotRequest setLabels(java.util.Map l
}
/**
- * Required. Identifier. The subscription whose backlog the snapshot retains. Specifically, the
- * created snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More
- * precisely, this is defined as the messages in the subscription's backlog that are
- * unacknowledged upon the successful completion of the `CreateSnapshot` request; as well as: (b)
- * Any messages published to the subscription's topic following the successful completion of the
- * CreateSnapshot request. Format is `projects/{project}/subscriptions/{sub}`.
+ * Required. The subscription whose backlog the snapshot retains. Specifically, the created
+ * snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More precisely,
+ * this is defined as the messages in the subscription's backlog that are unacknowledged upon the
+ * successful completion of the `CreateSnapshot` request; as well as: (b) Any messages published
+ * to the subscription's topic following the successful completion of the CreateSnapshot request.
+ * Format is `projects/{project}/subscriptions/{sub}`.
* @return value or {@code null} for none
*/
public java.lang.String getSubscription() {
@@ -87,12 +87,12 @@ public java.lang.String getSubscription() {
}
/**
- * Required. Identifier. The subscription whose backlog the snapshot retains. Specifically, the
- * created snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More
- * precisely, this is defined as the messages in the subscription's backlog that are
- * unacknowledged upon the successful completion of the `CreateSnapshot` request; as well as: (b)
- * Any messages published to the subscription's topic following the successful completion of the
- * CreateSnapshot request. Format is `projects/{project}/subscriptions/{sub}`.
+ * Required. The subscription whose backlog the snapshot retains. Specifically, the created
+ * snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More precisely,
+ * this is defined as the messages in the subscription's backlog that are unacknowledged upon the
+ * successful completion of the `CreateSnapshot` request; as well as: (b) Any messages published
+ * to the subscription's topic following the successful completion of the CreateSnapshot request.
+ * Format is `projects/{project}/subscriptions/{sub}`.
* @param subscription subscription or {@code null} for none
*/
public CreateSnapshotRequest setSubscription(java.lang.String subscription) {
diff --git a/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/MessageTransform.java b/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/MessageTransform.java
index 8f5be116768..aaa33d75812 100644
--- a/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/MessageTransform.java
+++ b/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/MessageTransform.java
@@ -29,6 +29,14 @@
@SuppressWarnings("javadoc")
public final class MessageTransform extends com.google.api.client.json.GenericJson {
+ /**
+ * Optional. AI Inference. Specifies the Vertex AI endpoint that inference requests built from the
+ * Pub/Sub message data and provided parameters will be sent to.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private AIInference aiInference;
+
/**
* Optional. If true, the transform is disabled and will not be applied to messages. Defaults to
* `false`.
@@ -52,6 +60,25 @@ public final class MessageTransform extends com.google.api.client.json.GenericJs
@com.google.api.client.util.Key
private JavaScriptUDF javascriptUdf;
+ /**
+ * Optional. AI Inference. Specifies the Vertex AI endpoint that inference requests built from the
+ * Pub/Sub message data and provided parameters will be sent to.
+ * @return value or {@code null} for none
+ */
+ public AIInference getAiInference() {
+ return aiInference;
+ }
+
+ /**
+ * Optional. AI Inference. Specifies the Vertex AI endpoint that inference requests built from the
+ * Pub/Sub message data and provided parameters will be sent to.
+ * @param aiInference aiInference or {@code null} for none
+ */
+ public MessageTransform setAiInference(AIInference aiInference) {
+ this.aiInference = aiInference;
+ return this;
+ }
+
/**
* Optional. If true, the transform is disabled and will not be applied to messages. Defaults to
* `false`.
diff --git a/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/Subscription.java b/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/Subscription.java
index 259e1977bc8..a8dcb9448ed 100644
--- a/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/Subscription.java
+++ b/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/Subscription.java
@@ -51,7 +51,7 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
/**
* Output only. Information about the associated Analytics Hub subscription. Only set if the
- * subscritpion is created by Analytics Hub.
+ * subscription is created by Analytics Hub.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -225,9 +225,9 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
private java.util.Map tags;
/**
- * Required. Identifier. The name of the topic from which this subscription is receiving messages.
- * Format is `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-
- * topic_` if the topic has been deleted.
+ * Required. The name of the topic from which this subscription is receiving messages. Format is
+ * `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-topic_` if the
+ * topic has been deleted.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -285,7 +285,7 @@ public Subscription setAckDeadlineSeconds(java.lang.Integer ackDeadlineSeconds)
/**
* Output only. Information about the associated Analytics Hub subscription. Only set if the
- * subscritpion is created by Analytics Hub.
+ * subscription is created by Analytics Hub.
* @return value or {@code null} for none
*/
public AnalyticsHubSubscriptionInfo getAnalyticsHubSubscriptionInfo() {
@@ -294,7 +294,7 @@ public AnalyticsHubSubscriptionInfo getAnalyticsHubSubscriptionInfo() {
/**
* Output only. Information about the associated Analytics Hub subscription. Only set if the
- * subscritpion is created by Analytics Hub.
+ * subscription is created by Analytics Hub.
* @param analyticsHubSubscriptionInfo analyticsHubSubscriptionInfo or {@code null} for none
*/
public Subscription setAnalyticsHubSubscriptionInfo(AnalyticsHubSubscriptionInfo analyticsHubSubscriptionInfo) {
@@ -676,9 +676,9 @@ public Subscription setTags(java.util.Map tags) {
}
/**
- * Required. Identifier. The name of the topic from which this subscription is receiving messages.
- * Format is `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-
- * topic_` if the topic has been deleted.
+ * Required. The name of the topic from which this subscription is receiving messages. Format is
+ * `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-topic_` if the
+ * topic has been deleted.
* @return value or {@code null} for none
*/
public java.lang.String getTopic() {
@@ -686,9 +686,9 @@ public java.lang.String getTopic() {
}
/**
- * Required. Identifier. The name of the topic from which this subscription is receiving messages.
- * Format is `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-
- * topic_` if the topic has been deleted.
+ * Required. The name of the topic from which this subscription is receiving messages. Format is
+ * `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-topic_` if the
+ * topic has been deleted.
* @param topic topic or {@code null} for none
*/
public Subscription setTopic(java.lang.String topic) {
diff --git a/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/UnstructuredInference.java b/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/UnstructuredInference.java
new file mode 100644
index 00000000000..fd6e3484db2
--- /dev/null
+++ b/clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/UnstructuredInference.java
@@ -0,0 +1,69 @@
+/*
+ * 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.pubsub.model;
+
+/**
+ * Configuration for making inferences using arbitrary JSON payloads.
+ *
+ * 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 Pub/Sub API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class UnstructuredInference extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Optional. A parameters object to be included in each inference request. The parameters object
+ * is combined with the data field of the Pub/Sub message to form the inference request.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.Map parameters;
+
+ /**
+ * Optional. A parameters object to be included in each inference request. The parameters object
+ * is combined with the data field of the Pub/Sub message to form the inference request.
+ * @return value or {@code null} for none
+ */
+ public java.util.Map getParameters() {
+ return parameters;
+ }
+
+ /**
+ * Optional. A parameters object to be included in each inference request. The parameters object
+ * is combined with the data field of the Pub/Sub message to form the inference request.
+ * @param parameters parameters or {@code null} for none
+ */
+ public UnstructuredInference setParameters(java.util.Map parameters) {
+ this.parameters = parameters;
+ return this;
+ }
+
+ @Override
+ public UnstructuredInference set(String fieldName, Object value) {
+ return (UnstructuredInference) super.set(fieldName, value);
+ }
+
+ @Override
+ public UnstructuredInference clone() {
+ return (UnstructuredInference) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-pubsub/v1/2.0.0/pom.xml b/clients/google-api-services-pubsub/v1/2.0.0/pom.xml
index 8b4329eda47..232a1c7e5e2 100644
--- a/clients/google-api-services-pubsub/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-pubsub/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-pubsub
- v1-rev20251212-2.0.0
- Cloud Pub/Sub API v1-rev20251212-2.0.0
+ v1-rev20260116-2.0.0
+ Cloud Pub/Sub API v1-rev20260116-2.0.0
jar
2011
diff --git a/clients/google-api-services-pubsub/v1/README.md b/clients/google-api-services-pubsub/v1/README.md
index a981b69099c..674c71f1cc7 100644
--- a/clients/google-api-services-pubsub/v1/README.md
+++ b/clients/google-api-services-pubsub/v1/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-pubsub
- v1-rev20251212-2.0.0
+ v1-rev20260116-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-pubsub:v1-rev20251212-2.0.0'
+ implementation 'com.google.apis:google-api-services-pubsub:v1-rev20260116-2.0.0'
}
```
diff --git a/clients/google-api-services-pubsub/v1beta1a/2.0.0/com/google/api/services/pubsub/Pubsub.java b/clients/google-api-services-pubsub/v1beta1a/2.0.0/com/google/api/services/pubsub/Pubsub.java
index 1b83723577d..9fe68207c43 100644
--- a/clients/google-api-services-pubsub/v1beta1a/2.0.0/com/google/api/services/pubsub/Pubsub.java
+++ b/clients/google-api-services-pubsub/v1beta1a/2.0.0/com/google/api/services/pubsub/Pubsub.java
@@ -103,7 +103,7 @@ public class Pubsub extends com.google.api.client.googleapis.services.json.Abstr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}
* - Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}
- * - Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
+ *
- Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
*
*
* @param jsonFactory JSON factory, which may be:
@@ -1975,8 +1975,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}
* Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}
- * Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
- *
+ * Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
*
* @param jsonFactory JSON factory, which may be:
*
diff --git a/clients/google-api-services-pubsub/v1beta2/2.0.0/com/google/api/services/pubsub/Pubsub.java b/clients/google-api-services-pubsub/v1beta2/2.0.0/com/google/api/services/pubsub/Pubsub.java
index f83217febd5..69362bd76e4 100644
--- a/clients/google-api-services-pubsub/v1beta2/2.0.0/com/google/api/services/pubsub/Pubsub.java
+++ b/clients/google-api-services-pubsub/v1beta2/2.0.0/com/google/api/services/pubsub/Pubsub.java
@@ -103,7 +103,7 @@ public class Pubsub extends com.google.api.client.googleapis.services.json.Abstr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}
* - Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}
- * - Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
+ *
- Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
*
*
* @param jsonFactory JSON factory, which may be:
@@ -3318,8 +3318,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}
* Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}
- * Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
- *
+ * Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
*
* @param jsonFactory JSON factory, which may be:
*