From dd224d65b1ec7508b18adc287d17c79ad8e25bf0 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Wed, 22 Jul 2026 17:56:41 -0700
Subject: [PATCH] chore: regenerate networkconnectivity client
---
.../v1/2.0.0/README.md | 4 +-
.../v1/Networkconnectivity.java | 704 ++++++++++++++++++
.../v1/model/GoogleRpcErrorInfo.java | 6 +-
.../ListPscAuthorizationPoliciesResponse.java | 115 +++
.../v1/model/PscAuthorizationPolicy.java | 298 ++++++++
.../v1/2.0.0/pom.xml | 4 +-
.../v1/README.md | 4 +-
7 files changed, 1126 insertions(+), 9 deletions(-)
create mode 100644 clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ListPscAuthorizationPoliciesResponse.java
create mode 100644 clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/PscAuthorizationPolicy.java
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/README.md b/clients/google-api-services-networkconnectivity/v1/2.0.0/README.md
index 5507970164b..418fb7f1427 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/README.md
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
The typical use is:
+ *
+ * {@code Networkconnectivity networkconnectivity = new Networkconnectivity(...);}
+ * {@code Networkconnectivity.PscAuthorizationPolicies.List request = networkconnectivity.pscAuthorizationPolicies().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public PscAuthorizationPolicies pscAuthorizationPolicies() {
+ return new PscAuthorizationPolicies();
+ }
+
+ /**
+ * The "pscAuthorizationPolicies" collection of methods.
+ */
+ public class PscAuthorizationPolicies {
+
+ /**
+ * Creates a new PscAuthorizationPolicy in a given project and location.
+ *
+ * Create a request for the method "pscAuthorizationPolicies.create".
+ *
+ * This request holds the parameters needed by the networkconnectivity server. After setting any
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The parent resource's name of the PscAuthorizationPolicy.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.PscAuthorizationPolicy}
+ * @return the request
+ */
+ public Create create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.PscAuthorizationPolicy content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Create extends NetworkconnectivityRequest{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent Required. The parent resource's name of the PscAuthorizationPolicy. + * @param content the {@link com.google.api.services.networkconnectivity.v1.model.PscAuthorizationPolicy} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.PscAuthorizationPolicy content) { + super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The parent resource's name of the PscAuthorizationPolicy. */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent resource's name of the PscAuthorizationPolicy. + */ + public java.lang.String getParent() { + return parent; + } + + /** Required. The parent resource's name of the PscAuthorizationPolicy. */ + public Create setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** Required. Resource ID of the PscAuthorizationPolicy. */ + @com.google.api.client.util.Key + private java.lang.String pscAuthorizationPolicyId; + + /** Required. Resource ID of the PscAuthorizationPolicy. + */ + public java.lang.String getPscAuthorizationPolicyId() { + return pscAuthorizationPolicyId; + } + + /** Required. Resource ID of the PscAuthorizationPolicy. */ + public Create setPscAuthorizationPolicyId(java.lang.String pscAuthorizationPolicyId) { + this.pscAuthorizationPolicyId = pscAuthorizationPolicyId; + return this; + } + + /** Optional. An optional request ID to identify requests. */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional request ID to identify requests. + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** Optional. An optional request ID to identify requests. */ + public Create setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Deletes a single PscAuthorizationPolicy. + * + * Create a request for the method "pscAuthorizationPolicies.delete". + * + * This request holds the parameters needed by the networkconnectivity server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the PscAuthorizationPolicy to delete. + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends NetworkconnectivityRequest{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. The name of the PscAuthorizationPolicy to delete. + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(Networkconnectivity.this, "DELETE", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/pscAuthorizationPolicies/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The name of the PscAuthorizationPolicy to delete. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the PscAuthorizationPolicy to delete. + */ + public java.lang.String getName() { + return name; + } + + /** Required. The name of the PscAuthorizationPolicy to delete. */ + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/pscAuthorizationPolicies/[^/]+$"); + } + this.name = name; + return this; + } + + /** Optional. The etag of the PscAuthorizationPolicy to delete. */ + @com.google.api.client.util.Key + private java.lang.String etag; + + /** Optional. The etag of the PscAuthorizationPolicy to delete. + */ + public java.lang.String getEtag() { + return etag; + } + + /** Optional. The etag of the PscAuthorizationPolicy to delete. */ + public Delete setEtag(java.lang.String etag) { + this.etag = etag; + return this; + } + + /** Optional. An optional request ID to identify requests. */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional request ID to identify requests. + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** Optional. An optional request ID to identify requests. */ + public Delete setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets details of a single PscAuthorizationPolicy. + * + * Create a request for the method "pscAuthorizationPolicies.get". + * + * This request holds the parameters needed by the networkconnectivity server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the PscAuthorizationPolicy to get. + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends NetworkconnectivityRequest{@link + * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. Name of the PscAuthorizationPolicy to get. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.PscAuthorizationPolicy.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/pscAuthorizationPolicies/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** Required. Name of the PscAuthorizationPolicy to get. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the PscAuthorizationPolicy to get. + */ + public java.lang.String getName() { + return name; + } + + /** Required. Name of the PscAuthorizationPolicy to get. */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/pscAuthorizationPolicies/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists PscAuthorizationPolicies in a given project and location. + * + * Create a request for the method "pscAuthorizationPolicies.list". + * + * This request holds the parameters needed by the networkconnectivity server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent resource's name. + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends NetworkconnectivityRequest{@link + * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent Required. The parent resource's name. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ListPscAuthorizationPoliciesResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The parent resource's name. */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent resource's name. + */ + public java.lang.String getParent() { + return parent; + } + + /** Required. The parent resource's name. */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** Optional. Filter expression to restrict the results. */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Filter expression to restrict the results. + */ + public java.lang.String getFilter() { + return filter; + } + + /** Optional. Filter expression to restrict the results. */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** Optional. Sort order of the results. */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. Sort order of the results. + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** Optional. Sort order of the results. */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** + * Optional. The maximum number of PscAuthorizationPolicies to return in a single page. + * The service may return fewer than this value. If unspecified, at most 50 + * PscAuthorizationPolicies will be returned. The maximum value is 1000; values above 1000 + * will be coerced to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of PscAuthorizationPolicies to return in a single page. The service + may return fewer than this value. If unspecified, at most 50 PscAuthorizationPolicies will be + returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of PscAuthorizationPolicies to return in a single page. + * The service may return fewer than this value. If unspecified, at most 50 + * PscAuthorizationPolicies will be returned. The maximum value is 1000; values above 1000 + * will be coerced to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `ListPscAuthorizationPolicies` call. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous `ListPscAuthorizationPolicies` call. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `ListPscAuthorizationPolicies` call. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + } /** * An accessor for creating requests from the RegionalEndpoints collection. diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/GoogleRpcErrorInfo.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/GoogleRpcErrorInfo.java index 3a8b1eefb66..dd9d07e8038 100644 --- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/GoogleRpcErrorInfo.java +++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/GoogleRpcErrorInfo.java @@ -60,7 +60,7 @@ public final class GoogleRpcErrorInfo extends com.google.api.client.json.Generic private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Connectivity 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 ListPscAuthorizationPoliciesResponse extends com.google.api.client.json.GenericJson { + + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of PscAuthorizationPolicies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Connectivity 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 PscAuthorizationPolicy extends com.google.api.client.json.GenericJson { + + /** + * Required. The authorization mode. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String authorizationMode; + + /** + * Required. List of authorized consumer resources allowed to connect. Supported values are: 1. + * Project resource name (e.g., `projects/{project_id}`) 2. Wildcard `"*"` (grants global ingress + * authorization to the target). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List